/* Crimson Elite Cheer & Athletics — microsite theme. Loaded only on its page,
   on top of site.css (shared reset, spacing scale, buttons, lightbox). */

body.ce {
  /* Same palette as the rest of the site (site.css :root); only the names differ. */
  --ce-crimson: var(--coral-dark);
  --ce-crimson-dark: var(--coral-darker);
  --ce-crimson-deep: #4a0812;
  --ce-black: var(--night);
  --ce-ink: var(--ink);
  --ce-silver: #c9ccd1;
  --ce-mist: var(--blush);
  --ce-line: var(--line);
  background: var(--white);
  color: var(--ce-ink);
}
body.ce h1,
body.ce h2,
body.ce h3 {
  color: var(--ce-ink);
}

/* athletic display type */
.ce h1,
.ce h2,
.ce-wm-main,
.ce-age,
.ce-eyebrow,
.ce-kicker {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-style: italic;
}
/* Same slanted underline as section titles across the site. */
.ce-section h2::after {
  content: '';
  display: block;
  width: 44px;
  height: 4px;
  margin-top: 10px;
  background: var(--coral);
  transform: skewX(-20deg);
}
.ce h2 {
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.8rem);
  margin-bottom: var(--s-4);
}
.ce-eyebrow {
  display: inline-block;
  margin: 0 0 var(--s-2);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--ce-crimson);
}
.ce-intro {
  max-width: 640px;
  margin-bottom: var(--s-6);
  font-size: 1.1rem;
  color: #514b52;
}

/* buttons */
.ce-btn {
  background: var(--ce-crimson);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  border-radius: var(--r-ctrl);
}
.ce-btn:hover {
  background: var(--ce-crimson-dark);
  color: #fff;
}
.ce-btn-ghost {
  background: transparent;
  color: var(--ce-ink);
  border: 2px solid currentColor;
  border-radius: var(--r-ctrl);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
}
.ce-btn-ghost:hover {
  background: var(--ce-ink);
  color: #fff;
  border-color: var(--ce-ink);
}

/* ---------- hero ---------- */
.ce-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center; /* headline sits in the vertical middle */
  min-height: min(78vh, 720px);
  padding: var(--s-9) 0 var(--s-8);
  background:
    linear-gradient(115deg, transparent 0 55%, rgb(255 255 255 / 4%) 55% 62%, transparent 62%),
    radial-gradient(120% 90% at 85% 10%, var(--ce-crimson) 0%, var(--ce-crimson-dark) 40%, var(--ce-black) 85%);
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), 0 100%);
}
.ce-hero.has-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgb(15 13 14 / 20%) 0%, rgb(15 13 14 / 55%) 45%, rgb(74 8 18 / 92%) 100%);
}
.ce-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ce-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--s-6);
  align-items: center;
  width: 100%;
}
@media (min-width: 900px) {
  .ce-hero.has-collage .ce-hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: var(--s-7);
  }
  /* Beside the photos the headline scales with its column and never splits a word. */
  body.ce .ce-hero.has-collage h1 {
    font-size: clamp(2.4rem, 0.6rem + 3.6vw, 4.4rem);
  }
}
body.ce .ce-hero h1 {
  overflow-wrap: normal;
}
.ce-hero-inner {
  position: relative;
  z-index: 2;
  min-width: 0;
}
.ce-hero-collage {
  height: clamp(240px, 56vw, 480px);
}
@media (max-width: 899px) {
  .ce-hero-collage {
    order: -1;
  }
}
.ce-kicker {
  display: inline-block;
  margin: 0 0 var(--s-4);
  padding: 6px 12px;
  background: var(--ce-crimson);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  transform: skewX(-10deg);
}
body.ce .ce-hero h1 {
  max-width: 14ch;
  margin-bottom: var(--s-4);
  color: #fff;
  font-weight: 900;
  font-size: clamp(2.5rem, 1.6rem + 4.4vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.015em;
}
.ce-hero-text {
  max-width: 560px;
  margin-bottom: var(--s-6);
  font-size: 1.15rem;
  color: #f1e6e8;
}
.ce-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}
.ce-hero .ce-btn-ghost {
  color: #fff;
}
.ce-hero .ce-btn-ghost:hover {
  background: #fff;
  color: var(--ce-ink);
  border-color: #fff;
}
@media (max-width: 639px) {
  .ce-hero {
    min-height: 0;
    padding: var(--s-8) 0 var(--s-8);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), 0 100%);
  }
  .ce-hero-actions .btn {
    flex: 1 1 100%;
  }
}

