
.achievements-page:not(.activities-page) .work-card h2{word-break:normal;overflow-wrap:anywhere;}
.achievements-page:not(.activities-page) .work-card h2 small{white-space:normal;}

.activities-page .activity-cards.is-tabbed>.activity-card,.activities-page .activity-cards.is-tabbed>.activity-card:hover,.activities-page .activity-cards.is-tabbed>.activity-card:focus-within{max-height:none!important;padding:0;cursor:default;}
.activities-page .activity-cards.is-tabbed .activity-detail{opacity:1!important;transform:none!important;pointer-events:auto!important;}
.activities-page .activity-cards.is-tabbed>.activity-card::after{display:none!important;}
.hero-content .official-homepage-text{width:auto;max-width:100%;margin-left:0;margin-right:0;justify-content:flex-start;}

/* A sea-side editorial layout: composed views rather than repeated vertical cards. */
:root{--layout-paper:#fbf4df;--layout-deep:#1b3d60;}
.section{padding-top:76px;padding-bottom:76px;}
.layout-heading .section-label{margin-top:0;}
.layout-heading h2{font-size:clamp(30px,3.6vw,54px);}
.layout-kicker{color:var(--gold2);font-size:12px;letter-spacing:.2em;}
/* Home: a photographic gateway and a deliberately offset composition. */
.hero{min-height:88svh;}
.hero-content{max-width:1320px;width:100%;text-align:left;padding-left:7vw;padding-right:7vw;}
.hero-content h1{font-size:clamp(58px,7.4vw,116px);}
.hero-content .hero-buttons{justify-content:flex-start;}
.hero-content .lead{font-size:clamp(17px,2vw,28px);padding:12px 0;background:none;border:0;}
.hero-content .official-homepage-text{text-align:left;}
.hero::after{inset:24px;border-color:#ffe1a066;}
.layout-gateway{position:relative;z-index:1;max-width:1240px;margin:-34px auto 14px;padding:0 5vw;display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:16px;}
.layout-gateway a{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;min-height:220px;padding:28px;overflow:hidden;border:1px solid #f4dcac77;border-radius:3px 24px 3px 24px;background:#173858;box-shadow:0 18px 30px #0a274333;transition:transform .3s;}
.layout-gateway a::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#102e50eb,transparent 85%);}
.layout-gateway img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .6s;}
.layout-gateway strong{font-family:"Yu Mincho",serif;font-size:clamp(23px,2.4vw,32px);color:#fff7e1;}
.layout-gateway span{color:#ffe1a0;font-size:12px;letter-spacing:.16em;}
.layout-gateway em{align-self:flex-end;font-style:normal;font-size:24px;color:#ffe1a0;}
@media(hover:hover){.layout-gateway a:hover{transform:translateY(-6px);}.layout-gateway a:hover img{transform:scale(1.06);}}
.movie-section.layout-split,.gallery-section.layout-split{display:grid;grid-template-columns:minmax(220px,.65fr) minmax(0,1.6fr);gap:26px 46px;align-items:center;text-align:left;max-width:1380px;}
.layout-split .layout-heading{grid-column:1;grid-row:1 / span 2;}
.movie-section .video-wrap{grid-column:2;width:100%;margin:0;transform:rotate(-1deg);border-radius:3px 24px 3px 24px;}
.gallery-section.layout-split{grid-template-columns:minmax(0,1.65fr) minmax(220px,.65fr);}
.gallery-section.layout-split .layout-heading{grid-column:2;}
.gallery-section.layout-split .slideshow{grid-column:1;grid-row:1;height:480px;border-radius:24px 3px 24px 3px;}
.gallery-section.layout-split .dots{grid-column:1;grid-row:2;margin:0;}
.layout-heading::before{content:attr(data-section-number);display:block;font-family:Georgia,serif;font-size:76px;font-style:italic;line-height:1;color:#c7e4ed4d;margin-bottom:18px;}
.instagram-news-section{max-width:1100px;background:rgba(25,57,91,.65);border-left:3px solid var(--gold);margin:48px auto 0;padding:36px 42px;text-align:left;display:grid;grid-template-columns:1fr 1fr;gap:6px 40px;}
.instagram-news-section h2{font-size:30px;}
.instagram-news-section>.section-label,.instagram-news-section>h2,.instagram-news-section>.lead-text{grid-column:1;margin-left:0;}
.instagram-news-section>.lead-text{font-size:16px;}
.instagram-news-section>#instagram-feed-fallback,.instagram-news-section>.btn{grid-column:2;}
.instagram-news-section>.btn{justify-self:start;align-self:center;font-size:14px;}
#instagram-feed-shell{grid-column:1/-1;}
.sponsor-carousel-section{border-top:1px solid #f3d8a855;}
.contact-section{max-width:1100px;margin-bottom:55px;padding:44px;background:linear-gradient(125deg,#f8f0dc,#e1e7df);color:#23445f;display:grid;grid-template-columns:.7fr 1.3fr;gap:12px 40px;text-align:left;border-radius:3px 30px 3px 30px;box-shadow:0 18px 40px #0a274333;}
.contact-section>.section-label,.contact-section>h2{grid-column:1;color:#315777;}
.contact-section>h2{font-size:38px;}
.contact-section>p:not(.section-label){grid-column:2;grid-row:1/span 2;color:#294b63;font-size:16px;margin:0;}
.contact-section>.contact-box,.contact-section>.sns-links{grid-column:2;margin:0;justify-content:flex-start;}
.contact-section .contact-box{padding:14px 18px;justify-self:start;color:#ffe1a0;max-width:100%;overflow-wrap:anywhere;}
.contact-section .sns-links a{color:#fff8dd;}
/* About: a large photograph, a manifesto, then compact supporting chapters. */
.sub-page .page-hero-section{max-width:1240px;text-align:left;padding-bottom:36px;}
.about-intro-card{grid-template-columns:.85fr 1.15fr;padding:0;overflow:hidden;border-radius:3px 36px 3px 36px;}
.about-intro-text{padding:40px;}
.about-intro-image{height:100%;min-height:460px;border-radius:0;}
.about-intro-image img{height:100%;object-fit:cover;}
.about-mvv-renewal{display:grid;grid-template-columns:1fr 1.15fr;gap:16px 36px;max-width:1320px;}
.about-mvv-renewal>.section-label,.about-mvv-renewal>h2,.about-mvv-renewal>.lead-text{grid-column:1;}
.about-mvv-renewal>.mission-statement-card{grid-column:2;grid-row:1/span 4;margin:0;padding:38px 25px;}
.about-mvv-renewal>.mvv-grid{grid-column:1/-1;margin-top:20px;}
.layout-jumps{display:flex;gap:10px;flex-wrap:wrap;max-width:1100px;margin:0 auto;padding:10px 5vw 24px;}
.layout-jumps a{border-bottom:1px solid #e6cf9b99;padding:6px 14px;color:#fff2cc;font-size:14px;}
/* Activities: choose a month; the photographs become the feature. */
.activity-tabs{display:flex;gap:8px;overflow-x:auto;padding:6px 2px 18px;margin-bottom:24px;scrollbar-width:thin;}
.activity-tabs button{flex:none;border:1px solid #e8cd94aa;background:#23496e;color:#fff2d5;padding:12px 20px;border-radius:4px;font:inherit;cursor:pointer;}
.activity-tabs button[aria-selected="true"]{background:#f1d597;color:#193c5a;box-shadow:0 4px 16px #0a274344;}
.activity-cards.is-tabbed{display:block;}
.activity-cards.is-tabbed>.activity-card{width:100%;max-width:none;margin:0;border-radius:3px 28px 3px 28px;}
.activity-cards.is-tabbed>.activity-card[hidden]{display:none!important;}
.activity-cards.is-tabbed .activity-header{display:flex;align-items:center;gap:24px;padding:26px 32px;}
.activity-cards.is-tabbed .flow-month{font-size:38px;flex:none;}
.activity-cards.is-tabbed .activity-detail{display:block;padding:0 32px 30px;}
.activity-cards.is-tabbed .activity-gallery{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:175px 175px;gap:12px;max-height:none;}
.activity-cards.is-tabbed .activity-gallery img{width:100%;height:100%;min-height:0;object-fit:cover;border-radius:4px;}
.activity-cards.is-tabbed .activity-gallery img:first-child{grid-row:1/span 2;}
.activity-cards.is-tabbed .activity-gallery img:only-child{grid-column:1/-1;}
.activity-cards.is-tabbed .activity-gallery img:nth-child(2):last-child{grid-row:1/span 2;}
.activity-cards.is-tabbed .activity-detail>p{max-width:900px;font-size:17px;line-height:2;}
.performance-record-section .record-category-grid,.volunteer-record-section .record-category-grid{align-items:start;}
.record-category-card:nth-child(2){margin-top:30px;}
/* History: a horizontal exhibition with native touch and keyboard scrolling. */
.history-controls{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:26px 0 20px;}
.history-controls p{font-size:14px;color:var(--muted);margin:0;}
.history-controls button{width:46px;height:46px;border:1px solid #f0d49e99;background:#244c73;color:#ffe1a0;border-radius:50%;font-size:24px;cursor:pointer;}
.history-controls .history-buttons{display:flex;gap:10px;}
.achievements-page:not(.activities-page) .works-list{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;padding:8px 8px 32px;scrollbar-color:#dfbb6b #234a70;scrollbar-width:thin;align-items:stretch;}
.achievements-page:not(.activities-page) .work-card{flex:0 0 min(76vw,440px);width:min(76vw,440px);grid-column:auto;display:flex;flex-direction:column;scroll-snap-align:start;min-height:420px;padding:24px;}
.achievements-page:not(.activities-page) .work-card.featured-work{flex-basis:min(82vw,560px);width:min(82vw,560px);}
.achievements-page:not(.activities-page) .work-photo{height:245px;aspect-ratio:auto;margin:-24px -24px 22px;flex:none;}
.achievements-page:not(.activities-page) .work-photo img{width:100%;height:100%;object-fit:cover;}
.achievements-page:not(.activities-page) .work-card h2{font-size:34px;}
.achievements-page:not(.activities-page) .work-card .watch-link{margin-top:auto;align-self:flex-start;}
/* Sponsors: a restrained, readable two-column directory. */
@media(min-width:1000px){
 .sponsors-page{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.4fr);max-width:1400px;margin:auto;gap:44px;padding:75px 5vw 90px;align-items:start;}
 .sponsors-page>.page-hero-section{position:sticky;top:125px;padding:0;max-height:calc(100vh - 150px);overflow:auto;}
 .sponsors-page>.page-hero-section h1{font-size:44px;}
 .sponsors-page>.page-hero-section .lead-text{font-size:15px;line-height:2;}
 .sponsors-page>.sponsors-list-section{padding:0;min-width:0;width:100%;}
 .sponsors-page>.sponsors-list-section h2{font-size:36px;}
}
@media(max-width:900px){
 .section{padding-top:48px;padding-bottom:48px;}
 .hero-content{padding-left:8vw;}
 .layout-gateway{margin-top:22px;grid-template-columns:1fr 1fr 1fr;gap:10px;}
 .layout-gateway a{min-height:175px;padding:18px;}
 .layout-gateway strong{font-size:22px;}
 .movie-section.layout-split,.gallery-section.layout-split{gap:24px;grid-template-columns:1fr;}
 .layout-split .layout-heading,.gallery-section.layout-split .layout-heading{grid-column:1;grid-row:auto;}
 .layout-heading::before{font-size:46px;float:right;}
 .movie-section .video-wrap,.gallery-section.layout-split .slideshow,.gallery-section.layout-split .dots{grid-column:1;grid-row:auto;}
 .gallery-section.layout-split .slideshow{height:58vw;min-height:260px;}
 .instagram-news-section{margin:25px 5vw 0;padding:26px;display:block;}
 .instagram-news-section>.btn{margin-top:12px;}
 .contact-section{display:block;margin:20px 5vw 40px;padding:30px;}
 .contact-section>.contact-box,.contact-section>.sns-links{margin-top:20px;}
 .about-intro-card{grid-template-columns:1fr;}
 .about-intro-text{padding:26px;}
 .about-intro-image{min-height:0;height:340px;}
 .about-mvv-renewal{display:block;}
 .about-mvv-renewal>.mission-statement-card{margin:25px 0;}
 .record-category-card:nth-child(2){margin-top:0;}
 .activity-cards.is-tabbed .activity-gallery{grid-template-rows:130px 130px;}
 .activity-cards.is-tabbed .activity-header{padding:20px;gap:15px;}
 .activity-cards.is-tabbed .activity-detail{padding:0 20px 24px;}
}
@media(max-width:600px){
 .layout-gateway{grid-template-columns:1fr 1fr;}
 .layout-gateway a:first-child{grid-column:1/-1;min-height:210px;}
 .layout-gateway a{min-height:165px;padding:18px;}
 .layout-gateway strong{font-size:23px;}
 .hero{min-height:82svh;}
 .hero-content h1{font-size:64px;}
 .hero-content .lead{font-size:16px;letter-spacing:.03em;}
 .hero-content .official-homepage-text{font-size:12px;}
 .hero::after{inset:12px;}
 .activity-cards.is-tabbed .activity-gallery{grid-template-columns:1fr 1fr;grid-template-rows:215px 100px;}
 .activity-cards.is-tabbed .activity-gallery img:first-child{grid-column:1/-1;grid-row:1;}
 .activity-cards.is-tabbed .activity-gallery img:nth-child(2):last-child{grid-row:2;grid-column:1/-1;}
 .activity-cards.is-tabbed .flow-month{font-size:28px;}
 .activity-cards.is-tabbed h3{font-size:20px;}
 .activity-tabs button{padding:9px 15px;}
 .contact-section{padding:24px;}
 .contact-section .contact-box{padding:12px;font-size:13px;}
 .history-controls{align-items:flex-start;}
 .history-controls p{max-width:190px;}
 .achievements-page:not(.activities-page) .work-card{min-height:400px;}
}
@media(prefers-reduced-motion:reduce){.layout-gateway a,.layout-gateway img{transition:none;}.works-list{scroll-behavior:auto;}}
