/* Design system — mobile-first, fără dependențe externe. */
:root {
  color-scheme: light;
  --cream: #F7F1E5;
  --cream-light: #FCF9F3;
  --brown-dark: #352116;
  --brown: #694126;
  --gold: #C99432;
  --harvest-yellow: #E2AC37;
  --pumpkin: #C9672C;
  --forest: #344C32;
  --autumn-red: #8E3F2C;
  --text: #28231F;
  --white: #FFFFFF;
  --text-muted: #6B6056;
  --border: #DED4C4;
  --border-strong: #A99A86;
  --surface: var(--cream-light);
  --focus: var(--forest);

  /* Două familii locale; fără descărcări de fonturi sau tracking. */
  --font-heading: Georgia, serif;
  --font-body: Arial, sans-serif;
  --font-xs: 0.75rem;
  --font-sm: 0.875rem;
  --font-base: 1rem;
  --font-lead: clamp(1.125rem, 1rem + 0.4vw, 1.375rem);
  --font-h1: clamp(2.625rem, 1.55rem + 4.5vw, 6rem);
  --font-h2: clamp(2rem, 1.3rem + 2.8vw, 4.25rem);
  --font-h3: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  --line-body: 1.7;
  --line-heading: 1.12;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --container-width: 80rem;
  --page-gutter: 1.25rem;
  --section-space: 4rem;
  --grid-gap: 1.5rem;
  --radius-sm: 1rem;
  --radius-md: 1.375rem;
  --radius-lg: 1.75rem;
  --radius-pill: 999px;
  --shadow-soft: 0 8px 32px rgb(53 33 22 / 5%);
  --shadow-raised: 0 12px 40px rgb(53 33 22 / 8%);
  --duration-fast: 160ms;
  --duration-base: 260ms;
  --ease: cubic-bezier(0.2, 0.65, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font: 400 var(--font-base)/var(--line-body) var(--font-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, p, figure { margin: 0; }
h1, h2, h3, h4, h5, h6 {
  color: var(--brown-dark);
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: var(--line-heading);
  letter-spacing: -0.025em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1, .heading-xl { font-size: var(--font-h1); }
h2, .heading-lg { font-size: var(--font-h2); }
h3, .heading-md { font-size: var(--font-h3); }
h4, h5, h6 { font-size: var(--font-lead); }
p { overflow-wrap: break-word; }
a { color: var(--forest); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
img, picture, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { max-width: 100%; }
button:disabled { cursor: not-allowed; }
[hidden] { display: none !important; }
::selection { background: var(--harvest-yellow); color: var(--brown-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

/* Layout: niciun overflow ascuns global; conținutul trebuie să încapă natural. */
.container { width: min(var(--container-width), calc(100% - 2 * var(--page-gutter))); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.stack > * + * { margin-block-start: var(--stack-space, var(--space-5)); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--grid-gap); }
.grid > *, .cluster > * { min-width: 0; }
.measure { max-width: 65ch; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.lead { font-size: var(--font-lead); line-height: 1.65; }
.eyebrow { color: var(--forest); font-size: var(--font-xs); font-weight: 700; line-height: 1.5; letter-spacing: 0.14em; text-transform: uppercase; }
.caption { color: var(--text-muted); font-size: var(--font-sm); }
.divider { height: 1px; margin: 0; border: 0; background: var(--border); }
.surface { background: var(--surface); }

/* Componente pregătite pentru compoziție, fără instanțe în homepage. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: 3rem;
  max-width: 100%;
  padding: 0.8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: var(--font-sm);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: background-color var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease), box-shadow var(--duration-fast) var(--ease);
}
.button--primary { color: var(--white); background: var(--forest); }
.button--secondary { color: var(--brown-dark); background: transparent; border-color: var(--brown); }
.button--accent { color: var(--brown-dark); background: var(--harvest-yellow); }
.button--block { width: 100%; }
.button:disabled, .button[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; box-shadow: none; }
/* aria-disabled nu blochează singur activarea: linkurile inactive vor fi fără href. */
.text-link { display: inline-flex; align-items: center; gap: var(--space-3); min-height: 2.75rem; font-weight: 700; }
.card { padding: var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-soft); }
.card__media { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.media-frame { overflow: hidden; border-radius: var(--radius-lg); }
.media-frame > img { width: 100%; height: 100%; object-fit: cover; }
.badge { display: inline-flex; align-items: center; gap: var(--space-2); padding: 0.4rem 0.8rem; border: 1px solid var(--border); border-radius: var(--radius-pill); color: var(--forest); background: var(--cream-light); font-size: var(--font-xs); font-weight: 700; }
.icon { width: 1.25rem; height: 1.25rem; flex: 0 0 auto; }
.field { display: grid; gap: var(--space-2); }
.field__label { font-size: var(--font-sm); font-weight: 700; }
.input { width: 100%; min-height: 3rem; padding: var(--space-3) var(--space-4); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--text); background: var(--cream-light); }
.input::placeholder { color: var(--text-muted); opacity: 1; }
textarea.input { min-height: 9rem; resize: vertical; }
.input[aria-invalid="true"] { border-color: var(--autumn-red); }
.field__error { color: var(--autumn-red); font-size: var(--font-sm); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; inset-block-start: var(--space-4); inset-inline-start: var(--space-4); z-index: 100; transform: translateY(-200%); padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); color: var(--white); background: var(--forest); }
.skip-link:focus { transform: none; }

/* Etapa 2: header, hero, informații. Tokenurile existente sunt păstrate. */
:root { --header-height: 5rem; }
html { scroll-padding-top: calc(var(--header-height) + 1rem); }
body.menu-is-open, body.dialog-is-open { overflow: hidden; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 30; color: var(--cream-light); border-bottom: 1px solid transparent; transition: background-color var(--duration-base), color var(--duration-base), border-color var(--duration-base); }
.site-header.is-scrolled, .site-header.is-open { color: var(--brown-dark); background: rgb(252 249 243 / 94%); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom-color: rgb(105 65 38 / 12%); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.brand { display: flex; align-items: center; gap: var(--space-3); color: inherit; text-decoration: none; flex-shrink: 0; }
.brand img { width: 3.25rem; height: 3.25rem; border-radius: 50%; }
.brand span { font-size: .62rem; font-weight: 700; letter-spacing: .09em; line-height: 1.5; }
.brand small { display: block; font-size: .56rem; font-weight: 400; letter-spacing: .19em; margin-top: .25rem; }
.header-cta { display: none; }
.menu-toggle { display: grid; align-content: center; gap: 6px; width: 48px; height: 48px; padding: 12px; color: inherit; background: transparent; border: 0; position: relative; z-index: 2; }
.menu-toggle span { width: 24px; height: 1.5px; background: currentColor; transition: transform var(--duration-base) var(--ease); }
.is-open .menu-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
.is-open .menu-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.main-navigation { display: none; }
.is-open .main-navigation { display: flex; flex-direction: column; position: fixed; inset: var(--header-height) 0 auto; height: calc(100dvh - var(--header-height)); overflow-y: auto; padding: var(--space-5) var(--page-gutter) var(--space-7); background: var(--cream-light); }
.main-navigation > a { color: inherit; text-decoration: none; font-size: 1.2rem; padding: .65rem 0; }
.main-navigation > a:not(.button) { border-bottom: 1px solid var(--border); }
.main-navigation > .mobile-cta { font-size: var(--font-sm); padding: .8rem 1.5rem; margin-top: var(--space-5); color: var(--brown-dark); }
.hero { position: relative; isolation: isolate; min-height: 100svh; background: var(--forest); color: var(--cream-light); display: grid; overflow: hidden; --focus: var(--harvest-yellow); }
.hero-background, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-background { object-fit: cover; object-position: 60% center; }
.hero-overlay { z-index: -1; background: linear-gradient(180deg, rgb(35 48 32 / 64%) 0%, rgb(48 48 29 / 52%) 38%, rgb(39 44 29 / 78%) 100%); }
.hero-inner { display: flex; align-items: center; padding-block: calc(var(--header-height) + 2rem) 6.5rem; }
.hero-content { width: 100%; max-width: 37rem; margin-inline: auto; text-align: center; }
.hero-eyebrow { color: var(--cream-light); font-size: .65rem; letter-spacing: .16em; display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; }
.hero-logo { width: clamp(190px, 54vw, 250px); height: auto; border-radius: 50%; margin: var(--space-5) auto; box-shadow: 0 12px 48px rgb(35 48 32 / 10%); }
.hero-motto { font-family: var(--font-heading); font-size: clamp(1.6rem, 4.5vw, 2.35rem); line-height: 1.25; letter-spacing: -.025em; }
.hero-description { max-width: 34rem; margin: var(--space-4) auto 0; color: var(--cream); font-size: .9375rem; line-height: 1.75; text-wrap: pretty; }
.hero-actions { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-6); }
.hero-actions .button, .header-cta { text-transform: uppercase; font-size: .69rem; letter-spacing: .06em; gap: var(--space-4); }
.button--hero-outline { color: var(--cream-light); background: rgb(247 241 229 / 5%); border-color: rgb(247 241 229 / 60%); }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: var(--space-3); color: var(--cream); text-decoration: none; text-transform: uppercase; font-size: .55rem; letter-spacing: .13em; white-space: nowrap; min-height: 44px; }
.hero-scroll > span { font-size: 1.5rem; font-weight: 400; }
.hero-image-note { position: absolute; bottom: .55rem; right: var(--page-gutter); color: var(--cream); font-size: .5rem; }
.hero-side-note { display: none; }
.festival-info { background: var(--cream-light); border-bottom: 1px solid var(--border); padding-block: var(--space-5); }
.info-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.info-item { display: flex; align-items: center; gap: var(--space-5); padding: var(--space-5) 0; min-width: 0; }
.info-item + .info-item { border-top: 1px solid var(--border); }
.info-item svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--brown); }
.info-value { color: var(--brown-dark); font-size: .83rem; font-weight: 700; text-transform: uppercase; letter-spacing: .045em; line-height: 1.5; }
.info-label { color: var(--text-muted); font-size: .8rem; margin-top: .2rem; }
.coming-soon { width: min(32rem, calc(100% - 2.5rem)); margin: auto; padding: var(--space-7) var(--space-5) var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--cream-light); color: var(--text); box-shadow: var(--shadow-raised); }
.coming-soon::backdrop { background: rgb(35 48 32 / 55%); backdrop-filter: blur(5px); }
.coming-soon h2 { font-size: var(--font-h3); margin-block: var(--space-4); }
.coming-soon-copy { color: var(--text-muted); margin-bottom: var(--space-5); }
.dialog-close { position: absolute; top: .5rem; right: .5rem; width: 44px; height: 44px; border: 0; background: transparent; color: var(--brown-dark); font-size: 1.7rem; }


/* Etapa 3: introducere și cauza festivalului. */
.intro-layout, .cause-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-7); align-items: center; }
.intro-layout > *, .cause-layout > * { min-width: 0; }
.intro-copy .eyebrow, .cause-copy .eyebrow { margin-bottom: var(--space-5); }
.intro-copy h2, .cause-copy h2 { margin-bottom: var(--space-5); }
.intro-description { max-width: 36rem; color: var(--text-muted); line-height: 1.85; }
.intro-title-break { display: none; }
.intro-wheat { width: 42px; height: 54px; color: var(--gold); margin-top: var(--space-6); }
.intro-photo, .cause-photo { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--brown); }
.intro-photo img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 20% center; }
.intro-photo figcaption, .cause-photo figcaption { position: absolute; inset: auto 0 0; padding: var(--space-6) var(--space-4) var(--space-3); color: var(--cream-light); background: linear-gradient(transparent, rgb(53 33 22 / 74%)); font-size: .625rem; line-height: 1.5; }
.festival-cause { background: var(--brown-dark); color: var(--cream); --focus: var(--harvest-yellow); }
.cause-copy { order: 0; }
.cause-photo { order: 1; }
.cause-copy .eyebrow { color: var(--harvest-yellow); }
.cause-copy h2 { color: var(--cream-light); }
.cause-description, .cause-additional { max-width: 35rem; color: var(--cream); line-height: 1.85; }
.cause-additional { margin-top: var(--space-5); }
.cause-cta { margin-top: var(--space-6); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; padding-inline: var(--space-5); }
.cause-label { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-7); font-size: .78rem; color: var(--cream); }
.cause-label > span { width: 1.5rem; height: 1px; background: var(--gold); flex-shrink: 0; }
.cause-photo img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 80% center; }

