/* Revision: reliable web type, black venue mark, and guest-photo placement */
:root{--cooper:'Shrikhand',cursive;--serif:'Cormorant Garamond',Georgia,serif;--nav-green:#465149}
.site-header{background:rgba(70,81,73,.95);color:#f7f0df}
.menu-toggle{color:#f7f0df}
.site-nav{background:var(--nav-green);color:#f7f0df}
.site-nav a{color:inherit}
.event-date-art{display:block;width:min(64vw,460px);height:auto;filter:brightness(0)}
.event-info{min-height:440px}
.event-place img{filter:brightness(0);mix-blend-mode:normal}
.guests{overflow:visible;position:relative;z-index:2}
.guest-image{line-height:0;margin-bottom:-24px}
/* Archivo remains the structural voice; display type is limited to poster accents. */
.heading h2,.timetable h2,.about h2,.archive h2{font-family:var(--archivo);font-weight:900;letter-spacing:-.06em}
.floor-photo h2{display:none}
.floor-photo p{position:absolute;z-index:1;top:24px;left:20px;margin:0;color:#fff;font:600 12px/1.4 var(--archivo);letter-spacing:.08em;text-shadow:0 1px 6px #0008}
/* These two lines intentionally retain the original Work typography. */
.event-meta b,.guest-copy h2{font-family:var(--archivo);font-weight:900;font-style:normal}
.event-meta b{letter-spacing:-.08em}
.guest-copy h2{letter-spacing:-.09em}
.captain-vinyl{display:grid;grid-template-columns:86px minmax(0,1fr);gap:12px;align-items:start;max-width:34rem;margin:15px 0 14px;color:var(--ink);font:500 10px/1.65 var(--archivo);letter-spacing:.01em}
.captain-vinyl img{display:block;width:86px;height:auto;mix-blend-mode:multiply}
.captain-vinyl p{margin:0}
.captain-vinyl .captain-vinyl-title{margin-bottom:4px;font-weight:800;font-size:10px;letter-spacing:.02em}
.hero-overlay{background:linear-gradient(180deg,rgba(7,5,10,.29),rgba(7,5,10,.18) 55%,rgba(7,5,10,.57))}
.shops .heading h2,.scenes .heading h2,.archive .heading h2{font-size:clamp(39px,10.8vw,62px)}
.market-ja{margin:0;font:600 12px/1.4 var(--archivo);letter-spacing:.08em}
.page-top{position:fixed;z-index:19;right:14px;bottom:15px;width:34px;height:34px;display:grid;place-items:center;border:1px solid rgba(247,240,223,.8);border-radius:50%;background:rgba(70,81,73,.86);color:#f7f0df;text-decoration:none;opacity:0;pointer-events:none;transform:translateY(10px);transition:opacity .25s,transform .25s,background .25s;backdrop-filter:blur(5px)}
.page-top svg{width:12px;height:8px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.page-top.is-visible{opacity:.88;pointer-events:auto;transform:translateY(0)}
.page-top:hover{opacity:1;background:var(--nav-green);transform:translateY(-3px)}
footer{justify-content:center;position:relative}
footer a{position:absolute;right:20px;margin-left:0}
@media(max-width:799px){
  .site-nav{display:grid;top:100%;left:auto;right:8px;width:154px;padding:2px 10px 4px 12px;background:rgba(30,39,34,.68);gap:0;box-shadow:none;backdrop-filter:blur(5px);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-7px);transition:opacity .18s ease,transform .18s ease,visibility .18s}
  .site-nav.open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
  .site-nav a{justify-self:end;width:max-content;padding:15px 4px 14px;border-bottom:1px solid rgba(247,240,223,.72);font-size:14px;line-height:1.15;text-align:right;text-shadow:0 1px 5px rgba(20,28,23,.62)}
  .site-nav a:last-child{border-bottom:0}

  .hero{background:#161616 url('assets/hero-poster-mobile.jpg') center/cover no-repeat}
  /* The admission artwork extends 12vw past the right edge. Contain only
     horizontal paint/scroll overflow; keep the date vertically unclipped. */
  .event-info{min-height:440px;overflow-x:clip;overflow-y:visible}
  .event-info.section-day{padding-top:45px}
  .event-meta{width:min(76vw,360px);max-width:100%;height:auto;overflow:visible;clip-path:none;top:-16px}
  .event-meta[data-reveal]{opacity:1;transform:none;transition:none}
  .event-date-art{width:100%;max-width:100%;height:auto;max-height:none;overflow:visible;object-fit:contain;object-position:center;transform:none;filter:brightness(0)}

  .guests.section-day{padding:26px 0 0}
  .guest-copy{padding:0 20px 12px}
  .guest-title{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}
  .guest-copy h2{margin:8px 0 2px;flex:1;white-space:nowrap}
  .guest-copy .serif,.guest-profile-bottom{display:none}
  .guest-profile-inline{display:inline-flex;flex:none;align-items:center;gap:6px;margin:0 0 7px;white-space:nowrap;font-size:10px}
  .guest-profile-inline span{font-size:15px}
  .captain-vinyl{grid-template-columns:64px minmax(0,1fr);gap:10px;margin:8px 0 0;font-size:9px;line-height:1.5}
  .captain-vinyl img{width:64px}
  .captain-vinyl .captain-vinyl-title{font-size:9px;margin-bottom:2px}
  .guest-image{width:100%;margin:0 0 -24px;transform:none;overflow:visible}
  .guest-image img,.guest-image:hover img{width:100%;transform:none}
  .guest-image[data-reveal]{transform:none;transition:opacity .85s ease}
  .guest-image[data-reveal].is-visible{transform:none}
}
@media(min-width:800px){
  .site-nav{background:transparent;color:#f7f0df;width:auto}
  .page-top{right:28px;bottom:28px;width:36px;height:36px}
  .shops .heading h2,.scenes .heading h2,.archive .heading h2{font-size:clamp(48px,4vw,64px)}
  .guests{grid-template-columns:1.1fr .9fr;padding:0 8vw 0 0;align-items:end}
  .guest-image{order:-1;margin:0 0 -58px;width:100%;transform:rotate(-1deg)}
  .guest-copy{align-self:start;margin-top:34px;padding:35px 8vw 28px 5vw}
  .captain-vinyl{grid-template-columns:96px minmax(0,1fr);gap:14px;margin:14px 0 13px;font-size:10px;line-height:1.6}
  .captain-vinyl img{width:96px}
  .event-date-art{width:min(34vw,420px)}
  .floor-photo p{top:7vw;left:8vw}
}

/* Keep the moving rails free from scroll-snap so their slow continuous motion is visible. */
.horizontal-scroll[data-auto-rail],.poster-rail[data-auto-posters]{scroll-snap-type:none;cursor:grab}
.horizontal-scroll[data-auto-rail].is-dragging,.poster-rail[data-auto-posters].is-dragging{cursor:grabbing}

/* One-time entrance motion; the horizontal rails themselves are deliberately excluded. */
[data-reveal]{opacity:0;transform:translateY(24px);transition:opacity .82s ease,transform .82s cubic-bezier(.2,.7,.2,1)}
[data-reveal].is-visible{opacity:1;transform:translateY(0)}
[data-reveal][data-reveal-delay="1"]{transition-delay:.08s}
[data-reveal][data-reveal-delay="2"]{transition-delay:.16s}
.guest-image[data-reveal]{transform:rotate(-1deg) translateY(24px)}
.guest-image[data-reveal].is-visible{transform:rotate(-1deg) translateY(0)}
.guest-profile-inline{display:none}
.guest-image img,.guest-image:hover img{transform:none}
@media (prefers-reduced-motion:reduce){[data-reveal]{opacity:1;transform:none;transition:none}.guest-image[data-reveal]{transform:rotate(-1deg)}}

/* These mobile-only rules are intentionally last: they override the shared
   desktop reveal treatment and remove every inherited side margin from the photo. */
@media(max-width:799px){
  .guest-profile-inline{display:inline-flex}
  .guest-image[data-reveal]{opacity:0;transform:none;transition:opacity .85s ease}
  .guest-image[data-reveal].is-visible{opacity:1;transform:none}
  /* The PNG's visible artwork spans x=235..1559 of 1701px.
     Hide only its transparent side margins; keep the source and ratio intact. */
  .guest-image,.guest-image[data-reveal]{width:100%;max-width:100%;min-width:0;padding:0;margin:0 0 -24px;overflow:hidden}
  .guest-image img,.guest-image:hover img{width:128.474320%;max-width:none;height:auto;margin-left:-17.749245%;transform:none}
}
@media(max-width:799px) and (prefers-reduced-motion:reduce){
  .guest-image[data-reveal]{opacity:1;transform:none;transition:none}
}

/* Content additions only: details, repeatable collage spreads and sponsor art. */
.profile-details .profile-photo{display:block;width:100%;height:auto;margin:20px 0;object-fit:contain}
.profile-details p{white-space:pre-line;overflow-wrap:anywhere}
.profile-details .artist-detail{margin-top:32px;padding-top:24px;border-top:1px solid #17191730}
.profile-details h3{font:900 28px/1 var(--archivo);margin:0 0 18px;letter-spacing:-.04em}
.profile-social{display:inline-block;margin:12px 20px 4px 0;padding:10px 0}
.guest-profile-dialog .profile-details>.profile-photo{width:min(100%,260px);margin:12px auto 24px;mix-blend-mode:multiply}
.guest-profile-dialog [data-dialog-title]{font-size:28px}
.shop-photo-pending{height:220px;background:#e6deca}
.collage-set{display:flex;width:max-content;gap:0}
.collage-panel{width:1000px;height:407px;display:grid;grid-template-columns:1.1fr .72fr 1fr .78fr;grid-template-rows:1fr 1fr;gap:3px;flex:none}
.supporter-logo{display:flex;align-items:center;justify-content:center;min-width:0;height:142px;padding:8px;background:var(--paper)}
.supporter-logo img{display:block;max-width:100%;height:auto;max-height:126px;object-fit:contain}
@media(min-width:800px){.collage-panel{width:1500px;height:560px}.supporter-logo{height:164px;padding:12px}.supporter-logo img{max-height:140px}}

/* Scoped content revision: MARKET names and long ABOUT copy only. */
.shop-card span{font-family:Arial,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-size:20px;font-weight:700;line-height:1.4;letter-spacing:0;overflow-wrap:anywhere}
.about{align-items:start}
.about h2[data-about-title]{font-size:clamp(24px,3vw,36px);line-height:1.4;letter-spacing:0}
.about .about-story{width:100%;max-width:42em;min-width:0;line-height:2}
.about-story p{margin:0 0 1.5em;white-space:pre-line;overflow-wrap:break-word}
.about-story p:last-child{margin-bottom:0}

/* GUEST PROFILE: mouse hover only; resting layout and touch stay unchanged. */
@media (hover:hover) and (pointer:fine){
  .guests .text-link.profile-trigger{transition:opacity .2s ease}
  .guests .text-link.profile-trigger>span{transition:transform .2s ease}
  .guests .text-link.profile-trigger:hover{opacity:.85}
  .guests .text-link.profile-trigger:hover>span{transform:translateX(6px)}
}
@media (prefers-reduced-motion:reduce){
  .guests .text-link.profile-trigger,.guests .text-link.profile-trigger>span{transition:none}
}

/* Quiet notice below the existing footer row; logo layout remains untouched. */
.footer-notice{padding:4px 20px 22px;background:#0f100e;color:#c6c3b8;text-align:center;font-family:var(--archivo),"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-size:11px;font-weight:400;line-height:1.8}
.footer-notice p{margin:0;overflow-wrap:break-word}
.footer-notice p+p{margin-top:4px}

/* Image and backdrop clicks remain the modal close controls. */
.info-dialog > .dialog-close,.poster-dialog > .dialog-close{display:none}

/* Mobile DJ Instagram only: suppress the native dialog-entry focus outline. */
@media (max-width:799px) and (hover:none) and (pointer:coarse){
  .artist-profile-dialog a.profile-social[href^="https://www.instagram.com/"]:focus,
  .artist-profile-dialog a.profile-social[href^="https://instagram.com/"]:focus{outline:none}
}

/* Mobile MARKET Instagram and poster dialog native focus outlines only. */
@media (max-width:799px) and (hover:none) and (pointer:coarse){
  .info-dialog:not(.artist-profile-dialog):not(.guest-profile-dialog) > a[data-dialog-link]:focus,
  .poster-dialog[data-poster-dialog]:focus{outline:none}
}

/* A small header link, without moving the existing logo or navigation. */
.header-instagram{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;margin-right:12px;color:inherit;text-decoration:none;font:700 10px var(--archivo);flex:none}
.header-instagram svg{display:block;flex:none}
.header-instagram span{display:none}
@media(min-width:800px){.header-instagram{margin-right:20px}}
@media(min-width:1100px){.header-instagram span{display:inline}}

/* Keep the final image geometry; hide incomplete decoding behind a quiet indicator. */
.modal-image-shell{position:relative;min-width:0}
.modal-image-shell>img{opacity:0;transition:opacity .15s ease}
.modal-image-shell.image-ready>img{opacity:1}
.modal-image-shell:not(.image-ready){min-height:64px}
.modal-image-status{position:absolute;left:50%;top:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border:2px solid #a6a6a650;border-top-color:#a6a6a6;border-radius:50%;animation:modal-image-spin .8s linear infinite;pointer-events:none}
.image-ready>.modal-image-status{display:none}
.image-error>.modal-image-status{width:auto;height:auto;max-width:90%;margin:0;transform:translate(-50%,-50%);border:0;border-radius:0;animation:none;color:#888;font:11px/1.6 var(--archivo);white-space:nowrap}
.profile-details .modal-profile-image{margin:20px 0}
.profile-details .modal-profile-image>.profile-photo{margin:0}
@keyframes modal-image-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.modal-image-status{animation:none}.modal-image-shell>img{transition:none}}
.info-dialog figure .modal-image-shell>img,.poster-dialog .modal-image-shell>img{height:auto}
