/**
 * POINTE — original Tunai theme for ballet & classical dance academies.
 * "Ivory studio, first position": warm ivory canvas, satin blush accent,
 * graphite ink, pale oak washes. Signature motif — the BARRE LINE: a thin
 * horizontal rule running through every section with small brass dots where
 * it meets content; grand arch frames with double keylines; oversized italic
 * ghost words; blush pointe-ribbon underlines that draw on hover.
 * Playfair Display didone + Jost body. Scoped under .pointe-theme.
 */

.pointe-theme {
  --pe-ivory: #faf7f2;
  --pe-oak: #efe9df;
  --pe-card: #fffdfa;
  --pe-blush: #c98a8e;
  --pe-blush-deep: #a96a70;
  --pe-blush-lift: #e0b3b5;
  --pe-blush-soft: rgba(201, 138, 142, 0.12);
  --pe-blush-line: rgba(201, 138, 142, 0.34);
  --pe-on-blush: #fff8f5;
  --pe-ink: #2e2a2b;
  --pe-ink-soft: #877d80;
  --pe-brass: #b3925c;
  --pe-line: rgba(46, 42, 43, 0.12);
  --pe-line-strong: rgba(46, 42, 43, 0.22);
  --pe-shadow:
    0 1px 2px rgba(46, 42, 43, 0.05),
    0 14px 34px rgba(169, 106, 112, 0.11);
  --fx-accent: var(--pe-blush);
  --fx-spot: rgba(201, 138, 142, 0.1);
  --pe-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --pe-body: Jost, ui-sans-serif, system-ui, sans-serif;

  color-scheme: light;
  background: var(--pe-ivory);
  color: var(--pe-ink);
  font-family: var(--pe-body);
  font-size: 16.5px;
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
  min-height: 100vh;
}

.pointe-theme *,
.pointe-theme *::before,
.pointe-theme *::after {
  box-sizing: border-box;
}

.pointe-theme img {
  max-width: 100%;
  display: block;
}

.pointe-theme a {
  color: inherit;
  text-decoration: none;
}

.pointe-theme ::selection {
  background: var(--pe-blush);
  color: var(--pe-on-blush);
}

.pointe-theme a:focus-visible,
.pointe-theme button:focus-visible {
  outline: 2px solid var(--pe-blush);
  outline-offset: 3px;
  border-radius: 2px;
}

.pe-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Ivory atmosphere: a blush morning window-light pool, an oak floor wash,
   and the faintest paper grain. */
.pointe-theme::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 52% 40% at 86% 4%, rgba(201, 138, 142, 0.08), transparent),
    radial-gradient(ellipse 50% 42% at 6% 92%, rgba(179, 146, 92, 0.06), transparent),
    repeating-linear-gradient(0deg, rgba(46, 42, 43, 0.012) 0 1px, transparent 1px 3px);
}

.pointe-theme > * {
  position: relative;
  z-index: 1;
}

/* ── Ghost words — oversized italic didone whispers behind sections ──────── */
.pe-ghost {
  position: absolute;
  top: 34px;
  right: 2%;
  z-index: 0;
  font-family: var(--pe-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(84px, 15vw, 200px);
  line-height: 1;
  white-space: nowrap;
  color: var(--pe-blush);
  opacity: 0.09;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.pe-ghost--hero {
  top: auto;
  bottom: 4%;
  left: -1%;
  right: auto;
}

.pe-ghost--dark {
  color: var(--pe-ivory);
  opacity: 0.05;
}

/* ── The barre line — Pointe's mark ──────────────────────────────────────── */
/* A thin rule with a small brass dot at each end, like the studio barre. */
.pe-barre {
  position: relative;
  height: 1px;
  margin: 30px 0 46px;
  background: var(--pe-line-strong);
}

.pe-barre::before,
.pe-barre::after {
  content: "";
  position: absolute;
  top: -3.5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pe-brass) 0%, #8f7343 100%);
  box-shadow: 0 0 0 3px var(--pe-ivory);
}

.pe-barre::before {
  left: 0;
}

.pe-barre::after {
  right: 0;
}

.pe-section--oak .pe-barre::before,
.pe-section--oak .pe-barre::after {
  box-shadow: 0 0 0 3px var(--pe-oak);
}

/* ── Eyebrow — letterspaced small caps in blush ──────────────────────────── */
.pe-eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--pe-blush);
}

