/* =====================================================================
   Festival norosti — production stylesheet
   Black/yellow festival identity. Tokens in :root, BEM-ish components.
   ===================================================================== */
@font-face { font-display: swap; }

:root {
  --ink: #231F20;
  --cream: #F4F1E9;
  --accent: #ECDE13;
  --panel: #1C1819;
  --card: #2B2728;
  --line: rgba(244,241,233,.13);
  --muted: rgba(244,241,233,.62);
  --ok: #7CB89E;
  --no: #E8693F;

  --maxw: 1180px;
  --pad: 40px;

  --f-display: 'Anton', Impact, sans-serif;
  --f-body: 'Archivo', system-ui, sans-serif;
  --f-narrow: 'Archivo Narrow', 'Archivo', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
button { font-family: inherit; }
[hidden] { display: none !important; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* ---- Type helpers ---- */
.kicker {
  font: 800 12px var(--f-narrow);
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
}
.display { font-family: var(--f-display); text-transform: uppercase; line-height: .84; }
.h1 { font-family: var(--f-display); text-transform: uppercase; line-height: .84; font-size: clamp(48px, 8vw, 84px); margin: 30px 0 0; }
.h2 { font-family: var(--f-display); text-transform: uppercase; line-height: .9; font-size: clamp(30px, 4.5vw, 42px); }
.lead { font: 500 clamp(17px,2.2vw,20px)/1.5 var(--f-body); }
.muted { color: var(--muted); }
.body { font: 400 16px/1.7 var(--f-body); color: var(--muted); }

/* ---- Buttons ---- */
.btn { display: inline-block; border-radius: 7px; font: 800 13px var(--f-body); cursor: pointer; border: none; transition: transform .12s ease, opacity .12s ease; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--ink); padding: 13px 22px; }
.btn--outline { background: transparent; color: var(--cream); border: 1.5px solid rgba(244,241,233,.5); padding: 11px 22px; }
.btn--dark { background: var(--ink); color: var(--accent); padding: 13px 24px; }
.btn--block { display: block; text-align: center; width: 100%; }
.link-cta { font: 800 13px var(--f-body); color: var(--accent); white-space: nowrap; }
.link-cta:hover { opacity: .8; }

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(35,31,32,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px var(--pad); max-width: var(--maxw); margin: 0 auto; }
.brand { font: 800 16px/.9 var(--f-body); letter-spacing: .01em; flex: none; }
.brand span { color: var(--accent); }
.brand img { width: 100px; }
.nav { display: flex; gap: 22px; font: 700 12px var(--f-narrow); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); flex-wrap: wrap; }
.nav a:hover { color: var(--cream); }
.nav a.is-active { color: var(--accent); }
.lang { display: flex; border: 1px solid rgba(244,241,233,.3); border-radius: 20px; overflow: hidden; flex: none; }
.lang button { padding: 5px 11px; border: none; cursor: pointer; font: 800 11px var(--f-body); background: transparent; color: rgba(244,241,233,.6); }
.lang button.is-active { background: var(--accent); color: var(--ink); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--cream); border-radius: 7px; padding: 8px 10px; cursor: pointer; }

/* ---- Sections ---- */
.section { padding: 56px 0; border-bottom: 1px solid var(--line); }
.section--tight { padding: 40px 0 30px; }
.section--panel { background: var(--panel); }
.section--accent { background: var(--accent); color: var(--ink); }
.section--accent .kicker { color: rgba(35,31,32,.7); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }

