/* Modern (OrganizationSite::Looks::Modern): a port of scratchpad/looks/
   Modern.dc.html, the "Lighthouse Microschool" board. Every rule is scoped
   under .look-modern (the hub layout's body class), so nothing here reaches
   another look or famlo.co, and every class is mo- prefixed so it never
   meets a Tailwind utility or an app component of the same name.

   Colours and fonts the hub may change are the --site-* variables
   (StorefrontHelper#storefront_theme_style): bg → --site-ground, soft →
   --site-soft, ink → --site-ink, teal → --site-accent (fills: --site-accent-
   fill / --site-on-accent, white on the board's teal), amber → --site-accent-2
   (the swoosh and the announcement's dot; never words). The board's slate
   greys and teal washes are mixed from those, so a palette or a hub's own
   colours carry through. The four category washes are the tints; their word
   colours are fixed, dark enough for AA on them. Structure keeps the
   board's own values. */

.look-modern {
  --mo-ink2: color-mix(in srgb, var(--site-ink) 82%, var(--site-ground));
  --mo-muted: color-mix(in srgb, var(--site-ink) 66%, var(--site-ground));
  --mo-line: color-mix(in srgb, var(--site-ink) 11%, var(--site-ground));
  --mo-line2: color-mix(in srgb, var(--site-ink) 21%, var(--site-ground));
  --mo-a-d: color-mix(in srgb, var(--site-accent) 80%, #000);
  --mo-a50: color-mix(in srgb, var(--site-accent) 6%, #fff);
  --mo-a100: color-mix(in srgb, var(--site-accent) 18%, #fff);
  --mo-a-line: color-mix(in srgb, var(--site-accent) 30%, #fff);
  --mo-amber-d: #b45309;
  --mo-k1: #115e59; --mo-k1-line: #b7e4dc;
  --mo-k2: #92400e; --mo-k2-line: #fde68a;
  --mo-k3: #6d28d9; --mo-k3-line: #ddd6fe;
  --mo-k4: #0369a1; --mo-k4-line: #bae6fd;
  --mo-r: 12px;
  --mo-r-s: 8px;
  --mo-gut: clamp(16px, 4vw, 56px);
  font-family: var(--site-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.look-modern .mo-band, .look-modern .mo-hero { overflow-x: clip; }
.look-modern .mo-wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--mo-gut); }
.look-modern h1, .look-modern h2, .look-modern h3, .look-modern h4 { font-family: var(--site-display); text-wrap: balance; overflow-wrap: anywhere; }
.look-modern p { text-wrap: pretty; }
.look-modern a:focus-visible, .look-modern button:focus-visible, .look-modern input:focus-visible,
.look-modern textarea:focus-visible, .look-modern select:focus-visible, .look-modern summary:focus-visible {
  outline: 2px solid var(--site-accent); outline-offset: 3px; border-radius: 6px;
}

/* sections: white and soft bands alternate down the page, as the board's do */
.look-modern .mo-sec { padding-block: calc(clamp(64px, 8vw, 112px) * var(--site-space-scale, 1)); padding-inline: 0; }
.look-modern .mo-band:nth-child(even of .mo-band) { background: var(--site-soft); border-top: 1px solid var(--mo-line); border-bottom: 1px solid var(--mo-line); }
.look-modern .mo-band:nth-child(even of .mo-band) + .mo-band { border-top: 0; }
/* A section the hub gave its own background keeps it. */
.look-modern [data-site-section] .mo-band { background: transparent !important; border: 0 !important; }
.look-modern .site-bg-dark .mo-h2, .look-modern .site-bg-accent .mo-h2,
.look-modern .site-bg-dark .mo-lede, .look-modern .site-bg-accent .mo-lede,
.look-modern .site-bg-dark .mo-eyebrow, .look-modern .site-bg-accent .mo-eyebrow { color: inherit; }

.look-modern .mo-eyebrow { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--site-accent); }
.look-modern .mo-h2 { margin: 0; font-size: clamp(28px, 3.1vw, 42px); line-height: 1.12; font-weight: 800; letter-spacing: -.025em; color: var(--site-ink); }
.look-modern .mo-lede { margin: 0; font-size: 17px; color: var(--mo-muted); max-width: 60ch; }
.look-modern .mo-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.look-modern .mo-head-stack { display: flex; flex-direction: column; gap: 10px; max-width: 680px; min-width: 0; }
.look-modern .mo-head-stack .mo-lede { margin-top: 6px; }
.look-modern .mo-head--tight { margin-bottom: 28px; }
.look-modern .mo-empty { margin: 0; padding: 32px 28px; border: 1px dashed var(--mo-line2); border-radius: var(--mo-r); background: var(--site-surface); text-align: center; font-weight: 700; font-size: 18px; color: var(--mo-ink2); }

/* the marked headline word: the board's single amber swoosh under it */
.look-modern .site-em--swoosh { position: relative; display: inline-block; white-space: nowrap; font-style: normal; color: inherit; }
.look-modern .site-em--swoosh > svg { left: -2%; right: auto; width: 104%; bottom: -.16em; height: .3em; color: var(--site-accent-2); }
.look-modern .site-em--swoosh > svg path { stroke-width: .1em; }
.look-modern .site-em--italic, .look-modern .site-em--colour { color: var(--site-accent); }

/* buttons and links */
.look-modern .mo-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 10px; font: 700 15px/1.1 var(--site-body); text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s; text-align: center;
}
.look-modern .mo-btn--primary, .look-modern a.mo-btn--primary { background: var(--site-accent-fill); color: var(--site-on-accent); }
.look-modern .mo-btn--primary:hover { background: color-mix(in srgb, var(--site-accent-fill) 82%, #000); }
.look-modern .mo-btn--ghost, .look-modern a.mo-btn--ghost { background: var(--site-surface); color: var(--site-ink); border-color: var(--mo-line2); }
.look-modern .mo-btn--ghost:hover { border-color: var(--site-ink); }
.look-modern .mo-btn--sm { min-height: 44px; padding: 0 16px; font-size: 14px; border-radius: 8px; }
.look-modern .mo-link { font-weight: 700; color: var(--site-accent); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.look-modern .mo-link:hover { color: var(--mo-a-d); text-decoration: underline; text-underline-offset: 4px; }
.look-modern .mo-link--ink { color: var(--site-ink); }
.look-modern .mo-arrow { flex: none; transition: transform .15s; }
.look-modern a:hover .mo-arrow { transform: translateX(2px); }

/* The shared class action (storefront/classes/card_action): the board's
   small teal button, white words; "Join waitlist" white with a hairline. */
.look-modern .mo-act a { min-height: 44px; padding: 0 16px; border-radius: 8px; font-weight: 700; font-size: 14px; background: var(--site-accent-fill); color: var(--site-on-accent); filter: none; }
.look-modern .mo-act a:hover { background: color-mix(in srgb, var(--site-accent-fill) 82%, #000); filter: none; }
.look-modern .mo-act a[aria-label^="Join the waitlist"] { background: var(--site-surface); color: var(--site-ink); box-shadow: inset 0 0 0 1px var(--mo-line2); }
.look-modern .mo-act a[aria-label^="Join the waitlist"]:hover { box-shadow: inset 0 0 0 1px var(--site-ink); }
.look-modern .mo-act button[disabled] { border-radius: 8px; min-height: 44px; font-size: 14px; }
.look-modern .mo-act > span[data-card-part="action"] { color: var(--site-accent); font-weight: 700; }

/* announcement */
.look-modern .mo-announce { background: var(--site-ink); color: color-mix(in srgb, var(--site-ground) 88%, var(--site-ink)); font-size: 14px; }
.look-modern .mo-announce .mo-wrap { display: flex; justify-content: center; align-items: center; gap: 14px; min-height: 44px; text-align: center; }
.look-modern .mo-announce p { margin: 0; padding: 8px 0; line-height: 1.45; }
.look-modern .mo-announce b { color: var(--site-ground); font-weight: 700; }
.look-modern .mo-announce a { color: color-mix(in srgb, var(--site-accent) 45%, #fff); font-weight: 700; text-decoration: none; margin-left: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 10px 0; margin-block: -10px; }
.look-modern .mo-announce a:hover { text-decoration: underline; text-underline-offset: 3px; }
.look-modern .mo-announce a:focus-visible { outline-color: currentColor; }
.look-modern .mo-dot { width: 6px; height: 6px; border-radius: 9px; background: var(--site-accent-2); flex: none; }

/* header */
.look-modern .mo-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--mo-line); background: color-mix(in srgb, var(--site-ground) 96%, transparent); backdrop-filter: blur(8px); }
.look-modern .mo-header .mo-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.look-modern .mo-brand { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; color: var(--site-ink); }
.look-modern .mo-brand-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--site-accent-fill); color: var(--site-on-accent); display: grid; place-items: center; flex: none; font: 800 19px/1 var(--site-display); }
.look-modern .mo-logo { height: var(--site-logo-h, 42px); width: auto; max-width: var(--site-logo-w, 170px); object-fit: contain; flex: none; }
.look-modern .mo-brand-name { display: flex; flex-direction: column; min-width: 0; line-height: 1.1; }
.look-modern .mo-brand-name b { font: 800 17px/1.15 var(--site-display); letter-spacing: -.01em; overflow-wrap: anywhere; }
.look-modern .mo-brand-name span { font-size: 12.5px; color: var(--mo-muted); font-weight: 600; margin-top: 2px; }
.look-modern .mo-nav { display: none; gap: 30px; }
.look-modern .mo-nav a { font-size: 15px; font-weight: 600; color: var(--mo-ink2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.look-modern .mo-nav a:hover { color: var(--site-ink); }
.look-modern .mo-nav a[aria-current="page"] { color: var(--site-ink); box-shadow: inset 0 -2px 0 var(--site-accent); }
.look-modern .mo-head-right { display: flex; align-items: center; gap: 14px; flex: none; }
.look-modern .mo-account { display: none; min-height: 44px; align-items: center; padding: 0 4px; font-weight: 600; font-size: 15px; color: var(--mo-ink2); text-decoration: none; }
.look-modern .mo-account:hover { color: var(--site-ink); }
.look-modern .mo-head-cta { display: none; }
@media (min-width: 640px) { .look-modern .mo-account, .look-modern .mo-head-cta { display: inline-flex; } }
@media (min-width: 1025px) { .look-modern .mo-nav { display: flex; } }
@media (max-width: 1180px) and (min-width: 1025px) { .look-modern .mo-nav { gap: 20px; } }
/* The phone menu (storefront/chrome/_phone_menu, W2-1's): the board's
   square menu button. */
.look-modern .mo-header details > summary { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--mo-line); background: var(--site-surface); color: var(--site-ink); }

/* hero */
.look-modern .mo-hero { padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 96px); }
.look-modern .mo-hero .mo-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.look-modern .mo-hero--solo .mo-wrap { grid-template-columns: minmax(0, 1fr); }
.look-modern .mo-hero--solo .mo-hero-copy { max-width: 860px; }
.look-modern .mo-hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.look-modern .mo-pill { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin: 0; padding: 6px 12px 6px 8px; border: 1px solid var(--mo-line); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--mo-ink2); background: var(--site-surface); line-height: 1.4; }
.look-modern .mo-pill i { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 9px; background: var(--mo-a50); color: var(--site-accent); flex: none; }
.look-modern .mo-h1 { margin: 0; font-size: clamp(38px, 5.2vw, 68px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; color: var(--site-ink); }
.look-modern .mo-hero--long .mo-h1 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.08; }
.look-modern .mo-hero--solo .mo-h1 { font-size: clamp(42px, 6.4vw, 84px); }
.look-modern .mo-hero--solo.mo-hero--long .mo-h1 { font-size: clamp(34px, 4.6vw, 60px); }
.look-modern .mo-hero-copy .mo-lede { font-size: clamp(17px, 1.4vw, 19px); }
.look-modern .mo-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.look-modern .mo-trust { display: flex; gap: 4px 20px; flex-wrap: wrap; margin: 8px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--mo-line); }
.look-modern .mo-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--mo-ink2); padding-top: 16px; }
.look-modern .mo-trust svg { color: var(--site-accent); flex: none; width: 18px; height: 18px; }

/* the bento: the hub's photo, a teacher, its count and its next class */
.look-modern .mo-bento { display: grid; grid-template-columns: 1.18fr 1fr; gap: 14px; min-width: 0; }
.look-modern .mo-tile { position: relative; margin: 0; border: 1px solid var(--mo-line); border-radius: var(--mo-r); background: var(--site-surface); overflow: hidden; color: var(--site-ink); min-width: 0; }
.look-modern .mo-tile-photo { grid-row: 1 / span 2; min-height: 420px; background: var(--site-soft); }
.look-modern .mo-bento--right-1 .mo-tile-photo { grid-row: auto; }
.look-modern .mo-bento--right-0 .mo-tile-photo { grid-column: 1 / -1; grid-row: auto; }
.look-modern .mo-tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.look-modern .mo-cap { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); margin: 0; background: rgba(255, 255, 255, .95); color: #0f172a; border-radius: 8px; padding: 8px 12px; font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 8px; line-height: 1.3; }
.look-modern .mo-cap svg { color: var(--site-accent); flex: none; }
.look-modern .mo-cap span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.look-modern .mo-tile-teacher { display: flex; flex-direction: column; justify-content: space-between; min-height: 250px; background: var(--mo-a50); border-color: var(--mo-a-line); text-decoration: none; }
.look-modern a.mo-tile-teacher:hover { border-color: var(--site-accent); }
.look-modern .mo-tile-teacher .mo-who { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 2px; max-width: 54%; padding: 18px 0 18px 18px; }
.look-modern .mo-tile-teacher .mo-who b { display: block; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.look-modern .mo-tile-teacher .mo-who span { font-size: 13px; color: var(--mo-ink2); }
.look-modern .mo-tile-teacher .mo-tag { margin-top: 10px; align-self: flex-start; background: var(--site-surface); border: 1px solid var(--mo-a-line); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; color: var(--mo-a-d); white-space: nowrap; }
.look-modern .mo-tile-teacher .mo-face { position: absolute; right: 0; top: 0; bottom: 0; width: 44%; overflow: hidden; }
.look-modern .mo-tile-teacher .mo-face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.look-modern .mo-tile-teacher .mo-face--initial { display: grid; place-items: center; background: var(--mo-a100); color: var(--mo-a-d); font: 800 64px/1 var(--site-display); }
.look-modern .mo-tile-count { padding: 20px 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-height: 156px; }
.look-modern .mo-num { font: 800 52px/1 var(--site-display); letter-spacing: -.04em; }
.look-modern .mo-lbl { font-size: 14px; font-weight: 600; color: var(--mo-ink2); }
.look-modern .mo-bars { display: flex; gap: 4px; align-items: flex-end; height: 28px; margin: 0; padding: 0; list-style: none; }
.look-modern .mo-bars li { flex: 1; border-radius: 3px; background: var(--mo-a100); min-height: 4px; }
.look-modern .mo-bars li.is-on { background: var(--site-accent); }
.look-modern .mo-bars .h-1 { height: 20%; } .look-modern .mo-bars .h-2 { height: 40%; } .look-modern .mo-bars .h-3 { height: 60%; }
.look-modern .mo-bars .h-4 { height: 80%; } .look-modern .mo-bars .h-5 { height: 100%; } .look-modern .mo-bars .h-0 { height: 10%; }
.look-modern .mo-tile-next { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 14px 16px; }
.look-modern .mo-cal { width: 62px; height: 62px; border-radius: 10px; border: 1px solid var(--mo-line); display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; background: var(--site-surface); flex: none; }
.look-modern .mo-cal span { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #fff; background: var(--mo-amber-d); width: 100%; text-align: center; padding: 2px 0; }
.look-modern .mo-cal b { font-size: 24px; font-weight: 800; line-height: 1.2; flex: 1; display: grid; place-items: center; }
.look-modern .mo-t1 { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mo-amber-d); }
.look-modern .mo-t2 { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.35; }
.look-modern .mo-t2 a { color: inherit; text-decoration: none; }
.look-modern .mo-t2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.look-modern .mo-t3 { margin: 2px 0 0; font-size: 14px; color: var(--mo-ink2); }
/* No photo: the count and the teacher side by side, the next class under them. */
.look-modern .mo-bento--nophoto { grid-template-columns: 1fr 1fr; }
.look-modern .mo-bento--nophoto .mo-tile-count { grid-row: auto; }
.look-modern .mo-bento--nophoto .mo-tile-teacher { min-height: 220px; }
.look-modern .mo-bento--nophoto.mo-bento--no-teacher .mo-tile-count { grid-column: 1 / -1; }

/* programs by age, values, numbers: cards in rows that share out their last row */
.look-modern .mo-rows { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.look-modern .mo-row { display: flex; gap: 16px; }
.look-modern .mo-row > * { flex: 1 1 0; min-width: 0; }
.look-modern .mo-age { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 26px; border: 1px solid var(--mo-line); border-radius: var(--mo-r); background: var(--site-surface); color: var(--site-ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.look-modern a.mo-age:hover { border-color: var(--site-accent); transform: translateY(-2px); }
.look-modern .mo-age-top { display: flex; justify-content: space-between; align-items: center; }
.look-modern .mo-idx { font-size: 13px; font-weight: 800; color: var(--mo-muted); }
.look-modern .mo-ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.look-modern .mo-ico svg { width: 22px; height: 22px; }
.look-modern .mo-ico--1 { background: var(--site-tint-1); color: var(--mo-k1); }
.look-modern .mo-ico--2 { background: var(--site-tint-2); color: var(--mo-k2); }
.look-modern .mo-ico--3 { background: var(--site-tint-3); color: var(--mo-k3); }
.look-modern .mo-ico--4 { background: var(--site-tint-4); color: var(--mo-k4); }
.look-modern .mo-age h3 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.look-modern .mo-age p { margin: 0; color: var(--mo-muted); font-size: 15px; }
.look-modern .mo-age-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--mo-line); margin-top: auto; font-size: 14px; font-weight: 700; }
.look-modern .mo-age-foot span:last-child { color: var(--site-accent); display: inline-flex; align-items: center; gap: 6px; }
.look-modern .mo-statrow { display: flex; gap: 16px; margin: 0; }
.look-modern .mo-statrow > * { flex: 1 1 0; min-width: 0; }
.look-modern .mo-stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; height: 100%; margin: 0; padding: 22px 20px; border: 1px solid var(--mo-line); border-radius: var(--mo-r); background: var(--site-surface); }
.look-modern .mo-stat dd { margin: 0; font: 800 46px/1 var(--site-display); letter-spacing: -.04em; color: var(--site-ink); }
.look-modern .mo-stat dt { font-size: 14px; font-weight: 600; color: var(--mo-ink2); }

/* the classes: tidy rows with the seats on the right */
.look-modern .mo-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.look-modern .mo-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--mo-line); background: var(--site-surface); font: 600 14px/1 var(--site-body); color: var(--mo-ink2); text-decoration: none; }
.look-modern .mo-chip:hover { border-color: var(--site-ink); color: var(--site-ink); }
.look-modern .mo-chip--on { background: var(--site-ink); border-color: var(--site-ink); color: var(--site-ground); }
.look-modern .mo-ctag { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--mo-muted); }
.look-modern .mo-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--mo-ink2); }
.look-modern .mo-meta li { display: inline-flex; align-items: center; gap: 6px; }
.look-modern .mo-meta svg { color: var(--mo-muted); flex: none; width: 15px; height: 15px; }
.look-modern .mo-price { font-size: 17px; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; }
.look-modern .mo-seat { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--mo-k1); }
.look-modern .mo-seat i { width: 8px; height: 8px; border-radius: 9px; display: inline-block; background: #14b8a6; flex: none; }
.look-modern .mo-seat--low { color: var(--mo-amber-d); }
.look-modern .mo-seat--low i { background: #f59e0b; }
.look-modern .mo-seat--full { color: #9f1239; }
.look-modern .mo-seat--full i { background: #e11d48; }
.look-modern .mo-classes-foot { display: flex; justify-content: flex-end; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; font-size: 14px; color: var(--mo-muted); }

/* the weekly timetable (ClassCards "week"), colour-coded by category */
/* one row per start time (at most 16; more draws the loose columns) */

/* teachers: square photos */
.look-modern .mo-ph { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: var(--mo-r); overflow: hidden; background: var(--site-soft); border: 1px solid var(--mo-line); }
.look-modern .mo-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform .4s; }
.look-modern .mo-ph--1 { background: var(--site-tint-1); color: var(--mo-k1); }
.look-modern .mo-initials { font: 800 clamp(48px, 6vw, 84px)/1 var(--site-display); letter-spacing: -.03em; }
.look-modern .mo-role { display: block; font-size: 14px; font-weight: 700; color: var(--site-accent); }

/* families' words: quiet cards with the class's initials */
.look-modern .mo-q { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; height: 100%; margin: 0; padding: 28px; border: 1px solid var(--mo-line); border-radius: var(--mo-r); background: var(--site-surface); }
.look-modern .mo-q blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: var(--site-ink); }
.look-modern .mo-q blockquote p { margin: 0 0 .6em; }
.look-modern .mo-q blockquote p:last-child { margin: 0; }
.look-modern .mo-q figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.look-modern .mo-q figcaption > span { display: flex; flex-direction: column; min-width: 0; }
.look-modern .mo-q figcaption i { width: 40px; height: 40px; border-radius: 99px; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 14px; flex: none; }
.look-modern .mo-q figcaption b { display: block; font-size: 14.5px; }
.look-modern .mo-q figcaption span span, .look-modern .mo-q figcaption a { color: var(--mo-muted); }
.look-modern .mo-q figcaption a { text-decoration: none; }
.look-modern .mo-q figcaption a:hover { color: var(--site-accent); text-decoration: underline; }

/* resources and questions, side by side */
.look-modern .mo-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.look-modern .mo-res { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; border: 1px solid var(--mo-line); border-radius: var(--mo-r); background: var(--site-surface); overflow: hidden; }
.look-modern .mo-res li + li { border-top: 1px solid var(--mo-line); }
.look-modern .mo-res a, .look-modern .mo-res-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 20px; text-decoration: none; color: var(--site-ink); }
.look-modern .mo-res a:hover { background: var(--site-soft); }
.look-modern .mo-ri { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; overflow: hidden; }
.look-modern .mo-ri.has-cover { display: block; width: 88px; height: auto; }
.look-modern .mo-ri svg { width: 22px; height: 22px; }
.look-modern .mo-res b { display: block; font-size: 15.5px; font-weight: 700; line-height: 1.35; }
.look-modern .mo-rs { display: block; font-size: 13.5px; color: var(--mo-muted); }
.look-modern .mo-res-more { margin-top: 14px; }
.look-modern .mo-faq { display: flex; flex-direction: column; border-top: 1px solid var(--mo-line); }
.look-modern .mo-faq--wide { max-width: 860px; }
.look-modern .mo-faq details { border-bottom: 1px solid var(--mo-line); }
.look-modern .mo-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 10px 0; font-size: 16.5px; font-weight: 700; line-height: 1.4; color: var(--site-ink); }
.look-modern .mo-faq summary::-webkit-details-marker { display: none; }
.look-modern .mo-faq summary svg { flex: none; transition: transform .2s; color: var(--mo-muted); }
.look-modern .mo-faq details[open] summary svg { transform: rotate(45deg); color: var(--site-accent); }
.look-modern .mo-faq-a { padding: 0 40px 22px 0; color: var(--mo-ink2); }
.look-modern .mo-faq-a p { margin: 0 0 .7em; }
.look-modern .mo-faq-a p:last-child { margin: 0; }