/* ── Buttons: slim rectangles, blush fill sweep, small-caps labels ───────── */
.pe-btn {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid var(--pe-ink);
  border-radius: 2px;
  background-color: transparent;
  background-image: linear-gradient(var(--pe-blush), var(--pe-blush));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  color: var(--pe-ink);
  font-family: var(--pe-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1.4;
  cursor: pointer;
  transition:
    background-size 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.28s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.pe-btn:hover {
  background-size: 100% 100%;
  border-color: var(--pe-blush);
  color: var(--pe-on-blush);
  transform: translateY(-1px);
}

.pe-btn--solid {
  background-color: var(--pe-ink);
  border-color: var(--pe-ink);
  color: var(--pe-ivory);
}

.pe-btn--solid:hover {
  border-color: var(--pe-blush);
  color: var(--pe-on-blush);
}

/* Ivory outline for the graphite visit band. */
.pe-btn--ivory {
  border-color: var(--pe-ivory);
  color: var(--pe-ivory);
  padding: 17px 44px;
  font-size: 13px;
}

.pe-btn--ivory:hover {
  border-color: var(--pe-blush);
  color: var(--pe-on-blush);
}

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.pe-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 30px;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pe-line);
}

.pe-nav .pe-btn {
  padding: 10px 22px;
}

.pe-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--pe-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.01em;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* A single brass barre-dot as the logogram. */
.pe-logo-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pe-brass) 0%, #8f7343 100%);
  box-shadow: 0 0 0 3px var(--pe-blush-soft);
}

.pe-nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.pe-nav-links a {
  position: relative;
  color: var(--pe-ink-soft);
  padding-bottom: 6px;
  transition: color 0.25s;
}

/* Pointe-ribbon underline draws across on hover. */
.pe-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pe-blush) 0%, var(--pe-blush-lift) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.pe-nav-links a:hover {
  color: var(--pe-ink);
}

.pe-nav-links a:hover::after {
  transform: scaleX(1);
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.pe-hero {
  position: relative;
  padding: 100px 0 96px;
}

.pe-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.pe-hero-copy {
  max-width: 56ch;
}

/* The barre line passes behind the headline, dotted where it meets the type. */
.pe-hero-title {
  position: relative;
}

.pe-hero-title::before {
  content: "";
  position: absolute;
  left: -50vw;
  right: -50vw;
  top: 56%;
  height: 1px;
  background: var(--pe-line-strong);
}

.pe-hero-title::after {
  content: "";
  position: absolute;
  left: -22px;
  top: 56%;
  width: 8px;
  height: 8px;
  margin-top: -3.5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pe-brass) 0%, #8f7343 100%);
}

.pe-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 24px;
  font-family: var(--pe-display);
  font-weight: 500;
  font-size: calc(clamp(50px, 6.6vw, 100px) * var(--tx-scale, 1));
  line-height: 1.04;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.pe-hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--pe-blush);
}

.pe-hero-motto {
  margin: 0 0 40px;
  max-width: 44ch;
  color: var(--pe-ink-soft);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.85;
}

.pe-hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero art: a grand arch frame with a double keyline and brass dots. */
.pe-hero-art {
  position: relative;
  width: min(100%, 430px);
  margin-left: auto;
}

.pe-hero-arch {
  position: relative;
  aspect-ratio: 0.76;
  border: 1px solid var(--pe-line-strong);
  border-radius: 999px 999px 16px 16px;
  padding: 12px;
  background: var(--pe-card);
  box-shadow: var(--pe-shadow);
}

/* Inner keyline — the second line of the double frame. */
.pe-hero-arch::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--pe-blush-line);
  border-radius: 999px 999px 12px 12px;
  pointer-events: none;
  z-index: 2;
}

.pe-hero-arch-in {
  position: absolute;
  inset: 12px;
  overflow: hidden;
  border-radius: 999px 999px 8px 8px;
}

.pe-hero-arch-in img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Brass dots at the arch's spring points (where the curve meets the sides:
   the top radius equals half the width, and width/height = 0.76 → 38%). */
.pe-arch-dot {
  position: absolute;
  top: 38%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pe-brass) 0%, #8f7343 100%);
  z-index: 3;
}

.pe-arch-dot--l {
  left: -4px;
}

.pe-arch-dot--r {
  right: -4px;
}

/* ── Sections ────────────────────────────────────────────────────────────── */
.pe-section {
  position: relative;
  padding: 108px 0;
}

.pe-section--oak {
  background: var(--pe-oak);
  border-block: 1px solid var(--pe-line);
}

.pe-section .pe-wrap {
  position: relative;
  z-index: 1;
}

.pe-sec-head {
  max-width: 62ch;
}

