@font-face {
  font-family: "Comum Sans";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("fonts/ComumSans-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Comum Sans";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("fonts/ComumSans-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "Providence Sans Bold";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("fonts/ProvidenceSans-Bold.woff2") format("woff2");
}

:root {
  --heading: "Providence Sans Bold", "Comum Sans", sans-serif;
  --body: "Comum Sans", system-ui, sans-serif;
  --text: #713025;
  --cream: #F5EFDD;
  --card-bg: #F5EFDD;
  --accent: #E4C872;
  --btn: #EBA29A;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
/* Grayscale AA to match the design render: Chromium's default text smoothing (subpixel AA +
   stem darkening) rasterizes glyphs ~12-15% more ink than the design tool / rsvg ground truth,
   which reads as a heavier weight on EVERY text layer. */
html, body { background: #F5EFDD; font-family: var(--body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.frame {
  position: relative;
  width: 100%;
  container-type: inline-size;
  overflow: hidden;
}
/* While a flow accordion is expanded past its design footprint, shifted layers extend below the
   frame's aspect-ratio box; the JS adds matching margin-bottom so the page flows down with them.
   Horizontal overflow stays CLIPPED - design rects legitimately poke a px or two past the frame
   edge and carousels park cards off-canvas; only vertical growth may show. */
.frame.acc-open { overflow-x: clip; overflow-y: visible; }
.l { position: absolute; }
.l--text { margin: 0; line-height: 1.25; font-family: var(--body); white-space: pre-wrap; }
.l--head { font-family: var(--heading); line-height: 1.1; }
.l--asset { display: block; object-fit: contain; }
.l--media { display: block; }
/* Decorative graphics must never swallow taps on links/buttons layered beneath them (their bbox
   includes transparent padding). Re-enable pointer events only where a graphic IS the control:
   linked elements and carousel arrow bindings. */
.l--asset, .l--media { pointer-events: none; }
.l--navlink .l--asset, .l--navlink .l--media, [data-carousel-arrow] { pointer-events: auto; }
/* a whole-element link (nav / tel: / mailto: / url) wraps its design <p> or graphic WITHOUT
   generating a box (display:contents), so the element stays absolutely positioned against the
   frame (overlay-exact) yet clicking it navigates. Inline footer nav links keep a normal inline box. */
.l--navlink { color: inherit; text-decoration: none; cursor: pointer; }
.l--navlink-block { display: contents; }
.frame--mobile { display: none; }
@media (max-width: 900px) {
  .frame--desktop { display: none; }
  .frame--mobile { display: block; }
}

/* AUGMENT carousel: a fixed-size viewport over the design region; the design's own card layers
   are absolutely positioned inside a scrollable inner strip (rest-exact -> overlay match). The
   design's own static arrow graphics (bound via arrow_layers) scroll it; added cards are cloned
   boxes appended after the design cards. */
.c-carousel { position: absolute; overflow: visible; }
.c-track {
  position: absolute; inset: 0; overflow-x: auto; overflow-y: hidden;
  scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none;
}
.c-track::-webkit-scrollbar { display: none; }
.c-slides { position: relative; height: 100%; }
.c-slides > .l { position: absolute; }
.c-card--added {
  position: absolute; box-sizing: border-box; background: var(--card-bg, #F5EFDD);
  padding: 2cqw; display: flex; flex-direction: column; gap: .8cqw; overflow: hidden;
}
.c-card__img { width: 20%; height: auto; object-fit: contain; }
.c-card__eyebrow { font-family: var(--body); font-size: 1.3cqw; color: var(--accent, #DC943D); font-weight: 700; }
.c-card__title { font-family: var(--heading); font-size: 2.2cqw; color: var(--text, #713025); margin: .2cqw 0; }
.c-card__text { font-family: var(--body); font-size: 1.4cqw; color: var(--text, #713025); line-height: 1.4; }
.c-card__name { font-family: var(--heading); font-size: 1.3cqw; color: var(--text, #713025); margin-top: auto; }
.c-card__btn {
  align-self: flex-start; margin-top: auto; font-family: var(--body); font-weight: 700;
  font-size: 1.2cqw; color: #fff; background: var(--btn, #EBA29A);
  padding: .7cqw 1.8cqw; border-radius: 999px; text-decoration: none;
}
/* A carousel binds the design's own static arrow graphics as its scroll controls: those layers
   render at their exact design coordinates (no injected button); here they just get a pointer
   cursor + focus ring so they read as interactive. */
[data-carousel-arrow] { cursor: pointer; }
[data-carousel-arrow]:focus-visible { outline: 3px solid var(--accent, #DC943D); outline-offset: 2px; }
/* FLOW accordion: a vertical <details> stack positioned where the design FAQ bars sit, styled to
   MATCH those colored bars. Native <details> -> clicking a question reflows the items below it down
   (no absolute overlap). --bar is each item's design fill; --minh the collapsed-bar height. */
.c-acc { position: absolute; }
.c-acc-item {
  background: var(--bar, #EBA29A); border-radius: var(--r, 16px); overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.c-acc-q {
  display: flex; align-items: center; justify-content: space-between; gap: 1cqw;
  min-height: var(--minh, 4.5cqw); padding: .6cqw 2.2cqw; cursor: pointer;
  font-family: var(--body); font-weight: 400; list-style: none;
}
.c-acc-q::-webkit-details-marker { display: none; }
.c-acc-q::marker { content: ""; }
.c-acc-q::after { content: "+"; font-weight: 700; line-height: 1; flex: 0 0 auto; font-size: var(--msz, 1em); }
.c-acc-item[open] .c-acc-q::after { content: "\2013"; }
/* Design-shipped marker art replaces the synthetic glyph (the design encodes the marker's ink). */
.c-acc-mk { flex: 0 0 auto; }
.c-acc-q--img::after, .c-acc-item[open] .c-acc-q--img::after { content: none; }
.c-acc-item[open] { min-height: var(--openh, auto); }
.c-acc-a {
  padding: 0 2.2cqw 1.4cqw; font-family: var(--body); line-height: 1.45;
}
.frame--band { overflow: visible; }
.custom-body {
  min-height: 46vh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 12vh 8vw; gap: 1rem;
  background: var(--cream, #F5EFDD);
}
.custom-body__heading { font-family: var(--heading); font-size: clamp(2rem, 6vw, 4rem); color: var(--text, #713025); }
.custom-body__text { font-family: var(--body); font-size: clamp(1rem, 2.4vw, 1.4rem); color: var(--text, #713025); max-width: 40ch; }
@media (max-width: 900px) {
  .c-card__eyebrow { font-size: 3cqw; }
  .c-card__title { font-size: 5cqw; }
  .c-card__text { font-size: 3.4cqw; }
  .c-card__name { font-size: 3.2cqw; }
  .c-card__btn { font-size: 3cqw; padding: 1.6cqw 3.4cqw; }
  .c-card__img { width: 28%; }
  .c-acc-q { padding: 1.4cqw 3.2cqw; }
  .c-acc-a { padding: 0 3.2cqw 3cqw; }
}

/* Custom overlay: a positioned container for operator-authored styled HTML (a compound widget the
   design ships as a flat rect). It inherits the frame's fonts; the inner widget carries its own
   inline styles. Never clips - a translucent pill's blur can bleed a hair past its box. */
.ov { pointer-events: auto; }
.ov * { box-sizing: border-box; }

/* Working mobile burger: native <details> at the design's hamburger. Closed -> only the summary
   (the burger art) shows; open -> the nav panel drops down. No JS; the no-JS fallback still toggles. */
.m-menu { list-style: none; }
.m-menu__btn { display: block; width: 100%; height: 100%; cursor: pointer; list-style: none; }
.m-menu__btn::-webkit-details-marker { display: none; }
.m-menu__btn::marker { content: ""; }
.m-menu__icon { display: block; width: 100%; height: 100%; object-fit: contain; }
.m-menu__panel {
  position: absolute; top: 115%; right: 0; min-width: 40cqw;
  display: flex; flex-direction: column; gap: .5cqw;
  background: var(--cream, #F5EFDD); border: .4cqw solid var(--accent, #DC943D);
  border-radius: 3.5cqw; padding: 2.5cqw 1cqw; box-shadow: 0 2cqw 6cqw rgba(0,0,0,.18);
}
.m-menu__link {
  font-family: var(--body); color: var(--text, #713025); text-decoration: none;
  font-size: 4.2cqw; padding: 1.6cqw 3.4cqw; border-radius: 2cqw; white-space: nowrap;
}
.m-menu__link:hover, .m-menu__link:focus { background: rgba(0,0,0,.06); }

/* Uniform program card: each element ABSOLUTELY positioned at the design card's measured
   coordinates (set inline from the card template), so the rebuilt card mirrors the design's own
   geometry - mascot scale, title/text placement, spacing - rather than a hand-tuned flex layout. */
.pc-card {
  position: absolute; background: var(--cream, #F5EFDD); border-radius: 2.2cqw; overflow: hidden;
}
.pc-card__img { position: absolute; object-fit: contain; object-position: center; }
.pc-card__title { position: absolute; font-family: var(--heading); font-weight: 700; color: var(--text, #713025); white-space: nowrap; }
.pc-card__text { position: absolute; font-family: var(--body); line-height: 1.5; color: var(--text, #713025); }
.pc-card__btn {
  position: absolute; text-decoration: none; white-space: nowrap;
  background: var(--btn, #EBA29A); color: var(--text, #713025);
  border-radius: 999px; padding: .6em 1.7em; font-family: var(--body); font-weight: 600;
}

/* ===== v3 blend: flow header & footer (hand-authored, replaces in-frame header/footer) ===== */
.site-header { position: sticky; top: 0; z-index: 500; background: var(--cream); box-shadow: 0 1px 0 rgba(113,48,37,.14); }
.site-header__inner { max-width: 1200px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 20px; }
.site-header__logo img { display: block; height: 48px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav a { font-family: var(--body); font-weight: 700; font-size: 15px; color: var(--text); text-decoration: none; }
.site-nav a:hover { color: #5C0B0C; }
.site-nav a.is-active { color: #5C0B0C; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; text-decoration-color: #9EC04B; }
.site-header__cta { font-family: var(--body); font-weight: 700; font-size: 15px; background: #314E26; color: #F5EFDD; text-decoration: none; padding: 10px 26px; border-radius: 999px; white-space: nowrap; transition: filter .15s ease; }
.site-header__cta:hover { filter: brightness(1.15); }
.site-burger { display: none; position: relative; margin-left: 6px; }
.site-burger > summary { list-style: none; cursor: pointer; display: block; padding: 4px; }
.site-burger > summary::-webkit-details-marker { display: none; }
.site-burger > summary::marker { content: ""; }
.site-burger > summary svg { display: block; }
.site-burger__panel { position: absolute; top: calc(100% + 10px); right: 0; min-width: 180px; display: flex; flex-direction: column; gap: 2px; background: var(--cream); border: 2px solid #9EC04B; border-radius: 14px; padding: 10px 6px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.site-burger__panel a { font-family: var(--body); font-weight: 700; color: var(--text); text-decoration: none; font-size: 16px; padding: 8px 14px; border-radius: 8px; white-space: nowrap; }
.site-burger__panel a:hover, .site-burger__panel a:focus { background: rgba(0,0,0,.06); }
.site-burger__panel a.is-active { color: #5C0B0C; background: rgba(158,192,75,.25); }
@media (max-width: 900px) {
  .site-nav { display: none; }
  .site-header__cta { margin-left: auto; padding: 8px 20px; font-size: 14px; }
  .site-header__logo img { height: 40px; }
  .site-burger { display: block; }
}
/* Negative margin pulls the footer up over the (now-empty) cream clip-path band at the bottom
   of every frame: all desktop bands are 338 design px = 17.6vw (of 1920w) and all mobile bands
   328 px = 87.5vw (of 375w). We deliberately pull up LESS than the full band height so ~60 design
   px of the band's rounded top stays visible as the transition into the footer. One vw value per
   breakpoint fits every page. Accordion expansion is safe: the band carries data-shift, so it
   moves down in lockstep with the frame's JS-added margin-bottom. z-index must beat the band's
   in-frame z-index (up to ~47) — the frame creates no stacking context of its own. */
.site-footer { background: var(--cream); font-family: var(--body); color: var(--text); padding: 8px 20px 14px; position: relative; z-index: 200; margin-top: -10.8vw; }
.site-footer__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.8fr 1fr 1.5fr 1.4fr; gap: 24px; }
.site-footer h3 { font-family: var(--heading); font-size: 18px; color: #5C0B0C; margin-bottom: 10px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: #5C0B0C; text-decoration: underline; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.45; }
.site-footer__brand img { height: 46px; width: auto; display: block; margin-bottom: 12px; }
.site-footer__blurb { max-width: 34ch; line-height: 1.5; font-size: 14.5px; }
.site-footer__contact a { display: inline-flex; align-items: flex-start; gap: 8px; }
.site-footer__contact svg { color: #9EC04B; flex: 0 0 auto; margin-top: 1px; }
.site-footer__insta { font-weight: 700; font-size: 14.5px; color: #6D2821; }
.site-footer__bottom { max-width: 1200px; margin: 14px auto 0; padding-top: 10px; border-top: 1px solid rgba(113,48,37,.18); text-align: center; font-size: 13px; }
@media (max-width: 900px) {
  .site-footer { margin-top: -56.5vw; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 24px; }
}
/* Maroon outline + drop shadow, matching the contact page's "Apply to Inbloom" pill
   (2px #5C0B0C stroke, drop-shadow 0 4px 4px rgba(0,0,0,.25)). The header CTA keeps its green
   fill per the user's request (outline + shadow only). Rectangle 24 / 24_2..24_10 are the
   "Enroll now!" pill rects across all four pages (desktop + mobile) — prefix selector covers all. */
.site-header__cta { border: 2px solid #5C0B0C; box-shadow: 0 4px 4px rgba(0,0,0,.25); }
[data-lid^="Rectangle 24"] { border: 2px solid #5C0B0C; box-shadow: 0 4px 4px rgba(0,0,0,.25); }

/* ===== v3 tweak: program cards — mascot left at uniform height, text right, both vertically centered ===== */
.pc-card > * { position: static !important; left: auto !important; top: auto !important; }
.frame--desktop .pc-card {
  display: grid;
  grid-template-columns: 34% 1fr;
  grid-template-rows: 1fr auto auto auto 1fr;
  column-gap: 1.2cqw;
  padding: 1cqw 3.3cqw 1cqw 2.4cqw;
  box-sizing: border-box;
  align-items: center;
}
.frame--desktop .pc-card__img {
  grid-column: 1; grid-row: 1 / -1;
  justify-self: center; align-self: center;
  height: 60% !important; width: auto !important; max-width: 100%;
}
.frame--desktop .pc-card__title { grid-column: 2; grid-row: 2; width: 100% !important; white-space: normal !important; }
.frame--desktop .pc-card__text { grid-column: 2; grid-row: 3; width: 100% !important; margin-top: 0.6cqw; }
.frame--desktop .pc-card__btn { grid-column: 2; grid-row: 4; justify-self: start; margin-top: 0.9cqw; }
.frame--mobile .pc-card {
  display: flex; flex-direction: column; justify-content: center;
  /* NOTE: no % padding here — the card is position:absolute, so % padding resolves against
     the wide .c-slides track (≈307cqw), not the card, and would swallow the card's width. */
  padding: 4cqw 9cqw 4.5cqw; box-sizing: border-box;
  /* Card height (user requests): first shortened to snugly fit the tallest card
     (Junior Gymnastics, 114cqw), then made 8% taller (114 x 1.08 = 123.12cqw) for breathing
     room. Mascot height is pinned in cqw so it keeps its visual size. All text is cqw-sized,
     so wrapping is width-independent and never clips (card has overflow:hidden). */
  height: 123.12cqw !important;
}
.frame--mobile .pc-card__img { height: 49cqw !important; width: auto !important; max-width: 80%; flex: 0 0 auto; align-self: center; margin-bottom: 3cqw; }
.frame--mobile .pc-card__title { width: 100% !important; white-space: normal !important; text-align: center; }
.frame--mobile .pc-card__text { width: 100% !important; margin-top: 1.5cqw; text-align: center; }
.frame--mobile .pc-card__btn { align-self: center; margin-top: 2.5cqw; }

/* ===== v3 tweak: bigger "Enroll now!" pill text (user: match header Contact size). Text layers are
   absolutely positioned with nowrap; text-align:center makes overflow spill symmetrically so the
   label stays centered on the pill rect; small negative margin re-centers vertically. ===== */
.frame--desktop [data-lid^="Enroll now!"] { font-size: 1.4cqw !important; text-align: center !important; margin-top: -0.14cqw; }
.frame--mobile [data-lid^="Enroll now!"] { font-size: 6.5cqw !important; margin-top: -0.62cqw; }

/* ===== v3 blend: working contact form (real inputs replacing the design's decorative field
   rects — same inline positions/borders, so the overlay geometry is unchanged). ===== */
.cf-form { display: contents; }
.cf-field {
  font-family: var(--body); color: var(--text); box-sizing: border-box; outline: none;
}
.cf-field::placeholder { color: rgba(113,48,37,.45); }
.cf-field:focus { border-color: #9EC04B !important; box-shadow: 0 0 0 2px rgba(158,192,75,.35); }
.cf-field--area { resize: none; }
.cf-check { accent-color: #9EC04B; cursor: pointer; margin: 0; }
/* Honeypot: visually removed but still in the form for bots that fill every field. */
.cf-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cf-submit {
  font-family: var(--body); font-weight: 700; color: #F5EFDD; background: #314E26;
  border: 2px solid #5C0B0C; box-shadow: 0 4px 4px rgba(0,0,0,.25); cursor: pointer;
  transition: filter .15s ease; box-sizing: border-box;
}
.cf-submit:hover { filter: brightness(1.15); }
.cf-submit:disabled { opacity: .65; cursor: wait; filter: none; }
.cf-status { font-family: var(--body); text-align: center; line-height: 1.35; white-space: normal; display: none; box-sizing: border-box; background: #FFFFFF; border-radius: 16px; box-shadow: 0 4px 4px rgba(0,0,0,.15); z-index: 45 !important; }
.cf-status.is-ok { display: block; color: #314E26; font-weight: 700; border: 2px solid #9EC04B; }
.cf-status.is-err { display: block; color: #5C0B0C; font-weight: 700; border: 2px solid #5C0B0C; }
.frame--desktop .cf-status { padding: 1cqw 1.4cqw; }
.frame--mobile .cf-status { padding: 3.5cqw 4.5cqw; }
.frame--desktop .cf-field { font-size: 1.15cqw; padding: 0 1.3cqw; }
.frame--desktop .cf-field--area { padding: 1cqw 1.3cqw; }
.frame--mobile .cf-field { font-size: 3.75cqw; padding: 0 4.8cqw; }
.frame--mobile .cf-field--area { padding: 3cqw 4.8cqw; }

/* Mobile programs: swipes snap one card at a time. scroll-padding-left equals the first card's
   22-design-px inset (22/375 = 5.8667cqw), so snap points land at slot*pitch — the exact same
   offsets the loop script's arrows and re-base math use. */
[data-carousel="programs-mobile"] .c-track { scroll-snap-type: x mandatory; scroll-padding-left: 5.8667cqw; }
[data-carousel="programs-mobile"] .pc-card { scroll-snap-align: start; scroll-snap-stop: always; }

/* v3 card backs (July 2026): philosophy flip cards. NOTE: %-padding on absolutely
   positioned layers resolves vs the FRAME width, not the card -- use cqw only. */
.card-back{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:space-between;box-sizing:border-box;pointer-events:none;opacity:0;visibility:hidden;transform:rotate(var(--rot,0deg)) perspective(1200px) rotateY(178deg);transform-origin:center;transition:transform .55s ease,opacity .28s ease,visibility 0s .28s}
.card-back.on{opacity:1;visibility:visible;transition:transform .55s ease,opacity .22s ease .1s,visibility 0s;transform:rotate(var(--rot,0deg)) perspective(1200px) rotateY(0deg)}
/* no-JS hover fallback (each back is immediately followed by its hotspot) */
@media (hover:hover){.card-back:has(+ .card-hot:hover){opacity:1;visibility:visible;transition:transform .55s ease,opacity .22s ease .1s,visibility 0s;transform:rotate(var(--rot,0deg)) perspective(1200px) rotateY(0deg)}}
/* the front face vanishes instantly when a flip starts (realistic two-sided card);
   it reappears instantly on unflip, revealed as the back flips/fades away */
[data-front]{transition:opacity .2s ease .12s,visibility 0s .12s}
[data-front].front-hidden{opacity:0 !important;visibility:hidden !important;transition:opacity .16s ease .1s,visibility 0s .26s}
@media (hover:hover){
.frame:has(#cb-d-m + .card-hot:hover) [data-front="cb-d-m"],
.frame:has(#cb-d-r + .card-hot:hover) [data-front="cb-d-r"],
.frame:has(#cb-d-w + .card-hot:hover) [data-front="cb-d-w"],
.frame:has(#cb-m-m + .card-hot:hover) [data-front="cb-m-m"],
.frame:has(#cb-m-r + .card-hot:hover) [data-front="cb-m-r"],
.frame:has(#cb-m-w + .card-hot:hover) [data-front="cb-m-w"]{opacity:0;visibility:hidden;transition:opacity .16s ease .1s,visibility 0s .26s}
}
.cb-frame{position:absolute;left:-1%;top:-1%;width:102%;height:102%;pointer-events:none}
.cb-title{margin:0;font-family:var(--heading);color:#713025;text-align:center;white-space:normal}
.cb-body{margin:0;font-family:var(--body);color:#713025;text-align:center;white-space:normal}
.cb-ill{height:20%;width:auto;max-width:70%;object-fit:contain;flex:0 0 auto}
.card-back--d{padding:1.3cqw 1.6cqw 2cqw}
.card-back--d .cb-title{font-size:1.3cqw;line-height:1.6}
.card-back--d .cb-body{font-size:1.02cqw;line-height:1.4}
.card-back--m{padding:3.3cqw 4.2cqw 6cqw}
.card-back--m .cb-title{font-size:3.45cqw;line-height:1.6}
.card-back--m .cb-body{font-size:2.7cqw;line-height:1.4}
.card-hot{position:absolute;cursor:pointer;transform:rotate(var(--rot,0deg));transform-origin:center;background:transparent}
.card-hot:focus-visible{outline:3px solid #314E26;outline-offset:2px;border-radius:1cqw}