/* ---------- sections ---------- */
.ce-section {
  padding: var(--section-y) 0;
  scroll-margin-top: 130px;
}
.ce-section:nth-of-type(even) {
  background: var(--ce-mist);
}

/* about */
.ce-about-grid {
  display: grid;
  gap: var(--s-7);
  align-items: start;
}
@media (min-width: 900px) {
  .ce-about-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--s-8);
  }
}
.ce-about .prose {
  font-size: 1.08rem;
}
.ce-connection {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
  margin-top: var(--s-5);
  padding: var(--s-4) var(--s-5);
  border-left: 4px solid var(--ce-crimson);
  background: var(--ce-mist);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.ce-connection img {
  flex: none;
  width: 48px;
  height: 48px;
}
.ce-connection p {
  margin: 0;
  font-size: 0.98rem;
  color: #4b454c;
}
.ce-coach {
  overflow: hidden;
  background: var(--ce-black);
  color: #e9e3e6;
  border-radius: var(--radius);
}
.ce-coach-photo {
  aspect-ratio: 4 / 3;
  background: var(--ce-crimson-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ce-coach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ce-coach-photo span {
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 900;
  color: rgb(255 255 255 / 70%);
}
.ce-coach-body {
  padding: var(--s-5);
}
.ce-coach h3 {
  font-size: 1.4rem;
}
.ce-coach .ce-eyebrow {
  color: #ff8a9b;
}
.ce-coach .prose {
  color: #d8d0d4;
}

/* programs */
.ce-program-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-5);
}
@media (min-width: 700px) {
  .ce-program-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .ce-program-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.ce-program {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--ce-line);
  border-top: 5px solid var(--ce-crimson);
  border-radius: var(--radius);
}
.ce-program-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.ce-program-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ce-program-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--s-5);
}
.ce-age {
  align-self: flex-start;
  margin-bottom: var(--s-3);
  padding: 3px 10px;
  background: var(--ce-ink);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  transform: skewX(-10deg);
}
.ce-program h3 {
  font-size: 1.3rem;
  font-weight: 800;
}
.ce-program p {
  color: #514b52;
}
.ce-program-more {
  font-size: 0.98rem;
  color: #514b52;
}
.ce-program-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: auto;
  padding-top: var(--s-4);
}
.ce-program-actions .btn {
  flex: 1 1 auto;
}

/* schedule */
.ce-sched-list {
  display: grid;
  gap: var(--s-5);
}
.ce-sched {
  padding: var(--s-5);
  background: var(--white);
  border: 1px solid var(--ce-line);
  border-radius: var(--radius);
}
.ce-sched-head h3 {
  font-size: 1.25rem;
  margin-bottom: var(--s-1);
}
.ce-sched-head p {
  color: #514b52;
}
.ce-days {
  display: grid;
  gap: var(--s-4);
  margin-top: var(--s-4);
}
@media (min-width: 768px) {
  .ce-days {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}
.ce-day h4 {
  margin: 0 0 var(--s-2);
  padding-bottom: var(--s-2);
  border-bottom: 2px solid var(--ce-crimson);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}
.ce-day ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ce-day li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: var(--s-3);
  padding: var(--s-2) 0;
  border-bottom: 1px solid var(--ce-line);
}
.ce-day em {
  display: block;
  font-style: normal;
  font-size: 0.92rem;
  color: #6b646c;
}
.ce-time {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ce-crimson);
}
.ce-sched-img {
  display: block;
  margin-top: var(--s-4);
}
.ce-sched-img img {
  border-radius: var(--r-ctrl);
  border: 1px solid var(--ce-line);
}
.ce-sched-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-4);
}

