/* Natural studio foundation: flat rose surfaces, honest photography and quiet type.
   Shape variables retain existing settings; the rounded treatment is the design baseline. */
.ballet-pages-studio {
  --bp-natural-paper: #fcfaf8;
  --bp-natural-rose: color-mix(in srgb, var(--bp-main) 13%, #fcfaf8);
  --bp-natural-secondary: var(--bp-natural-rose);
  --bp-secondary-surface: var(--bp-natural-rose);
  --bp-natural-line: color-mix(in srgb, var(--bp-text) 16%, transparent);
  background: var(--bp-natural-paper);
  color: var(--bp-text);
}
.ballet-pages-studio.is-corner-soft {
  --bp-radius-card: 20px;
  --bp-radius-media: 22px;
  --bp-photo-shape: 22px;
  --bp-radius-button: 999px;
}
/* No elevation effects, including inherited hover states. Focus uses a visible outline. */
.ballet-pages-studio *, .ballet-pages-studio *::before, .ballet-pages-studio *::after {
  box-shadow: none !important;
  text-shadow: none !important;
}
.ballet-pages-studio :is(a, button, summary):focus-visible { outline: 2px solid var(--bp-accent-dark); outline-offset: 4px; }
.ballet-pages-studio > .bp-section {
  padding-block: clamp(64px, 7vw, 104px);
  background: var(--bp-natural-paper);
  border: 0;
}
.ballet-pages-studio > :is(.bp-features-section, .bp-price-section, .bp-cta) { background: var(--bp-natural-rose); }
.ballet-pages-studio > :is(.bp-classes-section, .bp-gallery-section) { background: var(--bp-natural-secondary); }
.ballet-pages-studio > :is(.bp-news-section, .bp-schedule-section, .bp-faq-section, .bp-access-section) { background: #fff; }
.ballet-pages-studio > .bp-section::before,
.ballet-pages-studio > .bp-section::after { content: none; }
.ballet-pages-studio .bp-section { scroll-margin-top: calc(var(--bp-nav-offset, 144px) + 20px); }
.ballet-pages-studio .bp-section > .bp-section-inner { width: min(1120px, calc(100% - 80px)); max-width: 1120px; }
.ballet-pages-studio .bp-section .bp-section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 0;
  width: 100%;
  max-width: none;
  margin: 0 auto clamp(32px, 4vw, 52px);
  text-align: center;
}
.ballet-pages-studio .bp-section .bp-section-head::before,
.ballet-pages-studio .bp-section .bp-section-head::after { content: none; }
.ballet-pages-studio .bp-section .bp-section-head :is(h1, h2) {
  order: 1;
  margin: 0;
  font-size: clamp(30px, 3.4vw, 46px);
  font-style: normal;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bp-text);
  overflow-wrap: anywhere;
}
.ballet-pages-studio .bp-section .bp-section-head > p {
  order: 2;
  margin: 0;
  padding: 0;
  background: none;
  color: var(--bp-text);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .1em;
}
.ballet-pages-studio .bp-richtext { color: var(--bp-text); line-height: 1.95; }
.ballet-pages-studio .bp-button { border-radius: var(--bp-radius-button); font-weight: 500; }
/* Keep the centred masthead and the Japanese navigation subtitles. */
.ballet-pages-studio .bp-studio-nav { background: var(--bp-natural-rose); border-bottom: 1px solid var(--bp-natural-line); backdrop-filter: none; }
.ballet-pages-studio .bp-studio-nav nav .bp-nav-label > span { text-transform: uppercase; letter-spacing: .06em; font-style: normal; }
.ballet-pages-studio .bp-studio-nav nav a:not(.bp-nav-contact),
.ballet-pages-studio .bp-studio-nav nav small { color: var(--bp-text); }
.ballet-pages-studio .bp-studio-nav nav a.bp-nav-contact {
  padding: 12px 22px;
  border: 1px solid var(--bp-accent-dark);
  border-radius: var(--bp-radius-button);
  background: var(--bp-accent-dark);
  color: var(--bp-on-accent);
}
.ballet-pages-studio .bp-studio-nav nav a.bp-nav-contact small { color: inherit; }
.ballet-pages-studio .bp-studio-nav nav a.bp-nav-contact:hover { background: var(--bp-accent); }
@media(min-width:721px) {
  .ballet-pages-studio .bp-studio-nav { flex-direction: column; justify-content: center; gap: 12px; padding: 18px 24px 12px; }
  .ballet-pages-studio .bp-studio-brand { justify-content: center; text-align: center; max-width: 100%; font-size: 24px; overflow-wrap: anywhere; }
  .ballet-pages-studio .bp-nav-logo { max-width: 220px; max-height: 66px; }
  .ballet-pages-studio .bp-studio-nav nav { width: 100%; justify-content: center; gap: 14px clamp(18px, 2vw, 30px); margin: 0; }
  .ballet-pages-studio .bp-studio-nav nav a { flex: 0 0 auto; min-width: 0; }
}
/* Opening message: typography and breathing room instead of ornamental silhouettes. */
.ballet-pages-studio .bp-intro .bp-split { display: block; max-width: 840px; }
.ballet-pages-studio .bp-intro .bp-richtext { max-width: 720px; padding: 0; margin-inline: auto; text-align: center; }
.ballet-pages-studio .bp-intro .bp-intro-title { font-size: clamp(22px, 2.3vw, 30px); font-weight: 400; line-height: 1.8; letter-spacing: .035em; text-wrap: balance; margin: 0 0 28px; }
.ballet-pages-studio .bp-intro .bp-intro-description { border: 0; padding: 0; }
.ballet-pages-studio .bp-intro .bp-intro-description p { color: var(--bp-text); line-height: 2; }
/* Compact news, without the decorative white sheet or overlapping title. */
.ballet-pages-studio .bp-news-section > .bp-section-inner { max-width: 960px; padding: 0; background: transparent; }
.ballet-pages-studio .bp-news-link { padding-left: 8px; }
.ballet-pages-studio .bp-news-link::before { background: var(--bp-natural-rose); }
.ballet-pages-studio .bp-news-item::after { background: var(--bp-main); }
.ballet-pages-studio :is(.bp-news-text time, .bp-news-excerpt) { color: var(--bp-text); opacity: .8; }
/* Features keep their alternating photo/copy overlap and expandable text. */
.ballet-pages-studio .bp-features-section .bp-feature-grid { gap: clamp(48px, 6vw, 88px); }
.ballet-pages-studio .bp-feature > :is(img, .bp-no-image-feature) { border: 0; filter: none; }
.ballet-pages-studio .bp-features-section .bp-feature > .bp-feature-body {
  border: 0;
  padding: clamp(32px, 4vw, 52px);
  background: var(--bp-natural-paper);
  backdrop-filter: none;
  border-radius: var(--bp-radius-card);
}
.ballet-pages-studio .bp-features-section .bp-feature h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 400; }
.ballet-pages-studio .bp-features-section .bp-feature h3::before { opacity: .09; }
/* Biographies keep their full text, with larger unframed portraits. */
.ballet-pages-studio .bp-teachers-section .bp-instructor-grid { border: 0; gap: 48px; }
.ballet-pages-studio .bp-teachers-section .bp-card.bp-instructor {
  grid-template-columns: minmax(180px, .8fr) minmax(0, 1.6fr);
  gap: clamp(32px, 6vw, 88px);
  padding: 0 0 48px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--bp-natural-line);
}
.ballet-pages-studio .bp-teachers-section .bp-card.bp-instructor:last-child { padding-bottom: 0; border-bottom: 0; }
.ballet-pages-studio .bp-teachers-section .bp-instructor::after,
.ballet-pages-studio .bp-teachers-section .bp-instructor-body::before,
.ballet-pages-studio .bp-teachers-section .bp-instructor .bp-muted::after { content: none; }
.ballet-pages-studio .bp-teachers-section .bp-instructor > :is(img, .bp-no-image) { width: 100%; max-width: 200px; margin: 0 auto; }
.ballet-pages-studio .bp-teachers-section .bp-instructor h3 { font-size: clamp(23px, 2.4vw, 32px); font-weight: 400; }
.ballet-pages-studio .bp-teachers-section .bp-instructor-career { margin-top: 20px; padding: 0; border: 0; }
/* A class photo and its information form one clean card rather than nested panels. */
.ballet-pages-studio .bp-classes-section .bp-card.bp-class { background: var(--bp-natural-paper); border-radius: var(--bp-radius-card); overflow: hidden; padding: 0; }
.ballet-pages-studio .bp-classes-section .bp-class > .bp-class-photo { border-radius: var(--bp-photo-shape); filter: none; }
.ballet-pages-studio .bp-classes-section .bp-class-info { width: 100%; margin: 0; padding: 28px 24px; background: transparent; border: 0; backdrop-filter: none; }
.ballet-pages-studio .bp-class-info::before { content: none; }
.ballet-pages-studio :is(.bp-class:hover .bp-class-photo, .bp-feature:hover img, .bp-gallery img:hover) { transform: none; filter: none; }
/* Information sections remain compact and easy to scan. */
.ballet-pages-studio .bp-section :is(.bp-fee-group, .bp-access-panel, .bp-schedule-table-wrap) { background: var(--bp-natural-paper); border: 0; border-radius: var(--bp-radius-card); }
.ballet-pages-studio .bp-fee-group { background: #fff; }
.ballet-pages-studio .bp-fee-group > h3 { font-size: 22px; font-weight: 400; }
.ballet-pages-studio .bp-faq { background: transparent; border: 0; }
.ballet-pages-studio .bp-faq details { margin: 0; border: 0; border-bottom: 1px solid var(--bp-natural-line); border-radius: 0; }
.ballet-pages-studio .bp-faq summary { background: transparent; }
.ballet-pages-studio .bp-faq details[open] > .bp-richtext { background: transparent; }
.ballet-pages-studio .bp-gallery { gap: clamp(10px, 1.5vw, 20px); }
.ballet-pages-studio .bp-gallery img { aspect-ratio: 1; border: 0; }
/* Contact: a flat rose band and simple, readable actions. */
.ballet-pages-studio .bp-cta > .bp-section-inner { padding: 0; background: transparent; border: 0; outline: 0; }
.ballet-pages-studio .bp-cta .bp-contact-panel { margin-top: 0; padding: 0; background: transparent; border: 0; backdrop-filter: none; }
.ballet-pages-studio .bp-cta .bp-contact-copy { padding: 0; }
.ballet-pages-studio .bp-cta .bp-contact-card { border: 0; border-radius: var(--bp-radius-card); background: var(--bp-natural-paper); color: var(--bp-text); }
.ballet-pages-studio .bp-cta .bp-contact-card-primary { background: var(--bp-accent-dark); color: var(--bp-on-accent); }
.ballet-pages-studio .bp-cta .bp-contact-card-primary:hover { background: var(--bp-accent); color: var(--bp-on-accent); }
.ballet-pages-studio .bp-cta .bp-contact-icon { background: transparent; }
.ballet-pages-studio .bp-site-footer { background: var(--bp-natural-paper); border-top: 1px solid var(--bp-natural-line); }
.ballet-pages-studio .bp-footer-profile { text-align: center; }
.ballet-pages-studio .bp-footer-brand { font-size: clamp(24px, 2.6vw, 36px); font-weight: 400; }
@media(max-width:720px) {
  .ballet-pages-studio > .bp-section { padding-block: 56px; }
  .ballet-pages-studio .bp-section > .bp-section-inner { width: calc(100% - 40px); }
  .ballet-pages-studio .bp-section .bp-section-head { margin-bottom: 30px; gap: 10px; }
  .ballet-pages-studio .bp-section .bp-section-head :is(h1, h2) { font-size: clamp(28px, 8vw, 36px); }
  .ballet-pages-studio .bp-intro .bp-richtext { text-align: left; }
  .ballet-pages-studio .bp-intro .bp-intro-title { text-align: center; }
  .ballet-pages-studio .bp-features-section .bp-feature > .bp-feature-body { padding: 38px 24px 28px; }
  .ballet-pages-studio .bp-teachers-section .bp-card.bp-instructor { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 32px; }
  .ballet-pages-studio .bp-teachers-section .bp-instructor > :is(img, .bp-no-image) { width: min(50%, 174px); margin-inline: auto; }
  .ballet-pages-studio .bp-cta .bp-contact-panel { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
.ballet-pages-studio .bp-classes-section .bp-class .bp-richtext { border: 0; padding: 0; color: var(--bp-text); }
.ballet-pages-studio .bp-section .bp-section-notes { border: 0; background: transparent; padding: 16px 0 0; color: var(--bp-text); }

/* Keep the class card's surface and shape stable during pointer interaction. */
.ballet-pages-studio .bp-classes-section .bp-card.bp-class:hover {
  background: var(--bp-natural-paper);
  border-radius: var(--bp-radius-card);
  transform: none;
}
.ballet-pages-studio .bp-classes-section .bp-class > .bp-class-photo,
.ballet-pages-studio .bp-classes-section .bp-class:hover > .bp-class-photo {
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: var(--bp-photo-shape);
  transform: none;
}
.ballet-pages-studio .bp-fee-group::before { content: none; }
.ballet-pages-studio .bp-fee-group > h3 { color: var(--bp-text); margin-bottom: 16px; }
.ballet-pages-studio .bp-fee-list { border-top: 1px solid var(--bp-natural-line); }
@media(max-width:720px) {
 .ballet-pages-studio .bp-studio-nav nav .bp-nav-icon { display: none; }
 .ballet-pages-studio .bp-studio-nav nav a,
 .ballet-pages-studio .bp-studio-nav nav a:hover { padding: 16px 12px; gap: 0; }
 .ballet-pages-studio .bp-studio-nav nav .bp-nav-label { width: 100%; gap: 7px; }
 .ballet-pages-studio .bp-studio-nav nav a.bp-nav-contact { margin-top: 12px; padding: 18px; }
}

/* A quiet tinted masthead and a distinct mobile invitation, without stacked borders. */
@media(max-width:720px) {
 .ballet-pages-studio .bp-studio-nav nav { background: var(--bp-natural-rose); padding-bottom: max(34px, env(safe-area-inset-bottom)); }
 .ballet-pages-studio .bp-studio-nav nav a:has(+ .bp-nav-contact) { border-bottom: 0; }
 .ballet-pages-studio .bp-studio-nav nav a.bp-nav-contact,
 .ballet-pages-studio .bp-studio-nav nav a.bp-nav-contact:hover,
 .ballet-pages-studio .bp-studio-nav nav a.bp-nav-contact:focus-visible {
   position: relative;
   margin: 24px 0 0;
   padding: 20px 52px 20px 24px;
   min-height: 80px;
   border: 0;
   border-radius: 16px;
   background: var(--bp-accent-dark);
   color: var(--bp-on-accent);
   transition: background-color .2s ease;
 }
 .ballet-pages-studio .bp-studio-nav nav a.bp-nav-contact:hover { background: var(--bp-accent); }
 .ballet-pages-studio .bp-studio-nav nav a.bp-nav-contact .bp-nav-label { gap: 8px; }
 .ballet-pages-studio .bp-studio-nav nav a.bp-nav-contact .bp-nav-label > span { font-size: 19px; letter-spacing: .1em; }
 .ballet-pages-studio .bp-studio-nav nav a.bp-nav-contact::after {
   content: "";
   display: block;
   position: absolute;
   right: 24px;
   top: 50%;
   width: 22px;
   height: 22px;
   margin: 0;
   background: currentColor;
   mask: url('../icons/phosphor/envelope.svg') center / contain no-repeat;
   -webkit-mask: url('../icons/phosphor/envelope.svg') center / contain no-repeat;
   transform: translateY(-50%);
 }
}

/* Shared section typography and a single tinted background across the page. */
.ballet-pages-studio .bp-section .bp-section-head :is(h1, h2, p) { color: var(--bp-main); }
.ballet-pages-studio[class*="is-hero-"] .bp-hero { background: var(--bp-natural-rose); }
.ballet-pages-studio .bp-news-text { grid-template-rows: auto; }
.ballet-pages-studio .bp-news-text time { grid-row: 1; text-align: left; }
.ballet-pages-studio .bp-schedule-table th { font-family: var(--bp-body-font); }
.ballet-pages-studio .bp-fee-group > h3 {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--bp-accent-dark); text-align: center; margin-bottom: 22px;
}
.ballet-pages-studio .bp-fee-group > h3::before,
.ballet-pages-studio .bp-fee-group > h3::after {
  content: ""; width: 20px; height: 1px; flex: 0 0 20px; background: var(--bp-main);
}
.ballet-pages-studio .bp-fee-list { border-top: 0; }
@media(max-width:720px) {
 .ballet-pages-studio .bp-news-text time { align-self: flex-start; margin-inline: 0; }
 .ballet-pages-studio .bp-fee-item { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 14px; align-items: baseline; }
 .ballet-pages-studio .bp-fee-item > span { overflow-wrap: anywhere; }
 .ballet-pages-studio .bp-fee-item strong { text-align: right; }
}

/* Prominent fills are the exact chosen colour; contrast is handled by the text. */
.ballet-pages-studio { --bp-accent: var(--bp-main); --bp-on-accent: var(--bp-on-main, #000); }
.ballet-pages-studio .bp-button:not(.bp-button-secondary):not(.bp-button-glass),
.ballet-pages-studio .bp-button:not(.bp-button-secondary):not(.bp-button-glass):hover,
.ballet-pages-studio .bp-studio-nav nav a.bp-nav-contact,
.ballet-pages-studio .bp-studio-nav nav a.bp-nav-contact:hover,
.ballet-pages-studio .bp-studio-nav nav a.bp-nav-contact:focus-visible,
.ballet-pages-studio .bp-cta .bp-contact-card-primary,
.ballet-pages-studio .bp-cta .bp-contact-card-primary:hover {
  background: var(--bp-main);
  border-color: var(--bp-main);
  color: var(--bp-on-main);
}
.ballet-pages-studio .bp-cta .bp-contact-card-primary :is(small, strong, em, .bp-contact-icon) { color: inherit; opacity: 1; }
.ballet-pages-studio .bp-button-secondary:hover,
.ballet-pages-studio .bp-button-secondary:focus-visible,
.ballet-pages-studio[class*="is-hero-"] .bp-hero .bp-button-glass:focus-visible,
.ballet-pages-studio[class*="is-hero-"] .bp-hero .bp-button-glass:hover { background: var(--bp-main); border-color: var(--bp-main); color: var(--bp-on-main); }

/* Optional linework stays behind content, independently of section visibility/order. */
.ballet-pages-studio.is-pattern-botanical { --bp-pattern-image: url('../patterns/botanical.svg'); }
.ballet-pages-studio.is-pattern-floral { --bp-pattern-image: url('../patterns/floral.svg'); }
.ballet-pages-studio:is(.is-pattern-botanical, .is-pattern-floral, .is-pattern-rose, .is-pattern-mimosa, .is-pattern-lace) > :is(.bp-features-section, .bp-price-section, .bp-cta) { position: relative; isolation: isolate; }
.ballet-pages-studio:is(.is-pattern-botanical, .is-pattern-floral, .is-pattern-rose, .is-pattern-mimosa, .is-pattern-lace) > :is(.bp-features-section, .bp-price-section, .bp-cta)::before {
 content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
 width: auto; height: auto; border: 0; border-radius: inherit; transform: none;
 background: var(--bp-main); opacity: .16;
 -webkit-mask: var(--bp-pattern-image) repeat 0 0 / 320px 320px;
 mask: var(--bp-pattern-image) repeat 0 0 / 320px 320px;
}

.ballet-pages-studio.is-pattern-rose { --bp-pattern-image: url('../patterns/rose.svg'); }
.ballet-pages-studio.is-pattern-mimosa { --bp-pattern-image: url('../patterns/mimosa.svg'); }
.ballet-pages-studio.is-pattern-lace { --bp-pattern-image: url('../patterns/lace.svg'); }

/* Ballet silhouettes are decorative heading accents, clear of text and patterns. */
.ballet-pages-studio .bp-intro .bp-section-head { --bp-ballerina: url('../../ballerina1.svg'); }
.ballet-pages-studio .bp-cta .bp-section-head { --bp-ballerina: url('../../ballerina2.svg'); }
.ballet-pages-studio :is(.bp-intro, .bp-cta) .bp-section-head::before {
  content: '';
  display: block;
  position: static;
  order: -1;
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  transform: none;
  background: var(--bp-main);
  opacity: .55;
  pointer-events: none;
  -webkit-mask: var(--bp-ballerina) center / contain no-repeat;
  mask: var(--bp-ballerina) center / contain no-repeat;
}
@media (max-width: 720px) {
  .ballet-pages-studio :is(.bp-intro, .bp-cta) .bp-section-head::before { width: 60px; height: 60px; margin-bottom: 4px; }
}

/* Keep the area outside an arched photo clear, including hover. */
.ballet-pages-studio.is-corner-arch .bp-classes-section .bp-card.bp-class,
.ballet-pages-studio.is-corner-arch .bp-classes-section .bp-card.bp-class:hover { background: transparent; border-radius: 0; }
.ballet-pages-studio.is-corner-arch .bp-classes-section .bp-class-info { background: var(--bp-natural-paper); border-radius: 0; }
