/* Matching photographic cards and social covers. All card artwork is 960 × 1280. */
.photo-section { background:#fff9ee url('../img/cartoon-sprinkles.svg') repeat; }
.photo-section .section-heading>div:last-child>p { max-width:340px; margin-bottom:8px; }
.photo-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; align-items:stretch; }
.photo-card { min-width:0; margin:0; background:#fff; border:2px solid #d9e6e8; border-radius:25px; overflow:hidden; box-shadow:0 5px 0 #e0eaeb; display:flex; flex-direction:column; }
.photo-launch { display:block; aspect-ratio:3/4; overflow:hidden; position:relative; background:#e2e7e7; }
.photo-launch>img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.photo-launch:hover>img { transform:scale(1.025); }
.photo-zoom { position:absolute; bottom:15px; right:15px; display:flex; align-items:center; gap:6px; border:1px solid #fff9; border-radius:12px; padding:8px 11px; background:#fffdf0ef; color:#455575; font-size:.8rem; font-weight:800; }
.photo-zoom .icon { width:17px; height:17px; }
.photo-card figcaption { min-height:91px; padding:17px 20px 18px; display:flex; flex-direction:column; gap:5px; }
.photo-card figcaption>span { color:#68768c; font-size:.78rem; line-height:1.4; }
.photo-card figcaption>strong { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; color:#40516e; font-size:1rem; line-height:1.4; }
.gallery-filters { flex-wrap:wrap; gap:10px; margin-bottom:25px; }
.has-js .gallery-filters { display:flex; }
.gallery-filter { min-height:44px; padding:10px 17px; border:2px solid #d5e2e6; border-radius:14px; background:white; color:#52647d; font-size:.93rem; font-weight:800; }
.gallery-filter:hover { background:#fff4d6; }
.gallery-filter[aria-pressed=true] { color:#714947; background:#ffe1b5; border-color:#e9bd80; }
.photo-count { color:#65728a; margin-bottom:25px; font-size:.9rem; }

.video-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
.media-rail-note { display:none; }
.social-video { aspect-ratio:3/4; border-radius:25px; }
.social-video>img { object-position:center center; }
.social-video:after { background:linear-gradient(180deg,#112b3919 0%,transparent 40%,#172b38c4 77%,#10262bef 100%); }
.video-badge { display:inline-flex; align-items:center; gap:6px; top:17px; left:17px; z-index:2; padding:7px 9px; border-radius:10px; font-size:.76rem; font-weight:800; line-height:1.25; letter-spacing:0; border:1px solid #fff7; }
.video-badge .icon { width:16px; height:16px; }
.video-badge.platform-youtube { background:#ac393f; }
.video-badge.platform-instagram { background:#805391; }
.video-brand { position:absolute; z-index:2; top:58px; left:18px; color:#fff9e7; background:#25395399; border-radius:7px; padding:3px 7px; font-size:.75rem; font-weight:800; line-height:1.4; }
.video-info { left:23px; right:20px; bottom:24px; }
.video-info>span:first-child { font-size:.82rem; }
.video-info strong { font-size:1.85rem; line-height:1.1; min-height:2.2em; display:flex; align-items:flex-end; }
.media-action { width:fit-content; display:flex; align-items:center; gap:7px; padding:9px 13px; margin-top:16px; color:#6b4b45; background:#ffdf87; border:1px solid #fff1bf; border-radius:12px; font-size:.84rem; font-weight:800; line-height:1.2; }
.media-action .icon { width:15px; height:15px; fill:currentColor; stroke:none; }
.social-video:hover .media-action { background:#fff1ba; }
.photo-dialog { width:min(1050px,calc(100% - 28px)); max-height:calc(100dvh - 24px); padding:0; border:2px solid #c8cedb; border-radius:23px; background:#2e354e; color:#fff; box-shadow:0 20px 100px #0008; }
.photo-dialog::backdrop { background:#172139eb; backdrop-filter:blur(6px); }
.photo-dialog-inner { padding:16px; }
.photo-dialog-top { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:13px; }
.photo-dialog-top h2 { font-family:var(--body); font-weight:800; font-size:1rem; letter-spacing:0; line-height:1.4; }
.photo-viewer-media { height:min(70dvh,820px); width:100%; min-height:0; display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:minmax(0,1fr); place-items:center; background:#20273e; border-radius:13px; overflow:hidden; }
.photo-viewer-media>img { display:block; width:100%; height:100%; min-width:0; min-height:0; max-height:100%; object-fit:contain; user-select:none; touch-action:pan-y; }
.photo-dialog-bottom { display:flex; align-items:center; justify-content:space-between; gap:18px; padding-top:13px; }
.photo-navigation { display:flex; align-items:center; gap:13px; }
.photo-navigation .icon-button { width:44px; height:44px; }
#photo-position { min-width:65px; text-align:center; color:#e5e6ee; font-size:.9rem; }
#photo-download { padding:10px 15px; border:1px solid #e3c184; border-radius:12px; color:#3d4966; background:#ffdfa0; font-size:.9rem; font-weight:800; }
.program-image { height:auto; aspect-ratio:4/3; }
.program-image img { width:100%; height:100%; object-fit:cover; }
.detail-aside img { aspect-ratio:4/3; }
.program-card .program-copy { min-height:225px; }
.program-card--special .program-image>span { background:#f9d8bf; }
.about-visual { min-height:0; aspect-ratio:4/5; }
.about-visual>img { width:100%; height:100%; min-height:0; max-height:none; object-fit:cover; }
.hero-photo>img { object-position:50% 50%; }
.hero-spark { display:none; }
.hero .hello-sticker { top:53px; right:-5px; width:105px; height:105px; font-size:1.4rem; }

@media(min-width:1121px) {
  .main-nav { gap:20px; font-size:.88rem; }
  .main-nav .button { font-size:.84rem; padding:12px 14px; }
}
@media(max-width:1120px) {
  .header-inner { min-height:83px; }
  .menu-toggle { display:inline-flex; min-width:44px; min-height:44px; }
  .hero .hello-sticker { top:-15px; right:0; width:80px; height:80px; font-size:1.05rem; }
  .has-js .main-nav { display:none; }
  .has-js .main-nav.is-open { display:flex; position:absolute; top:100%; left:-15px; right:-15px; max-height:calc(100dvh - 100px); overflow:auto; background:#fffdf3; padding:15px 25px 25px; border:2px solid #e6d5ac; border-top:0; border-radius:0 0 24px 24px; box-shadow:0 7px 0 #dfd4b6; align-items:stretch; gap:0; flex-direction:column; font-size:1rem; }
  .main-nav.is-open>a:not(.button),.main-nav.is-open .nav-dropdown summary { padding-block:13px; }
  .nav-dropdown-content { position:static; box-shadow:none; border:0; width:auto; background:#f1f5ff; padding:5px; }
  .main-nav.is-open .button { margin-top:15px; font-size:1rem; }
  .photo-grid,.video-grid { gap:22px; }
  .video-info strong { font-size:1.6rem; }
  html:not(.has-js) .header-inner { flex-wrap:wrap; padding-block:14px; }
  html:not(.has-js) .main-nav { width:100%; flex-wrap:wrap; gap:7px 18px; }
  html:not(.has-js) .menu-toggle { display:none; }
}
@media(max-width:900px) {
  .photo-grid,.video-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:23px; }
  .video-info strong { font-size:1.75rem; }
}
@media(max-width:600px) {
  .photo-grid,.video-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:17px 12px; }
  .photo-card { border-radius:19px; }
  .photo-card figcaption { padding:12px 11px 13px; min-height:90px; }
  .photo-card figcaption>span { font-size:.75rem; }
  .photo-card figcaption>strong { font-size:.875rem; line-height:1.45; }
  .photo-zoom { bottom:9px; right:9px; padding:7px; border-radius:10px; }
  .photo-zoom>span { display:none; }
  .photo-zoom .icon { width:17px; height:17px; }
  .gallery-filter { font-size:.875rem; padding:9px 13px; }
  .gallery-filters { gap:8px; margin-bottom:20px; }
  .photo-section .section-heading>div:last-child { margin-top:18px; }
  .photo-section .section-heading h2 br { display:none; }
  .social-video { border-radius:20px; }
  .video-badge { top:10px; left:10px; font-size:.65rem; padding:6px; gap:4px; border-radius:8px; }
  .video-badge .icon { width:13px; height:13px; }
  .video-brand { top:44px; left:10px; font-size:.64rem; padding:3px 5px; }
  .video-info { left:12px; right:11px; bottom:14px; }
  .video-info>span:first-child { font-size:.7rem; line-height:1.3; margin-bottom:6px; }
  .video-info strong { font-size:1.12rem; min-height:2.2em; line-height:1.1; }
  .media-action { margin-top:11px; padding:8px; font-size:.68rem; gap:4px; border-radius:9px; }
  .media-action .icon { width:12px; height:12px; }
  .photo-dialog { width:calc(100% - 16px); max-height:calc(100dvh - 16px); border-radius:19px; }
  .photo-dialog-inner { padding:12px; }
  .photo-dialog-top h2 { font-size:.9rem; }
  .photo-dialog-top .icon-button { width:44px; height:44px; }
  .photo-viewer-media { height:64dvh; }
  .photo-dialog-bottom { gap:10px; }
  .photo-navigation { gap:8px; }
  #photo-position { min-width:46px; font-size:.82rem; }
  #photo-download { font-size:.82rem; padding:10px 12px; }
  .program-card .program-copy { min-height:215px; }
  .hero .hello-sticker { width:86px; height:86px; font-size:1.15rem; top:38px; right:0; }
  .hero-art { height:auto; aspect-ratio:4/5; max-width:480px; width:100%; padding-inline:12px; }
  .hero-art:before { left:19px; }
  .hero-art:after { right:19px; }
  .stage-valance { left:13px; width:calc(100% - 26px); }
  .hero-video-chip { left:0; padding:10px 12px; bottom:21px; }
  .hero-video-chip strong { font-size:.85rem; }
  .hero-video-chip small { font-size:.72rem; }
}
@media(max-width:360px) {
  .video-grid { grid-template-columns:1fr; gap:23px; }
  .video-badge { font-size:.8rem; padding:7px 9px; top:15px; left:15px; }
  .video-badge .icon { width:16px; height:16px; }
  .video-brand { left:15px; top:57px; font-size:.75rem; }
  .video-info { left:20px; right:20px; bottom:23px; }
  .video-info>span:first-child { font-size:.8rem; }
  .video-info strong { font-size:1.85rem; }
  .media-action { font-size:.85rem; padding:10px 12px; }
  .photo-grid { gap:15px 10px; }
  .photo-card figcaption { padding-inline:9px; min-height:98px; }
  .photo-dialog-bottom { flex-wrap:wrap; }
  .hero .hello-sticker { width:76px; height:76px; font-size:1.02rem; right:-1px; top:34px; }
}
@media(prefers-reduced-motion:reduce) {
  .photo-launch>img { transition:none; }
  .photo-launch:hover>img { transform:none; }
}
/* A full-size, native swipe rail keeps mobile cover art and captions readable. */
@media(max-width:600px) {
  .media-rail-note { display:block; color:#fff3cf; font-size:.875rem; margin-bottom:15px; }
  .motion-toggle { width:44px; height:44px; padding:0; border-radius:50%; left:auto; right:12px; bottom:12px; }
  .motion-toggle [data-motion-label] { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
  .video-grid { display:flex; gap:16px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scroll-padding-inline:2px; padding:2px 2px 14px; scrollbar-width:thin; scrollbar-color:#f7d99e #7770a8; }
  .video-card { flex:0 0 86%; max-width:360px; min-width:0; scroll-snap-align:start; }
  .video-launch { width:100%; }
  .video-badge { font-size:.875rem; padding:7px 9px; top:15px; left:15px; gap:5px; }
  .video-badge .icon { width:16px; height:16px; }
  .video-brand { left:15px; top:57px; font-size:.75rem; }
  .video-info { left:20px; right:18px; bottom:23px; }
  .video-info>span:first-child { font-size:.8rem; }
  .video-info strong { font-size:1.65rem; min-height:2.2em; }
  .media-action { min-height:44px; font-size:.875rem; padding:10px 12px; gap:6px; }
  .media-action .icon { width:15px; height:15px; }
}