/* Artiști: headlineri editoriali, lineup compact. Stiluri izolate în secțiune. */
.artists-heading { max-width: 46rem; margin-bottom: var(--space-7); }
.artists-heading .eyebrow { margin-bottom: var(--space-4); }
.artists-heading h2 { margin-bottom: var(--space-5); }
.artists-subtitle { color: var(--text-muted); max-width: 38rem; }
.headliners-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
.headliner-card { min-width: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--cream-light); border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
.festival-artists .artist-media { position: relative; overflow: hidden; background: var(--forest); }
.headliner-card .artist-media { aspect-ratio: 4 / 3; }
.festival-artists .artist-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; transition: transform 450ms var(--ease); }
.festival-artists .artist-photo-note { position: absolute; bottom: var(--space-4); left: var(--space-4); right: var(--space-4); color: var(--cream); font-size: .65rem; letter-spacing: .05em; text-align: center; }
.headliner-card .artist-content { padding: var(--space-5); }
.festival-artists .artist-category { font-size: .65rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 700; color: var(--brown); margin-bottom: var(--space-2); }
.headliner-card .artist-name { font-size: clamp(1.65rem, 2.7vw, 2.65rem); line-height: 1.15; }
.festival-artists .artist-time { margin-top: var(--space-3); font-size: var(--font-sm); color: var(--text-muted); }
.artists-lineup-header { margin-top: var(--space-8); margin-bottom: var(--space-6); display: flex; flex-direction: column; gap: var(--space-5); }
.artists-lineup-header h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
.artists-filters { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.artists-filters button { min-height: 44px; padding: .65rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-pill); color: var(--text-muted); background: transparent; font-size: .65rem; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; transition: color var(--duration-fast), background-color var(--duration-fast), border-color var(--duration-fast); }
.artists-filters button[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--cream-light); }
.artists-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
.lineup-card { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); align-items: center; gap: var(--space-4); padding: var(--space-3); background: var(--cream-light); border: 1px solid var(--border); border-radius: var(--radius-sm); min-width: 0; }
.lineup-card .artist-media { width: 100%; aspect-ratio: 4 / 5; border-radius: .65rem; }
.lineup-card .artist-content { min-width: 0; padding-block: var(--space-2); }
.lineup-card .artist-name { font-family: var(--font-body); font-size: .9375rem; font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.lineup-card .artist-category { font-size: .56rem; letter-spacing: .1em; }
.lineup-card .artist-photo-note { left: 4px; right: 4px; bottom: 5px; font-size: .45rem; letter-spacing: 0; line-height: 1.25; }
.artists-empty, .artists-noscript { padding-block: var(--space-5); }

/* Experiențe editoriale și atelier: stiluri izolate, mobile-first. */
.festival-experiences { background: var(--cream-light); border-top: 1px solid var(--border); }
.experiences-heading { max-width: 48rem; margin-bottom: var(--space-7); }
.experiences-heading .eyebrow { margin-bottom: var(--space-4); }
.experiences-heading h2 { margin-bottom: var(--space-5); }
.experiences-heading > p:last-child { color: var(--text-muted); max-width: 38rem; }
.experiences-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
.experiences-layout > article { min-width: 0; border-radius: var(--radius-lg); overflow: hidden; }
.experience-photo { position: relative; isolation: isolate; min-height: 25rem; display: flex; align-items: flex-end; background: var(--forest); color: var(--cream-light); }
.experience-photo > img, .experience-photo-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.experience-photo > img { object-fit: cover; object-position: 20% center; }
.experience-photo-shade { z-index: -1; background: linear-gradient(180deg, transparent 15%, rgb(35 48 32 / 88%) 100%); }
.experience-photo-copy { padding: var(--space-6); width: 100%; }
.experience-line-icon { display: block; width: 32px; height: 32px; margin-bottom: var(--space-5); color: var(--cream); }
.experience-photo h3 { color: var(--cream-light); font-size: 1.8rem; margin-bottom: var(--space-3); }
.experience-photo p { max-width: 23rem; font-size: .9375rem; }
.experience-photo small { display: block; margin-top: var(--space-6); font-size: .6rem; color: var(--cream); }
.experience-season { padding: var(--space-6); background: var(--cream); display: flex; flex-direction: column; justify-content: center; }
.experience-kicker { color: var(--text-muted); font-size: .6rem; letter-spacing: .14em; margin-bottom: var(--space-5); }
.experience-season h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: var(--space-3); }
.experience-season p { color: var(--text-muted); }
.experience-rule { display: block; width: 3rem; height: 1px; background: var(--gold); margin-top: var(--space-6); }
.experience-number { padding: var(--space-6); min-height: 13rem; display: flex; flex-direction: column; justify-content: center; }
.experience-number h3 { display: flex; flex-direction: column; gap: var(--space-3); }
.experience-cauldron { background: var(--forest); }
.experience-cauldron h3 { color: var(--cream-light); }
.experience-sarmale { background: var(--cream); border: 1px solid var(--border); }
.experience-figure { font-family: var(--font-heading); font-size: clamp(3.5rem, 9vw, 6.25rem); font-weight: 400; letter-spacing: -.055em; line-height: 1; white-space: nowrap; }
.experience-figure > span { font-size: .4em; letter-spacing: 0; }
.number-caption { font-family: var(--font-body); font-size: .72rem; letter-spacing: .16em; font-weight: 700; }
.experience-kids { display: flex; flex-direction: column; gap: var(--space-5); padding: var(--space-6); border: 1px solid var(--border); background: var(--cream-light); }
.experience-kids h3 { font-family: var(--font-body); font-size: .83rem; font-weight: 700; letter-spacing: .07em; line-height: 1.5; }
.experience-kids p { font-size: .9rem; color: var(--text-muted); margin-top: var(--space-2); }
.experience-kids .text-link { font-size: .8rem; align-self: flex-start; }
.workshop-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-7); align-items: start; }
.workshop-intro .eyebrow { margin-bottom: var(--space-5); }
.workshop-intro h2 { margin-bottom: var(--space-5); }
.workshop-subtitle { color: var(--brown); font-family: var(--font-heading); font-size: 1.3rem; }
.workshop-date { margin-top: var(--space-6); padding-left: var(--space-5); border-left: 2px solid var(--gold); color: var(--forest); font-size: .74rem; font-weight: 700; letter-spacing: .055em; line-height: 1.8; }
.workshop-date p + p { color: var(--text-muted); font-size: .67rem; margin-top: var(--space-1); }
.workshop-activities { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--space-6); list-style: none; margin: 0; padding: 0; }
.workshop-item { display: flex; align-items: center; gap: var(--space-4); padding-block: var(--space-5); border-bottom: 1px solid var(--border); min-width: 0; }
.workshop-icon { width: 48px; height: 48px; padding: 11px; flex: 0 0 auto; border-radius: var(--radius-sm); background: rgb(52 76 50 / 7%); color: var(--forest); }
.workshop-item:nth-child(3n + 2) .workshop-icon { background: rgb(142 63 44 / 6%); color: var(--autumn-red); }
.workshop-item:nth-child(3n) .workshop-icon { background: rgb(201 148 50 / 9%); color: var(--brown); }
.workshop-item h3 { font: 400 .9375rem/1.6 var(--font-body); letter-spacing: 0; color: var(--text); }