.pe-sec-head h2 {
  margin: 0;
  font-family: var(--pe-display);
  font-weight: 500;
  font-size: clamp(34px, 4.3vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.005em;
}

.pe-sec-head h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--pe-blush);
}

/* ── Services — the syllabus: hairline rows under the barre ──────────────── */
.pe-syllabus {
  display: flex;
  flex-direction: column;
}

.pe-row {
  display: flex;
  align-items: baseline;
  gap: 26px;
  padding: 24px 18px;
  border-bottom: 1px solid var(--pe-line);
  border-radius: 4px;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.pe-row:hover {
  transform: translateY(-2px);
  background-color: var(--pe-card);
  box-shadow: var(--pe-shadow);
}

.pe-row-main {
  min-width: 0;
}

.pe-row-name {
  display: inline-block;
  font-family: var(--pe-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

/* The pointe-shoe ribbon draws under the name. */
.pe-row-name::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 5px;
  background: linear-gradient(90deg, var(--pe-blush) 0%, var(--pe-blush-lift) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.pe-row:hover .pe-row-name::after {
  transform: scaleX(1);
}

.pe-row-meta {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pe-ink-soft);
}

.pe-row-tail {
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
}

.pe-row-price {
  display: block;
  font-family: var(--pe-display);
  font-weight: 500;
  font-style: italic;
  font-size: 20px;
  color: var(--pe-blush-deep);
}

.pe-row-book {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pe-blush);
  opacity: 0;
  translate: -6px 0;
  transition: opacity 0.28s, translate 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.pe-row:hover .pe-row-book {
  opacity: 1;
  translate: 0 0;
}

/* ── Classes — the timetable ─────────────────────────────────────────────── */
.pe-classes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 22px;
}

.pe-class {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px 26px;
  background: var(--pe-card);
  border: 1px solid var(--pe-line);
  border-radius: 6px;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s,
    box-shadow 0.3s;
}

.pe-class:hover {
  transform: translateY(-4px);
  border-color: var(--pe-blush-line);
  box-shadow: var(--pe-shadow);
}

/* The date block: a miniature arch echoing the hero frame. */
.pe-class-cal {
  flex: 0 0 auto;
  width: 62px;
  padding: 14px 0 9px;
  border: 1px solid var(--pe-line-strong);
  border-radius: 999px 999px 8px 8px;
  background: var(--pe-oak);
  text-align: center;
}

.pe-class-cal b {
  display: block;
  font-family: var(--pe-display);
  font-weight: 600;
  font-size: 25px;
  line-height: 1.05;
  color: var(--pe-ink);
}

.pe-class-cal span {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pe-blush-deep);
}

.pe-class-body {
  min-width: 0;
}

.pe-class-title {
  display: block;
  font-family: var(--pe-display);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.pe-class-meta {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pe-ink-soft);
}

.pe-class-tail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 9px;
}

.pe-class-seats {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pe-blush-deep);
}

/* Fully booked — crossed out gracefully with a blush strike. */
.pe-class-seats.is-full {
  color: var(--pe-ink-soft);
  text-decoration: line-through;
  text-decoration-color: var(--pe-blush);
  text-decoration-thickness: 1.5px;
}

.pe-class-book {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pe-blush);
  opacity: 0;
  translate: -6px 0;
  transition: opacity 0.28s, translate 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.pe-class:hover .pe-class-book {
  opacity: 1;
  translate: 0 0;
}

/* ── Gallery — tall oval-ended arcs alternating with squares ─────────────── */
.pe-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
  align-items: start;
}

.pe-ph {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--pe-line-strong);
  box-shadow: var(--pe-shadow);
  background: var(--pe-card);
}

/* Rehearsal photos in full colour; stage light lifts them on hover.
   (Curtain wipe owns ::before and the keyline owns ::after, so the hover
   glow rides the img filter instead of a sheen sweep.) */
.pe-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.05) saturate(1.02);
  transition:
    filter 0.5s ease,
    scale 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.pe-ph:hover img {
  filter: sepia(0.05) saturate(1.1) brightness(1.06);
  scale: 1.05;
}

/* Inner ivory keyline floating over the photo. */
.pe-ph::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(250, 247, 242, 0.55);
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
}

/* Full oval-ended arcs (stadium frames) alternating with soft squares. */
.pe-ph:nth-child(3n + 1) {
  aspect-ratio: 0.68;
  border-radius: 999px;
}

.pe-ph:nth-child(3n + 2) {
  aspect-ratio: 0.9;
  margin-top: 46px;
  border-radius: 10px;
}