/* contact, with the map Famlo stored for the hub's address */
.look-modern .mo-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); border: 1px solid var(--mo-line); border-radius: var(--mo-r); overflow: hidden; background: var(--site-surface); }
.look-modern .mo-contact--nomap { grid-template-columns: minmax(0, 1fr); }
.look-modern .mo-cinfo-card { padding: clamp(24px, 3.5vw, 40px); display: flex; flex-direction: column; gap: 22px; }
.look-modern .mo-contact--nomap .mo-cinfo-card { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px 32px; align-items: start; }
.look-modern .mo-cl { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; font-size: 15px; color: var(--site-ink); }
.look-modern .mo-cl > svg { color: var(--site-accent); margin-top: 3px; width: 20px; height: 20px; }
.look-modern .mo-cl b { display: block; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--mo-muted); margin-bottom: 2px; }
.look-modern .mo-cl address { font-style: normal; }
.look-modern .mo-cl a { text-decoration: none; font-weight: 600; color: var(--site-ink); display: inline-flex; min-height: 32px; align-items: center; overflow-wrap: anywhere; }
.look-modern .mo-cl a:hover { color: var(--site-accent); }
.look-modern .mo-socials, .look-modern .mo-foot-grid .mo-socials { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.look-modern .mo-socials a { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--mo-line); display: grid; place-items: center; color: var(--mo-ink2); }
.look-modern .mo-socials a:hover { border-color: var(--site-ink); color: var(--site-ink); }
.look-modern .mo-socials svg { width: 20px; height: 20px; }
.look-modern .mo-map { position: relative; min-height: 380px; background: var(--site-soft); border-left: 1px solid var(--mo-line); }
.look-modern .mo-map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* the hub's own call to action */
.look-modern .mo-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--mo-a-line); border-radius: var(--mo-r); background: var(--mo-a50); }
.look-modern .mo-cta .mo-head-stack { max-width: 720px; }
.look-modern .mo-cta p { margin: 0; color: var(--mo-ink2); font-size: 17px; }