/* Program de o zi: timeline pregătit fără evenimente demonstrative. */
.festival-schedule { background: var(--cream); border-top: 1px solid var(--border); }
.schedule-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); align-items: start; }
.schedule-main { min-width: 0; }
.schedule-heading .eyebrow { margin-bottom: var(--space-4); }
.schedule-heading h2 { margin-bottom: var(--space-5); }
.schedule-subtitle { color: var(--text-muted); font-size: var(--font-sm); }
.schedule-content { margin-top: var(--space-7); }
.schedule-empty { position: relative; margin-left: .35rem; padding: var(--space-6) 0 var(--space-6) var(--space-5); border-left: 1px solid var(--border-strong); font-family: var(--font-heading); font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.5; color: var(--brown); max-width: 36rem; }
.schedule-empty::before { content: ""; position: absolute; top: 2.7rem; left: -5px; width: 9px; height: 9px; border: 2px solid var(--cream); border-radius: 50%; background: var(--gold); }
.schedule-date-card { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: var(--space-2) var(--space-4); padding: var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--cream-light); color: var(--forest); box-shadow: var(--shadow-soft); }
.schedule-date-card svg { grid-row: 1 / 3; width: 28px; height: 28px; }
.schedule-card-date { font-size: .8rem; font-weight: 700; letter-spacing: .07em; }
.schedule-card-time { grid-column: 3; grid-row: 1 / 3; font: 400 2rem/1.1 var(--font-heading); color: var(--brown-dark); }
.schedule-card-city { grid-column: 2; font-size: .65rem; letter-spacing: .16em; }
.schedule-timeline { list-style: none; margin: 0 0 0 .35rem; padding: 0; }
.schedule-event { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); border-left: 1px solid var(--border-strong); padding: 0 0 var(--space-7) var(--space-5); }
.schedule-event:last-child { padding-bottom: var(--space-3); }
.schedule-event::before { content: ""; position: absolute; top: .4rem; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--forest); box-shadow: 0 0 0 4px var(--cream); }
.schedule-event-time { color: var(--brown); font-weight: 700; font-size: .875rem; font-variant-numeric: tabular-nums; line-height: 1.6; }
.schedule-event-title { font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.3; }
.schedule-event-subtitle { color: var(--text-muted); font-size: .875rem; margin-top: var(--space-2); }
.schedule-category { display: inline-block; max-width: 100%; margin-top: var(--space-3); padding: .3rem .65rem; color: var(--forest); background: var(--cream-light); border: 1px solid var(--border); border-radius: var(--radius-pill); font-size: .6rem; line-height: 1.6; letter-spacing: .08em; overflow-wrap: anywhere; }
.schedule-event--featured::before { background: var(--gold); }
.schedule-event--featured .schedule-event-body { border-left: 2px solid var(--gold); padding-left: var(--space-4); }

