:root {
  color-scheme: dark;
  --ink: #fff8fe;
  --muted: #f9eaf8;
  --rose: #ffd2eb;
  --border: #a767c0;
  --wall: #654690;
  --gradient-pink: #df3488;
  --gradient-orchid: #b54399;
  --gradient-violet: #763aab;
  --gradient-plum: #39225f;
  --page-glow: var(--gradient-pink), var(--gradient-orchid) 33%, var(--gradient-violet) 64%, transparent 100%;
  --top-glow: radial-gradient(ellipse 112% clamp(400px, 55vw, 820px) at top left, var(--page-glow));
  --bottom-glow: radial-gradient(ellipse 112% clamp(390px, 54vw, 800px) at bottom right, var(--page-glow));
  --page-base: linear-gradient(145deg, #634184, #50336f 52%, var(--gradient-plum));
  --shade: #543877;
  --header: #392060;
  --panel: #5c3c86;
  --deep-panel: #321d59;
  --card-surface: var(--deep-panel);
  --frame: #dfa8dc;
  --neon: #a3e8ff;
  --photo-frame: #aedef6;
  --lace-depth: 16px;
  --action-fill: linear-gradient(#c62b90, #a81e79);
  --action-hover: linear-gradient(#cd2d96, #b12583);
  --serif: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  --display: "Zen Maru Gothic", "Trebuchet MS", "Hiragino Maru Gothic ProN", "Yu Gothic UI", Meiryo, "Noto Sans JP", sans-serif;
  --sans: "BIZ UDPGothic", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  --header-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; margin: 0; background: var(--wall); color: var(--ink); font: 1.0625rem/1.85 var(--sans); }
body > main { flex: 1 0 auto; }
.site-header, .site-footer { flex: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, p, figure, dl { margin: 0; }
:focus-visible { outline: 3px solid var(--neon); outline-offset: 4px; }
.wrap { width: min(100% - 64px, 1100px); margin-inline: auto; }
:where(main) .wrap { width: min(100% - 64px, 1200px); }
.skip { position: fixed; top: 10px; left: 10px; z-index: 10; background: var(--wall); padding: 8px 16px; transform: translateY(-160%); }
.skip:focus { transform: none; }
h1, h2 { font: 700 clamp(1.65rem, 3.7vw, 2.55rem)/1.45 var(--display); letter-spacing: .045em; }
.kicker { display: flex; align-items: center; justify-content: center; gap: 12px; width: fit-content; max-width: 100%; margin: 0 auto 10px; color: var(--rose); font: 700 .9rem/1.5 var(--serif); letter-spacing: .23em; }
.kicker::before, .kicker::after { content: ""; width: 5px; height: 5px; border: 1px solid currentColor; background: #f6a5d242; box-shadow: 0 0 6px #ee95c998; transform: rotate(45deg); }
.body-copy { max-width: 39em; margin: 16px auto 0; color: var(--muted); }
.band[data-page] .body-copy, [data-page="home"] .body-copy, .about-copy p { text-wrap: balance; }
.keep-together { white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 5; background: var(--header); box-shadow: 0 4px 18px #1f0c2c75; }
.header-inner { width: min(100% - 40px, 1250px); min-height: var(--header-height); margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.header-menu { display: contents; }
.brand { width: 132px; justify-self: start; }
.site-nav, .footer-nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 29px); }
.site-nav a, .footer-nav a, .social a, .menu-toggle { font: 700 .875rem/1.45 var(--serif); letter-spacing: .08em; text-decoration: none; }
.site-nav a, .footer-nav a { padding: 9px 0; text-underline-offset: 5px; }
.site-nav a:is(:hover, [aria-current]), .footer-nav a:hover { color: var(--rose); text-decoration: underline; }
.social { display: flex; align-items: center; gap: 7px; }
.header-social { justify-self: end; }
.social a { display: grid; min-height: 44px; min-width: 44px; place-items: center; padding-inline: 9px; border: 1px solid var(--border); border-radius: 11px; }
.social a:hover { background: var(--panel); }
.menu-toggle { display: none; }

.band { position: relative; padding: clamp(49px, 6vw, 86px) 0; text-align: center; }
.band + .band { border-top: 1px solid #db8ef346; }
[data-page="home"], .subpage { background: var(--top-glow), var(--bottom-glow), var(--page-base); }
.site-lace {
  position: absolute;
  inset-inline: 0;
  width: 100%;
  height: var(--lace-depth);
  pointer-events: none;
}
.site-lace-fill { fill: var(--header); }
.site-lace-edge { fill: none; stroke: #be96ca; stroke-width: 1.2; }
.site-header > .site-lace { top: 100%; }
.site-footer > .site-lace { bottom: 100%; transform: rotate(180deg); }
.hero {
  padding: 0;
  background-image: linear-gradient(to bottom, transparent 15%, #210c424a);
}
.about, .members, .gallery {
  background-image: linear-gradient(135deg, #c97bc338, #a16cc522 54%, #b98bdb10);
}
.news, .guidelines {
  background-image: linear-gradient(145deg, #41164f54, #3c174f36 46%, #210c4270);
}
.cover-scene { position: relative; overflow: hidden; height: clamp(460px, 51vw, 920px); isolation: isolate; }
.cover-members { --cover-head-width: min(7.6vw, 146px); position: relative; height: 100%; width: min(100%, 1920px); margin-inline: auto; }
.cover-row { --cover-depth: .55; position: absolute; inset-inline: 0; top: 16px; display: flex; justify-content: center; }
.cover-row + .cover-row { --cover-depth: 1; top: 35%; }
.cover-member {
  --face-line: clamp(64px, 7.4vw, 140px);
  position: relative;
  flex: 1;
}
.cover-member img {
  position: absolute;
  top: var(--face-line);
  left: 50%;
  width: calc(var(--portrait-scale) * var(--cover-head-width));
  max-width: none;
  transform: translate(calc(-1 * var(--face-x)), calc(-1 * var(--face-y)));
  filter: drop-shadow(0 3px 5px #20102e91);
}
@media (any-pointer: coarse) {
  .cover-member img { -webkit-touch-callout: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .cover-member:nth-child(4n + 1) { --cover-motion-scale: .90; --cover-response: 265ms; }
  .cover-member:nth-child(4n + 3) { --cover-motion-scale: 1.06; --cover-response: 185ms; }
  .cover-member:nth-child(4n) { --cover-motion-scale: .96; --cover-response: 245ms; }
  .cover-member img {
    --cover-travel: calc(var(--cover-depth) * var(--cover-motion-scale, 1));
    translate: calc(var(--cover-shift-x, 0px) * var(--cover-travel)) calc(var(--cover-shift-y, 0px) * var(--cover-travel));
    transition: translate var(--cover-response, 220ms) ease-out;
  }
}
.cover-row:first-child .cover-member img { mask-image: linear-gradient(#000 62%, transparent 99%); }
.cover-member:nth-child(even) img { top: calc(var(--face-line) + clamp(3px, .65vw, 13px)); }
.hero-brand {
  position: absolute;
  inset-inline: 0;
  bottom: 3%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0px, .8vw, 14px);
  filter: drop-shadow(0 5px 8px #341246aa);
}
.hero-logo { width: min(43%, 690px); margin: 0; }
.hero-logo img { width: 100%; }
.hero-mascot { width: min(10%, 172px); }
.about-copy { margin: 16px auto 0; color: var(--muted); max-width: 48em; }
.about-copy p + p { margin-top: 5px; }
.about-tagline { color: var(--rose); font-weight: 700; }
.about-photo { width: min(100%, 860px); margin: 27px auto 0; padding: 8px; border: 1px solid var(--photo-frame); border-radius: 16px; background: var(--deep-panel); box-shadow: 0 0 0 3px #accdf143, 0 10px 28px #210c364e; }
.about-photo img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 9px; }
.about-slideshow { width: min(100%, 860px); margin: 27px auto 0; }
.about-slideshow .about-photo { display: grid; margin: 0; }
.about-slideshow .about-photo img { grid-area: 1 / 1; }
.hours { width: min(100%, 640px); margin: 24px auto 0; border: 1px solid var(--frame); border-radius: 12px; background: var(--card-surface); box-shadow: 0 5px 16px #21112d4f; text-align: center; }
.hours div { display: grid; justify-items: center; gap: 3px; padding: 12px 14px; }
.hours div + div { border-top: 1px solid #ab7baa83; }
.hours dt { color: var(--rose); font-weight: 700; white-space: nowrap; }
.hours dd { margin: 0; line-break: strict; overflow-wrap: anywhere; }

.news { padding-block: clamp(39px, 4vw, 62px); }
.news-board { width: min(100%, 570px); margin: 20px auto 0; padding: 18px 14px; border: 1px solid var(--frame); border-radius: 12px; background: var(--card-surface); box-shadow: 0 5px 16px #21112d4f; }
.news-label { display: inline-block; color: var(--rose); font-size: .875rem; font-weight: 700; }
.news-label + .news-empty { margin-top: 5px; }
.news-list { list-style: none; padding: 0; margin: 8px auto 0; }
.news-list li { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 12px; padding: 8px 0; border-bottom: 1px solid #94648562; overflow-wrap: anywhere; }
.news-list time { color: var(--rose); }
.body-copy a, .news-list a { color: var(--neon); text-underline-offset: 4px; }
.news-list a, .news-card h2 a { color: var(--ink); text-decoration-color: var(--rose); text-underline-offset: .2em; }
.news-list a:hover, .news-card h2 a:hover { color: var(--rose); }
.news-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
  gap: 16px;
  width: min(100%, 1080px);
  margin: 24px auto 0;
}
.news-card, .news-article {
  border: 1px solid #dfa8dc91;
  border-radius: 12px;
  background: var(--card-surface);
}
.news-card { position: relative; overflow: hidden; text-align: left; }
.news-card:focus-within { outline: 2px solid var(--rose); outline-offset: 3px; }
.news-card-copy { padding: 14px 17px 20px; }
.news-image { display: block; width: 100%; }
.news-card .news-image { aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid #dfa8dc91; }
.news-meta { color: var(--rose); font-size: .9rem; }
.news-card h2 { margin-top: 5px; font-size: 1.2rem; line-height: 1.45; overflow-wrap: anywhere; }
.news-card h2 a::after { content: ""; position: absolute; inset: 0; }
.news-summary { margin-top: 10px; color: var(--muted); }
.news-article {
  width: min(100%, 790px);
  margin: 24px auto 0;
  padding: clamp(16px, 3.2vw, 32px);
  color: var(--muted);
  line-height: 1.95;
}
.news-article .news-image { border-radius: 6px; margin-bottom: 1.25em; }
.news-article p + p { margin-top: 1.05em; }
.body-copy .guidelines-link { color: var(--rose); }
.guidelines-note {
  width: min(100%, 640px);
  max-width: none;
  padding: 12px 16px;
  border: 1px solid #dfa8dc91;
  border-radius: 12px;
  background: #321b5666;
}

.members-window, .media-window { margin: 25px 0 0; overflow: hidden; padding-block: 4px; mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); }
.members-track { display: flex; justify-content: center; }
.loop-track.is-running { display: flex; width: max-content; justify-content: flex-start; animation: horizontal-loop var(--loop-time, 40s) linear infinite paused; }
.loop-track.in-view { animation-play-state: running; }
@media (prefers-reduced-motion: no-preference) {
  .loop-track.in-view { will-change: transform; }
}
.members-window:hover .loop-track, .members:focus-within .loop-track,
.media-window:hover .loop-track, .gallery:focus-within .loop-track { animation-play-state: paused; }
.members-set { --gap: clamp(12px, 2vw, 24px); display: flex; flex: none; gap: var(--gap); }
.members-track.is-running .members-set { padding-right: var(--gap); }
.portrait { width: clamp(112px, 34vw, 236px); aspect-ratio: 1; overflow: hidden; border: 1px solid #f0a1d1; border-radius: 46% 46% 6px 6px / 39% 39% 6px 6px; background: linear-gradient(#aa508f, #702780); box-shadow: inset 0 0 0 4px #ffc1e130; }
.portrait-blue { border-color: #a3d1fc; background: linear-gradient(#797ac6, #45488f); box-shadow: inset 0 0 0 4px #d6e0ff2c; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
@keyframes horizontal-loop { to { transform: translate3d(-50%, 0, 0); } }

.guidelines { padding-block: clamp(39px, 4vw, 62px); }
.guidelines .body-copy span, [data-page="guidelines"] .body-copy span { display: inline-block; }
.button { display: inline-grid; place-items: center; min-height: 46px; min-width: 168px; margin-top: 23px; padding: 8px 20px; border: 1px solid #ffc4e1; border-radius: 999px; background: var(--action-fill); color: var(--ink); text-decoration: none; font-weight: 700; box-shadow: inset 0 0 0 2px #ffd2ed38, 0 5px 16px #240b394f; }
.button:hover, .dialog-close:hover { background: var(--action-hover); }
.media-track { --photo-gap: 14px; }
.media-set { display: grid; flex: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--photo-gap); }
.media-track.is-running .media-set { grid-template-columns: repeat(4, clamp(215px, 27vw, 330px)); padding-right: var(--photo-gap); }
.media-set img { width: 100%; aspect-ratio: 4/3; object-fit: cover; padding: 5px; border: 1px solid var(--photo-frame); border-radius: 14px; background: var(--deep-panel); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--media-gap); }
@media (min-width: 740px) { .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gallery-grid img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border: 1px solid #ad73a7; border-radius: 6px; }
.video-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 6px; background: var(--card-surface); text-decoration: none; overflow-wrap: anywhere; }
.video-preview { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; border-radius: 5px 5px 0 0; background: linear-gradient(145deg, #ad1265, #4d268c); }
.video-preview::after { content: "▶"; position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 46px; height: 46px; color: #fff; border: 1px solid #ffffff9c; border-radius: 50%; background: #291139dc; }
.video-card .video-thumbnail { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border: 0; border-radius: 0; }
.video-info { display: grid; gap: 3px; padding: 9px 12px; }
.video-title { justify-self: center; font-size: .95rem; font-weight: 700; line-height: 1.45; text-decoration-color: var(--rose); text-underline-offset: 3px; }
.video-title:hover { color: var(--rose); }
.video-preview:hover::after, .video-preview:focus-visible::after { background: var(--action-fill); }
.video-player { display: block; width: 100%; aspect-ratio: 16/9; min-height: 200px; border: 0; border-radius: 5px 5px 0 0; background: var(--deep-panel); }
.video-platform { color: var(--rose); font-size: .9rem; }
.video-credit { color: var(--muted); font-size: .875rem; }
.gallery-image { display: block; min-width: 0; cursor: zoom-in; }
.gallery-image:hover img { filter: brightness(1.08); }
.gallery-image:focus-visible { outline-offset: -4px; }
.photo-dialog { max-width: min(93vw, 1200px); max-height: 92vh; padding: 10px; border: 1px solid var(--border); background: var(--panel); }
.photo-dialog::backdrop, .profile-dialog::backdrop { background: #210c30d4; }
.photo-dialog img { width: auto; max-height: 80vh; object-fit: contain; margin-inline: auto; }
.dialog-close {
  position: absolute;
  z-index: 1;
  inset-block-start: 14px;
  inset-inline-end: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #ffe1f1;
  border-radius: 50%;
  background: var(--action-fill);
  color: white;
  cursor: pointer;
}
.dialog-close::before, .dialog-close::after {
  content: "";
  grid-area: 1 / 1;
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}
.dialog-close::before { transform: rotate(45deg); }
.dialog-close::after { transform: rotate(-45deg); }

.subpage { min-height: 56vh; }
.page-lead {
  width: min(100%, 960px);
  margin-inline: auto;
  padding: clamp(15px, 2vw, 22px) clamp(12px, 2.5vw, 26px);
  border-block: 1px solid #f2b8e58c;
  border-radius: 16px;
  background: linear-gradient(110deg, #321b5666, #321b5696 58%, #321b5666);
}
#guidelines .page-lead {
  background: linear-gradient(110deg, #3b235d66, #3b235d96 58%, #3b235d66);
}
.page-lead :is(h1, h2) { text-wrap: balance; }
.page-lead :is(h1, h2)::after {
  content: "";
  display: block;
  width: min(100%, 210px);
  height: 9px;
  margin: clamp(9px, 1.4vw, 14px) auto;
  background:
    linear-gradient(45deg, #f2b8e5, #fff3fc) center / 8px 8px no-repeat,
    linear-gradient(90deg, transparent, #d997d5 50%, transparent) center / 100% 1px no-repeat;
}
.page-lead :is(h1, h2):last-child::after { margin-bottom: 0; }
.page-lead .kicker { margin-bottom: 6px; }
.page-lead :is(.about-copy, .body-copy) { margin-top: 0; }
.page-lead .about-tagline { margin-bottom: 10px; font: 700 clamp(1.06rem, 2.1vw, 1.25rem)/1.45 var(--display); }
.about-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 30px); width: min(100%, 1080px); margin: clamp(22px, 4vw, 38px) auto 0; }
.about-feature {
  overflow: hidden;
  border: 1px solid #d99ed5;
  border-radius: 18px;
  background: var(--card-surface);
  box-shadow: 0 8px 22px #25103d66;
}
.about-feature .about-photo {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #e5a6de;
  border-radius: 0;
  box-shadow: none;
}
.about-feature .about-photo img { aspect-ratio: 4/3; border-radius: 0; }
.about-feature-body { padding: clamp(13px, 2vw, 19px) clamp(15px, 2.4vw, 23px); }
.about-feature h2 {
  font-size: clamp(1.12rem, 2vw, 1.32rem);
  text-wrap: balance;
}
.about-feature p { margin-top: 8px; color: var(--muted); font-size: 1rem; line-height: 1.7; text-wrap: balance; }
.detail-section { margin: clamp(32px, 5vw, 58px) auto 0; }
.detail-section h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
[data-page="media"] {
  --media-gap: clamp(8px, 1.2vw, 16px);
}
[data-page="media"] > .wrap { width: min(100% - clamp(36px, 4.5vw, 64px), 1360px); }
.detail-section.media-panel {
  display: grid;
  --media-heading-space: clamp(22px, 2vw, 32px);
  margin-top: var(--media-heading-space);
  gap: var(--media-heading-space);
  width: min(100%, 420px);
}
.media-panel.photo-panel { width: 100%; }
.media-panel > h2 { margin: 0; text-align: center; line-height: 1.25; }
.profile-grid { --profile-gap: 16px; --profile-width: calc((100% - 4 * var(--profile-gap)) / 5); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--profile-gap); max-width: 1080px; margin: 22px auto 0; }
.profile-card { flex: 0 0 var(--profile-width); min-width: 0; }
.profile-trigger { display: grid; justify-items: center; gap: 8px; width: 100%; height: 100%; padding: 8px; border: 1px solid #c686cc; border-radius: 20px; background: var(--card-surface); color: var(--ink); box-shadow: inset 0 0 0 2px #f9b7e627; cursor: pointer; }
.profile-trigger:hover { background: #753394; border-color: var(--frame); }
.profile-card img { width: 100%; aspect-ratio: 4/5; object-fit: contain; border-radius: 10px; background: var(--shade); }
.profile-name { font-size: 1rem; font-weight: 700; overflow-wrap: anywhere; }
.profile-dialog { width: min(100% - 32px, 480px); max-height: 90vh; padding: 15px; border: 1px solid var(--frame); border-radius: 20px; background: var(--deep-panel); color: var(--ink); text-align: center; }
.profile-dialog-content { padding: 10px 10px 15px; }
.profile-dialog img {
  width: min(100%, 352px);
  height: min(51vh, 440px);
  object-fit: contain;
  margin: 8px auto 14px;
  border-radius: 12px;
  background: linear-gradient(#573771, #40265f);
}
.profile-dialog h2 { font-size: clamp(1.35rem, 4vw, 1.8rem); overflow-wrap: anywhere; }
.profile-dialog-details { margin-top: 10px; }
.profile-dialog-details p { overflow-wrap: anywhere; }
.profile-placeholder-note { margin-top: 6px; color: var(--rose); font-size: .875rem; }
.profile-facts { border-top: 1px solid var(--border); }
.profile-facts div { display: grid; gap: 2px; padding: 8px 0; border-bottom: 1px solid #ab7baa83; }
.profile-facts dt { color: var(--rose); font-weight: 700; }
.profile-facts dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.profile-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 12px 0 0; padding: 0; color: var(--neon); }
.profile-links a { display: inline-block; padding: 3px 10px; border: 1px solid var(--border); border-radius: 16px; overflow-wrap: anywhere; }
.rules { width: min(100%, 790px); margin: 23px auto 0; padding: clamp(17px, 4vw, 32px); border: 1px solid var(--border); background: var(--card-surface); }
.rules h2 { font-size: 1.35rem; }
.rules ul { padding: 0; list-style-position: inside; }
.rules ul + h2 { margin-top: 22px; padding-top: 18px; border-top: 1px solid #ab7baa83; }
.rules p { text-wrap: balance; }
.rules li + li { margin-top: 4px; }

.site-footer { position: relative; background: var(--header); padding-top: 26px; text-align: center; }
.footer-inner { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 3vw, 45px); flex-wrap: wrap; }
.footer-brand { flex: 0 0 140px; }
.footer-nav { flex-wrap: wrap; }
.footer-bottom { margin-top: 21px; padding: 12px 0; border-top: 1px solid #a474a3; color: var(--muted); font-size: .875rem; }

@media (max-width: 950px) {
  :root { --header-height: 64px; }
  .header-inner { width: calc(100% - 26px); grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .brand { width: min(100%, 111px); }
  .header-menu { display: grid; grid-column: 1/-1; gap: 10px; padding-bottom: 8px; }
  .header-social { justify-self: stretch; justify-content: center; padding-top: 10px; border-top: 1px solid var(--border); }
  .site-nav { flex-wrap: wrap; }
  .js .menu-toggle { display: block; min-height: 44px; padding: 4px 8px; border: 1px solid #a0639c; border-radius: 4px; background: transparent; color: var(--ink); cursor: pointer; }
  .js .header-menu { display: none; position: absolute; z-index: 1; top: 100%; inset-inline: 0; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; padding: 10px 13px; background: var(--header); border-bottom: 1px solid var(--border); }
  .js .menu-toggle[aria-expanded="true"] + .header-menu { display: grid; }
  .js .site-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; }
  .js .site-nav a { padding: 12px; border: 1px solid #ae77aa; }
  .wrap { width: calc(100% - 36px); }
  .profile-grid { --profile-width: calc((100% - 3 * var(--profile-gap)) / 4); }
}
@media (max-width: 740px) {
  .cover-scene { height: auto; }
  .cover-members { --cover-head-width: clamp(42px, 13vw, 76px); height: auto; display: flex; flex-wrap: wrap; justify-content: center; padding: 20px 1% 0; }
  .cover-row { display: contents; }
  .cover-member { --face-line: clamp(42px, 11vw, 72px); flex: 0 0 calc(100% / 3); height: clamp(80px, 23vw, 133px); }
  .cover-member img { mask-image: linear-gradient(#000 58%, transparent 92%); }
  .hero-brand { position: relative; margin-top: -7px; padding-bottom: 12px; }
  .hero-logo { width: min(60%, 420px); }
  .hero-mascot { width: min(15%, 105px); }
}
@media (max-width: 640px) {
  .about-features { grid-template-columns: minmax(0, 1fr); }
  .header-inner { gap: 5px; }
  .social { gap: 4px; }
  .hours div { padding-inline: 10px; }
  .media-set { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-grid { --profile-gap: 10px; --profile-width: calc((100% - var(--profile-gap)) / 2); }
  .footer-inner { flex-direction: column; gap: 9px; }
  .footer-brand { flex: auto; width: 127px; }
  .footer-nav { width: 100%; gap: 0 6px; }
  .footer-nav a { padding-block: 8px; font-size: .75rem; letter-spacing: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loop-track.is-running { width: auto; justify-content: center; animation: none; }
  .loop-track > [aria-hidden="true"] { display: none; }
  .members-window { overflow-x: auto; }
  .members-track.is-running { justify-content: flex-start; }
  .members-track.is-running .members-set, .media-track.is-running .media-set { padding-right: 0; }
  .media-track.is-running { display: block; }
  .media-track.is-running .media-set { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .media-window { mask-image: none; }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .media-track.is-running .media-set { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
