/* Screens 3–6: studio story, schedule, creators and contacts. */
.studio-story > .section-heading { max-width:100%; margin-inline:auto; text-align:center; }
.studio-story-copy { max-width:850px; margin:30px auto 0; text-align:center; color:var(--muted); font:400 clamp(17px,1.55vw,20px)/1.7 var(--sans); }
.studio-story-copy p { margin:0; }
.studio-story-copy p + p { margin-top:22px; }
.studio-collage { margin-top:48px; }
.studio-collage .studio-mirror { max-width:1100px; margin:0 auto; }
.studio-collage-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; align-items:start; margin-top:30px; }
.studio-collage-row .studio-collage-photo { width:100%; max-width:none; margin:0; min-width:0; }
.studio-still > img { display:block; width:100%; aspect-ratio:4/3; height:auto; object-fit:cover; -webkit-mask-image:linear-gradient(to bottom,transparent,#000 12%,#000 82%,transparent),linear-gradient(to right,transparent,#000 6%,#000 94%,transparent); mask-image:linear-gradient(to bottom,transparent,#000 12%,#000 82%,transparent),linear-gradient(to right,transparent,#000 6%,#000 94%,transparent); -webkit-mask-composite:source-in; mask-composite:intersect; }
.schedule-pending { color:var(--muted); margin:26px 0 0; font-size:18px; }
.booking-widget { width:100%; min-height:520px; border:0; }
.site-footer { padding:70px 0 28px; }
.footer-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.45fr); gap:64px; align-items:center; }
.footer-contact .eyebrow { color:var(--muted); margin:0 0 16px; }
.footer-contact h2 { margin:0 0 26px; }
.footer-contact address { font:400 18px/1.65 var(--sans); }
.footer-contact address p { margin:0 0 18px; color:var(--muted); }
.footer-email { display:inline-block; color:var(--paper); text-underline-offset:5px; }
.footer-email:hover,.footer-email:focus-visible { color:var(--red); }
.footer-contact > .text-link { display:inline-block; margin-top:28px; }
.footer-map { display:block; width:100%; min-width:0; height:360px; border:0; }
.footer-bottom { display:flex; justify-content:space-between; gap:24px; margin-top:58px; color:var(--muted); font-size:13px; }
.footer-bottom a { text-decoration:none; }
@media(max-width:900px) { .footer-grid { gap:32px; } .studio-collage-row { gap:16px; } }
@media(max-width:700px) {
 .studio-story-copy { font-size:16px; line-height:1.7; margin-top:24px; }
 .studio-collage { margin-top:30px; }
 .studio-collage-row { grid-template-columns:1fr; gap:20px; margin-top:20px; }
 .studio-collage-row .studio-collage-photo { max-width:560px; margin-inline:auto; }
 .site-footer { padding-top:46px; }
 .footer-grid { grid-template-columns:1fr; gap:30px; text-align:center; }
 .footer-map { height:320px; }
 .footer-bottom { margin-top:36px; }
}