/* Locația oficială și embed Google Maps real. */
.festival-location { background: var(--cream-light); border-top: 1px solid var(--border); }
.location-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); align-items: center; }
.location-layout > * { min-width: 0; }
.location-content > .eyebrow { margin-bottom: var(--space-4); }
.location-content h2 { margin-bottom: var(--space-5); }
.location-address { display: grid; gap: var(--space-2); font-style: normal; font-size: .9375rem; color: var(--text-muted); max-width: 31rem; }
.location-address strong { font-weight: 600; font-size: 1.0625rem; color: var(--brown-dark); }
.location-info-card { margin-top: var(--space-6); padding: var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--cream); box-shadow: var(--shadow-soft); }
.location-facts { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-5); margin: 0; }
.location-facts dt { color: var(--text-muted); font-size: .7rem; margin-bottom: var(--space-2); }
.location-facts dd { margin: 0; color: var(--brown-dark); font-size: .8rem; font-weight: 700; letter-spacing: .035em; overflow-wrap: anywhere; }
.location-facts-place { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: var(--space-4); }
.location-facts .location-facts-city { margin-top: var(--space-2); color: var(--forest); font-size: .72rem; font-weight: 400; letter-spacing: .09em; }
.location-maps-link { margin-top: var(--space-5); font-size: .7rem; letter-spacing: .045em; text-transform: uppercase; width: 100%; }
.location-map { height: 360px; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--cream); box-shadow: var(--shadow-soft); }
.location-map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Încheierea homepage-ului: identități oficiale, invitație și subsol. */
.festival-partners { background: var(--cream-light); border-top: 1px solid var(--border); }
.partners-heading { max-width: 48rem; margin-bottom: var(--space-7); }
.partners-heading .eyebrow { margin-bottom: var(--space-5); }
.partner-groups { display: grid; gap: var(--space-7); }
.partner-group h3 { font-family: var(--font-body); font-size: .7rem; font-weight: 700; letter-spacing: .12em; margin-bottom: var(--space-5); }
.partner-logos { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-5); }
.partner-pending { color: var(--text-muted); font-size: .8rem; padding-block: var(--space-4); }
.partner-logo { width: min(100%, 13rem); min-height: 7rem; padding: var(--space-4); display: flex; justify-content: center; align-items: center; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); text-align: center; text-decoration: none; color: var(--text); }
.partner-logo img { width: 100%; height: 5rem; object-fit: contain; }
.partner-logo-fallback { font-size: .85rem; }
.festival-final { position: relative; isolation: isolate; overflow: hidden; color: var(--cream-light); background: var(--forest); text-align: center; --focus: var(--harvest-yellow); }
.final-background, .final-overlay { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.final-background { object-fit: cover; object-position: center 60%; }
.final-overlay { z-index: -1; background: linear-gradient(110deg, rgb(35 48 32 / 87%), rgb(53 33 22 / 72%)); }
.final-content { max-width: 52rem; }
.final-content .eyebrow { color: var(--cream); font-size: .68rem; margin-bottom: var(--space-5); }
.final-content h2 { color: var(--cream-light); font-size: clamp(2.5rem, 6vw, 5.25rem); margin-bottom: var(--space-5); }
.final-description { max-width: 34rem; margin-inline: auto; color: var(--cream); }
.final-purpose { margin-top: var(--space-4); font-size: .8rem; color: var(--cream); }
.final-actions { display: flex; flex-direction: column; justify-content: center; gap: var(--space-3); margin-top: var(--space-6); }
.final-actions .button { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.final-image-note { position: absolute; bottom: .65rem; right: var(--page-gutter); font-size: .55rem; color: var(--cream); }
.site-footer { background: #241911; color: var(--cream); padding-top: var(--space-8); --focus: var(--harvest-yellow); }
.footer-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-7) var(--space-5); padding-bottom: var(--space-7); }
.footer-layout > * { min-width: 0; }
.footer-identity { grid-column: 1 / -1; }
.footer-logo { display: inline-block; margin-bottom: var(--space-5); }
.footer-logo img { width: 104px; height: 104px; border-radius: 50%; }
.footer-name { font-size: 1rem; font-weight: 600; }
.footer-name span { display: block; font-weight: 400; font-size: .85rem; margin-top: var(--space-1); }
.footer-purpose { color: #d2c4b5; font-size: .8rem; max-width: 23rem; margin-top: var(--space-4); }
.footer-column h2 { font-family: var(--font-body); font-size: .7rem; font-weight: 700; letter-spacing: .12em; color: var(--cream); margin-bottom: var(--space-4); }
.footer-column nav { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer a, .site-footer button { color: #e0d3c2; }
.footer-column nav > a, .footer-column nav > button { display: inline-flex; align-items: center; min-height: 44px; font-size: .85rem; text-decoration: none; }
.site-footer button { border: 0; padding: 0; background: transparent; text-align: left; }
.footer-social-note { color: #c0ad99; font-size: .7rem; margin-top: var(--space-3); max-width: 13rem; }
.site-footer a[aria-disabled="true"] { color: #c0ad99; cursor: default; }
.footer-bottom { border-top: 1px solid rgb(247 241 229 / 15%); padding-block: var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); font-size: .7rem; color: #d2c4b5; }
.footer-legal { display: flex; gap: var(--space-2) var(--space-5); flex-wrap: wrap; }
.footer-legal button { min-height: 44px; font-size: .7rem; }
.footer-credit { display: flex; gap: .35rem; align-items: center; flex-wrap: wrap; }
.footer-credit svg { width: 13px; height: 13px; color: #d49b80; }
.footer-credit a { text-underline-offset: .2em; }

/* Finition transversale : mêmes tokens, mêmes contenus et même composition. */
:root {
  --duration-reveal: 760ms;
  --reveal-distance: 20px;
  --radius-inset: 0.625rem;
  --footer-surface: #241911;
}
.lineup-card .artist-media { border-radius: var(--radius-inset); }
.hero-logo { box-shadow: var(--shadow-soft); }
.site-footer { background: var(--footer-surface); }
.site-header { transition: background-color var(--duration-base) var(--ease), color var(--duration-base) var(--ease), border-color var(--duration-base) var(--ease), box-shadow var(--duration-base) var(--ease); }
.site-header.is-scrolled { box-shadow: var(--shadow-soft); }
.button { transition: transform var(--duration-fast) var(--ease), background-color var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease), box-shadow var(--duration-fast) var(--ease); }
.button:disabled, .button[aria-disabled="true"] { transform: none; }
.main-navigation > a:not(.button), .footer-column nav > a[href], .footer-column nav > button { position: relative; }
.main-navigation > a:not(.button)::after, .footer-column nav > a[href]::after, .footer-column nav > button::after {
  content: ""; position: absolute; inset: auto 0 .3rem; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--duration-base) var(--ease);
}
.main-navigation > a[aria-current="page"]::after { transform: scaleX(1); background: var(--gold); }
.main-navigation > a:focus-visible::after, .footer-column nav > a:focus-visible::after, .footer-column nav > button:focus-visible::after { transform: scaleX(1); }
.partner-logo img { transition: opacity var(--duration-base) var(--ease); }
.festival-artists .artist-media img, .gallery-tile img, .gallery-item img { transition: transform 700ms var(--ease); }
.gallery-tile, .gallery-item { overflow: hidden; }