/* the signup: the board's ink card */
.look-modern .mo-news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: clamp(28px, 4vw, 44px); border-radius: var(--mo-r); background: var(--site-ink); color: var(--site-ground); }
.look-modern .mo-news h2 { margin: 0; font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: inherit; }
.look-modern .mo-news p { margin: 8px 0 0; color: color-mix(in srgb, var(--site-ground) 80%, var(--site-ink)); }
.look-modern .mo-news [data-newsletter-form] { padding: 0; background: transparent; }
.look-modern .mo-news form { width: 100%; }
.look-modern .mo-news form > div { width: 100%; }
.look-modern .mo-news label { flex: 1; font-size: 13px; font-weight: 700; color: color-mix(in srgb, var(--site-ground) 80%, var(--site-ink)); }
.look-modern .mo-news input[type="email"] { width: 100%; min-height: 50px; height: 50px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--site-ground) 22%, var(--site-ink)); background: color-mix(in srgb, var(--site-ground) 9%, var(--site-ink)); color: var(--site-ground); padding: 0 16px; font: 500 15px var(--site-body); }
.look-modern .mo-news button[type="submit"] { min-height: 50px; padding: 0 22px; border-radius: 10px; background: color-mix(in srgb, var(--site-accent) 62%, #fff); color: var(--site-ink); font-weight: 700; font-size: 15px; }
.look-modern .mo-news button[type="submit"]:hover { background: color-mix(in srgb, var(--site-accent) 45%, #fff); }
.look-modern .mo-news form p { margin: 0; font-size: 12.5px; color: color-mix(in srgb, var(--site-ground) 70%, var(--site-ink)); opacity: 1; }
.look-modern .mo-news :focus-visible { outline-color: color-mix(in srgb, var(--site-accent) 45%, #fff); }
.look-modern .mo-news-sec { padding: clamp(56px, 6vw, 80px) 0 0; }

/* about, text, photo and text, gallery, prices, files, button, contact form */
.look-modern .mo-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.look-modern .mo-about--long { grid-template-columns: minmax(0, 1fr); }
.look-modern .mo-about--long .mo-prose { columns: 2 22em; column-gap: 48px; max-width: none; }
.look-modern .mo-prose { font-size: 17px; line-height: 1.7; color: var(--mo-ink2); max-width: 68ch; }
.look-modern .mo-prose p { margin: 0 0 1em; }
.look-modern .mo-prose p:last-child { margin-bottom: 0; }
.look-modern .mo-pt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.look-modern .mo-pt--left > :first-child { order: 2; }
.look-modern .mo-pt .mo-head { margin-bottom: 24px; }
.look-modern .mo-pt-photo button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--mo-r); overflow: hidden; }
.look-modern .mo-pt-photo img { display: block; width: 100%; border-radius: var(--mo-r); }
.look-modern .mo-pt-landscape { aspect-ratio: 16 / 10; object-fit: cover; }
.look-modern .mo-pt-square { aspect-ratio: 1; object-fit: cover; }
/* The hub's frame for a text-and-photo photo (website builder Wave 3,
   wave3.md §6.2; Looks::Modern#photo_controls honours "frame" here and
   nowhere else). Automatic ("look") adds no class, so nothing below applies
   and the photo keeps the look's rounded tile. A chosen frame takes the
   rounding and clipping off the button that holds it, so the frame's own
   shape is what shows: a tile in this look's radius; an arch as a dome over
   the photo's full width (the shared rule's 9999px radii flatten on a wide
   photo); a circle, cropped square; a blob; square corners for none; and a
   cut-out held whole with its drop shadow. */
.look-modern .mo-pt-photo button:has(img[class*="site-frame-"]) { border-radius: 0; overflow: visible; }
.look-modern .mo-pt-photo img.site-frame-tile { border-radius: var(--mo-r); }
.look-modern .mo-pt-photo img.site-frame-arch { border-radius: 50% 50% var(--mo-r) var(--mo-r) / 42% 42% var(--mo-r) var(--mo-r); }
.look-modern .mo-pt-photo img.site-frame-circle { aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 50%; }
.look-modern .mo-pt-photo img.site-frame-blob { border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%; }
.look-modern .mo-pt-photo img.site-frame-none { border-radius: 0; }
.look-modern .mo-pt-photo img.site-frame-cutout { object-fit: contain; border-radius: 0; }
.look-modern .mo-pt-noimg { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: var(--mo-r); border: 1px solid var(--mo-line); background: var(--mo-a50); color: var(--site-accent); }
.look-modern .mo-pt-noimg svg { width: 48px; height: 48px; }
.look-modern .mo-gallery { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.look-modern .mo-gallery-row { display: flex; gap: 14px; height: clamp(200px, 22vw, 300px); }
.look-modern .mo-gallery-row > li { flex: 1 1 0; min-width: 0; }
.look-modern .mo-gallery button { display: block; width: 100%; height: 100%; padding: 0; border: 1px solid var(--mo-line); border-radius: var(--mo-r); overflow: hidden; background: var(--site-soft); cursor: zoom-in; }
.look-modern .mo-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.look-modern .mo-gallery button:hover img { transform: scale(1.03); }
.look-modern .mo-gallery--whole { display: block; columns: 3 240px; column-gap: 14px; }
.look-modern .mo-gallery--whole .mo-gallery-row { display: contents; }
.look-modern .mo-gallery--whole li { break-inside: avoid; margin-bottom: 14px; }
.look-modern .mo-gallery--whole button, .look-modern .mo-gallery--whole img { height: auto; }
.look-modern .mo-card { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 26px; border: 1px solid var(--mo-line); border-radius: var(--mo-r); background: var(--site-surface); color: var(--site-ink); text-decoration: none; }
.look-modern a.mo-card:hover { border-color: var(--site-accent); }
.look-modern .mo-card h3 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.look-modern .mo-card p { margin: 0; font-size: 15px; color: var(--mo-muted); }
.look-modern .mo-card .mo-price-big { font: 800 34px/1.1 var(--site-display); letter-spacing: -.03em; color: var(--site-ink); }
.look-modern .mo-card .mo-price-big small { font: 600 14px var(--site-body); color: var(--mo-muted); letter-spacing: 0; }
.look-modern .mo-card .mo-link { margin-top: auto; padding-top: 6px; }
.look-modern .mo-note { margin: 24px 0 0; color: var(--mo-muted); }
.look-modern .mo-contact-form > * { border-radius: var(--mo-r); }

/* footer */
.look-modern .mo-footer { border-top: 1px solid var(--mo-line); padding: 56px 0 28px; margin-top: clamp(56px, 6vw, 80px); color: var(--site-ink); background: var(--site-ground); }
.look-modern main:has(> :last-child.mo-news-sec) + .mo-footer, .look-modern .mo-footer--after-news { margin-top: clamp(56px, 6vw, 80px); }
.look-modern .mo-footer .mo-news { margin-bottom: 56px; }
.look-modern .mo-foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
.look-modern .mo-foot-grid--3 { grid-template-columns: 1.5fr 1fr 1.2fr; }
.look-modern .mo-foot-grid--2 { grid-template-columns: 1.5fr 2.2fr; }
.look-modern .mo-foot-grid h3 { margin: 0 0 14px; font: 800 13px/1.3 var(--site-body); letter-spacing: .06em; text-transform: uppercase; color: var(--mo-muted); }
.look-modern .mo-foot-grid ul { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.look-modern .mo-foot-grid nav a, .look-modern .mo-foot-contact a, .look-modern .mo-foot-contact span { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--mo-ink2); min-height: 32px; display: inline-flex; align-items: center; overflow-wrap: anywhere; }
.look-modern .mo-foot-grid nav a { min-height: 40px; }
.look-modern .mo-foot-grid nav a:hover, .look-modern .mo-foot-contact a:hover { color: var(--site-accent); }
.look-modern .mo-foot-contact { display: flex; flex-direction: column; font-style: normal; }
.look-modern .mo-blurb { font-size: 14.5px; color: var(--mo-muted); margin: 14px 0 18px; max-width: 34ch; }
.look-modern .mo-foot-bottom { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--mo-line); font-size: 13.5px; color: var(--mo-muted); }
.look-modern .mo-foot-bottom p { margin: 0; }
.look-modern .mo-foot-bottom a { text-decoration: none; font-weight: 700; color: var(--mo-ink2); }
.look-modern .mo-foot-bottom a:hover { color: var(--site-accent); }

/* ===================== phase 2 =====================
   The inside pages (class, teacher, shop), the phone menu, the empty hub
   and the W2-1 sections Modern had not drawn yet — all in the board's
   idiom: hairline cards, a teal eyebrow over a heavy heading, square
   photos, the amber month tab. */
.look-modern .mo-i15 { width: 15px; height: 15px; flex: none; }
.look-modern .mo-i16 { width: 16px; height: 16px; flex: none; }
.look-modern .mo-i18 { width: 18px; height: 18px; flex: none; }
.look-modern .mo-trail ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; font-weight: 600; color: var(--mo-muted); }
.look-modern .mo-trail a { color: var(--mo-ink2); text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.look-modern .mo-trail a:hover { color: var(--site-accent); text-decoration: underline; text-underline-offset: 3px; }
.look-modern .mo-trail [aria-current] { color: var(--site-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }
.look-modern .mo-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.look-modern .mo-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--mo-line); border-radius: 999px; background: var(--site-surface); font-size: 13px; font-weight: 700; color: var(--mo-ink2); line-height: 1.4; }
.look-modern .mo-tag svg { color: var(--site-accent); }
.look-modern .mo-tag--k1 { background: var(--site-tint-1); border-color: var(--mo-k1-line); color: var(--mo-k1); }
.look-modern .mo-tag--k2 { background: var(--site-tint-2); border-color: var(--mo-k2-line); color: var(--mo-k2); }
.look-modern .mo-tag--k3 { background: var(--site-tint-3); border-color: var(--mo-k3-line); color: var(--mo-k3); }
.look-modern .mo-tag--k4 { background: var(--site-tint-4); border-color: var(--mo-k4-line); color: var(--mo-k4); }
.look-modern .mo-cal--sm { width: 48px; height: 50px; border-radius: 8px; }
.look-modern .mo-cal--sm span { font-size: 10px; padding: 1px 0; }
.look-modern .mo-cal--sm b { font-size: 19px; }
.look-modern .mo-cp-note { margin: 6px 0 0; font-size: 13.5px; color: var(--mo-muted); }

/* the class page (storefront/classes/show): the shared frame on Modern's gutter */
.look-modern [data-class-page] > div.grid { padding-left: var(--mo-gut); padding-right: var(--mo-gut); padding-top: 40px; column-gap: clamp(40px, 5vw, 64px); }
.look-modern [data-class-page] > div.grid > div:first-child { gap: 56px; }
.look-modern .mo-cp-head { padding: 28px 0 0; }
.look-modern .mo-cp-head .mo-wrap { display: flex; flex-direction: column; gap: 22px; }
.look-modern .mo-cp-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; }
.look-modern .mo-cp-title .mo-head-stack { gap: 16px; max-width: 900px; }
.look-modern .mo-cp-h1 { margin: 0; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; font-weight: 800; letter-spacing: -.035em; color: var(--site-ink); }
.look-modern .mo-cp-photos { display: grid; grid-template-columns: minmax(0, 1fr) calc(33.333% - 14px); grid-template-rows: auto auto; align-items: start; gap: 14px; max-width: 1140px; }
.look-modern .mo-cp-photos figure { position: relative; margin: 0; border: 1px solid var(--mo-line); border-radius: var(--mo-r); overflow: hidden; background: var(--site-soft); min-height: 0; }
.look-modern .mo-cp-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.look-modern .mo-cp-cover { grid-row: 1 / -1; }
.look-modern .mo-cp-photos--one { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; max-width: 760px; }
.look-modern .mo-cp-photos--one .mo-cp-cover { grid-row: auto; }
.look-modern .mo-cp-photos .mo-cap { left: auto; right: 12px; }
.look-modern .mo-cp-tile { position: relative; display: grid; place-items: center; max-width: 760px; border: 1px solid var(--mo-line); border-radius: var(--mo-r); overflow: hidden;
  background-image: linear-gradient(color-mix(in srgb, currentColor 9%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, currentColor 9%, transparent) 1px, transparent 1px);
  background-size: 32px 32px; background-position: -1px -1px; }
.look-modern .mo-cp-tile .mo-ico { width: 88px; height: 88px; border-radius: 18px; background: var(--site-surface); border: 1px solid currentColor; }
.look-modern .mo-cp-tile .mo-ico svg { width: 40px; height: 40px; }
/* The photos open the main column, beside the booking panel
   (class_page/_photos); on a phone the wrapper is trimmed so they sit
   where they did when the head drew them. */
@media (max-width: 1023.98px) { .look-modern [data-class-page-photos] { margin: -8px 0 -20px; } }

.look-modern .mo-facts { display: grid; grid-template-columns: repeat(var(--mo-n, 4), minmax(0, 1fr)); margin: 0; border: 1px solid var(--mo-line); border-radius: var(--mo-r); background: var(--site-surface); overflow: hidden; }
.look-modern .mo-facts--3 { --mo-n: 3; } .look-modern .mo-facts--2 { --mo-n: 2; } .look-modern .mo-facts--1 { --mo-n: 1; }
.look-modern .mo-fact { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 18px 20px; }
.look-modern .mo-fact + .mo-fact { border-left: 1px solid var(--mo-line); }
.look-modern .mo-fact dt { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--mo-muted); }
.look-modern .mo-fact-ic { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--mo-a50); color: var(--site-accent); flex: none; }
.look-modern .mo-fact dd { margin: 0; overflow-wrap: anywhere; }
.look-modern .mo-fact-v { font-size: 16.5px; font-weight: 800; line-height: 1.3; color: var(--site-ink); letter-spacing: -.01em; }
.look-modern .mo-fact-d { font-size: 14px; color: var(--mo-ink2); }

