/* September 10: event ticket stubs and photographic project cards. */
.home .home-program-rail { margin-top: 32px; }
.home .home-program-rail-head { padding: 0 0 18px; min-height: 0; }
.home .home-program-rail-head h3 { font: 700 1.25rem/1.2 var(--font-sans); letter-spacing: -.02em; text-transform: none; }
.home .home-program-rail-head > div { display: none; }
.home .home-program-list {
 display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); grid-auto-flow: row; grid-auto-columns: auto;
 gap: 14px; overflow: visible; background: transparent; scroll-snap-type: none;
}
.home .home-program-row {
 display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding: 0; overflow: hidden;
 border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink);
 transition: border-color .2s ease, box-shadow .2s ease;
}
.home .home-program-row:last-child { border: 1px solid var(--line); }
.home .home-program-row:hover, .home .home-program-row.is-active, .home .home-program-row:focus-within {
 background: var(--surface); color: var(--ink); border-color: var(--brand); transform: none;
 box-shadow: 0 8px 20px -14px var(--brand-deep);
}
.home .home-program-row-state { display: none; }
.home .home-program-row-media, .home .home-program-row:hover .home-program-row-media, .home .home-program-row.is-active .home-program-row-media {
 position: relative; inset: auto; z-index: auto; width: 100%; height: auto; aspect-ratio: 16/10;
 background: var(--ink); opacity: 1; flex: none;
}
.home .home-program-row-media img, .home .home-program-row:hover .home-program-row-media img, .home .home-program-row.is-active .home-program-row-media img { filter: none; transform: none; object-fit: contain; }
.home .home-program-row-media > span { display: none; }
.home .home-program-date {
 position: relative; inset: auto; width: auto; transform: none; display: flex; flex-direction: row; align-items: baseline;
 justify-content: space-between; gap: 8px; margin: 0 14px; padding: 16px 0 12px; border-bottom: 1px dashed var(--brand);
 background: none; color: var(--brand-deep);
}
.home .home-program-date strong { font-size: clamp(1.45rem,2.1vw,2rem); line-height: 1; letter-spacing: -.055em; }
.home .home-program-date small { font-size: .62rem; line-height: 1.4; color: var(--brand-deep); overflow-wrap: anywhere; text-align: right; }
.home .home-program-row-copy { display: block; min-height: 0; margin: 0; padding: 15px 14px 16px; width: auto; flex: 1; }
.home .home-program-row h3 { font-size: clamp(1rem,1.22vw,1.15rem); line-height: 1.25; text-wrap: auto; overflow-wrap: anywhere; }
.home .home-program-row h3 a, .home .home-program-row:hover h3 a, .home .home-program-row.is-active h3 a { color: var(--ink); }
.home .home-program-row p { margin-top: 10px; color: var(--mut); font-size: .73rem; line-height: 1.5; white-space: normal; display: block; overflow: visible; }
.home .home-program-row:hover p, .home .home-program-row.is-active p { color: var(--mut); }
.home .home-program-row:hover .home-program-date, .home .home-program-row.is-active .home-program-date,
.home .home-program-row:hover .home-program-date small, .home .home-program-row.is-active .home-program-date small { color: var(--brand-deep); }
.home .home-program-row-actions { position: relative; inset: auto; transform: none; display: flex; gap: 6px; margin: 0; padding: 12px; border-top: 1px dashed var(--line); }
.home .home-program-row-actions a, .home .home-program-row:hover .home-program-row-actions a, .home .home-program-row.is-active .home-program-row-actions a {
 display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; width: auto; flex: 1;
 min-height: 44px; height: auto; padding: 10px 5px; border-radius: 4px; border: 0; font-size: .64rem; letter-spacing: .01em;
 color: var(--brand-deep); background: var(--bg);
}
.home .home-program-row-actions .is-ticket, .home .home-program-row:hover .home-program-row-actions .is-ticket, .home .home-program-row.is-active .home-program-row-actions .is-ticket { display: flex; background: transparent; color: var(--brand-deep); justify-content: flex-start; flex: 0 1 auto; padding-inline: 2px; font-size: .75rem; }
.home .home-program-row-actions a:hover { text-decoration: underline; text-underline-offset: 4px; }
.home .home-program-row a:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 2px; }
.home .home-program-list:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 4px; }
.home .home-program-row-actions { padding-block: 4px; }
/* A fixed image frame, not a percentage height inside an auto-sized flex item. */
.home .home-news-image, .home .home-project-visual { position: relative; flex-shrink: 0; }
.home .home-news-image img, .home .home-project-visual img,
.home .home-news-card:hover img, .home .home-project-link:hover .home-project-visual img {
 position: absolute; inset: 0; width: 100%; height: 100%; max-height: 100%; object-fit: contain; object-position: center; transform: none;
}
.home .home-news-read { font-weight: 500; }
.home .home-news-controls { display: none; }
.home .home-news-grid:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 4px; }
.home .home-news-image { aspect-ratio: 16/9; border: 0; border-radius: 8px; background: var(--bg); }
/* Only the two inspected square, letterboxed posters: crop blank margins, not artwork.
   Other posters keep contain, including future portrait-format attachments. */