/* ---- Hero ---- */
.hero { border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; align-items: stretch; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.hero__copy { padding: 64px 48px 64px 0; }
.hero__title { font-family: var(--f-display); text-transform: uppercase; line-height: .82; font-size: clamp(64px, 11vw, 108px); color: var(--cream); margin: 0; margin-top:30px }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__dates { font-family: var(--f-display); font-size: clamp(22px,3vw,30px); color: var(--accent); margin-top: 22px; }
.hero__art { background-size: cover; background-position: center; min-height: 520px; }
.hero__actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* ---- Day tabs ---- */
.daybar { position: sticky; top: 57px; z-index: 20; background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.daybar__inner { display: flex; max-width: var(--maxw); margin: 0 auto; }
.daytab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 8px; cursor: pointer; border: none; border-left: 1px solid var(--line); background: transparent; color: var(--muted); transition: background .15s; }
.daytab:first-child { border-left: none; }
.daytab__d { font-family: var(--f-display); font-size: 18px; }
.daytab__date { font: 600 12px var(--f-body); opacity: .8; }
.daytab.is-active { background: var(--accent); color: var(--ink); }

/* ---- Program list ---- */
.prow { display: grid; grid-template-columns: 96px 1fr 160px; gap: 22px; align-items: start; padding: 20px 0; border-top: 1px solid var(--line); }
.prow:last-child { border-bottom: 1px solid var(--line); }
.prow__time { font-family: var(--f-display); font-size: 26px; color: var(--accent); }
.prow__title { font: 700 19px/1.3 var(--f-body); color: var(--cream); display: inline-block; }
.prow__title:hover { color: var(--accent); }
.prow__sub { font: 400 13.5px/1.5 var(--f-body); color: var(--muted); margin-top: 6px; }
.prow__venue { font: 500 13px/1.45 var(--f-body); color: var(--muted); text-align: right; padding-top: 4px; }
.prow--break .prow__time { color: var(--muted); }
.prow--break .prow__title { font: 700 16px var(--f-body); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.tag { display: inline-block; margin-top: 9px; font: 700 10px var(--f-narrow); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(236,222,19,.45); padding: 3px 9px; border-radius: 20px; }

/* ---- Grids & cards ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.card--outline { background: transparent; }
.card__kind { font: 800 11px var(--f-narrow); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.card__title { font-family: var(--f-display); text-transform: uppercase; line-height: .95; font-size: 24px; color: var(--cream); margin: 10px 0 0; }
.card__label { font: 800 11px var(--f-narrow); letter-spacing: .13em; text-transform: uppercase; color: var(--accent); }

/* ---- Stats band ---- */
.stat__num { font-family: var(--f-display); font-size: clamp(34px,5vw,48px); line-height: .9; }
.stat__cap { font: 600 13px/1.4 var(--f-body); margin-top: 8px; color: rgba(35,31,32,.8); }

/* ---- Gallery ---- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { padding: 9px 16px; border-radius: 20px; cursor: pointer; font: 800 12px var(--f-body); background: transparent; color: var(--muted); border: 1px solid var(--line); }
.chip.is-active { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.gallery { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 200px; gap: 14px; }
.tile { position: relative; border-radius: 10px; overflow: hidden; background: var(--panel); border: 1.5px dashed rgba(244,241,233,.26); }
.tile--img { border: none; background-size: cover; background-position: center; }
.tile--span { grid-column: span 2; grid-row: span 2; }
.tile__cap { position: absolute; left: 14px; bottom: 12px; font: 700 10px var(--f-narrow); letter-spacing: .1em; text-transform: uppercase; color: rgba(244,241,233,.5); }
.tile--img .tile__cap { color: rgba(244,241,233,.85); text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.tile[hidden] { display: none; }

/* ---- Location ---- */
.map-ph { min-height: 320px; border: 1.5px dashed rgba(244,241,233,.28); border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--panel); text-align: center; color: rgba(244,241,233,.45); }
.map-ph__big { font-family: var(--f-display); font-size: 30px; color: rgba(244,241,233,.3); }
.access-item { display: flex; gap: 14px; align-items: flex-start; background: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.dot { width: 11px; height: 11px; border-radius: 50%; margin-top: 5px; flex: none; }
.dot--ok { background: var(--ok); } .dot--no { background: var(--no); } .dot--part { background: var(--accent); }
.trow { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: baseline; }
.trow__mode { font: 800 11px var(--f-narrow); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---- Forms (contact) ---- */
.field { background: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 13px 14px; color: var(--cream); font: 400 14px var(--f-body); outline: none; width: 100%; }
.field:focus { border-color: var(--accent); }
textarea.field { resize: vertical; }

/* ---- Event detail ---- */
.detail { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.detail__hero { height: 300px; border-radius: 12px; background-size: cover; background-position: center 35%; position: relative; overflow: hidden; }
.detail__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,31,32,.1), rgba(35,31,32,.6)); }
.quote { margin: 26px 0 0; padding: 24px 26px; background: var(--card); border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; }
.quote p { font: 600 17px/1.5 var(--f-body); font-style: italic; }
.aside { position: sticky; top: 84px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.breadcrumb { font: 600 12px var(--f-narrow); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.breadcrumb .sep { color: rgba(244,241,233,.35); margin: 0 8px; }
.breadcrumb .cur { color: var(--accent); }

/* ---- Footer ---- */
.footer { background: var(--ink); padding: 42px 0 36px; border-top: 1px solid var(--line); }
.footer .brand img{ width:200px;}
.footer__row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer__legal { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font: 500 12px var(--f-body); color: var(--muted); }
.lockup {display: flex; justify-content: center;align-items: center}
.lockup img{ max-width: 200px;}
.lockup img.ifs{ max-width: 100px;}
.lockups { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; align-content: center }

.mt-0{margin-top:0} .mt-8{margin-top:8px} .mt-12{margin-top:12px} .mt-14{margin-top:14px} .mt-16{margin-top:16px} .mt-18{margin-top:18px} .mt-22{margin-top:22px}
.maxw-560 { max-width: 560px; } .maxw-620 { max-width: 620px; } .maxw-820 { max-width: 820px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  :root { --pad: 22px; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: rgba(28,24,25,.98); backdrop-filter: blur(10px); flex-direction: column; gap: 0; padding: 8px 22px 16px; border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 11px 0; font-size: 13px; }
  .nav-toggle { display: inline-block; order: 3; }
  .site-header__inner { flex-wrap: wrap; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { padding: 40px 0; }
  .hero__art { min-height: 280px; }
  .detail { grid-template-columns: 1fr; }
  .aside { position: static; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .prow { grid-template-columns: 64px 1fr; }
  .prow__venue { grid-column: 2; text-align: left; padding-top: 0; }
}
@media (max-width: 560px) {
  .grid-2 { grid-template-columns: 1fr; }
}

.accordion-body {
  transition: height 0.5s ease;
  interpolate-size: allow-keywords;
  height: 0px;
  margin-top: 30px;
  overflow: hidden;
}

.accordion-body.active {
  transition: height 0.5s ease;
  height: auto;
}
.accordion-body p {
 margin: revert;
}
.accordion-body li {
  margin: revert;
}
.break {
  flex-basis: 100%; /* Takes up 100% of the container width */
  height: 0;
}