.look-modern .mo-cp-sec { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.look-modern .mo-cp-sec-head { display: flex; flex-direction: column; gap: 8px; }
.look-modern .mo-cp-sec-head--row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 8px 20px; flex-wrap: wrap; }
.look-modern .mo-cp-sec-head--row > div { display: flex; flex-direction: column; gap: 8px; }
.look-modern .mo-cp-h2 { margin: 0; font-size: clamp(24px, 2.3vw, 30px); line-height: 1.15; font-weight: 800; letter-spacing: -.025em; color: var(--site-ink); }
.look-modern .mo-cp-prose { max-width: 68ch; font-size: 17px; line-height: 1.7; color: var(--mo-ink2); }
.look-modern .mo-cp-prose p { margin: 0 0 1em; }
.look-modern .mo-cp-prose > :last-child { margin-bottom: 0; }
.look-modern .mo-cp-prose ul, .look-modern .mo-cp-prose ol { margin: 0 0 1em; padding-left: 1.2em; }
.look-modern .mo-cp-prose li { margin: .25em 0; }
.look-modern .mo-cp-prose .activity-description-heading { margin: 1.3em 0 .45em; font: 800 19px/1.3 var(--site-display); letter-spacing: -.015em; color: var(--site-ink); }
.look-modern .mo-cp-list { padding: 22px 24px; border: 1px solid var(--mo-line); border-radius: var(--mo-r); background: var(--site-surface); min-width: 0; }
.look-modern .mo-cp-list h3 { margin: 0 0 14px; font-size: 17px; font-weight: 800; letter-spacing: -.01em; color: var(--site-ink); }
.look-modern .mo-cp-list .mo-cp-note { white-space: pre-line; font-size: 15px; color: var(--mo-ink2); margin-top: 12px; }