/* register */
.ce-register {
  background: linear-gradient(135deg, var(--ce-crimson-dark), var(--ce-black)) !important;
  color: #f1e6e8;
  clip-path: polygon(0 32px, 100% 0, 100% 100%, 0 100%);
  padding-top: calc(var(--section-y) + 32px);
}
body.ce .ce-register h2,
body.ce .ce-register h3,
body.ce .ce-coach h3 {
  color: #fff;
}
.ce-register .ce-eyebrow {
  color: #ff8a9b;
}
.ce-register .ce-intro {
  color: #e6d6d9;
}
.ce-reg-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-4);
}
@media (min-width: 800px) {
  .ce-reg-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ce-reg {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-5);
  background: rgb(255 255 255 / 7%);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: var(--radius);
}
.ce-reg > * {
  margin: 0;
}
.ce-reg-top {
  display: flex;
  justify-content: space-between;
  gap: var(--s-3);
  align-items: flex-start;
}
.ce-reg-top h3 {
  margin: 0;
}
.ce-reg .btn {
  align-self: flex-start;
}
.ce-reg-dates,
.ce-reg-note {
  color: #e6d6d9;
}
.ce-reg-empty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-5);
  background: rgb(255 255 255 / 7%);
  border-radius: var(--radius);
}
.ce-reg-empty p {
  margin: 0;
  flex: 1 1 280px;
}
.ce-reg-admin {
  margin: var(--s-5) 0 0;
  font-size: 0.9rem;
  color: #cdbcc0;
}

/* contact */
.ce-contact-grid {
  display: grid;
  gap: var(--s-4);
}
@media (min-width: 800px) {
  .ce-contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ce-contact-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-5);
  background: var(--white);
  border: 1px solid var(--ce-line);
  border-radius: var(--radius);
}
.ce-contact-card h3 {
  margin: 0;
}
.ce-contact-card .muted {
  margin: 0 0 var(--s-2);
}
.ce-contact-line {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 40px;
  color: var(--ce-ink);
  text-decoration: none;
  font-weight: 700;
  overflow-wrap: anywhere;
}
a.ce-contact-line:hover {
  color: var(--ce-crimson);
}
.ce-contact-line .icon {
  color: var(--ce-crimson);
}