.home .home-news-image.is-padded-poster img,
.home .home-news-card:hover .home-news-image.is-padded-poster img { object-fit: cover; }
.home .home-support-links a + a { background: transparent; border-color: transparent; }

.home .home-projects { border: 0; background: var(--ink); color: var(--surface); }
.home .home-projects .home-section-head { border-color: color-mix(in srgb,var(--surface) 22%,transparent); }
.home .home-projects .home-section-head h2 { color: var(--surface); }
.home .home-projects .home-section-head > a, .home .home-project-support { color: var(--gold); }
.home .home-project-list { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.home .home-project-link { padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--bg); color: var(--ink); transition: transform .25s ease,box-shadow .25s ease; }
.home .home-project-visual { margin: 0; background: var(--ink); border-radius: 0; overflow: hidden; height: auto; aspect-ratio: 4/3; }
.home .home-project-visual img, .home .home-project-link:hover .home-project-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: none; }
.home .home-project-copy { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.home .home-project-link h3 { color: var(--ink); font-size: clamp(1.4rem,2vw,2rem); line-height: 1.12; margin: 0 0 16px; overflow-wrap: anywhere; }
.home .home-project-link p { color: var(--mut); font-size: .9rem; line-height: 1.65; margin: 0 0 24px; }
.home .home-project-cta { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--brand-deep); font-size: .78rem; font-weight: 700; }
.home .home-project-cta > span { display: grid; place-items: center; width: 36px; height: 36px; background: transparent; color: var(--brand-deep); font-size: 1.1rem; transition: transform .25s ease; }
.home .home-project-link:hover { transform: translateY(-4px); box-shadow: 0 12px 24px -12px var(--brand); }
.home .home-project-link:hover h3 { color: var(--brand-deep); text-decoration: none; }
.home .home-project-link:hover .home-project-cta > span { transform: rotate(45deg); }
.home .home-project-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.home .home-project-support { margin-top: 24px; }
@media (min-width: 761px) and (max-width: 1100px) {
 .home .home-program-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
 .home .home-project-list { gap: 14px; }
 .home .home-project-copy { padding: 18px; }
}
@media (max-width: 760px) {
 .home .home-news-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(84%,340px); gap: 14px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--brand) var(--bg); padding: 2px 2px 12px; }
 .home .home-news-card { scroll-snap-align: start; }
 .home .home-news-card > a { display: flex; flex-direction: column; align-items: stretch; padding: 0; border: 0; }
 .home .home-news-image { aspect-ratio: 16/9; margin: 0 0 14px; }
 .home .home-news-card time { font-size: .7rem; margin-bottom: 8px; }
 .home .home-news-card h3 { font-size: 1.2rem; line-height: 1.25; margin-bottom: 12px; }
 .home .home-news-read { margin-top: auto; padding-top: 4px; font-size: .78rem; }
 .home .home-news.is-scroll-ready .home-news-controls { display: flex; justify-content: flex-end; align-items: center; gap: 4px; margin-top: 4px; }
 .home .home-news-controls button { width: 44px; height: 44px; border: 0; background: transparent; color: var(--brand-deep); }
 .home .home-news-controls button:disabled { opacity: .3; cursor: default; }
 .home [data-news-position] { min-width: 32px; text-align: center; font: 500 .7rem/1 var(--font-sans); color: var(--mut); }
 .home .home-program-rail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; }
 .home .home-program-rail-head > div { display: none; }
 .home .is-scroll-ready .home-program-rail-head > div { display: flex; align-items: center; gap: 4px; }
 .home .home-program-rail-head button { width: 44px; height: 44px; border: 0; background: transparent; color: var(--brand-deep); }
 .home .home-program-rail-head button:disabled { opacity: .3; cursor: default; }
 .home [data-program-position] { min-width: 32px; text-align: center; font: 500 .7rem/1 var(--font-sans); color: var(--mut); }
 .home .home-program-list { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(84%,320px); gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: 0; padding: 2px 2px 12px; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--brand) var(--bg); }
 /* Finger scrolling stays native; arrow buttons request smooth movement in JS. */
 .home .home-program-list { scroll-behavior: auto; touch-action: pan-x pan-y pinch-zoom; -webkit-overflow-scrolling: touch; }
 .home .home-program-row { display: flex; flex-direction: column; align-items: stretch; padding: 0; gap: 0; scroll-snap-align: start; }
 .home .home-program-row-media, .home .home-program-row:hover .home-program-row-media, .home .home-program-row.is-active .home-program-row-media { aspect-ratio: 16/9; border-radius: 0; }
 .home .home-program-date { margin: 0 14px; padding: 14px 0 10px; }
 .home .home-program-date strong { font-size: 1.5rem; }
 .home .home-program-date small { font-size: .6rem; }
 .home .home-program-row-copy { padding: 12px 14px; flex: 0 0 auto; min-width: 0; }
 .home .home-program-row h3 { font-size: 1rem; margin: 0; }
 .home .home-program-row h3 a,
 .home .home-program-row p { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
 .home .home-program-row p { font-size: .72rem; margin: 6px 0 0; }
 .home .home-program-row-actions { padding: 4px 14px; }
 .home .home-program-row-actions a { font-size: .72rem; }
 .home .home-explore .home-section-head { gap: 12px; margin-bottom: 22px; }
 .home .home-explore-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
 .home .home-explore-card { min-height: 205px; padding: 16px 12px; align-items: flex-end; border: 0; border-radius: 10px; }
 .home .home-explore-card > img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
 .home .home-explore-card::before { display: block; background: linear-gradient(180deg,transparent 12%,var(--ink) 83%); }
 .home .home-explore-copy { gap: 6px; }
 .home .home-explore-copy strong { font-size: clamp(1.1rem,4.5vw,1.5rem); }
 .home .home-explore-copy small { font-size: .73rem; line-height: 1.4; }
 .home .home-explore-arrow { top: 10px; right: 10px; transform: none; border: 0; border-radius: 50%; width: 26px; height: 26px; background: var(--ink); }
 .home .home-explore-colectii > img { height: 52%; object-fit: contain; background: var(--surface); }
 .home .home-explore-colectii::before { background: linear-gradient(180deg,transparent 42%,var(--ink) 57%); }
 .home .home-explore-despre { grid-column: 1/-1; min-height: 106px; align-items: center; padding: 18px 44px 18px 110px; }
 .home .home-explore-year { inset: 0 auto 0 0; width: 96px; height: 100%; font-size: 2.5rem; background: transparent; }
 .home .home-explore-despre::before { background: linear-gradient(110deg,color-mix(in srgb,var(--brand) 35%,var(--ink)),var(--ink)); }
 .home .home-explore-despre .home-explore-arrow { top: calc(50% - 13px); }
 .home .home-project-list { grid-template-columns: minmax(0,1fr); gap: 18px; }
 .home .home-project-visual { height: auto; }
 .home .home-project-copy { padding: 22px; }
 .home .home-project-link h3 { font-size: 1.65rem; }
}
@media (prefers-reduced-motion: reduce) {
 .home .home-program-list, .home .home-news-grid { scroll-behavior: auto; }
 .home .home-program-row,.home .home-project-link,.home .home-project-visual img,.home .home-project-cta > span { transition: none; transform: none; }
}