.look-modern .mo-dates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.look-modern .mo-date { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px 12px; border: 1px solid var(--mo-line); border-radius: 10px; background: var(--site-surface); }
.look-modern .mo-date-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.look-modern .mo-date-t b { font-size: 14.5px; font-weight: 800; color: var(--site-ink); }
.look-modern .mo-date-t span { font-size: 13px; color: var(--mo-muted); font-weight: 600; }
.look-modern .mo-date.is-next { border-color: var(--site-accent); box-shadow: inset 0 0 0 1px var(--site-accent); background: var(--mo-a50); }
.look-modern .mo-date.is-next .mo-date-t span { color: var(--mo-a-d); font-weight: 700; }
.look-modern .mo-date.is-past { opacity: .55; }

.look-modern .mo-cp-pay { display: flex; align-items: flex-start; gap: 16px; padding: 22px 24px; border: 1px solid var(--mo-a-line); border-radius: var(--mo-r); background: var(--mo-a50); }
.look-modern .mo-cp-pay h2 { margin: 0 0 4px; font-size: 18px; font-weight: 800; letter-spacing: -.01em; color: var(--site-ink); }
.look-modern .mo-cp-pay p { margin: 0; color: var(--mo-ink2); }
.look-modern .mo-cp-pay .mo-ico { background: var(--site-surface); border: 1px solid var(--mo-a-line); color: var(--site-accent); }

.look-modern .mo-cp-teachers { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.look-modern .mo-cp-teacher { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 22px; align-items: start; padding: 18px; border: 1px solid var(--mo-line); border-radius: var(--mo-r); background: var(--site-surface); }
.look-modern .mo-cp-face { width: 120px; }
.look-modern .mo-cp-face .mo-initials { font-size: 44px; }
.look-modern .mo-cp-who { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-top: 4px; }
.look-modern .mo-cp-who h3 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; color: var(--site-ink); }
.look-modern .mo-cp-who h3 a { color: inherit; text-decoration: none; }
.look-modern .mo-cp-who h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.look-modern .mo-cp-who p { margin: 4px 0 0; color: var(--mo-ink2); font-size: 15.5px; max-width: 60ch; }
.look-modern .mo-cp-who .mo-link { align-self: flex-start; }