/* ---------- tabs under the main header (like Dance / Gymnastics / Music, in Crimson colours) ---------- */
.program-tabs.is-crimson {
  background: var(--ce-black);
  border-bottom: 3px solid var(--ce-crimson);
}
.program-tabs.is-crimson a {
  border: 1px solid rgb(255 255 255 / 14%);
  background: rgb(255 255 255 / 6%);
  color: #fff;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.82rem;
}
.program-tabs.is-crimson a {
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.program-tabs.is-crimson a:hover {
  background: rgb(255 255 255 / 14%);
}
.program-tabs.is-crimson a[aria-current='page'] {
  border-color: var(--ce-crimson);
  background: var(--ce-crimson);
}
.program-tabs.is-crimson .tabs-label {
  display: none;
}
/* The hidden label is the first item, so the odd-one-out tab is an even child here. */
@media (max-width: 899px) {
  .program-tabs.is-crimson li:last-child:nth-child(odd) {
    grid-column: auto;
  }
  .program-tabs.is-crimson li:last-child:nth-child(even) {
    grid-column: 1 / -1;
  }
}
@media (min-width: 900px) {
  .program-tabs.is-crimson .tabs-label {
    display: inline-flex;
    align-items: center;
    margin-right: var(--s-3);
    font-family: var(--font-head);
    font-style: italic;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    white-space: nowrap;
  }
}

/* Follow buttons (Instagram / Facebook) in Register and Contact. */
.ce-follow {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.ce-follow .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: 0;
}
.ce-follow svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.ce-btn-outline {
  background: transparent;
  border: 2px solid currentColor;
}
.ce-btn-outline:hover {
  background: rgb(255 255 255 / 12%);
}

/* Angled edges never show the plain page behind them: the section next to an angle slides
   underneath it, so its own colour fills the wedge. */
.ce-hero {
  z-index: 2;
}
.ce-hero + .ce-section {
  position: relative;
  z-index: 1;
  margin-top: -48px;
  padding-top: calc(var(--section-y) + 48px);
}
.ce-register {
  position: relative;
  z-index: 2;
  margin-top: -32px;
}
.ce-section:has(+ .ce-register) {
  padding-bottom: calc(var(--section-y) + 32px);
}
@media (max-width: 639px) {
  .ce-hero + .ce-section {
    margin-top: -24px;
    padding-top: calc(var(--section-y) + 24px);
  }
}
.ce-day .ce-note {
  display: block;
  margin-top: 4px;
  color: var(--ce-muted, #6b6266);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Tuition card inside the dark Register section: dark text on the white card. */
.ce-register .price-card {
  color: var(--ink, #1d1a1b);
  margin-top: var(--s-5);
}
body.ce .ce-register .price-card h3,
.ce-register .price-card th,
.ce-register .price-card caption,
.ce-register .price-card td {
  color: var(--ink, #1d1a1b);
}
.ce-register .price-card caption {
  color: var(--ink-2, #4b4346);
}

/* The brick wall banner, edge to edge above the headline. */
.ce-banner {
  background: #0d0b0c;
  line-height: 0;
}
.ce-banner img {
  display: block;
  width: 100%;
  max-width: 1600px;
  height: auto;
  margin: 0 auto;
}

/* Program cards: two across, so four make an even 2 x 2 (three or six still sit three across). */
@media (min-width: 1100px) {
  .ce-program-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ce-program-grid:has(> li:nth-child(3):last-child),
  .ce-program-grid:has(> li:nth-child(6):last-child) {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Crimson page, tidied ---------- */
/* Banner: edge to edge at every size. */
.ce-banner img {
  max-width: none;
}
/* With the banner on top, the headline area is shorter. */
.ce-banner + .ce-hero {
  min-height: 0;
  padding: var(--s-7) 0 var(--s-8);
}
.ce-banner + .ce-hero .ce-hero-collage {
  height: clamp(220px, 40vw, 380px);
}
body.ce .ce-banner + .ce-hero h1 {
  font-size: clamp(2.1rem, 1.2rem + 3vw, 3.6rem);
}
body.ce .ce-section {
  padding: clamp(56px, 6vw, 88px) 0;
}
/* About: the text, and the facility as a card beside it. */
.ce-facility {
  padding: var(--s-5);
  border-radius: var(--radius);
  background: var(--ce-black);
  color: #f1e6e8;
}
.ce-facility h3 {
  margin: 4px 0 var(--s-4);
  color: #fff;
  font-size: 1.3rem;
}
.ce-facility .ce-eyebrow {
  color: #ff8a9b;
}
.ce-facility ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ce-facility li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 1rem;
}
.ce-facility .icon {
  flex: none;
  margin-top: 3px;
  color: #ff8a9b;
}
@media (min-width: 900px) {
  .ce-facility {
    position: sticky;
    top: 160px;
  }
}
/* Meet the team: two people side by side, photo beside the words. */
.ce-team {
  margin-top: var(--s-7);
}
body.ce .ce-team-h {
  margin: 0 0 var(--s-5);
}
.ce-team-grid {
  display: grid;
  gap: var(--s-5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.ce-team-grid .ce-coach {
  display: grid;
  grid-template-columns: 1fr;
}
.ce-team-grid .ce-coach-photo {
  aspect-ratio: 1;
  max-height: 320px;
}
.ce-team-grid .ce-coach-photo img {
  object-position: center 25%;
}
@media (min-width: 640px) {
  .ce-team-grid .ce-coach {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .ce-team-grid .ce-coach-photo {
    aspect-ratio: auto;
    max-height: none;
    height: 100%;
  }
}
@media (min-width: 1000px) {
  .ce-team-grid.n-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===================== Crimson page, owner's layout (dark, one idea per section) ===================== */
.cx-hero,
.cx-section {
  background: #0b0a0b;
  color: #e9e3e6;
}
.cx-alt {
  background: #141114;
}
.cx-glow {
  background: radial-gradient(90% 70% at 50% 0%, rgb(160 20 40 / 35%), transparent 70%), #0b0a0b;
  border-top: 1px solid rgb(225 29 72 / 35%);
}
.cx-hero {
  padding: var(--s-7) 0 var(--s-8);
  border-bottom: 3px solid var(--ce-crimson);
}
.cx-section {
  padding: clamp(56px, 7vw, 96px) 0;
  scroll-margin-top: 130px;
}
.cx-center {
  max-width: 820px;
  text-align: center;
}
body.ce .cx-hero h1 {
  max-width: none;
  margin: 0 0 var(--s-3);
  color: #fff;
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem);
  line-height: 1.05;
  text-shadow: 0 0 24px rgb(225 29 72 / 45%);
}
.cx-lead {
  margin: 0 auto var(--s-5);
  max-width: 640px;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}
.cx-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.cx-btn-dark {
  border: 1px solid rgb(255 255 255 / 35%);
  background: #1b181b;
  color: #fff;
}
.cx-btn-dark:hover {
  border-color: #fff;
  color: #fff;
}
.cx-eyebrow {
  margin: 0 0 var(--s-2);
  color: #ff5a73;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
body.ce .cx-section h2 {
  margin: 0 0 var(--s-4);
  color: #fff;
  font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.6rem);
}
body.ce .cx-section h2::after {
  content: '';
  display: block;
  width: 110px;
  height: 4px;
  margin: var(--s-3) auto 0;
  background: var(--ce-crimson);
}
.cx-text,
.cx-text p {
  margin: 0 auto;
  max-width: 720px;
  color: #cfc6ca;
  font-size: 1.06rem;
  line-height: 1.75;
}
.cx-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: var(--s-5) 0 0;
  padding: 0;
  list-style: none;
}
.cx-chips li {
  padding: 6px 12px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 999px;
  font-size: 0.9rem;
}
/* training level cards */
.cx-levels {
  display: grid;
  gap: var(--s-5);
  margin: var(--s-6) 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 760px) {
  .cx-levels {
    grid-template-columns: 1fr 1fr;
  }
}
.cx-level {
  overflow: hidden;
  border: 2px solid #c9c4c7;
  border-radius: 16px;
  background: #050405;
  box-shadow: 0 12px 30px rgb(0 0 0 / 40%);
}
.cx-level-head {
  text-align: center;
  background: radial-gradient(70% 140% at 50% 0%, #ef2b4b, #8d0d20);
}
body.ce .cx-level-head h3 {
  margin: 0;
  padding: 14px 12px;
  color: #fff;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem);
  font-style: italic;
  text-transform: uppercase;
}
.cx-level-head p {
  margin: 0;
  padding: 8px;
  background: linear-gradient(180deg, #f1f1f2, #b9b9bd);
  color: #111;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cx-level-body {
  padding: var(--s-4) var(--s-5) var(--s-5);
}
.cx-level-when {
  display: grid;
  margin: 0 0 var(--s-3);
  padding-bottom: var(--s-3);
  border-bottom: 2px solid var(--ce-crimson);
  text-align: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
}
.cx-level-when strong {
  color: #ff4d68;
  font-size: 1.15rem;
}
.cx-skills h4 {
  margin: var(--s-3) 0 6px;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cx-skills ul {
  margin: 0;
  padding-left: 1.2em;
  color: #e4dde1;
}
.cx-skills li {
  margin: 3px 0;
}
.cx-prereq {
  margin: var(--s-3) 0 0;
  color: #a79ea3;
  font-size: 0.88rem;
  font-style: italic;
}
/* price tiles */
.cx-prices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: var(--s-6) 0 0;
  padding: 0;
  list-style: none;
}
.cx-prices li {
  display: grid;
  min-width: 220px;
  padding: 14px 22px;
  border: 1px solid #ff4d68;
  border-radius: 12px;
  background: linear-gradient(135deg, #6e0716, #b3122f);
  color: #fff;
  text-align: center;
}
.cx-prices span {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cx-prices strong {
  font-family: var(--font-head);
  font-size: 2rem;
  line-height: 1.1;
}
.cx-note {
  margin: var(--s-5) auto 0;
  max-width: 760px;
  color: #b9b0b4;
  font-style: italic;
  text-align: center;
}
/* sessions */
.cx-sessions {
  display: grid;
  gap: var(--s-4);
  max-width: 860px;
  margin: var(--s-6) auto 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 700px) {
  .cx-sessions {
    grid-template-columns: 1fr 1fr;
  }
}
.cx-sessions li {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 3px solid var(--ce-crimson);
  border-radius: 14px;
  background: #f4f3f4;
  color: #1a1a1a;
  text-align: center;
}
.cx-sessions span {
  color: var(--ce-crimson);
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
}
.cx-sessions strong {
  font-size: 1.1rem;
}
/* leadership */
.cx-team {
  display: grid;
  gap: var(--s-5);
  max-width: 900px;
  margin: var(--s-6) auto 0;
  padding: 0;
  list-style: none;
}
.cx-team.n-1 {
  max-width: 820px;
}
.cx-person {
  overflow: hidden;
  border: 1px solid rgb(225 29 72 / 35%);
  border-radius: 16px;
  background: #1a171a;
}
@media (min-width: 760px) {
  .cx-team.n-2 {
    grid-template-columns: 1fr 1fr;
  }
  .cx-team.n-3 {
    grid-template-columns: 1fr 1fr;
  }
  .cx-team.n-1 .cx-person {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
  }
}
@media (min-width: 1000px) {
  .cx-team.n-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
  }
}
.cx-person-photo {
  aspect-ratio: 4 / 5;
  background: #2a0d14;
}
.cx-person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.cx-person-photo span {
  display: grid;
  place-items: center;
  height: 100%;
  color: #fff;
  font-size: 4rem;
  font-weight: 900;
}
.cx-person-body {
  padding: var(--s-5);
}
body.ce .cx-person h3 {
  margin: 0;
  color: #fff;
  font-size: 1.5rem;
  text-transform: uppercase;
}
.cx-role {
  margin: 4px 0 var(--s-3);
  color: #ff5a73;
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
}
.cx-person .prose p {
  color: #cfc6ca;
}
/* private lessons + registration */
.cx-box {
  display: grid;
  justify-items: center;
  gap: var(--s-3);
  margin: var(--s-5) auto 0;
  max-width: 820px;
  padding: var(--s-5);
  border: 1px solid rgb(225 29 72 / 40%);
  border-radius: 18px;
  background: rgb(30 14 20 / 70%);
}
.cx-small {
  margin: 0;
  color: #b9b0b4;
  font-size: 0.9rem;
}
.cx-small a {
  color: #fff;
}
.cx-box .ce-follow {
  justify-content: center;
}
.cx-address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 16px;
  background: var(--ce-crimson);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
}
.cx-address:hover {
  color: #fff;
  text-decoration: underline;
}
/* Big buttons in the boxes wrap on small phones instead of widening the page. */
.cx-box {
  justify-items: stretch;
}
.cx-box > .btn {
  justify-self: center;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
@media (max-width: 420px) {
  .cx-box {
    padding: var(--s-4);
  }
  .cx-box > .btn {
    padding-inline: var(--s-4);
  }
}

/* Section headings centered in every section (the inner title blocks were sitting left). */
.cx-center {
  margin-inline: auto;
}
/* Leadership card: the photo fills the full height of the card beside the bio. */
@media (min-width: 760px) {
  .cx-team.n-1 .cx-person {
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: stretch;
  }
  .cx-team.n-1 .cx-person-photo {
    aspect-ratio: auto;
    height: 100%;
    min-height: 340px;
  }
}
.cx-person-photo img {
  display: block;
}
.cx-person-body {
  padding: var(--s-5) var(--s-6);
}
.cx-person .prose p {
  font-size: 1rem;
  line-height: 1.65;
}

/* Phones: the brick banner comes first, then one row of tabs to swipe. */
.ce-top {
  display: contents;
}
@media (max-width: 899px) {
  .ce-top {
    display: flex;
    flex-direction: column;
  }
  .ce-top .ce-banner {
    order: -1;
  }
  .program-tabs.is-crimson ul {
    display: flex;
    margin: 0 calc(-1 * var(--gutter));
    padding: 10px var(--gutter);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .program-tabs.is-crimson li {
    flex: none;
  }
  .program-tabs.is-crimson ul a {
    width: auto;
    min-height: 44px;
    padding: 0 14px;
    white-space: nowrap;
  }
}