/* Recover the photographic composition without restoring outdated editorial categories. */
.home .home-explore.home-cinematic { background: var(--ink); color: var(--surface); padding-block: clamp(36px,4vw,64px); }
.home .home-cinematic > .container { max-width: 1520px; }
.home .home-cinematic .home-section-head { align-items: end; gap: 24px; margin-bottom: 28px; }
.home .home-cinematic .home-section-head h2 { font-size: clamp(2.2rem,4.5vw,4.5rem); line-height: 1.02; letter-spacing: -.05em; }
.home .home-explore.home-cinematic .home-section-head h2 { color: var(--surface); }
.home .home-explore.home-cinematic .home-section-head h2 br { display: block; }
.home .home-explore.home-cinematic .home-section-head p { color: var(--bg); max-width: 30ch; font-size: 1rem; line-height: 1.6; }
.home .home-cinematic .home-explore-grid { grid-template-columns: 2fr 1fr 1fr; gap: 8px; }
.home .home-cinematic .home-explore-card { min-height: 242px; padding: 26px; border: 0; border-radius: 3px; align-items: flex-end; }
.home .home-cinematic .home-explore-spectacole { grid-row: span 2; }
.home .home-cinematic .home-explore-card > img { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home .home-cinematic .home-explore-card::before { display: block; background: linear-gradient(180deg,transparent 10%,#25282D33 35%,#25282Dee 100%); }
.home .home-cinematic .home-explore-copy { gap: 8px; }
/* Category labels share one level; only the section heading is display-sized. */
.home .home-cinematic .home-explore-copy strong { font-size: clamp(1.55rem,2.4vw,2.4rem); line-height: 1.07; }
.home .home-cinematic .home-explore-copy small { font-size: .8rem; line-height: 1.5; color: var(--surface); }
.home .home-cinematic .home-explore-arrow { top: 16px; right: 16px; width: 38px; height: 38px; border: 1px solid #F8F6F280; border-radius: 50%; background: #25282D99; transform: none; }
.home .home-cinematic .home-explore-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 52px; height: 3px; background: var(--gold); transition: width .25s ease; }
.home .home-cinematic .home-explore-card:hover::after,.home .home-cinematic .home-explore-card:focus-visible::after { width: 100%; }
.home .home-cinematic .home-explore-card:hover > img { transform: none; }
.home .home-cinematic .home-explore-colectii > img { height: 55%; object-fit: contain; background: var(--surface); }
.home .home-cinematic .home-explore-colectii::before { background: linear-gradient(180deg,transparent 37%,var(--ink) 58%); }
.home .home-cinematic .home-explore-despre { grid-column: auto; background: linear-gradient(130deg,var(--brand-deep),var(--ink) 80%); }
.home .home-cinematic .home-explore-despre::before { background: none; }
.home .home-cinematic .home-explore-year { display: block; inset: 26px auto auto 24px; width: auto; height: auto; font-size: clamp(2.4rem,4.5vw,4.8rem); background: transparent; }
.home .home-cinematic .home-explore-despre .home-explore-arrow { top: 16px; }
.home .home-cinematic .home-explore-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.home .home-projects.home-cinematic { background: var(--bg); color: var(--ink); padding-block: clamp(36px,4vw,64px); }
.home .home-projects.home-cinematic .home-section-head h2 { color: var(--ink); }
.home .home-projects.home-cinematic .home-section-head > a,.home .home-projects.home-cinematic .home-project-support { color: var(--brand-deep); }
.home .home-cinematic .home-project-list { grid-template-columns: 1.1fr 1fr; gap: 8px; }
.home .home-cinematic .home-project-link { isolation: isolate; justify-content: flex-end; min-height: 300px; border-radius: 3px; background: var(--ink); color: var(--surface); box-shadow: none; transform: none; padding: 0; }
.home .home-cinematic .home-project-link:first-child { grid-row: span 2; }
.home .home-cinematic .home-project-visual { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; z-index: -2; }
.home .home-cinematic .home-project-visual img { object-fit: cover; object-position: center 35%; }
/* This verified 400 × 400 export has white padding above/below the photograph. */
.home .home-cinematic .home-project-visual img[src$="/madrigal_for_babies_kazahstan.png"] { top: -16.667%; height: 133.334%; object-position: center; }
.home .home-cinematic .home-project-link::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,#25282D0d 0%,#25282D55 28%,#25282Dee 69%,var(--ink) 100%); }
.home .home-cinematic .home-project-copy { flex: 0 0 auto; padding: 26px 30px 18px; }
.home .home-cinematic .home-project-link h3,.home .home-cinematic .home-project-link:hover h3 { color: var(--surface); font-size: clamp(1.9rem,2.6vw,2.75rem); line-height: 1.06; margin: 0 0 12px; text-decoration: none; }
.home .home-cinematic .home-project-link:first-child h3 { font-size: clamp(2.8rem,4.1vw,4rem); max-width: 12ch; }
.home .home-cinematic .home-project-link p { color: var(--bg); font-size: .88rem; line-height: 1.55; margin: 0 0 12px; max-width: 54ch; }
.home .home-cinematic .home-project-cta { min-height: 44px; padding: 8px 0 0; margin: 0; border-top: 1px solid #F8F6F240; color: var(--surface); font-size: .75rem; }
.home .home-cinematic .home-project-cta > span { color: var(--gold); transform: none; }
.home .home-cinematic .home-project-link:hover .home-project-cta > span { transform: translate(3px,-3px); }
.home .home-cinematic .home-project-link:hover { box-shadow: inset 0 -3px var(--gold); }
.home .home-cinematic .home-project-support { margin-top: 14px; }
@media (max-width: 1100px) and (min-width: 761px) {
 .home .home-cinematic .home-explore-card { padding: 20px; }
 .home .home-cinematic .home-explore-copy strong { font-size: 1.55rem; }
 .home .home-cinematic .home-project-copy { padding: 24px; }
 .home .home-cinematic .home-project-link { min-height: 335px; }
}
@media (max-width: 760px) {
 .home .home-cinematic .home-section-head { align-items: start; gap: 14px; margin-bottom: 22px; }
 .home .home-cinematic .home-section-head h2 { font-size: clamp(2.15rem,8vw,3rem); }
 .home .home-explore.home-cinematic .home-section-head p { font-size: .9rem; max-width: 35ch; }
 .home .home-cinematic .home-explore-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
 .home .home-cinematic .home-explore-card { grid-row: auto; min-height: 195px; padding: 16px 12px; border-radius: 3px; }
 .home .home-cinematic .home-explore-spectacole { grid-column: 1/-1; min-height: 230px; }
 .home .home-cinematic .home-explore-copy strong { font-size: clamp(1.3rem,5vw,1.75rem); }
 .home .home-cinematic .home-explore-copy small { font-size: .73rem; line-height: 1.4; }
 .home .home-cinematic .home-explore-arrow { width: 28px; height: 28px; top: 10px; right: 10px; }
 .home .home-cinematic .home-explore-despre { grid-column: auto; align-items: flex-end; }
 .home .home-cinematic .home-explore-year { inset: 40px auto auto 12px; font-size: clamp(2.2rem,9vw,3rem); }
 .home .home-cinematic .home-explore-despre .home-explore-arrow { top: 10px; }
 .home .home-cinematic .home-explore-colectii > img { height: 53%; }
 .home .home-cinematic .home-project-list { grid-template-columns: minmax(0,1fr); }
 .home .home-cinematic .home-project-link,.home .home-cinematic .home-project-link:first-child { grid-row: auto; min-height: 360px; }
 .home .home-cinematic .home-project-copy { padding: 24px 20px 16px; }
 .home .home-cinematic .home-project-link h3,.home .home-cinematic .home-project-link:first-child h3 { font-size: 2rem; max-width: none; }
 .home .home-cinematic .home-project-link p { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
 .home .home-cinematic *,.home .home-cinematic *::after { transition: none !important; }
}