.look-modern .mo-cp-where.mo-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.look-modern .mo-cp-where.mo-contact--nomap { grid-template-columns: minmax(0, 1fr); }
.look-modern .mo-cp-where.mo-contact--nomap .mo-cinfo-card { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.look-modern .mo-cp-where .mo-map { min-height: 260px; }
.look-modern .mo-map-dir { position: absolute; right: 12px; bottom: 12px; box-shadow: 0 2px 10px -4px rgba(15, 23, 42, .35); }
.look-modern .mo-cp-dir { align-self: flex-start; }

.look-modern .mo-cp-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.look-modern .mo-cp-quotes .mo-last-odd { grid-column: 1 / -1; }
.look-modern .mo-cp-quotes .mo-q { padding: 24px; gap: 22px; }
.look-modern .mo-cp-quotes .mo-q blockquote { font-size: 16.5px; }
.look-modern .mo-q figcaption span > span { display: block; color: var(--mo-muted); }

.look-modern main:has(.mo-cp-related) + .mo-footer { margin-top: 0; border-top: 0; }
.look-modern .mo-cp-related { margin-top: 56px; background: var(--site-soft); border-top: 1px solid var(--mo-line); border-bottom: 1px solid var(--mo-line); }

/* the shared booking panel (storefront/class_page/_book_panel — W2-4
   rewires it, so Modern only dresses it): a white hairline card, the price
   heavy, the seat bar teal, the button the board's 10px teal. */
.look-modern [data-class-page-part="book_panel"] { border: 1px solid var(--mo-line); border-radius: var(--mo-r); background: var(--site-surface); color: var(--site-ink); box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -18px rgba(15, 23, 42, .22); padding: 26px; gap: 20px; }
.look-modern [data-class-page-part="book_panel"] [data-price] { font-family: var(--site-display); font-size: 40px; font-weight: 800; letter-spacing: -.04em; }
.look-modern [data-class-page-part="book_panel"] [data-book-part="seats-meter"] { height: 8px; background: var(--mo-a100); }
.look-modern [data-class-page-part="book_panel"] [data-book-part="seats-fill"] { background: var(--site-accent-fill); }
.look-modern [data-class-page-part="book_panel"] :is([data-book-part="options"], [data-book-part="ask"]) { border-color: var(--mo-line); }
.look-modern [data-class-page-part="book_panel"] [data-book-part="next-date"] { border-radius: 10px; border: 1px solid var(--mo-line); }
.look-modern :is([data-class-page-part="book_panel"], [data-class-page-bar]) a[data-book-part="cta"] { border-radius: 10px; font-weight: 700; filter: none; }
.look-modern :is([data-class-page-part="book_panel"], [data-class-page-bar]) a[data-book-part="cta"]:hover { background: color-mix(in srgb, var(--site-accent-fill) 82%, #000); filter: none; }
.look-modern [data-class-page-part="book_panel"] [data-book-part="action"] button[disabled] { border-radius: 10px; }
.look-modern [data-class-page-part="book_panel"] [data-demo-off] { width: 100%; align-items: stretch; }
.look-modern [data-class-page-part="book_panel"] [data-demo-off] > button { justify-content: center; min-height: 48px; }
.look-modern [data-class-page-bar] { border-top: 1px solid var(--mo-line); background: color-mix(in srgb, var(--site-ground) 96%, transparent); }
.look-modern [data-class-page-bar] [data-book-part="price"] { font-weight: 800; letter-spacing: -.02em; }

/* the teacher page (storefront/instructors/show) */
.look-modern [data-teacher-page] { padding-left: var(--mo-gut); padding-right: var(--mo-gut); }
.look-modern .mo-tp-head { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(40px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); }
.look-modern .mo-tp-photo { margin: 0; aspect-ratio: 4 / 5; }
.look-modern .mo-tp-photo .mo-initials { font-size: clamp(72px, 9vw, 128px); }
.look-modern .mo-tp-copy { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.look-modern .mo-tp-copy .mo-trail { margin-bottom: 10px; }
.look-modern .mo-tp-role { font-size: 15px; }
.look-modern .mo-tp-copy .mo-lede { font-size: 18px; margin-top: 4px; }
.look-modern .mo-tp-copy .mo-cta-row { margin-top: 12px; }
.look-modern .mo-tp-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(24px, 5vw, 64px); padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--mo-line); }
/* a full-bleed soft band from inside the page's 1240px column, drawn with a
   shadow so it never widens the page */
.look-modern .mo-tp-classes { scroll-margin-top: 96px; padding: clamp(56px, 7vw, 96px) 0; background: var(--site-soft); box-shadow: 0 0 0 100vmax var(--site-soft); clip-path: inset(0 -100vmax); border-top: 1px solid var(--mo-line); }
.look-modern .mo-tp-empty { text-align: left; font-size: 17px; }
.look-modern .mo-tp-empty .mo-link { display: inline-flex; min-height: 0; }
.look-modern .mo-tp-message { padding: clamp(48px, 6vw, 80px) 0 0; }
.look-modern .mo-tp-message .mo-h2 { font-size: clamp(24px, 2.4vw, 32px); }

/* the shop (storefront/shop/index): the board's resources as a page */
.look-modern [data-part="shop-page"] { max-width: 1240px; padding-left: var(--mo-gut); padding-right: var(--mo-gut); }
.look-modern .mo-shop-head { max-width: 760px; gap: 12px; }
.look-modern .mo-shop-head .mo-lede { margin-top: 4px; }
.look-modern .mo-shop-filters { flex: none; }

/* the brand-new hub's "classes are coming soon" (board r5-state-01) */
.look-modern .mo-soon { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 64px); align-items: center; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--mo-line); border-radius: var(--mo-r); background: var(--site-surface); color: var(--site-ink); }
.look-modern .mo-soon--solo { grid-template-columns: minmax(0, 1fr) auto; }
.look-modern .mo-soon-copy { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.look-modern .mo-soon-copy .mo-ico { margin-bottom: 12px; }
.look-modern .mo-soon-h { margin: 0; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -.025em; color: var(--site-ink); }
.look-modern .mo-soon-p { margin: 0; font-size: 17px; color: var(--mo-ink2); max-width: 46ch; }
/* the shared signup, drawn light on the card as the board's is */
.look-modern .mo-soon-form [data-newsletter-form] { background: transparent; color: var(--site-ink); padding: 0; border-radius: 0; }
.look-modern .mo-soon-form label { flex: 1; font-size: 13px; font-weight: 700; color: var(--site-ink); }
.look-modern .mo-soon-form input[type="email"] { width: 100%; min-height: 50px; height: 50px; border-radius: 10px; border: 1px solid var(--mo-line2); background: var(--site-surface); color: var(--site-ink); padding: 0 16px; font: 500 15px var(--site-body); }
.look-modern .mo-soon-form input[type="email"]:focus { border-color: var(--site-accent); }
.look-modern .mo-soon-form button[type="submit"] { min-height: 50px; padding: 0 22px; border-radius: 10px; background: var(--site-accent-fill); color: var(--site-on-accent); font-weight: 700; font-size: 15px; }
.look-modern .mo-soon-form button[type="submit"]:hover { background: color-mix(in srgb, var(--site-accent-fill) 82%, #000); filter: none; }
.look-modern .mo-soon-form form p { margin: 0; font-size: 12.5px; color: var(--mo-muted); opacity: 1; }
.look-modern .mo-soon-form button[disabled] { border-radius: 10px; color: var(--site-ink); }
.look-modern .mo-soon-form form > div { width: 100%; }

/* a pull quote in the hub's words */
.look-modern .mo-pull { display: flex; flex-direction: column; gap: 22px; max-width: 940px; margin: 0; }
.look-modern .mo-pull-rule { width: 56px; height: 4px; border-radius: 4px; background: var(--site-accent-2); }
.look-modern .mo-pull blockquote { margin: 0; font: 800 clamp(26px, 3.4vw, 44px)/1.18 var(--site-display); letter-spacing: -.03em; color: var(--site-ink); text-wrap: balance; }
.look-modern .mo-pull blockquote p { margin: 0 0 .4em; }
.look-modern .mo-pull blockquote p:last-child { margin: 0; }
.look-modern .mo-pull figcaption { font-size: 15px; font-weight: 700; color: var(--site-accent); }
.look-modern .mo-pull--plain blockquote { font-size: clamp(21px, 2.2vw, 28px); font-weight: 700; letter-spacing: -.02em; }

/* the scholarships a hub takes, as the hero's trust line */
.look-modern .mo-sec--badges { padding: clamp(40px, 5vw, 64px) 0; }
.look-modern .mo-badges { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 0; padding: 0; list-style: none; }
.look-modern .mo-badge-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 18px 6px 8px; border: 1px solid var(--mo-line); border-radius: 999px; background: var(--site-surface); font-size: 15px; font-weight: 700; color: var(--site-ink); }
.look-modern .mo-badge-pill i { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 99px; background: var(--mo-a50); color: var(--site-accent); flex: none; }
.look-modern .mo-badge-pill svg { width: 18px; height: 18px; }

/* the next class, spotlit */
.look-modern .mo-spot { display: grid; align-items: center; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border: 1px solid var(--mo-line); border-radius: var(--mo-r); background: var(--site-surface); overflow: hidden; color: var(--site-ink); }
.look-modern .mo-spot-photo { position: relative; display: block; margin: 14px; border-radius: calc(var(--mo-r) - 4px); background: var(--site-soft); overflow: hidden; }
.look-modern .mo-spot-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.look-modern .mo-spot-photo [data-card-tile] { position: absolute; inset: 0; }
.look-modern .mo-spot-body { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3.4vw, 40px); min-width: 0; }
.look-modern .mo-spot-when { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; margin-bottom: 4px; border-bottom: 1px solid var(--mo-line); }
.look-modern .mo-spot h3 { margin: 0; font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.look-modern .mo-spot h3 a { color: inherit; text-decoration: none; }
.look-modern .mo-spot h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.look-modern .mo-spot-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--mo-line); }
.look-modern .mo-spot-foot > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.look-modern .mo-spot-foot .mo-price { font-size: 24px; }