/* Visual ticket widget; no published sessions or purchase actions yet. */
.visual-afisha { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:clamp(30px,5vw,60px); max-width:900px; margin:38px auto 0; padding:clamp(22px,3vw,38px); background:radial-gradient(ellipse at top right,color-mix(in srgb,var(--red) 9%,transparent),transparent 65%),rgba(255,255,255,.025); text-align:left; }
.afisha-calendar .eyebrow { margin:0 0 15px; color:var(--muted); font-size:10px; }
.afisha-calendar h3 { margin:0 0 20px; text-transform:capitalize; font:500 22px/1.3 var(--sans); }
.afisha-calendar table { width:100%; border-collapse:separate; border-spacing:5px; table-layout:fixed; }
.afisha-calendar th { padding-bottom:9px; color:var(--muted); font:400 11px/1.4 var(--sans); text-align:center; }
.afisha-calendar td { padding:0; height:37px; text-align:center; }
.afisha-calendar td button { width:100%; height:37px; padding:0; border:0; border-radius:0; background:rgba(255,255,255,.035); color:#918b82; font:400 13px/1 var(--sans); cursor:default; opacity:1; }
.calendar-note { margin:18px 0 0; font:400 12px/1.5 var(--sans); color:var(--muted); }
.afisha-event { display:flex; flex-direction:column; justify-content:center; align-items:stretch; }
.afisha-event-heading { display:grid; grid-template-columns:96px minmax(0,1fr); gap:22px; align-items:center; }
.afisha-event-heading > img { width:96px; height:144px; object-fit:cover; }
.afisha-age { color:var(--red); font:500 13px/1 var(--sans); }
.afisha-event h3 { margin:12px 0; font:400 clamp(28px,3vw,36px)/1.1 var(--serif); }
.afisha-event-heading p { margin:0; font:400 12px/1.6 var(--sans); color:var(--muted); }
.afisha-venue { margin:26px 0; font:400 13px/1.6 var(--sans); }
.afisha-venue p { margin:0; }
.afisha-venue p + p { color:var(--muted); margin-top:5px; }
.afisha-soon:disabled { width:100%; min-height:48px; background:rgba(255,255,255,.035); color:var(--muted); border:1px solid var(--line); cursor:default; opacity:1; pointer-events:none; box-shadow:none; font-size:12px; }
@media(max-width:700px) { .visual-afisha { grid-template-columns:1fr; max-width:450px; gap:30px; margin-top:28px; } .afisha-event-heading { grid-template-columns:82px minmax(0,1fr); gap:18px; } .afisha-event-heading > img { width:82px; height:123px; } }

.studio-title-accent { color:var(--red); }

/* One pale cursor light across each section, inspired by the Mediators process block. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  [data-section-light] { position:relative; isolation:isolate; }
  [data-section-light]::before {
    content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
    background:radial-gradient(circle 280px at var(--section-light-x,50%) var(--section-light-y,50%),rgba(255,255,255,.085) 0%,rgba(255,255,255,.035) 38%,transparent 100%);
    -webkit-mask-image:linear-gradient(to bottom,transparent,#000 14%,#000 86%,transparent),linear-gradient(to right,transparent,#000 5%,#000 95%,transparent);
    mask-image:linear-gradient(to bottom,transparent,#000 14%,#000 86%,transparent),linear-gradient(to right,transparent,#000 5%,#000 95%,transparent);
    -webkit-mask-composite:source-in; mask-composite:intersect;
    opacity:0; transition:opacity 350ms ease;
  }
  [data-section-light].is-section-lit::before { opacity:1; }
}

/* Full-width mirror; schedule at left and the original chalk scene at right. */
.studio-collage .studio-mirror { width:100%; max-width:none; margin:0; }
.booking-section .booking { max-width:none; }
.visual-afisha { grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:clamp(36px,5vw,72px); max-width:none; width:100%; padding:0; margin:34px 0 0; background:none; align-items:center; }
.afisha-details { container-type:inline-size; min-width:0; width:100%; max-width:500px; }
.afisha-event-heading { display:block; text-align:center; position:relative; }
.afisha-event-heading .afisha-age { position:absolute; right:0; top:-20px; }
.booking .afisha-logo { margin:0; font:400 clamp(58px,min(9.6vw,15svh,22cqw),132px)/.98 Prata,Georgia,serif; letter-spacing:-.055em; text-transform:uppercase; }
.afisha-logo span { display:block; }
.afisha-logo-accent { color:var(--red); }
.booking .afisha-subtitle { margin:18px 0 0; font:400 clamp(10px,1vw,12px)/1.6 var(--sans); letter-spacing:.1em; text-transform:uppercase; color:var(--paper); }
.afisha-calendar { margin-top:34px; }
.afisha-calendar h3 { font:500 22px/1.3 var(--sans); margin:0 0 14px; }
.afisha-venue { margin:22px 0; text-align:center; }
.afisha-chair.author-scene { width:100%; max-width:none; margin:0; }
.afisha-chair .author-chalk { width:100%; aspect-ratio:1; }
.afisha-chair img,.afisha-chair canvas { width:100%; height:100%; aspect-ratio:1; object-fit:cover; object-position:60% center; }
.afisha-chair img { display:block; }
@media(max-width:700px) {
 .visual-afisha { grid-template-columns:minmax(0,1fr); gap:32px; margin-top:24px; }
 .afisha-details { max-width:450px; margin-inline:auto; }
 .booking .afisha-logo { font-size:clamp(58px,19vw,84px); }
 .booking .afisha-subtitle { font-size:10px; }
 .afisha-chair.author-scene { max-width:560px; margin-inline:auto; }
}

/* Balanced afisha: shared centered brand, equal calendar and photograph columns. */
.visual-afisha { grid-template-columns:repeat(2,minmax(0,1fr)); gap:40px 56px; align-items:start; margin-top:0; }
.visual-afisha > .afisha-event { grid-column:1 / -1; justify-self:center; width:100%; }
.afisha-event-heading { width:min(100%,500px); margin-inline:auto; }
.booking .afisha-logo { font-size:clamp(34px,min(4.8vw,7.5svh),66px); }
.afisha-event-heading .afisha-age { top:0; right:calc(50% - 150px); }
.booking .afisha-subtitle { margin-top:16px; font-size:10px; }
.afisha-details { max-width:none; display:flex; flex-direction:column; min-height:100%; justify-content:space-between; text-align:center; }
.afisha-calendar { margin-top:0; }
.booking .afisha-calendar-heading { font:400 clamp(30px,3.1vw,42px)/1.2 var(--serif); margin:0 0 24px; text-align:center; }
.afisha-calendar h3 { font-size:20px; margin-bottom:14px; }
.afisha-calendar td,.afisha-calendar td button { height:37px; }
.afisha-calendar-grid { container-type:inline-size; overflow:hidden; }
.afisha-calendar-grid table { position:relative; z-index:1; }
.afisha-calendar-grid td button { pointer-events:none; }
.afisha-calendar .calendar-note { margin-top:12px; }
.afisha-venue { margin:24px 0 20px; }
.afisha-chair.author-scene { align-self:start; }
.footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:56px; }
.footer-contact { text-align:center; }
.footer-map { filter:grayscale(1) invert(.92) sepia(.7) saturate(.75) brightness(.82) contrast(.92); }
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
 [data-section-light="calendar"]::before {
   z-index:0;
   background:radial-gradient(circle calc(100cqw / 14 + 12px) at var(--section-light-x,50%) var(--section-light-y,50%),rgba(255,255,255,.12),rgba(255,255,255,.055) 42%,transparent 100%);
   -webkit-mask-image:none; mask-image:none;
   transition:opacity 250ms ease;
 }
}
@media(max-width:900px) { .visual-afisha,.footer-grid { column-gap:32px; } }
@media(max-width:700px) {
 .visual-afisha { grid-template-columns:minmax(0,1fr); gap:32px; }
 .visual-afisha > .afisha-event { grid-column:1; }
 .booking .afisha-logo { font-size:clamp(29px,9.5vw,42px); }
 .afisha-event-heading .afisha-age { right:calc(50% - 108px); }
 .afisha-details { max-width:450px; margin-inline:auto; }
 .footer-grid { grid-template-columns:1fr; gap:30px; }
}

.footer-contact .footer-address { white-space:nowrap; font-size:clamp(13px,3.8vw,18px); }
.footer-contact .footer-directions { display:inline-flex; margin-top:28px; }

/* Keep the former subtitle line in flow while placing the label above the title. */
.afisha-event-heading .afisha-subtitle-top { position:absolute; bottom:calc(100% + 16px); left:0; width:100%; margin:0; }
.afisha-event-heading .afisha-subtitle-placeholder { visibility:hidden; }