.pe-ph:nth-child(3n) {
  aspect-ratio: 0.74;
  margin-top: 20px;
  border-radius: 999px;
}

/* ── Team — instructors: oval portraits, graphite ring, ribbon on hover ──── */
.pe-team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 46px 28px;
}

.pe-member {
  text-align: center;
}

/* Oval portrait in a thin graphite ring with an ivory gap. */
.pe-member-ring {
  display: block;
  position: relative;
  overflow: hidden;
  width: 152px;
  aspect-ratio: 0.8;
  margin: 0 auto 20px;
  padding: 8px;
  border: 1px solid var(--pe-line-strong);
  border-radius: 999px;
  background: var(--pe-card);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.pe-member:hover .pe-member-ring {
  border-color: var(--pe-blush);
  box-shadow: var(--pe-shadow);
}

.pe-member-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
  filter: sepia(0.05) saturate(1.02);
  transition: scale 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.pe-member:hover .pe-member-ring img {
  scale: 1.05;
}

/* The same ribbon of light crosses the portrait ring. */
.pe-member-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.25) 50%, transparent 60%);
  transform: translateX(-130%);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.pe-member:hover .pe-member-ring::after {
  transform: translateX(130%);
}

.pe-member-name {
  display: inline-block;
  margin: 0 0 4px;
  font-family: var(--pe-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

/* Blush ribbon underline draws beneath the name on hover. */
.pe-member-name::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 4px;
  background: linear-gradient(90deg, var(--pe-blush) 0%, var(--pe-blush-lift) 100%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.pe-member:hover .pe-member-name::after {
  transform: scaleX(1);
}

.pe-member-title {
  margin: 0;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pe-ink-soft);
}

/* ── Visit — graphite curtain-call band ──────────────────────────────────── */
.pe-visit {
  position: relative;
  overflow: hidden;
  background: var(--pe-ink);
  color: var(--pe-ivory);
  padding: 116px 0;
}

.pe-visit .pe-eyebrow {
  color: var(--pe-blush-lift);
}

.pe-visit-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: center;
}

.pe-visit h2 {
  margin: 0 0 26px;
  font-family: var(--pe-display);
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.1;
}

.pe-visit h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--pe-blush-lift);
}

.pe-visit-info p {
  margin: 0 0 8px;
  color: rgba(250, 247, 242, 0.76);
  max-width: 58ch;
}

.pe-visit-info a {
  color: var(--pe-ivory);
  border-bottom: 1px solid rgba(250, 247, 242, 0.4);
  transition: border-color 0.25s, color 0.25s;
}

.pe-visit-info a:hover {
  color: var(--pe-blush-lift);
  border-bottom-color: var(--pe-blush-lift);
}

.pe-visit-cta {
  justify-self: end;
}

.pe-outlets {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  font-size: 14px;
}

.pe-outlets li {
  margin-bottom: 6px;
}

.pe-outlets a {
  color: rgba(250, 247, 242, 0.6);
  transition: color 0.25s;
}