/* the phone menu (storefront/chrome/_phone_menu, shared): the sheet in the
   board's dress — the white bar under a hairline the header's height, the
   menu in heavy type on hairlines, the teal button, a hairline call card */
.look-modern [data-phone-menu-target="sheet"] { background: var(--site-ground); color: var(--site-ink); }
.look-modern [data-phone-menu-target="sheet"] > div:first-child { height: 76px; padding-left: var(--mo-gut); padding-right: calc(var(--mo-gut) + 56px); border-bottom: 1px solid var(--mo-line); }
.look-modern [data-phone-menu-target="sheet"] > div:first-child > span { font: 800 17px/1.15 var(--site-display); letter-spacing: -.01em; }
.look-modern [data-phone-menu-target="sheet"] > nav { padding-left: var(--mo-gut); padding-right: var(--mo-gut); padding-top: 8px; }
.look-modern [data-phone-menu-target="sheet"] > nav a { min-height: 60px; border-color: var(--mo-line); font: 800 21px/1.2 var(--site-display); letter-spacing: -.02em; color: var(--site-ink); }
.look-modern [data-phone-menu-target="sheet"] > nav a svg { color: var(--mo-muted); opacity: 1; }
.look-modern [data-phone-menu-target="sheet"] > nav a[aria-current="page"] { color: var(--site-accent); box-shadow: inset 3px 0 0 var(--site-accent); padding-left: 14px; }
.look-modern [data-phone-menu-target="sheet"] > nav a[aria-current="page"] svg { color: var(--site-accent); }
.look-modern [data-phone-menu-target="sheet"] > div:nth-child(3) { padding-left: var(--mo-gut); padding-right: var(--mo-gut); padding-top: 24px; }
.look-modern [data-phone-menu-target="sheet"] > div:nth-child(3) > a { border-radius: 10px; font-weight: 700; }
.look-modern [data-phone-menu-target="sheet"] > div:nth-child(3) > a:not([data-phone-menu-call]):not([class*="site-accent-fill"]) { border-color: var(--mo-line2); background: var(--site-surface); }
.look-modern [data-phone-menu-target="sheet"] [data-phone-menu-call] { border-radius: var(--mo-r); border-color: var(--mo-line); background: var(--site-surface); }
.look-modern [data-phone-menu-target="sheet"] [data-phone-menu-call] > span:first-child { border-radius: 10px; }
.look-modern [data-phone-menu-target="sheet"] [data-phone-menu-call] > span:last-child > span:first-child { font-weight: 800; }
.look-modern [data-phone-menu-target="sheet"] > div.mt-auto { padding-left: var(--mo-gut); padding-right: var(--mo-gut); border-top: 1px solid var(--mo-line); margin-top: 32px; padding-top: 22px; }
.look-modern [data-phone-menu-target="sheet"] > div.mt-auto a { border-color: var(--mo-line); color: var(--mo-ink2); }
.look-modern [data-phone-menu] > summary { position: relative; z-index: 61; }
/* open, the close button sits in the sheet's own bar, whatever the
   announcement above the header pushed it down by (the header drops its
   blur while open: shared, application.css) */
.look-modern [data-phone-menu][open] > summary { position: fixed; top: 16px; right: var(--mo-gut); }

/* /classes (storefront/classes/index): the heading in the board's weight,
   the filter bar's dropdowns as the board's hairline fields */
