/* Public portfolio rhythm. Scoped separately from the legacy effects cascade. */
body.is-home-page {
  --studio-ink: #f9f2ed;
  --studio-muted: #e8dfe6;
  --studio-rose: #f1b7cb;
  --studio-jade: #d6dfa9;
  --studio-flow: linear-gradient(90deg, #81516c, #5d5560 48%, #687451);
  background: #071320 !important;
}

body.is-home-page .home-flow {
  background: #071320;
}

body.is-home-page .home-flow > .about-block,
body.is-home-page .home-flow > .works-block,
body.is-home-page .home-flow > .contact-block {
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: clamp(3.5rem, 7vw, 6rem) 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

body.is-home-page .home-flow > .screen-block:not(.hero-block)::before,
body.is-home-page .home-flow > .screen-block:not(.hero-block)::after {
  display: none !important;
}

body.is-home-page .home-flow > .screen-block:not(.hero-block) > .section-shell {
  width: min(1160px, calc(100% - 80px)) !important;
  max-width: 1160px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  min-height: 0 !important;
  transform: none !important;
  translate: none !important;
}

body.is-home-page .hero-schedule-wave {
  margin: 0 !important;
  min-height: 132px !important;
  padding: 16px 0 30px !important;
  background: var(--studio-flow) !important;
}

body.is-home-page .hero-schedule-wave::before,
body.is-home-page .hero-schedule-wave::after,
body.is-home-page .hero-schedule-wave-inner::before,
body.is-home-page .hero-schedule-wave-inner::after { display: none !important; }
body.is-home-page .hero-schedule-wave-inner { width: min(1160px, calc(100% - 64px)) !important; background: none !important; animation: none !important; transform: none !important; border-bottom: 1px solid #d4c1d324; }
body.is-home-page .aqua-hero-water-edge { display: none !important; }
.studio-hero-fade { position: absolute; inset: auto 0 0; height: 36%; z-index: 4; pointer-events: none; background: var(--studio-flow); mask-image: linear-gradient(180deg, transparent, #000); }

/* Shared type and restrained accents for the two redesigned sections. */
body.is-home-page .studio-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--studio-jade);
  font: 600 11px/1.5 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.studio-kicker > span { width: 24px; height: 1px; background: currentColor; }
.home-flow .studio-about h2,
.home-flow .studio-contact h2 {
  margin: 0;
  color: var(--studio-ink);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -.065em;
  line-height: 1.06;
  text-shadow: none !important;
  filter: none !important;
  text-transform: none;
}
.home-flow .studio-about h2 { font-size: clamp(4rem, 7vw, 6.5rem); }
.home-flow .studio-about h2 em,
.home-flow .studio-contact h2 em { color: var(--studio-rose); font-style: normal; }

body.is-home-page .studio-about .about-shell {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) !important;
  gap: 48px 36px !important;
  align-items: center !important;
  height: auto !important;
}
body.is-home-page .studio-about .about-stack { display: block !important; min-width: 0; height: auto !important; }
body.is-home-page .studio-about .studio-bio {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  height: auto !important;
  min-height: 0 !important;
  transform: none !important;
  filter: none !important;
  overflow: visible !important;
}
.studio-bio::before, .studio-bio::after, .studio-bio > .glow-reactive-layer { display: none !important; }
.home-flow .studio-role { margin: 17px 0 28px; color: var(--studio-jade); font-size: 14px; letter-spacing: .025em; }
body.is-home-page .studio-about .about-rich { margin: 0; max-width: 53ch; }
body.is-home-page .studio-about .about-rich p {
  margin: 0 0 18px !important;
  color: var(--studio-muted) !important;
  font: 400 15px/1.85 var(--font-body) !important;
  text-shadow: none !important;
  filter: none !important;
}
body.is-home-page .studio-about .about-rich p:first-child { color: #fff4f4 !important; font-size: 18px !important; line-height: 1.65 !important; }
.studio-disciplines { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.studio-disciplines span { padding: 7px 11px; border: 1px solid #f8e8da55; border-radius: 6px; color: #f4e7ed; font-size: 11px; background: #281e2b20; }
body.is-home-page .studio-about .about-socials {
  margin: 26px 0 0 !important;
  padding: 20px 0 0 !important;
  border-top: 1px solid #d4c1d324;
  display: flex !important;
  gap: 22px !important;
  justify-content: flex-start !important;
}
body.is-home-page .studio-about .about-socials .social-icon-btn { width: 56px !important; height: 56px !important; min-width: 0 !important; min-height: 0 !important; padding: 0 !important; animation: none !important; transform: none !important; translate: none !important; scale: 1 !important; }
body.is-home-page .studio-about .about-socials .social-icon-btn img { width: 48px !important; height: 48px !important; object-fit: contain !important; }
/* Keep the hit area still while the platform-specific artwork moves. */
body.is-home-page .studio-about .about-socials .telegram-message-counter { display: grid !important; position: absolute !important; inset: -3px -3px auto auto !important; min-width: 22px; width: auto !important; height: 22px !important; padding: 0 4px !important; border: 2px solid #fff0f4 !important; border-radius: 20px !important; background: #e83968 !important; color: #fff !important; font: 800 11px/1 var(--font-body) !important; place-items: center; transform: none !important; translate: none !important; pointer-events: none; }
body.is-home-page .studio-about .about-socials .telegram-message-counter.is-counting { animation: studio-counter-pop .44s ease-out both !important; }
body.is-home-page .studio-about .about-socials .social-tiktok-slime { display: block !important; position: absolute !important; inset: 52% 4% -14% !important; width: auto !important; height: auto !important; padding: 0 !important; border: 0 !important; background: none !important; transform: none !important; translate: none !important; pointer-events: none; }
html body.is-home-page .studio-about .about-socials .social-icon-telegram.is-telegram-floating img { animation: studio-telegram-float 1.15s ease-in-out infinite !important; }
html body.is-home-page .studio-about .about-socials .social-icon-tiktok.is-tiktok-dancing img { animation: studio-tiktok-dance 1.12s ease-in-out infinite !important; }
@keyframes studio-telegram-float { 0%, 100% { translate: 0 0; rotate: -4deg; } 50% { translate: 2px -7px; rotate: 4deg; } }
@keyframes studio-tiktok-dance { 0%, 100% { translate: 0 0; rotate: 0deg; scale: 1; } 25% { translate: -3px -5px; rotate: -10deg; scale: .95 1.06; } 65% { translate: 3px -2px; rotate: 10deg; scale: 1.07 .95; } }
@keyframes studio-counter-pop { 0% { scale: .65; } 40% { scale: 1.16; } 100% { scale: 1; } }

.studio-portrait { position: relative; display: grid; align-items: center; min-width: 0; height: 490px; isolation: isolate; overflow: visible; }
.studio-portrait::before { content: ''; position: absolute; width: 72%; aspect-ratio: 1; right: 1%; border-radius: 50%; background: radial-gradient(circle at 30% 20%, #e2a3ad30, #b1bc8326 65%, transparent); border: 1px solid #f8e8da38; }
.studio-portrait-orbit { position: absolute; width: 78%; height: 62%; border: 1px solid #e9adc457; border-radius: 50%; transform: rotate(-28deg); right: 1%; }
.studio-portrait-star { position: absolute; right: 3%; top: 8%; color: var(--studio-rose); font-size: 42px; font-weight: 300; }
body.is-home-page .studio-portrait .about-wave-mascot {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 1600 / 765;
  margin: 0 !important;
  translate: none !important;
  z-index: 1;
  animation: none !important;
  mask-image: none !important;
}
.studio-portrait-caption { position: absolute; bottom: 15px; right: 6%; color: #ece1e8; font-size: 11px; letter-spacing: .08em; }

body.is-home-page .studio-about .about-side {
  grid-column: 1 / -1;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: auto !important;
  gap: 24px !important;
  height: auto !important;
  align-items: stretch !important;
}
body.is-home-page .studio-support-panel {
  min-height: 0 !important;
  height: auto !important;
  padding: 24px !important;
  border: 1px solid #f8e8da57 !important;
  border-radius: 22px !important;
  background: radial-gradient(120% 118% at 0% 0%, #e2a3ad33, transparent 56%), radial-gradient(106% 112% at 100% 100%, #b1bc8333, transparent 60%), linear-gradient(142deg, #68416080, #374b4c7a) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
body.is-home-page .studio-about .about-side > article { transform: none !important; }
body.is-home-page .studio-support-panel::before,
body.is-home-page .studio-support-panel::after,
body.is-home-page .studio-support-panel > .glow-reactive-layer { display: none !important; }
.studio-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
body.is-home-page .studio-panel-heading .studio-kicker { margin-bottom: 5px; font-size: 10px; }
body.is-home-page .studio-panel-heading h3 { margin: 0; color: var(--studio-ink); font-size: 22px; font-weight: 500; letter-spacing: -.04em; text-shadow: none !important; }
.studio-panel-heading > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #ffffff20; color: var(--studio-rose); }
body.is-home-page .studio-support-panel .stream-stage { height: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 12px !important; box-shadow: none !important; }
body.is-home-page .studio-support-panel .twitch-player-shell,
body.is-home-page .studio-about .collab-cosmos {
  aspect-ratio: 16 / 9 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  border-radius: 12px !important;
}
body.is-home-page .studio-support-panel .twitch-link { display: inline-flex; margin-top: 14px !important; padding: 0 !important; border: 0 !important; background: none !important; color: #e5edcc !important; box-shadow: none !important; font-size: 12px; text-decoration: underline; text-underline-offset: 5px; }
.studio-stream-cover { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; width: 100%; padding: 24px; border: 0; border-radius: inherit; text-align: left; color: #fff5f7; background: linear-gradient(0deg, #1d1429e8, #1d142940), url('/uploads/arsa-hero-2026.webp') center / cover; cursor: pointer; }
.studio-stream-cover[hidden] { display: none; }
.studio-stream-play { display: grid; place-items: center; width: 48px; height: 48px; padding-left: 3px; border: 1px solid #fff5f788; border-radius: 50%; background: #16182766; font-size: 15px; }
.studio-stream-copy { display: grid; gap: 10px; }
.studio-stream-copy strong { font: 500 clamp(18px, 1.7vw, 26px)/1.2 var(--font-body); letter-spacing: -.03em; }
.studio-stream-copy small { font: 500 11px/1.5 var(--font-body); color: #ead6e4; }
.studio-stream-cover:hover .studio-stream-play { background: #e9adc4; color: #281e2b; }
body.is-home-page .twitch-player-shell:not(.is-player-active) iframe { visibility: hidden; }
body.is-home-page .studio-support-panel .twitch-player-shell { position: relative; border: 0 !important; box-shadow: none !important; }
body.is-home-page .studio-support-panel.is-twitch-overlay { background: linear-gradient(142deg, #725266, #58634d) !important; }

/* Keep the gallery compact and join sections through the shared background. */
body.is-home-page .home-flow > .aqua-section-wave { display: none !important; }
body.is-home-page .home-flow > .works-block { padding-top: 8px !important; padding-bottom: 72px !important; }
body.is-home-page .aqua-project-showcase { width: 100% !important; margin: 0 !important; min-height: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
body.is-home-page .aqua-project-showcase::before,
body.is-home-page .aqua-project-showcase::after { display: none !important; }
.studio-showcase-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.studio-showcase-head .studio-kicker { margin-bottom: 12px; }
body.is-home-page .studio-showcase-head h3 { margin: 0 !important; color: var(--studio-ink); font: 500 36px/1.1 var(--font-body) !important; letter-spacing: -.04em; text-shadow: none !important; }
.studio-gallery-link { display: inline-flex; align-items: center; gap: 20px; flex-shrink: 0; padding: 12px 20px; border-radius: 999px; background: #caabc01c; border: 1px solid #d3b5c93d; font-size: 12px; color: #eee2eb; }
.studio-gallery-link:hover { background: #caabc030; border-color: #d3b5c980; }
.studio-gallery-link > span { color: var(--studio-rose); font-size: 19px; }
body.is-home-page .aqua-project-strip { height: clamp(350px, 40vw, 520px) !important; min-height: 0 !important; margin: 0 !important; }

/* Contact: editorial invitation and an unobstructed, stable form surface. */
body.is-home-page .home-flow > .studio-contact { padding-top: 32px !important; padding-bottom: 72px !important; }
.studio-contact-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; padding-top: 64px; border-top: 1px solid #d7c3d125; }
.studio-contact-intro { padding-top: 12px; min-width: 0; }
.home-flow .studio-contact h2 { font-size: clamp(2.75rem, 4.2vw, 4rem); }
.studio-contact-lead { max-width: 34ch; margin: 24px 0; font-size: 15px; line-height: 1.85; color: var(--studio-muted); }
.studio-prices-link { display: inline-flex; align-items: center; gap: 20px; color: var(--studio-ink); font-size: 13px; padding-bottom: 8px; border-bottom: 1px solid #e9adc45c; }
.studio-prices-link > span { color: var(--studio-rose); font-size: 22px; }
.studio-contact-note { display: flex; gap: 16px; align-items: flex-start; margin-top: 48px; max-width: 36ch; }
.studio-contact-note > span { color: var(--studio-jade); font-size: 30px; }
.studio-contact-note p { margin: 0; font-size: 12px; line-height: 1.8; color: #e2d9df; }
.studio-contact-workspace { min-width: 0; padding: 30px; border: 1px solid #f8e8da57; border-radius: 24px; background: linear-gradient(140deg, #68416066, #374b4c55), #211e2b99; }
body.is-home-page .studio-contact .contact-mode-switch { display: flex !important; gap: 6px !important; width: 100% !important; padding: 5px !important; margin: 0 0 28px !important; background: #080d1780 !important; border: 1px solid #e5d0dd16 !important; border-radius: 12px !important; box-shadow: none !important; }
body.is-home-page .studio-contact .contact-mode-btn { flex: 1; min-height: 42px !important; padding: 10px 8px !important; background: transparent !important; border: 0 !important; border-radius: 8px !important; color: #a9a4b3 !important; font-size: 12px !important; font-weight: 600; text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important; }
body.is-home-page .studio-contact .contact-mode-btn.is-active { background: #c3a5b323 !important; color: #fff4f5 !important; box-shadow: inset 0 0 0 1px #f4d3e326 !important; }
body.is-home-page .studio-contact .contact-panels { display: grid !important; min-height: 0 !important; height: auto !important; align-items: start; background: none !important; border: 0 !important; box-shadow: none !important; }
body.is-home-page .studio-contact .contact-panel { grid-area: 1 / 1; display: block !important; position: static !important; min-height: 0 !important; max-height: none !important; height: auto !important; padding: 0 !important; transform: none !important; opacity: 0 !important; visibility: hidden !important; pointer-events: none; transition: none !important; }
body.is-home-page .studio-contact .contact-panel.is-active { opacity: 1 !important; visibility: visible !important; pointer-events: auto; }
body.is-home-page .studio-contact .contact-panel:not(.is-active) * { visibility: hidden !important; pointer-events: none !important; }
body.is-home-page .studio-contact .contact-form { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 22px 16px !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; min-height: 0 !important; border-radius: 0 !important; }
body.is-home-page .studio-contact .contact-form label { display: grid; gap: 10px; min-width: 0; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; }
body.is-home-page .studio-contact .contact-form label > span { color: #e3dbe3 !important; font-size: 11px !important; font-weight: 500; text-transform: none !important; letter-spacing: .025em !important; }
body.is-home-page .studio-contact .contact-form :is(input, textarea) { width: 100%; max-width: 100%; min-width: 0; padding: 13px 14px !important; color: #faf4f7 !important; border: 1px solid #d4c1d32b !important; border-radius: 9px !important; background: #0a101b85 !important; box-shadow: none !important; font: 400 13px/1.6 var(--font-body) !important; outline: 0; transition: border-color .2s, background .2s; }
body.is-home-page .studio-contact .contact-form input { min-height: 49px !important; }
body.is-home-page .studio-contact .contact-form textarea { min-height: 164px !important; resize: vertical; }
body.is-home-page .studio-contact .contact-form :is(input, textarea)::placeholder { color: #8d879b; opacity: 1; }
body.is-home-page .studio-contact .contact-form :is(input, textarea):focus { border-color: #dfaac6 !important; background: #101721 !important; box-shadow: 0 0 0 3px #dfaac618 !important; }
body.is-home-page .studio-contact .contact-actions { grid-column: 1 / -1; display: flex !important; align-items: center; flex-wrap: wrap; gap: 14px !important; margin: 0 !important; }
body.is-home-page .studio-contact .studio-submit { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 48px; padding: 13px 18px; border: 1px solid #f4c9dc; border-radius: 9px; background: #e9adc4; color: #281e2b; font: 700 12px/1.5 var(--font-body); cursor: pointer; }
.studio-submit > span[aria-hidden] { font-size: 20px; }
.studio-submit:hover { background: #f5c1d4 !important; }
.studio-submit:disabled { opacity: .6; cursor: wait; }
.studio-reply-note { color: #aaa4b3; font-size: 10px; }
body.is-home-page .studio-contact #contact-feedback { flex-basis: 100%; margin: 0; font-size: 12px; line-height: 1.6; }
body.is-home-page .studio-contact #contact-feedback:empty { display: none; }
body.is-home-page .studio-contact .direct-contact-grid { padding: 0 !important; display: grid !important; grid-template-columns: 1fr !important; gap: 10px !important; border: 0 !important; background: none !important; box-shadow: none !important; }
body.is-home-page .studio-contact .direct-contact-card { position: relative; display: flex !important; flex-direction: column; align-items: stretch; gap: 5px; min-height: 86px !important; padding: 17px 42px 17px 17px !important; border: 1px solid #d4c1d326 !important; border-radius: 10px !important; background: #0a101b66 !important; box-shadow: none !important; text-align: left; }
body.is-home-page .studio-contact .direct-contact-card:hover { border-color: #e9adc478 !important; background: #24212f !important; }
body.is-home-page .studio-contact .direct-contact-card::after { content: '↗' !important; position: absolute !important; inset: auto 16px auto auto !important; top: 26px !important; width: auto !important; height: auto !important; border: 0 !important; background: none !important; opacity: 1 !important; color: var(--studio-rose); font-size: 20px; transform: none !important; }
body.is-home-page .studio-contact .copy-card::after { content: '⧉' !important; }
body.is-home-page .studio-contact .direct-contact-card::before { display: none !important; }
.studio-contact .direct-contact-top { display: flex; gap: 10px; align-items: center; }
.studio-contact .direct-contact-top strong { font-size: 13px !important; color: #f2e8ee; }
.studio-contact .direct-contact-top .badge { font-size: 8px; background: #b7d4b41a !important; color: #b7d4b4 !important; border-color: #b7d4b425 !important; }
.studio-contact .direct-contact-value { color: #b5abba !important; font-size: 12px !important; overflow-wrap: anywhere; }
.studio-contact .direct-copy-feedback { min-height: 18px; margin: 12px 0 0; font-size: 11px; }

/* Keep controls still; opted-in text receives temporary refraction from site.js. */
.studio-water-label { display: inline-block; }
body.is-home-page [data-ui-stable] :is(input, textarea, label, button, p, h2, strong),
body.is-home-page [data-ui-stable] :is(.direct-contact-card, .direct-contact-grid, .contact-form, .contact-mode-switch) { transform: none !important; translate: none !important; filter: none !important; animation: none !important; backdrop-filter: none !important; }
body.is-home-page [data-ui-stable] :is(button, .contact-form, .contact-mode-switch)::before,
body.is-home-page [data-ui-stable] :is(button, .contact-form, .contact-mode-switch)::after,
body.is-home-page [data-ui-stable] .aqua-button-ripple-surface { display: none !important; }
body.is-home-page .studio-contact label::before,
body.is-home-page .studio-contact label::after { display: none !important; }
body.is-home-page .studio-contact .copy-card::after { display: block !important; }
body.is-home-page [data-ui-stable] :is(a, button):focus-visible { outline: 2px solid #b7d4b4 !important; outline-offset: 5px; }

body.is-home-page .site-footer { margin: 0 !important; background: #071320 !important; border-top: 1px solid #c0e4e51c; }
body.is-home-page .site-footer::before,
body.is-home-page .site-footer::after { display: none !important; }

/* Public inner pages: keep introductions proportional to the actual work. */
.gallery-page .gallery-hero { min-height: 0 !important; padding: 26px 30px !important; border-radius: 22px !important; }
.gallery-page .gallery-hero h1 { font-size: clamp(2rem, 3.4vw, 3rem) !important; line-height: 1.12 !important; text-shadow: none !important; }
.gallery-page .hall-gallery-cta { display: block !important; min-height: 0 !important; padding: 24px 30px !important; border-radius: 22px !important; }
.gallery-page .hall-gallery-cta-side { display: none !important; }
.gallery-page .hall-gallery-cta-copy { display: grid !important; width: 100%; max-width: none !important; margin: 0 !important; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px !important; align-items: start !important; justify-items: start !important; text-align: left !important; }
.gallery-page .hall-gallery-cta-kicker { grid-column: 1; justify-self: start !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; font-size: 10px !important; }
.gallery-page .hall-gallery-cta-copy strong { grid-column: 1; font-size: 30px !important; line-height: 1.2 !important; }
.gallery-page .hall-gallery-cta-copy small { grid-column: 1; font-size: 13px !important; }
.gallery-page .hall-gallery-cta-copy em { grid-column: 2; grid-row: 1 / 4; align-self: center; }
.hall-page .hall-hero { min-height: 0 !important; padding: 28px 32px !important; border-radius: 22px !important; margin-bottom: 28px !important; }
.hall-page .hall-hero h1 { font-size: clamp(2rem, 3.4vw, 3.5rem) !important; line-height: 1.12 !important; margin-bottom: 18px; }
.hall-page .hall-hero-copy > p:last-child { max-width: 64ch; font-size: 15px; }
.hall-page .hall-grid { margin-top: 0 !important; padding-top: 0 !important; }
.art-layout .art-side { align-self: start; min-height: 0 !important; height: auto !important; padding: 26px !important; border-radius: 22px !important; background: #1b1f2d !important; border: 1px solid #d4c1d32b !important; box-shadow: none !important; }
.art-layout .art-side > .glow-reactive-layer { display: none !important; }
.art-detail-page { width: min(1200px, calc(100% - 64px)) !important; max-width: 1200px !important; }
.art-layout, .art-layout > * { min-width: 0; }
.art-layout > [data-reveal] { transform: none !important; translate: none !important; filter: none !important; }

@media (min-width: 1600px) {
  body.is-home-page .home-flow > .screen-block:not(.hero-block) > .section-shell { width: min(1360px, calc(100% - 160px)) !important; max-width: 1360px !important; }
  body.is-home-page .studio-about .about-rich p { font-size: 17px !important; }
  body.is-home-page .studio-about .about-rich p:first-child { font-size: 21px !important; }
  .studio-portrait { height: 540px; }
  body.is-home-page .studio-contact .contact-form :is(input, textarea) { font-size: 15px !important; }
  .studio-contact-lead { font-size: 17px; }
}
@media (min-width: 2200px) {
  body.is-home-page .home-flow > .screen-block:not(.hero-block) > .section-shell { width: 1440px !important; max-width: 1440px !important; }
  .studio-portrait { height: 600px; }
}
@media (max-width: 900px) {
  body.is-home-page .home-flow > .screen-block:not(.hero-block) > .section-shell { width: calc(100% - 48px) !important; }
  body.is-home-page .studio-about .about-shell { gap: 36px 20px !important; }
  .studio-portrait { height: 390px; }
  .studio-contact-layout { gap: 30px; }
  .studio-contact-workspace { padding: 22px; }
  body.is-home-page .studio-contact .contact-form { grid-template-columns: 1fr !important; }
  body.is-home-page .studio-contact .contact-form label { grid-column: 1 !important; }
}
@media (max-width: 640px) {
  .art-detail-page { width: calc(100% - 32px) !important; }
  .gallery-page .gallery-hero, .gallery-page .hall-gallery-cta, .hall-page .hall-hero { padding: 20px !important; border-radius: 18px !important; }
  .gallery-page .hall-gallery-cta-copy { grid-template-columns: 1fr; }
  .gallery-page .hall-gallery-cta-copy em { grid-column: 1; grid-row: auto; }
  .gallery-page .hall-gallery-cta-copy strong { font-size: 26px !important; }
  body.is-home-page .home-flow > .screen-block:not(.hero-block) > .section-shell { width: calc(100% - 36px) !important; }
  body.is-home-page .hero-schedule-wave-inner { width: calc(100% - 28px) !important; }
  body.is-home-page .hero-schedule-wave { min-height: 116px !important; padding-bottom: 20px !important; }
  body.is-home-page .studio-about .about-shell { grid-template-columns: 1fr !important; gap: 20px !important; }
  .home-flow .studio-about h2 { font-size: 4.4rem; }
  .home-flow .studio-kicker { font-size: 10px; margin-bottom: 18px; }
  body.is-home-page .studio-about .about-rich p:first-child { font-size: 17px !important; }
  .studio-portrait { height: 300px; max-width: 420px; width: 100%; margin: 10px auto 24px; }
  body.is-home-page .studio-portrait .about-wave-mascot { width: 100% !important; margin: 0 !important; }
  .studio-portrait::before { width: 75%; right: 5%; }
  .studio-portrait-orbit { width: 80%; right: 0; }
  .studio-portrait-caption { bottom: 0; font-size: 9px; }
  body.is-home-page .studio-about .about-side { grid-template-columns: 1fr !important; gap: 16px !important; }
  body.is-home-page .studio-about .about-side > article { padding: 20px !important; }
  body.is-home-page .home-flow > .works-block { padding-top: 0 !important; padding-bottom: 40px !important; }
  .studio-showcase-head { gap: 12px; margin-bottom: 22px; }
  .studio-showcase-head .studio-kicker { font-size: 9px; letter-spacing: .08em; }
  body.is-home-page .studio-showcase-head h3 { font-size: 30px !important; }
  .studio-gallery-link { gap: 10px; padding: 10px 14px; font-size: 11px; }
  body.is-home-page .aqua-project-strip { display: flex !important; gap: 12px !important; height: 420px !important; overflow-x: auto !important; overflow-y: hidden !important; scroll-snap-type: x mandatory; border-radius: 12px; scrollbar-width: thin; scrollbar-color: #a97794 #151923; }
  body.is-home-page .aqua-project-strip::-webkit-scrollbar { height: 5px; }
  body.is-home-page .aqua-project-strip::-webkit-scrollbar-track { background: #151923; }
  body.is-home-page .aqua-project-strip::-webkit-scrollbar-thumb { background: #a97794; border-radius: 3px; }
  body.is-home-page .aqua-project-panel { flex: 0 0 84% !important; min-width: 0 !important; max-width: none !important; height: 100% !important; border-radius: 12px; scroll-snap-align: start; }
  body.is-home-page .aqua-project-caption { opacity: 1 !important; transform: none !important; width: auto !important; max-width: 100% !important; }
  body.is-home-page .aqua-project-caption strong { font-size: 18px !important; }
  body.is-home-page .aqua-project-caption small { display: none; }
  body.is-home-page .aqua-project-number { top: 14px !important; left: 14px !important; font-size: 14px !important; }
  .studio-contact-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; }
  .home-flow .studio-contact h2 { font-size: clamp(2.5rem, 11.5vw, 3.5rem); }
  .studio-contact-lead { max-width: none; margin: 20px 0; }
  .studio-contact-note { margin-top: 25px; max-width: none; }
  .studio-contact-workspace { padding: 20px; border-radius: 18px; }
  body.is-home-page .studio-contact .contact-mode-btn { font-size: 10px !important; }
  body.is-home-page .studio-contact .contact-form :is(input, textarea) { font-size: 16px !important; }
  body.is-home-page .studio-contact .studio-submit { width: 100%; }
  .studio-reply-note { width: 100%; text-align: center; }
  body.is-home-page .home-flow > .studio-contact { padding-top: 0 !important; padding-bottom: 40px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .studio-about .about-wave-mascot-layer { animation: none !important; }
  html body.is-home-page .studio-about .about-socials .social-icon-btn img,
  body.is-home-page .studio-about .about-socials .telegram-message-counter { animation: none !important; }
}

/* The warm surface belongs to About; each following section descends deeper. */
body.is-home-page .home-flow > .studio-about { background: linear-gradient(180deg, transparent 52%, #26343b 100%), var(--studio-flow) !important; background-blend-mode: normal !important; }
body.is-home-page .home-flow > .works-block { background: linear-gradient(#26343b, #101f2e) !important; padding-top: 24px !important; }
body.is-home-page .home-flow > .studio-contact { background: linear-gradient(#101f2e, #071320) !important; }
body.is-home-page .home-flow > #works > .section-shell { width: min(2160px, calc(100% - 96px)) !important; max-width: 2160px !important; }
body.is-home-page .aqua-project-strip { height: clamp(580px, 68vh, 920px) !important; background: transparent !important; box-shadow: none !important; border: 0 !important; backdrop-filter: none !important; }
body.is-home-page .aqua-project-strip::before,
body.is-home-page .aqua-project-strip::after,
body.is-home-page .aqua-project-strip > .glow-reactive-layer { display: none !important; }

/* The dance floor shares the page water instead of drawing a rectangular stage. */
body.is-prices-route { background: radial-gradient(ellipse at 8% 8%, #65395866, transparent 48%), radial-gradient(ellipse at 90% 20%, #3269684d, transparent 50%), linear-gradient(#111627, #071320) !important; }
body .prices-selector-page { min-height: calc(100svh - 180px) !important; padding-bottom: 0 !important; }
body .prices-selector-hero { min-height: 0 !important; }
body .price-dance-floor { margin-top: 32px !important; height: clamp(200px, 25vh, 340px) !important; min-height: 0 !important; border: 0 !important; box-shadow: none !important; background: transparent !important; }
body .price-dance-floor::before,
body .price-dance-floor::after,
body .dance-floor-grid { display: none !important; }
body .dance-floor-light { opacity: .45; mask-image: linear-gradient(transparent, #000 45%, transparent); }
body.is-prices-route .site-footer { margin-top: 0 !important; border-top: 1px solid #b3e1df1a !important; background: transparent !important; }
body.is-prices-route .site-footer::before,
body.is-prices-route .site-footer::after { display: none !important; }

/* Quantity controls stay still and remain reachable after every update. */
body .price-quantity { display: inline-flex; align-items: center; align-self: start; justify-self: start; width: max-content; gap: 12px; margin-top: 12px; padding: 5px; border: 1px solid #b9e3df55; border-radius: 999px; background: #071621cc; }
body .price-quantity[hidden] { display: none !important; }
body .price-quantity button { display: grid; place-items: center; width: 38px; height: 38px; min-height: 38px; padding: 0; border: 1px solid #eed5e538; border-radius: 50%; color: #fbf3f7; background: #d4afc11f; font: 600 22px/1 var(--font-body); cursor: pointer; transform: none !important; animation: none !important; filter: none !important; }
body .price-quantity button:hover { background: #d4afc13b; }
body .price-quantity button:focus-visible { outline: 2px solid #bae2d7; outline-offset: 3px; }
body .price-quantity button:disabled { opacity: .35; cursor: default; }
body .price-quantity output { min-width: 24px; text-align: center; font-size: 15px; font-weight: 700; color: #fff5fa; }
body .price-quantity button::before,
body .price-quantity button::after { display: none !important; }

/* A preview never intercepts its trigger. Return starts at the current position. */
body.is-home-page .studio-support-panel.is-twitch-overlay { height: var(--twitch-home-height) !important; pointer-events: none !important; transform-origin: center; transition: transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .4s !important; }
body.is-home-page .studio-support-panel.is-twitch-overlay.is-twitch-pulled { transform: translate3d(var(--twitch-pull-x), var(--twitch-pull-y), 0) scale(var(--twitch-preview-scale, 1)) !important; }
body.is-home-page .studio-support-panel.is-twitch-overlay.is-twitch-reeling-back { animation: none !important; transform: translate3d(var(--twitch-return-x, 0px), var(--twitch-return-y, 0px), 0) scale(1) !important; }

/* Same-origin page navigation dissolves and rises like a soft water current. */
@view-transition { navigation: auto; }
::view-transition-group(root) { animation-duration: .65s; }
::view-transition-old(root) { animation: studio-water-out .55s ease-in both; mix-blend-mode: normal; }
::view-transition-new(root) { animation: studio-water-in .65s cubic-bezier(.2,.7,.2,1) both; mix-blend-mode: normal; }
@keyframes studio-water-out { to { opacity: 0; transform: translateY(-22px) scale(1.025); filter: blur(5px) saturate(.8); } }
@keyframes studio-water-in { from { opacity: 0; transform: translateY(28px) scale(1.018); filter: blur(7px) saturate(1.2); clip-path: ellipse(75% 58% at 50% 85%); } to { opacity: 1; transform: none; filter: none; clip-path: ellipse(100% 100% at 50% 50%); } }
@supports not (view-transition-name: root) { main { animation: studio-page-enter .45s ease-out both; } }
@keyframes studio-page-enter { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 900px) {
  body.is-home-page .home-flow > #works > .section-shell { width: calc(100% - 48px) !important; }
  body.is-home-page .aqua-project-strip { height: 620px !important; }
}
@media (max-width: 640px) {
  body.is-home-page .home-flow > #works > .section-shell { width: calc(100% - 24px) !important; }
  body.is-home-page .aqua-project-strip { height: 570px !important; }
  body.is-home-page .aqua-project-panel { flex-basis: 90% !important; }
  body .price-dance-floor { margin-top: 16px !important; height: 190px !important; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  ::view-transition-old(root), ::view-transition-new(root), main { animation: none !important; }
}