.pe-outlets a:hover {
  color: var(--pe-ivory);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.pe-footer {
  padding: 34px 0 44px;
  color: var(--pe-ink-soft);
  font-size: 13.5px;
  border-top: 1px solid var(--pe-line);
}

.pe-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.pe-footer a {
  transition: color 0.25s;
}

.pe-footer a:hover {
  color: var(--pe-blush-deep);
}

.pe-footer-social {
  display: flex;
  gap: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* View-all control (shared ThemeGallery / ThemeTeam) — small-caps poise. */
.pointe-theme .theme-view-more {
  color: var(--pe-ink);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
}

.pointe-theme .theme-view-more:hover {
  color: var(--pe-blush-deep);
}

/* ── Mobile booking bar ──────────────────────────────────────────────────── */
.pe-mobile-bar {
  display: none;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pe-hero-grid {
    gap: 44px;
  }

  .pe-hero-art {
    width: min(100%, 380px);
  }
}

@media (max-width: 860px) {
  .pe-nav-links,
  .pe-nav > .pe-btn {
    display: none;
  }

  .pe-hero {
    padding: 56px 0 64px;
  }

  .pe-hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .pe-hero-copy {
    max-width: none;
  }

  .pe-hero-art {
    margin: 0 auto;
    width: min(100%, 360px);
  }

  .pe-section {
    padding: 78px 0;
  }

  .pe-barre {
    margin: 26px 0 40px;
  }

  .pe-gallery {
    gap: 26px 20px;
  }

  .pe-visit {
    padding: 88px 0;
  }

  .pe-visit-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .pe-visit-cta {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .pe-mobile-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    justify-content: center;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(250, 247, 242, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--pe-line);
  }

  .pe-mobile-bar .pe-btn {
    width: 100%;
    text-align: center;
  }

  .pe-footer {
    padding-bottom: 118px;
  }
}

@media (max-width: 640px) {
  .pointe-theme {
    font-size: 16px;
  }

  .pe-wrap {
    padding: 0 20px;
  }

  .pe-hero h1 {
    font-size: calc(clamp(40px, 12vw, 56px) * var(--tx-scale, 1));
  }

  .pe-hero-title::after {
    left: -14px;
  }

  .pe-ghost {
    opacity: 0.07;
  }

  .pe-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 20px 12px;
  }

  .pe-row-name {
    font-size: 21px;
  }

  .pe-row-tail {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-left: 0;
    text-align: left;
  }

  .pe-row-book {
    display: none;
  }

  .pe-classes {
    grid-template-columns: 1fr;
  }

  .pe-class {
    gap: 18px;
    padding: 20px;
  }

  .pe-class-book {
    display: none;
  }

  .pe-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 14px;
  }

  .pe-ph:nth-child(3n + 1) {
    aspect-ratio: 0.72;
  }

  .pe-ph:nth-child(3n + 2) {
    margin-top: 26px;
  }

  .pe-ph:nth-child(3n) {
    margin-top: 0;
  }

  .pe-ph::after {
    inset: 6px;
  }

  .pe-team {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 38px 18px;
  }

  .pe-member-ring {
    width: 124px;
  }

  .pe-member-name {
    font-size: 19px;
  }
}

/* Long unspaced shop names: a calmer scale so a forced mid-word break can
   never strand one or two characters on the last line. (After the media
   blocks so it also caps the mobile size.) */
.pe-hero h1.pe-h1--compact {
  font-size: calc(clamp(40px, 5vw, 72px) * var(--tx-scale, 1));
}

/* Specificity guard: `.pointe-theme a` outranks `.pe-btn`; re-state colours. */
.pointe-theme .pe-btn {
  color: var(--pe-ink);
}

.pointe-theme .pe-btn:hover {
  color: var(--pe-on-blush);
}

.pointe-theme .pe-btn--solid {
  color: var(--pe-ivory);
}

.pointe-theme .pe-btn--solid:hover {
  color: var(--pe-on-blush);
}

.pointe-theme .pe-btn--ivory {
  color: var(--pe-ivory);
}

.pointe-theme .pe-btn--ivory:hover {
  color: var(--pe-on-blush);
}

/* ── Motion ──────────────────────────────────────────────────────────────── */

/* Scroll reveal (ThemeFX): a poised rise — soft lift, gentle settle. */
.tfx .pointe-theme [data-reveal] {
  opacity: 0;
  translate: 0 24px;
  transition:
    opacity 0.85s ease,
    translate 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.tfx .pointe-theme [data-reveal].is-in {
  opacity: 1;
  translate: 0 0;
}

/* The barre draws itself in from the left as it enters. */
.tfx .pointe-theme .pe-barre[data-reveal] {
  translate: 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition:
    opacity 0.7s ease,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.tfx .pointe-theme .pe-barre[data-reveal].is-in {
  transform: scaleX(1);
}

/* Hero enters like a curtain rise: copy drifts up, the arch settles. */
.pointe-theme .pe-hero-copy > * {
  animation: pe-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.pointe-theme .pe-hero-copy > *:nth-child(2) {
  animation-delay: 0.08s;
}

.pointe-theme .pe-hero-copy > *:nth-child(3) {
  animation-delay: 0.18s;
}

.pointe-theme .pe-hero-copy > *:nth-child(4) {
  animation-delay: 0.28s;
}

.pointe-theme .pe-hero-arch {
  animation: pe-settle 1.1s cubic-bezier(0.22, 1, 0.36, 1) backwards 0.15s;
}

@keyframes pe-rise {
  from {
    opacity: 0;
    translate: 0 26px;
  }
}

@keyframes pe-settle {
  from {
    opacity: 0;
    translate: 0 18px;
    scale: 0.97;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pointe-theme .pe-hero-copy > *,
  .pointe-theme .pe-hero-arch {
    animation: none;
  }

  .tfx .pointe-theme [data-reveal],
  .tfx .pointe-theme .pe-barre[data-reveal] {
    opacity: 1;
    translate: 0 0;
    transform: none;
    transition: none;
  }
}