.look-modern [data-part="classes-body"] { padding-left: var(--mo-gut); padding-right: var(--mo-gut); padding-top: 40px; }
.look-modern [data-controller="class-filters"] h1 { font-weight: 800; letter-spacing: -.035em; }
.look-modern [data-controller="class-filters"] section > h2 { font-weight: 800; letter-spacing: -.02em; }
.look-modern [data-part="classes-filter-bar"] { top: 77px; border-color: var(--mo-line); background: var(--site-ground); }
.look-modern [data-part="classes-filter-row"] { padding-left: var(--mo-gut); padding-right: var(--mo-gut); }
.look-modern [data-controller="class-filters"] select { height: 44px; border-radius: 10px; border-color: var(--mo-line2); font-weight: 600; color: var(--site-ink); background-color: var(--site-surface); }
.look-modern [data-controller="class-filters"] label:has(input[type="checkbox"]) { height: 44px; border-color: var(--mo-line2); font-weight: 600; }
.look-modern [data-controller="class-filters"] nav[aria-label="Show by"] a { min-height: 44px; font-weight: 600; }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .look-modern .mo-hero .mo-wrap { grid-template-columns: minmax(0, 1fr); }
  .look-modern .mo-bento { max-width: 760px; }
  .look-modern .mo-rows--tab2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .look-modern .mo-rows--tab2 .mo-row { display: contents; }
  .look-modern .mo-rows--tab2 .mo-last-odd { grid-column: 1 / -1; }
  .look-modern .mo-split { grid-template-columns: minmax(0, 1fr); }
  .look-modern .mo-foot-grid, .look-modern .mo-foot-grid--3 { grid-template-columns: 1fr 1fr; }
  .look-modern .mo-foot-grid--3 > div:first-child { grid-column: 1 / -1; }
  .look-modern .mo-about { grid-template-columns: minmax(0, 1fr); }
  .look-modern .mo-pt { grid-template-columns: minmax(0, 1fr); }
  .look-modern .mo-pt--left > :first-child { order: 0; }
}
@media (max-width: 900px) {
  .look-modern .mo-contact { grid-template-columns: minmax(0, 1fr); }
  .look-modern .mo-map { border-left: 0; border-top: 1px solid var(--mo-line); min-height: 300px; }
  .look-modern .mo-news { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  /* the timetable becomes a list of days */
}
@media (max-width: 700px) {
  .look-modern .mo-announce .mo-wrap { font-size: 13px; gap: 6px 10px; }
  .look-modern .mo-dot { display: none; }
  .look-modern .mo-header .mo-wrap { min-height: 64px; gap: 12px; }
  .look-modern .mo-brand-name span { display: none; }
  .look-modern .mo-hero-copy { gap: 20px; }
  .look-modern .mo-cta-row .mo-btn { flex: 1 1 auto; }
  .look-modern .mo-bento { grid-template-columns: 1fr 1fr; }
  .look-modern .mo-tile-photo { grid-column: 1 / -1; grid-row: auto; min-height: 260px; }
  .look-modern .mo-tile-teacher { min-height: 220px; }
  .look-modern .mo-tile-teacher .mo-who { max-width: 100%; padding-right: 18px; }
  .look-modern .mo-tile-teacher .mo-face { top: auto; height: 50%; width: 56%; border-top-left-radius: 10px; }
  .look-modern .mo-bento--no-teacher .mo-tile-count, .look-modern .mo-bento--no-count .mo-tile-teacher { grid-row: auto; grid-column: 1 / -1; }
  .look-modern .mo-num { font-size: 42px; }
  .look-modern .mo-tile-next { grid-template-columns: auto minmax(0, 1fr); }
  .look-modern .mo-tile-next .mo-btn { grid-column: 1 / -1; }
  .look-modern .mo-head { margin-bottom: 28px; }
  .look-modern .mo-rows, .look-modern .mo-rows--tab2 { display: flex; flex-direction: column; }
  .look-modern .mo-row { flex-direction: column; display: flex; }
  .look-modern .mo-rows--tab2 .mo-row { display: flex; }
  .look-modern .mo-rows--phone2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .look-modern .mo-rows--phone2 .mo-row { display: contents; }
  .look-modern .mo-rows--phone2 .mo-last-odd { grid-column: 1 / -1; }
  .look-modern .mo-statrow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .look-modern .mo-statrow .mo-last-odd { grid-column: 1 / -1; }
  .look-modern .mo-stat { padding: 18px 16px; }
  .look-modern .mo-stat dd { font-size: 38px; }
  .look-modern .mo-age { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ico h" "ico p" "foot foot"; column-gap: 18px; row-gap: 6px; padding: 22px; }
  .look-modern .mo-age-top { grid-area: ico; align-self: start; }
  .look-modern .mo-age-top .mo-idx { display: none; }
  .look-modern .mo-age h3 { grid-area: h; font-size: 19px; }
  .look-modern .mo-age p { grid-area: p; }
  .look-modern .mo-age-foot { grid-area: foot; margin-top: 10px; }
  .look-modern .mo-res a, .look-modern .mo-res-row { grid-template-columns: 44px minmax(0, 1fr); row-gap: 8px; }
  .look-modern .mo-ri { width: 44px; height: 44px; }
  .look-modern .mo-ri.has-cover { width: 76px; height: auto; }
  .look-modern .mo-faq-a { padding-right: 0; }
  .look-modern .mo-news form > div { flex-direction: column; align-items: stretch; }
  .look-modern .mo-news button[type="submit"] { width: 100%; }
  .look-modern .mo-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .look-modern .mo-gallery-row { display: contents; }
  .look-modern .mo-gallery-row > li { aspect-ratio: 1; }
  .look-modern .mo-gallery .mo-last-odd { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
  .look-modern .mo-gallery--whole { display: block; columns: 2; }
  .look-modern .mo-cta .mo-btn { width: 100%; }
  .look-modern .mo-foot-grid, .look-modern .mo-foot-grid--3, .look-modern .mo-foot-grid--2 { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .look-modern .mo-foot-grid > div:first-child { grid-column: 1 / -1; }
  .look-modern .mo-foot-bottom { flex-direction: column; }
}

/* ---------- phase 2: tablet and phone ---------- */
@media (max-width: 1024px) {
  .look-modern .mo-tp-head { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
  .look-modern .mo-tp-story { grid-template-columns: minmax(0, 1fr); }
  .look-modern .mo-spot { grid-template-columns: minmax(0, 1fr); }
  .look-modern .mo-soon { grid-template-columns: minmax(0, 1fr); }
  .look-modern .mo-dates { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .look-modern .mo-cp-where.mo-contact { grid-template-columns: minmax(0, 1fr); }
  .look-modern .mo-cp-where .mo-map { min-height: 240px; }
  .look-modern .mo-facts--4 { --mo-n: 2; }
  .look-modern .mo-facts--4 .mo-fact:nth-child(3) { border-left: 0; }
  .look-modern .mo-facts--4 .mo-fact:nth-child(n+3) { border-top: 1px solid var(--mo-line); }
}

@media (max-width: 700px) {
  .look-modern [data-class-page] > div.grid { padding-top: 24px; }
  .look-modern [data-class-page] > div.grid > div:first-child { gap: 44px; }
  .look-modern .mo-cp-head { padding-top: 16px; }
  .look-modern .mo-cp-head .mo-wrap { gap: 16px; }
  .look-modern .mo-trail [aria-current] { max-width: 22ch; }
  .look-modern .mo-cp-photos { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; height: auto; }
  .look-modern .mo-cp-cover { grid-row: auto; }
  .look-modern .mo-cp-more { display: none; }
  .look-modern .mo-fact { padding: 14px 16px; }
  .look-modern .mo-facts--3 { --mo-n: 1; }
  .look-modern .mo-facts--3 .mo-fact + .mo-fact { border-left: 0; border-top: 1px solid var(--mo-line); }
  .look-modern .mo-dates { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .look-modern .mo-date { padding: 8px 10px; gap: 10px; }
  .look-modern .mo-cp-teacher { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 14px; }
  .look-modern .mo-cp-face { width: 84px; }
  .look-modern .mo-cp-face .mo-initials { font-size: 32px; }
  .look-modern .mo-cp-quotes { grid-template-columns: minmax(0, 1fr); }
  .look-modern .mo-cp-related { margin-top: 40px; }
  .look-modern [data-class-page-part="book_panel"] { padding: 20px; }
  .look-modern .mo-tp-head { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding-top: 20px; }
  .look-modern .mo-tp-copy { display: contents; }
  .look-modern .mo-tp-copy .mo-trail { order: -2; margin-bottom: 4px; }
  .look-modern .mo-tp-photo { order: -1; width: 100%; max-width: 280px; aspect-ratio: 1 / 1; margin-bottom: 12px; }
  .look-modern .mo-tp-copy .mo-cta-row { margin-top: 8px; }
  .look-modern .mo-tp-copy .mo-cta-row .mo-btn { flex: 1 1 auto; }
  .look-modern .mo-tp-message .mo-btn { width: 100%; }
  .look-modern .mo-soon-form form > div { flex-direction: column; align-items: stretch; }
  .look-modern .mo-soon-form button[type="submit"] { width: 100%; }
  .look-modern .mo-soon--solo { grid-template-columns: minmax(0, 1fr); }
  .look-modern .mo-soon--solo > .mo-btn { width: 100%; }
  .look-modern .mo-spot-foot { align-items: flex-end; }
  .look-modern .mo-badge-pill { font-size: 14px; }
  .look-modern [data-phone-menu-target="sheet"] > div:first-child { height: 64px; }
  .look-modern [data-phone-menu][open] > summary { top: 10px; }
  .look-modern [data-part="classes-filter-bar"] { top: 65px; }
  .look-modern [data-part="classes-body"] { padding-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .look-modern *, .look-modern *::before, .look-modern *::after { transition: none !important; animation: none !important; }
  .look-modern a.mo-age:hover, .look-modern .mo-gallery button:hover img, .look-modern a:hover .mo-arrow { transform: none; }
  .look-modern [data-phone-menu-target="sheet"] { scroll-behavior: auto; }
}

/* Phones see three classes (shared, W2-5): the band already ends on its own
   "View all N classes", so the shared link under the cards stays hidden. */
.look-modern .mo-classes [data-phone-more] { display: none; }

/* W2.1/W2.2 — the booking panel's field group, and the class page's
   highlights. The shared panel (storefront/class_page/_book_panel, board 15
   option B) draws one bordered [data-book-part="fields"]: the Session, then
   the Option and Hours cells, each a label[data-book-field] with
   a [data-book-part="choice-label"] caption over its native
   [data-book-part="select"] (the select's padding is the cell's tap target:
   colour and type it, never pad it). Hours is [data-book-part="hours"]
   (never set its display: the `hidden` class shows and hides it). Children is the
   [data-book-part="children"] stepper (its buttons "step"). The rule over
   "If you cancel" is [data-book-part="refund"]'s. The highlights part
   (storefront/class_page/_highlights) is [data-class-page-part="highlights"]
   with data-highlight-part icon, title and body. */
.look-modern [data-class-page-part="book_panel"] [data-book-part="fields"] { border: 1px solid var(--mo-line2); border-radius: 10px; background: var(--site-surface); }
.look-modern [data-class-page-part="book_panel"] [data-book-part="fields"] :is([data-book-part="sessions"], [data-book-field]) { border-color: var(--mo-line2); }
.look-modern [data-class-page-part="book_panel"] [data-book-part="fields"] [data-book-part="select"] { font: 500 15px var(--site-body); color: var(--site-ink); }
.look-modern [data-class-page-part="book_panel"] [data-book-part="fields"] [data-book-part="chevron"] { color: var(--site-ink); opacity: .7; }
.look-modern [data-class-page-part="book_panel"] [data-book-part="refund"] { border-color: var(--mo-line2); }
.look-modern [data-class-page-part="highlights"] [data-highlight-part="icon"] { border-radius: 10px; background: var(--mo-a100); color: var(--mo-a-d); }
.look-modern [data-class-page-part="highlights"] [data-highlight-part="title"] { font-family: var(--site-display); font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.look-modern [data-class-page-part="highlights"] [data-highlight-part="body"] { opacity: 1; color: var(--mo-ink2); }

/* ---- The service card (services/_card) on /services --------------------- */
/* Book is this look's primary button and Request its outlined one; the
   "By request" line is the AA-safe accent (--site-accent-text) where the
   partial says blue. application.css draws Original's; every look redraws
   all three hooks (test/lint/look_service_hooks_test.rb). */
.look-modern [data-service-book] { min-height: 44px; padding: 0 16px; border-radius: 8px; background: var(--site-accent-fill); color: var(--site-on-accent); font: 700 14px/1.1 var(--site-body); }
.look-modern [data-service-book]:hover { background: color-mix(in srgb, var(--site-accent-fill) 82%, #000); }
.look-modern [data-service-request] { min-height: 44px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--mo-line2); background: var(--site-surface); color: var(--site-ink); font: 700 14px/1.1 var(--site-body); }
.look-modern [data-service-request]:hover { background: var(--site-surface); border-color: var(--site-ink); }
.look-modern [data-service-status] { color: var(--site-accent-text); }

/* ---- A dark ground (body[data-ground="dark"]: a hub's own colours) ----
   The pale accent steps and the category inks were mixed for a white page:
   pale tiles under the light ink, dark teal words on a dark card. */
.look-modern[data-ground="dark"] {
  --mo-a50: color-mix(in srgb, var(--site-accent) 10%, var(--site-ground));
  --mo-a100: color-mix(in srgb, var(--site-accent) 20%, var(--site-ground));
  --mo-a-line: color-mix(in srgb, var(--site-accent) 35%, var(--site-ground));
  --mo-k1: #5eead4; --mo-k1-line: #134e4a;
  --mo-k2: #fcd34d; --mo-k2-line: #78350f;
  --mo-k3: #c4b5fd; --mo-k3-line: #4c1d95;
  --mo-k4: #7dd3fc; --mo-k4-line: #0c4a6e;
}
.look-modern[data-ground="dark"] :is(.mo-seat--low, .mo-t1) { color: #fbbf24; }
