/* Combat Defence Systems: site stylesheet. Ported from design/homepage.dc.html. */

/* Gazzetta Medium (TipoType), headings only. Confirm the licence covers web use before launch. */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-400-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-500-latin.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-600-latin.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gazzetta';
  src: url('../fonts/Gazzetta-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --yellow: #FFC112;
  --grey-100: #F2F2F2;
  --grey-text-dark: #B8B8B8;
  --grey-text-light: #3D3D3D;
  --grey-text-light-2: #4D4D4D;
  --rule-dark: #262626;
  --rule-dark-2: #2E2E2E;
  --font-display: 'Gazzetta', 'Arial Narrow', sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --container: 1280px;
  --gutter: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--font-body); font-weight: 400; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--yellow); }
a:hover { color: var(--white); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
ul { list-style: none; margin: 0; padding: 0; }
p, li { font-family: var(--font-body); font-weight: 400; text-transform: none; }
p { margin: 0; }
h1, h2, h3, h4, h5, h6, .disp {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: none;
  margin: 0;
  line-height: .95;
  letter-spacing: .01em;
}
figure, blockquote { margin: 0; }

.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--yellow); color: var(--black); padding: 12px 18px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 8px; color: var(--black); }

/* Layout */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding-top: 128px; padding-bottom: 128px; }
.sec--tight { padding-top: 120px; padding-bottom: 120px; }
.light { background: var(--white); color: var(--black); }
.grey { background: var(--grey-100); color: var(--black); }
.dark { background: var(--black); color: var(--white); }
.head-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.head-row > .h2 { margin-top: .05em; }
.h2 { font-size: clamp(48px, 6vw, 88px); }
.lede { font-size: 17px; line-height: 1.65; }
.light .lede, .grey .lede { color: var(--grey-text-light); }
.dark .lede { color: var(--grey-text-dark); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }

/* Buttons and links */
.btn-y, .btn-o, .btn-ob { display: inline-block; text-decoration: none; text-align: center; }
.btn-y { background: var(--yellow); color: var(--black); font-weight: 600; transition: background .15s; }
.btn-y:hover { background: var(--white); color: var(--black); }
.btn-o { color: var(--white); font-weight: 500; box-shadow: inset 0 0 0 2px var(--white); transition: background .15s, color .15s; }
.btn-o:hover { background: var(--white); color: var(--black); }
.btn-ob { color: var(--black); font-weight: 500; box-shadow: inset 0 0 0 2px var(--black); transition: background .15s, color .15s; }
.btn-ob:hover { background: var(--black); color: var(--white); }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-md { padding: 14px 24px; font-size: 15px; }
.btn-sm { padding: 13px 22px; font-size: 15px; }
.lk { color: var(--yellow); text-decoration: none; font-weight: 500; font-size: 15px; }
.lk:hover { text-decoration: underline; color: var(--yellow); }
.nt { color: var(--white); text-decoration: none; font-size: 15px; font-weight: 500; }
.nt:hover { color: var(--yellow); }

/* Halftone photo placeholders */
.ht { background-color: #141414; background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1.7px), linear-gradient(155deg, #2b2b2b 0%, #0a0a0a 70%); background-size: 6px 6px, 100% 100%; }
.htl { background-color: #d9d9d9; background-image: radial-gradient(rgba(0,0,0,.16) 1px, transparent 1.7px), linear-gradient(155deg, #e6e6e6 0%, #bdbdbd 80%); background-size: 6px 6px, 100% 100%; }
.ph { display: flex; align-items: flex-end; padding: 16px; }
.ph p { font-size: 12px; color: #9e9e9e; }
.htl .ph-label, .ph-label.on-light { color: var(--grey-text-light); }

/* Photography: greyscale + dark grade over every photo (the dot-screen halftone was dropped 17 Nov); hover goes to colour */
:root { --photo-filter: grayscale(1) contrast(1.08) brightness(.82); }
.photo { position: relative; overflow: hidden; isolation: isolate; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; filter: var(--photo-filter); transition: filter .3s ease; }
.photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.35) 100%); }
.photo::after { z-index: 1; transition: opacity .3s ease; }

/* Hover: the photo goes to full colour */
.card:hover .photo img, .kid:hover .photo img, .person:hover .photo img, .gallery .photo:hover img { filter: none; }
.card:hover .photo::after, .kid:hover .photo::after, .person:hover .photo::after, .gallery .photo:hover::after { opacity: .5; }
.photo--lead { box-shadow: inset 0 -4px 0 var(--yellow); }
.photo--lead::after { box-shadow: inset 0 -4px 0 var(--yellow); }

/* Compact fixed header */
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: var(--black); border-bottom: 3px solid var(--yellow); transform: translateY(-110%); transition: transform .28s ease; }
.bar--on { transform: none; }
.bar-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bar-logo { display: flex; }
.bar-logo img { height: 46px; width: auto; display: block; }
.bar nav ul { display: flex; gap: 32px; }
.bar-actions { display: flex; align-items: center; gap: 20px; }
.bar-actions .btn-y { padding: 11px 20px; font-size: 14px; }

/* Mobile menu */
.mnav { display: none; position: fixed; inset: 0; z-index: 60; background: var(--black); flex-direction: column; padding: 24px 20px 40px; gap: 32px; border: 8px solid var(--yellow); overflow-y: auto; }
.mnav--open { display: flex; }
.mnav-top { display: flex; justify-content: space-between; align-items: center; }
.mnav-top img { height: 30px; width: auto; }
.icon-btn { background: none; border: 0; color: var(--white); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.mnav ul { display: flex; flex-direction: column; gap: 4px; }
.mnav .nt { font-size: 28px; display: block; padding: 10px 0; }
.mnav-cta { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.mnav-cta a { padding: 16px 24px; font-size: 16px; text-align: center; }

/* Hero */
.hero-frame { background: var(--yellow); padding: 14px; }
.hero { position: relative; min-height: 820px; background: var(--black); display: flex; flex-direction: column; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; opacity: .85; }
.hero-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 52%, rgba(0,0,0,.42) 0%, rgba(0,0,0,.78) 80%); }
.hero-photo-label { position: absolute; right: 24px; bottom: 112px; font-size: 12px; color: #8f8f8f; z-index: 1; }
.hero-header { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; padding: 28px 32px 0; }
.hero-nav-left { justify-self: end; display: flex; align-items: center; margin-right: 48px; }
.hero-nav-right { justify-self: start; display: flex; align-items: center; gap: 40px; margin-left: 48px; }
.hero-nav-left ul, .hero-nav-right ul { display: flex; gap: 40px; }
.hero-nav-right .btn-y { padding: 12px 22px; font-size: 14px; }
.logo-tab { display: block; padding: 0 12px; }
.logo-tab img { height: 64px; width: auto; display: block; }
.menu-btn, .call-btn { display: none; position: absolute; top: 14px; width: 44px; height: 44px; color: var(--white); align-items: center; justify-content: center; }
.menu-btn { left: 12px; background: none; border: 0; cursor: pointer; padding: 0; }
.call-btn { right: 12px; }
.hero-body { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 168px 40px 80px; }
.hero h1 { font-size: clamp(64px, 10.5vw, 160px); line-height: .86; color: var(--white); }
.hero h1 .line { display: block; }
.hero h1 .amp { display: flex; align-items: center; justify-content: center; gap: 22px; font-size: .3em; color: var(--yellow); margin: .22em 0 .26em; line-height: 1; }
.hero h1 .amp i { display: block; width: 64px; height: 4px; background: var(--yellow); }
.hero-sub { max-width: 600px; margin-top: 32px; font-size: 18px; line-height: 1.6; color: #d6d6d6; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.ticks { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 26px 40px 30px; border-top: 1px solid rgba(255,255,255,.16); }
.tick { display: flex; align-items: center; justify-content: center; gap: 12px; }
.tick p { font-size: 15px; font-weight: 500; }

/* Lineage intro */
.gallery { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; margin-top: 72px; }
.gallery .ph, .gallery .photo { height: 460px; padding: 20px; }
.gallery .photo { padding: 0; }

/* Why CDS */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.why h2 { font-size: clamp(44px, 5vw, 72px); }
.why-lede { margin-top: 28px; max-width: 480px; font-size: 17px; line-height: 1.65; color: var(--grey-text-light); }
.stats { display: flex; gap: 56px; margin-top: 48px; }
.stats h3, .stats .stat-num { font-size: 64px; }
.stats .stat-num + p { margin-top: 8px; }
.stats p { margin-top: 8px; font-size: 14px; color: var(--grey-text-light-2); }
.why-list { display: flex; flex-direction: column; gap: 40px; }
.why-list li { display: flex; gap: 24px; align-items: flex-start; }
.icon-circle { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; }
.why-list h3 { font-size: 30px; }
.why-list p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--grey-text-light); }

/* Programs */
.programs { margin-top: 64px; gap: 64px 32px; }
.card { display: flex; flex-direction: column; }
.card .ph, .card .photo { aspect-ratio: 4 / 3; }
.card h3 { font-size: 34px; color: var(--white); margin-top: 24px; letter-spacing: .03em; }
.card-text { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--grey-text-dark); }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.card-foot p { font-size: 13px; }
.card-foot .tag-up { color: var(--yellow); }
.head-row .btn-o { margin-top: 24px; }

/* Marquee */
.marquee { background: var(--yellow); color: var(--black); overflow: hidden; padding: 26px 0; }
.mq { display: flex; align-items: center; white-space: nowrap; width: max-content; animation: mq 150s linear infinite; }
.mq > * { flex: none; margin-right: 48px; }
.mq .disp { font-size: 64px; line-height: 1; }
.mq img { height: 44px; width: auto; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Kids */
.head-row .btn-ob { margin-top: 24px; }
.kid { background: var(--grey-100); display: flex; flex-direction: column; }
.kid .ph, .kid .photo { height: 240px; }
.kid .ph p { color: var(--grey-text-light); }
.kid-body { padding: 28px 28px 32px; }
.kid-body h3 { font-size: 72px; }
.kid-body h4 { font-size: 28px; margin-top: 14px; }
.kid-body p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--grey-text-light); }
.safety { display: flex; align-items: center; gap: 14px; margin-top: 32px; padding: 18px 22px; background: var(--black); color: var(--white); }
.safety p { font-size: 15px; }

/* Quote */
.quote { position: relative; }
.quote-inner { max-width: 1120px; margin: 0 auto; padding: 148px 40px; text-align: center; }
.quote .disp { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.04; color: var(--white); }
.quote .circle { position: relative; display: inline-block; white-space: nowrap; }
.quote .circle svg { position: absolute; left: -9%; top: -32%; width: 118%; height: 164%; overflow: visible; pointer-events: none; }
.quote cite { display: block; margin-top: 36px; font-size: 15px; font-style: normal; color: var(--grey-text-dark); }

/* Timetable */
.tt-note { margin-top: 10px; font-size: 13px; color: var(--grey-text-light-2); }
.tt { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; margin-top: 56px; background: #d4d4d4; border: 2px solid #d4d4d4; }
.tt-day { background: var(--white); padding: 24px 20px 28px; }
.tt-day h3 { font-size: 30px; padding-bottom: 14px; border-bottom: 3px solid var(--black); }
.tt-day--sat h3 { border-bottom-color: var(--yellow); }
.tt-day ul { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.tt-time { font-size: 12px; color: var(--grey-text-light-2); }
.tt-name { margin-top: 2px; font-size: 15px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 1px var(--black); display: inline-block; }
.tt-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 28px; }
.tt-legend { font-size: 14px; color: var(--grey-text-light); display: flex; align-items: center; gap: 8px; }
.tt-error { grid-column: 1 / -1; background: var(--white); padding: 32px; font-size: 15px; }

/* Instructors */
.people { margin-top: 64px; }
.person .ph, .person .photo { aspect-ratio: 3 / 4; padding: 14px; }
.person .photo { padding: 0; }
.person .ph--lead { box-shadow: inset 0 -4px 0 var(--yellow); }
.person h3 { font-size: 26px; color: var(--white); margin-top: 18px; }
.person .role { margin-top: 6px; font-size: 13px; color: var(--yellow); }
.person .creds { margin-top: 10px; font-size: 13px; line-height: 1.55; color: var(--grey-text-dark); }

/* Testimonials */
.rev-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }

/* Closing CTA */
.cta-frame { background: var(--yellow); padding: 14px; }
.cta { position: relative; overflow: hidden; background: var(--black); padding: 80px 64px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.cta-mark { position: absolute; right: -80px; top: 50%; transform: translateY(-50%); height: 520px; width: auto; opacity: .07; pointer-events: none; }
.cta h2 { position: relative; font-size: clamp(56px, 7vw, 112px); color: var(--white); }
.cta-copy { position: relative; }
.cta-copy > p { font-size: 18px; line-height: 1.6; color: #d6d6d6; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Footer */
.site-footer { background: var(--black); border-top: 1px solid var(--rule-dark); }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 80px 40px 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; }
.footer-logo { height: 46px; width: auto; display: block; }
.footer-blurb { margin-top: 24px; max-width: 300px; font-size: 14px; line-height: 1.6; color: var(--grey-text-dark); }
.socials { display: flex; gap: 8px; margin-top: 24px; }
.socials a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--white); box-shadow: inset 0 0 0 1px #3a3a3a; }
.socials a:hover { color: var(--yellow); }
.site-footer h4, .footer-title { font-family: var(--font-display); font-weight: 500; text-transform: none; letter-spacing: .01em; line-height: .95; font-size: 22px; color: var(--white); margin: 0; }
.footer-links { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.footer-links .nt { font-size: 14px; font-weight: 400; color: var(--grey-text-dark); }
.footer-links .nt:hover { color: var(--yellow); }
.visit p { font-size: 14px; line-height: 1.6; color: var(--grey-text-dark); }
.visit h4 + p { margin-top: 18px; }
.visit .tel { margin-top: 10px; }
.visit .tel a { font-size: 14px; }
.visit .hours { margin-top: 14px; }
.hrs { display: grid; grid-template-columns: max-content 1fr; column-gap: 22px; row-gap: 2px; margin: 0; }
.hrs div { display: contents; }
.hrs dt, .hrs dd { margin: 0; }
.visit .hrs { font-size: 14px; line-height: 1.6; color: var(--grey-text-dark); }
.hrs-link { margin-top: 10px; }
.visit .hrs-link { font-size: 14px; }
.nap-hours { margin-top: 12px; }
.map-ph { margin-top: 20px; height: 140px; display: flex; align-items: flex-end; justify-content: space-between; padding: 14px; box-shadow: inset 0 0 0 1px var(--rule-dark-2); }
.map-ph p { font-size: 12px; color: #9e9e9e; }
.map-ph a { font-size: 13px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--rule-dark); }
.footer-base p { font-size: 13px; color: #8f8f8f; }
.footer-base ul { display: flex; gap: 24px; }
.footer-base .nt { font-size: 13px; font-weight: 400; color: #8f8f8f; }
.footer-base .nt:hover { color: var(--yellow); }

/* Responsive */
.r-show-md { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mq { animation: none; }
  .bar { transition: none; }
  .photo img, .photo::after { transition: none; }
}

@media (max-width: 1100px) {
  .r-hide-md { display: none !important; }
  .menu-btn, .call-btn { display: flex; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tt { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .sec, .sec--tight { padding-top: 72px; padding-bottom: 72px; }
  .head-row, .why, .cta, .gallery, .footer-grid, .grid-3, .grid-5, .tt, .ticks { grid-template-columns: minmax(0, 1fr); }
  .head-row { gap: 32px; }
  .why { gap: 48px; }
  .hero-frame, .cta-frame { padding: 8px; }
  .hero { min-height: 640px; }
  .hero-body { padding: 128px 20px 72px; }
  .ticks { padding: 26px 20px 30px; }
  .logo-tab img { height: 36px; }
  .r-hide-sm { display: none !important; }
  .cta { padding: 56px 20px; gap: 32px; }
  .quote-inner { padding: 96px 20px; }
  .gallery .ph, .gallery .photo { height: 300px; }
  .mq .disp { font-size: 44px; }
  .mq img { height: 32px; }
  .stats { gap: 32px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ===== Inner pages ===== */

/* Header: dropdown nav, inner (sticky) bar */
.bar--inner { position: sticky; transform: none; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav > li { position: relative; display: flex; align-items: center; height: 80px; }
.menu-toggle { background: none; border: 0; color: var(--white); width: 24px; height: 32px; margin-left: 2px; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.menu-toggle:hover, .has-menu:hover .menu-toggle { color: var(--yellow); }
.menu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu { display: none; position: absolute; top: 100%; left: -20px; min-width: 260px; background: var(--black); border: 1px solid var(--rule-dark); border-top: 3px solid var(--yellow); padding: 20px 24px 18px; z-index: 70; }
.menu--mega { width: 760px; }
.has-menu.open > .menu { display: block; }
.menu-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.menu-title { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); margin-bottom: 12px; }
.menu ul { display: flex; flex-direction: column; gap: 4px; }
.menu li a { display: block; padding: 8px 0; color: var(--white); text-decoration: none; font-size: 15px; font-weight: 500; }
.menu li a:hover { color: var(--yellow); }
.menu li a span { display: block; font-size: 12px; font-weight: 400; color: var(--grey-text-dark); }
.menu-all { display: inline-block; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule-dark); color: var(--yellow); text-decoration: none; font-weight: 500; font-size: 14px; }
.menu--mega .menu-all { display: block; }
.menu-all:hover { text-decoration: underline; color: var(--yellow); }
.bar-actions .icon-btn { width: 40px; height: 40px; }
.mnav-list { display: flex; flex-direction: column; gap: 6px; }
.mnav-list > li > .nt { font-size: 28px; display: block; padding: 8px 0; }
.mnav-sub { flex-direction: row; flex-wrap: wrap; gap: 4px 18px; padding: 0 0 8px; }
.mnav-sub a { color: var(--grey-text-dark); text-decoration: none; font-size: 15px; display: block; padding: 4px 0; }
.mnav-sub a:hover { color: var(--yellow); }

/* Page hero */
.page-hero-frame { background: var(--yellow); padding: 14px; }
.page-hero { position: relative; overflow: hidden; background: var(--black); min-height: 420px; display: flex; align-items: flex-end; }
.page-hero-photo { position: absolute; inset: 0; opacity: .6; }
.page-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.62) 55%, rgba(0,0,0,.35) 100%); }
.page-hero-inner { position: relative; z-index: 2; width: 100%; padding-top: 72px; padding-bottom: 64px; }
.page-hero h1 { font-size: clamp(48px, 7vw, 104px); line-height: .9; color: var(--white); max-width: 14ch; }
.page-lede { margin-top: 24px; max-width: 620px; font-size: 18px; line-height: 1.6; color: #d6d6d6; }
.hero-actions--left { justify-content: flex-start; }
.crumbs { margin-bottom: 28px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 13px; color: var(--grey-text-dark); }
.crumbs li + li::before { content: '/'; margin-right: 10px; color: #6b6b6b; }
.crumbs a { color: var(--grey-text-dark); text-decoration: none; }
.crumbs a:hover { color: var(--yellow); }
.crumbs [aria-current] { color: var(--white); }
.light .crumbs ol, .profile .crumbs ol { color: var(--grey-text-dark); }

/* Strips and facts */
.strip { background: var(--black); border-top: 1px solid rgba(255,255,255,.16); }
.strip dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 26px 0 30px; margin: 0; text-align: center; }
.strip dt, .facts dt { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.strip dd { margin: 8px 0 0; font-size: 15px; color: var(--white); }
.strip a { color: var(--white); text-decoration: none; }
.strip a:hover { color: var(--yellow); }
.facts { background: var(--grey-100); color: var(--black); }
.facts dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; }
.facts dl > div { padding: 28px 24px; border-left: 1px solid #d4d4d4; }
.facts dl > div:first-child { border-left: 0; padding-left: 0; }
.facts dt { color: var(--grey-text-light-2); }
.facts dd { margin: 8px 0 0; font-family: var(--font-display); text-transform: none; font-size: 28px; line-height: 1; }

/* Layout helpers */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 80px; align-items: start; }
.split--form { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.h2--md { font-size: clamp(40px, 4.5vw, 64px); }
.sec--row { padding-top: 96px; padding-bottom: 96px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.prose p { font-size: 17px; line-height: 1.7; margin-bottom: 20px; }
.light .prose p, .grey .prose p { color: var(--grey-text-light); }
.prose h2 { font-size: 32px; margin: 40px 0 14px; }
.prose ul, .prose ol { margin: 0 0 20px 22px; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { font-size: 17px; line-height: 1.7; margin-bottom: 8px; color: var(--grey-text-light); }
.prose a { color: var(--black); }
.callout { margin-top: 28px; padding: 22px 26px; background: var(--black); color: var(--white); font-size: 16px; line-height: 1.6; border-left: 6px solid var(--yellow); }
.callout strong { color: var(--yellow); }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
.checks li { position: relative; padding-left: 36px; font-size: 16px; line-height: 1.5; }
.checks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC112' stroke-width='2.4'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.grey .checks li::before, .light .checks li::before { filter: brightness(.55); }
.actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }
.actions .btn-y, .actions .btn-o, .actions .btn-ob { display: inline-block; }
.muted, .muted-dark { margin-top: 16px; font-size: 14px; color: var(--grey-text-light-2); }
.muted-dark { color: var(--grey-text-dark); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.light .eyebrow, .grey .eyebrow { color: var(--black); }
.light .eyebrow::before, .grey .eyebrow::before, .dark .eyebrow::before { content: ''; display: inline-block; width: 28px; height: 3px; background: var(--yellow); margin-right: 12px; vertical-align: middle; }
.meta { margin-top: 16px; font-size: 14px; font-weight: 500; }
.light .meta, .grey .meta { color: var(--grey-text-light-2); }
.dark .meta { color: var(--grey-text-dark); }

/* Feature rows (programs hub) */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.feature .photo { aspect-ratio: 4 / 3; }
.feature--flip .photo { order: 2; }
.feature--text { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; }
.feature--text .photo { aspect-ratio: 3 / 4; }
.feature .lede { margin-top: 18px; }
.feature:hover .photo img { filter: none; }
.dark .feature .lede { color: var(--grey-text-dark); }
.photo--tall { aspect-ratio: 3 / 4; }
.trio, .quad { display: grid; gap: 40px; }
.trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quad { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; gap: 48px 64px; }
.trio h3, .quad h3 { font-size: 30px; margin-bottom: 12px; }
.trio p, .quad p { font-size: 16px; line-height: 1.65; color: var(--grey-text-light); }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card-link:hover h3 { color: var(--yellow); }
.light .person h3, .dark .person h3 { color: inherit; }
.person .card-link:hover .photo img { filter: none; }
.dark .card-link { color: var(--white); }
.qlist { display: grid; gap: 14px; margin: 36px 0 32px; max-width: 760px; }
.qlist li { font-family: var(--font-display); text-transform: none; font-size: clamp(26px, 3vw, 40px); line-height: 1.05; padding-left: 28px; border-left: 4px solid var(--yellow); }

/* Schedule list on program pages: one row per day, classes stacked beside it */
.sched { display: flex; flex-direction: column; border-top: 2px solid var(--white); }
.light .sched, .grey .sched { border-top-color: var(--black); }
.sl-row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule-dark-2); align-items: start; }
.sl-day { font-family: var(--font-display); text-transform: none; font-size: 28px; line-height: 1; color: var(--white); margin: 0; padding-top: 2px; }
.sl-classes { display: flex; flex-direction: column; gap: 10px; }
.sl-classes li { display: grid; grid-template-columns: 190px 1fr; gap: 16px; align-items: baseline; font-size: 17px; }
.sl-time { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--yellow); }
.sl-name { font-weight: 500; color: var(--white); }
.sl-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 99px; background: var(--yellow); color: var(--black); font-size: 12px; font-weight: 600; vertical-align: 2px; }
.light .sl-row, .grey .sl-row { border-color: #d4d4d4; }
.light .sl-day, .grey .sl-day, .light .sl-name, .grey .sl-name { color: var(--black); }
.light .sl-time, .grey .sl-time { color: var(--black); }

/* FAQ accordion */
.faq-intro { margin-top: 20px; max-width: 420px; }
.faq-intro a { color: inherit; font-weight: 600; }
.faq { border-bottom: 1px solid #d4d4d4; }
.faq:first-child { border-top: 1px solid #d4d4d4; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 17px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; position: relative; width: 28px; height: 28px; box-shadow: inset 0 0 0 1px #bdbdbd; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--black); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s; }
.faq[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq p { padding: 0 52px 24px 0; font-size: 16px; line-height: 1.7; color: var(--grey-text-light); }

/* Timetable page */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.chip { font: inherit; font-size: 14px; font-weight: 500; padding: 10px 18px; background: transparent; color: var(--black); border: 0; box-shadow: inset 0 0 0 2px var(--black); cursor: pointer; transition: background .15s, color .15s; }
.chip:hover { background: var(--black); color: var(--white); }
.chip.is-on { background: var(--black); color: var(--white); }
.tt--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tt--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tt li[hidden] { display: none; }
.tt-note { margin-top: 0; max-width: 560px; }
.tt-foot { align-items: flex-start; }

/* Free trial, steps, forms, map, NAP */
.steps { counter-reset: s; display: grid; gap: 18px; margin: 28px 0 32px; }
.steps li { counter-increment: s; position: relative; padding-left: 56px; font-size: 16px; line-height: 1.6; color: var(--grey-text-light); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: var(--yellow); color: var(--black); font-family: var(--font-display); font-size: 22px; border-radius: 50%; }
.steps strong { color: var(--black); }
.form-frame { background: var(--white); }
.form-frame iframe { width: 100%; border: 0; display: block; }
.map-embed { margin-top: 20px; height: 160px; box-shadow: inset 0 0 0 1px var(--rule-dark-2); background: #141414; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) contrast(1.05); }
.map-embed--lg { height: 420px; margin-top: 0; }
.map-link { margin-top: 12px; }
.nap { font-size: 17px; line-height: 1.7; color: var(--grey-text-light); }
.nap address { font-style: normal; margin-bottom: 12px; }
.nap p { margin-top: 12px; }
.nap .lk { color: var(--black); font-weight: 600; text-decoration: underline; }
.hours { width: 100%; border-collapse: collapse; margin-top: 28px; }
.hours th, .hours td { text-align: left; padding: 14px 0; border-bottom: 1px solid #d4d4d4; font-size: 16px; vertical-align: top; }
.hours th { width: 150px; font-family: var(--font-display); text-transform: none; font-size: 22px; font-weight: 500; }
.hours td span { display: block; margin-top: 2px; color: var(--grey-text-light-2); font-size: 14px; }
.socials--light { margin-top: 24px; }
.socials--light a { width: auto; height: auto; padding: 10px 16px; color: var(--black); box-shadow: inset 0 0 0 2px var(--black); font-size: 14px; font-weight: 500; text-decoration: none; }
.socials--light a:hover { background: var(--black); color: var(--white); }

/* Instructor profile */
.profile-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 72px; align-items: start; margin-top: 12px; }
.profile-photo { aspect-ratio: 3 / 4; }
.profile h1 { font-size: clamp(44px, 6vw, 88px); line-height: .92; }
.profile .lede { margin-top: 20px; max-width: 560px; }
.profile .h3 { font-size: 28px; margin: 36px 0 14px; color: var(--yellow); }
.ranks { display: flex; flex-direction: column; gap: 8px; }
.ranks li { padding: 10px 0; border-bottom: 1px solid var(--rule-dark-2); font-size: 16px; }

/* Blog and documents */
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 64px; }
.post-date { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-text-light-2); }
.post h2 { font-size: 34px; margin: 10px 0 14px; line-height: 1; }
.post h2 a { color: var(--black); text-decoration: none; }
.post h2 a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.post p { font-size: 16px; line-height: 1.65; color: var(--grey-text-light); margin-bottom: 14px; }
.lk--dark { color: var(--black); font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.doc { max-width: 820px; margin: 0 auto; }
.doc .callout { margin-bottom: 36px; }
.post-body .video { position: relative; aspect-ratio: 16 / 9; margin: 0 0 28px; }
.post-body .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
ol.nums, ol.alpha { margin-left: 24px; }
ol.alpha { list-style: lower-alpha; }

/* Kids card link */
.kid-link { display: inline-block; margin: 0 28px 28px; color: var(--black); font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.kid-link:hover { color: var(--black); }

/* Footer map */
.visit .map-embed { height: 140px; }

/* Sticky reviews badge + drawer */
.reviews-badge { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 14px 20px; background: var(--black); color: var(--white); border: 0; box-shadow: inset 0 0 0 2px var(--yellow); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.reviews-badge:hover { background: var(--yellow); color: var(--black); }
.reviews-badge .stars { color: var(--yellow); letter-spacing: 2px; }
.reviews-badge:hover .stars { color: var(--black); }
.reviews-badge .g { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: var(--white); color: #4285F4; border-radius: 50%; font-weight: 700; font-size: 14px; }
.reviews-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.6); }
.reviews-backdrop[hidden] { display: none; }
/* Closed drawer sits in place, cut away with clip-path. Parking it off-screen with translateX(100%)
   made iPhone Safari count it as page width, so the page could be swiped sideways into black. */
.reviews-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(440px, 100vw); background: #141414; color: var(--white); display: flex; flex-direction: column; clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .3s ease, visibility 0s .3s; border-left: 4px solid var(--yellow); }
.reviews-drawer.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .3s ease; }
.reviews-head { position: relative; padding: 32px 28px 24px; border-bottom: 1px solid var(--rule-dark); }
.reviews-head h2 { font-size: 40px; }
.reviews-head em { font-style: normal; color: var(--yellow); }
.reviews-close { position: absolute; top: 14px; right: 14px; }
.reviews-overall { margin-top: 10px; font-size: 14px; color: var(--grey-text-dark); }
.reviews-overall .stars, .review .stars { color: var(--yellow); letter-spacing: 2px; }
.reviews-list { flex: 1; overflow-y: auto; padding: 24px 28px; display: flex; flex-direction: column; gap: 20px; }
.review { padding: 22px; background: #1d1d1d; }
.review-text { margin-top: 10px; font-size: 15px; line-height: 1.65; color: #e6e6e6; }
.review-who { margin-top: 14px; font-size: 14px; font-weight: 600; }
.review-who span { font-weight: 400; color: var(--grey-text-dark); }
.reviews-foot { padding: 20px 28px 28px; border-top: 1px solid var(--rule-dark); }
.reviews-foot .btn-y { display: block; text-align: center; }
body.no-scroll { overflow: hidden; }

/* ===== Responsive additions ===== */
@media (max-width: 1100px) {
  .r-show-md { display: flex !important; }
  .split, .split--form { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts dl > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .feature, .feature--text { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .feature--flip .photo { order: 0; }
  .feature--text .photo { aspect-ratio: 4 / 3; }
  .tt--4, .tt--5, .tt--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .profile-grid { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; }
  .nav { gap: 20px; }
}
@media (max-width: 720px) {
  .page-hero-frame { padding: 8px; }
  .page-hero { min-height: 360px; }
  .page-hero-inner { padding-top: 48px; padding-bottom: 40px; }
  .strip dl, .trio, .quad, .checks, .posts { grid-template-columns: minmax(0, 1fr); }
  .strip dl { gap: 18px; text-align: left; }
  .facts dl { grid-template-columns: minmax(0, 1fr); }
  .facts dl > div { border-left: 0; padding: 16px 0; border-top: 1px solid #d4d4d4; }
  .facts dl > div:first-child { border-top: 0; }
  .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .sec--row { padding-top: 64px; padding-bottom: 64px; }
  .tt--4, .tt--5, .tt--6 { grid-template-columns: minmax(0, 1fr); }
  .profile-grid { grid-template-columns: minmax(0, 1fr); }
  .profile-photo { max-width: 320px; }
  .map-embed--lg { height: 300px; }
  .reviews-badge { right: 12px; bottom: 12px; padding: 12px 14px; font-size: 13px; }
  .kid-link { margin: 0 28px 28px; }
  .faq p { padding-right: 0; }
}

.doc, .prose { overflow-wrap: anywhere; }

/* ===== Homepage arts wall (seamless tiles) ===== */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule-dark-2); border: 1px solid var(--rule-dark-2); margin-top: 64px; }
.tile { background: #111; display: flex; flex-direction: column; }
.tile-link { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.tile .photo { aspect-ratio: 4 / 3; }
.tile:hover .photo img { filter: none; }
.tile:hover .photo::after { opacity: .5; }
.tile-body { display: flex; flex-direction: column; flex: 1; padding: 28px 28px 32px; }
.tile-eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.tile h3 { font-size: 46px; line-height: .95; color: var(--white); margin-top: 18px; transition: color .15s; }
.tile-link:hover h3 { color: var(--yellow); }
.tile-text { margin-top: 14px; font-size: 15px; line-height: 1.6; color: var(--grey-text-dark); flex: 1; }
.tile-tag { margin-top: 12px; font-size: 13px; font-weight: 500; color: var(--yellow); }
.tile-cta { align-self: flex-start; margin-top: 24px; padding: 12px 18px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); transition: background .15s, color .15s, box-shadow .15s; }
.tile-link:hover .tile-cta { background: var(--yellow); color: var(--black); box-shadow: none; }
.tile--cta { grid-column: 1 / -1; background: var(--yellow); color: var(--black); flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; padding: 44px 48px; }
.tile--cta .tile-eyebrow { color: rgba(0,0,0,.6); }
.tile--cta h3, .tile--cta .tile-h { color: var(--black); font-size: clamp(44px, 5vw, 72px); }
.tile-cta-copy { display: flex; align-items: center; gap: 32px; }
.tile-cta-copy p { max-width: 300px; font-size: 16px; line-height: 1.5; color: var(--black); }
.tile-cta-copy .btn-ob { flex: none; background: var(--black); color: var(--white); box-shadow: none; }
.tile-cta-copy .btn-ob:hover { background: var(--white); color: var(--black); }
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .tiles { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .tile--cta { padding: 36px 24px; }
  .tile-cta-copy { flex-direction: column; align-items: flex-start; gap: 20px; }
  .tile h3 { font-size: 40px; }
}

/* ===== Inner pages: transparent header over the hero, UFC-style compact bar on scroll ===== */
.bar--inner { --bar-h: 104px; position: absolute; top: 0; left: 0; right: 0; background: transparent; border-bottom: 0; box-shadow: none; transform: none; transition: none; }
.bar--inner .bar-inner { height: var(--bar-h); padding: 0 40px; }
.bar--inner .bar-logo img { height: 56px; }
.bar--inner .nav > li { height: var(--bar-h); }
.bar--inner .nav { gap: 32px; }
.bar--inner .bar-actions .btn-y { padding: 14px 24px; font-size: 14px; }
/* After the hero: solid black bar, hides on scroll down, slides in on scroll up (no yellow border on inner pages) */
.bar--inner.bar--solid { --bar-h: 80px; position: fixed; background: var(--black); transform: translateY(-110%); transition: transform .28s ease; }
.bar--inner.bar--solid.bar--on { transform: none; }
.bar--inner.bar--solid .bar-logo img { height: 46px; }
.bar--inner.bar--solid .bar-actions .btn-y { padding: 11px 20px; }
.page-hero-frame { background: transparent; padding: 0; }
.page-hero { min-height: 560px; }
.page-hero-inner { padding-top: 176px; }
.profile .wrap.sec { padding-top: 152px; }
@media (max-width: 1100px) {
  .bar--inner .bar-inner { padding: 0 20px; }
}
@media (max-width: 720px) {
  .bar--inner { --bar-h: 72px; }
  .bar--inner .bar-inner { padding: 0 16px; }
  .bar--inner .bar-logo img { height: 34px; }
  .bar--inner.bar--solid { --bar-h: 64px; }
  .bar--inner.bar--solid .bar-logo img { height: 30px; }
  .page-hero { min-height: 460px; }
  .page-hero-inner { padding-top: 128px; }
  .profile .wrap.sec { padding-top: 112px; }
}
@media (prefers-reduced-motion: reduce) { .bar--inner.bar--solid { transition: none; } }

/* Logo: sub-line version while the header is transparent over the hero, plain mark in the compact bar */
.bar--inner:not(.bar--solid) .logo-nosub { display: none; }
.bar--inner.bar--solid .logo-sub { display: none; }
@media (max-width: 720px) {
  .bar-inner { height: 64px; }
  .bar-logo img { height: 36px; }
  .bar--inner.bar--solid .bar-logo img { height: 36px; }
  .bar--inner .bar-logo img { height: 40px; }
}

/* Menu items in Gazzetta */
.nav > li > .nt, .hero-nav-left .nt, .hero-nav-right .nt, .menu li a, .mnav-list > li > .nt, .mnav-sub a { font-family: var(--font-display); font-weight: 500; text-transform: none; letter-spacing: .04em; }
.nav > li > .nt, .hero-nav-left .nt, .hero-nav-right .nt { font-size: 23px; line-height: 1; }
.menu li a { font-size: 24px; line-height: 1.1; padding: 7px 0; }
.menu li a span { font-family: var(--font-body); text-transform: none; letter-spacing: 0; }
.mnav-list > li > .nt { font-size: 44px; line-height: 1; padding: 8px 0; }
.mnav-sub a { font-size: 22px; padding: 3px 0; }
.nav { gap: 30px; }
@media (max-width: 720px) {
  .mnav-list > li > .nt { font-size: 40px; }
}

/* Reset default list numbering where counters or separators are drawn */
.crumbs ol, .steps { list-style: none; margin-left: 0; padding: 0; }

/* ===== One header style on every page ===== */
.is-home .bar--inner:not(.bar--solid) { top: 14px; left: 14px; right: 14px; }
@media (max-width: 720px) { .is-home .bar--inner:not(.bar--solid) { top: 8px; left: 8px; right: 8px; } }

/* Who it's for + statement band */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chips li { padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--black); box-shadow: inset 0 0 0 1.5px var(--black); }
.quote-actions { margin-top: 44px; }
.quote .disp { text-wrap: balance; }

/* ===== Menu animations (timings borrowed from optimizemindperformance.com) ===== */
@keyframes mega-in { 0% { opacity: 0; transform: translateY(-10px) scale(.97); } 100% { opacity: 1; transform: none; } }
@keyframes mega-out { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px) scale(.98); } }
@keyframes mega-item { 0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: none; } }
@keyframes nav-in { 0% { opacity: 0; transform: translateY(-10px); } 100% { opacity: 1; transform: none; } }
.nt { transition: color .25s; }
.menu-toggle svg { transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.has-menu.open > .menu { transform-origin: 30% 0; animation: mega-in .32s cubic-bezier(.22, 1, .36, 1) both; }
.has-menu.open > .menu.is-closing { pointer-events: none; animation: mega-out .16s ease-in both; }
.has-menu.open > .menu:not(.is-closing) .menu-title,
.has-menu.open > .menu:not(.is-closing) li,
.has-menu.open > .menu:not(.is-closing) .menu-all { animation: mega-item .45s cubic-bezier(.22, 1, .36, 1) both; animation-delay: calc(90ms + var(--n, 0) * 55ms); }
.menu li a { transition: color .2s, transform .25s cubic-bezier(.22, 1, .36, 1); }
.menu li a:hover { transform: translateX(4px); }
/* Mobile menu */
.mnav--open { animation: mega-in .32s cubic-bezier(.22, 1, .36, 1) both; transform-origin: 50% 0; }
.mnav--open .mnav-list > li, .mnav--open .mnav-cta > a { animation: mega-item .45s cubic-bezier(.22, 1, .36, 1) both; }
.mnav--open .mnav-list > li:nth-child(1) { animation-delay: 90ms; }
.mnav--open .mnav-list > li:nth-child(2) { animation-delay: 145ms; }
.mnav--open .mnav-list > li:nth-child(3) { animation-delay: 200ms; }
.mnav--open .mnav-list > li:nth-child(4) { animation-delay: 255ms; }
.mnav--open .mnav-list > li:nth-child(5) { animation-delay: 310ms; }
.mnav--open .mnav-cta > a:nth-child(1) { animation-delay: 365ms; }
.mnav--open .mnav-cta > a:nth-child(2) { animation-delay: 420ms; }
/* Header entrance on first load (the html.intro class is removed by site.js after ~1.6s) */
.intro .bar--inner:not(.bar--solid) .bar-logo, .intro .bar--inner:not(.bar--solid) .nav > li, .intro .bar--inner:not(.bar--solid) .bar-actions > * { animation: nav-in .6s cubic-bezier(.22, 1, .36, 1) both; }
.intro .bar--inner .bar-logo { animation-delay: 60ms; }
.intro .bar--inner .nav > li:nth-child(1) { animation-delay: 140ms; }
.intro .bar--inner .nav > li:nth-child(2) { animation-delay: 195ms; }
.intro .bar--inner .nav > li:nth-child(3) { animation-delay: 250ms; }
.intro .bar--inner .nav > li:nth-child(4) { animation-delay: 305ms; }
.intro .bar--inner .nav > li:nth-child(5) { animation-delay: 360ms; }
.intro .bar--inner .bar-actions > *:nth-child(1) { animation-delay: 420ms; }
.intro .bar--inner .bar-actions > *:nth-child(2) { animation-delay: 475ms; }
@media (prefers-reduced-motion: reduce) {
  .has-menu.open > .menu, .has-menu.open > .menu *, .mnav--open, .mnav--open *, .intro .bar--inner * { animation: none !important; }
  .menu li a:hover { transform: none; }
}

/* Mobile header + menu tidy-ups */
.mnav .mnav-sub { flex-direction: row; flex-wrap: wrap; gap: 2px 18px; }
.bar-actions .btn-y { white-space: nowrap; }
@media (max-width: 720px) {
  .bar-actions { gap: 8px; }
  .bar-actions .btn-y, .bar--inner.bar--solid .bar-actions .btn-y, .bar--inner .bar-actions .btn-y { padding: 10px 12px; font-size: 12px; }
  .bar-actions .icon-btn { width: 36px; height: 36px; }
}
@media (max-width: 480px) {
  .bar-actions .icon-btn[href^="tel"] { display: none !important; }
}

/* Kids cards: full-colour photos, links aligned with the text and pinned to the bottom of each card */
.kid .photo img { filter: none; }
.kid .photo::after { display: none; }
.kid-body { display: flex; flex-direction: column; flex: 1; }
.kid-body p { flex: 1; }
.kid-link, .kid .kid-link { margin: 20px 0 0; align-self: flex-start; }

/* Dropdown items with a line of subtext */
.menu ul { gap: 2px; }
.menu li a { padding: 9px 0; }
.menu li a span { display: block; margin-top: 5px; font-size: 13px; line-height: 1.35; color: var(--grey-text-dark); font-weight: 400; }
.menu li a:hover span { color: var(--white); }
.menu--mega .menu-cols { gap: 32px 40px; }

/* Dropdown footer row: link on the left, reassurance on the right */
.menu-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule-dark); animation: none; }
.menu-foot .menu-all { margin: 0; padding: 0; border: 0; display: inline-block; }
.menu-foot span { font-size: 13px; color: var(--grey-text-dark); text-align: right; }
.has-menu.open > .menu:not(.is-closing) .menu-foot { animation: mega-item .45s cubic-bezier(.22, 1, .36, 1) both; animation-delay: calc(90ms + var(--n, 0) * 55ms); }
.has-menu.open > .menu:not(.is-closing) .menu-foot .menu-all { animation: none; }

/* Sticky (compact) header keeps its yellow underline on every page */
.bar--inner.bar--solid { border-bottom: 3px solid var(--yellow); }

/* Page hero headlines: two lines on desktop */
.page-hero h1 { font-size: clamp(44px, 6vw, 92px); max-width: none; text-wrap: balance; }
@media (max-width: 720px) { .page-hero h1 { font-size: clamp(40px, 11vw, 56px); max-width: none; } }

/* USP rows with icons, in a grid wherever they sit across the page */
.usp-grid { display: grid; gap: 48px 56px; }
.usp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.usp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; }
.usp-grid.why-list li { gap: 20px; }
.usp-grid .icon-circle { width: 56px; height: 56px; }
.usp-grid .icon-circle svg { width: 26px; height: 26px; }
.usp-grid.why-list h3 { font-size: 28px; }
@media (max-width: 1100px) { .usp-grid--3 { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
@media (max-width: 720px) { .usp-grid--2 { grid-template-columns: minmax(0, 1fr); } }

/* ===== Button hover: a fill slides in from the left (yellow on outline buttons, white on yellow buttons) ===== */
.btn-y, .btn-o, .btn-ob { position: relative; overflow: hidden; isolation: isolate; }
.btn-y::before, .btn-o::before, .btn-ob::before, .tile-cta::before, .tp-cta::before { content: ''; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: left center; transition: transform .38s cubic-bezier(.22, 1, .36, 1); }
.btn-o::before, .btn-ob::before, .tile-cta::before, .tp-cta::before { background: var(--yellow); }
.btn-y::before { background: var(--white); }
.btn-y:hover::before, .btn-o:hover::before, .btn-ob:hover::before, .tile-link:hover .tile-cta::before, .tile-photo:hover .tp-cta::before, .tile-photo:focus-visible .tp-cta::before { transform: scaleX(1); }
.btn-y, .btn-o, .btn-ob, .tile-cta, .tp-cta { transition: color .25s ease .05s, box-shadow .25s; }
.btn-y:hover, .btn-o:hover, .btn-ob:hover { background: transparent; color: var(--black); }
.btn-y:hover { background: var(--yellow); }
.btn-o:hover, .btn-ob:hover { box-shadow: inset 0 0 0 2px var(--yellow); }
.tile-cta { position: relative; overflow: hidden; isolation: isolate; }
.tile-link:hover .tile-cta { background: transparent; color: var(--black); box-shadow: inset 0 0 0 1.5px var(--yellow); }
/* Black button on the yellow tile: slide white instead so it stays visible */
.tile--cta .btn-ob { background: var(--black); color: var(--white); }
.tile--cta .btn-ob::before { background: var(--white); }
.tile--cta .btn-ob:hover { background: var(--black); color: var(--black); box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .btn-y::before, .btn-o::before, .btn-ob::before, .tile-cta::before { transition: none; } }

/* "Learn more" buttons share one text style with every other button: Poppins 500, sentence case, 15px */
.tile-cta { font-family: var(--font-body); padding: 13px 22px; font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--white); box-shadow: inset 0 0 0 2px var(--white); }
.kid-link, .kid .kid-link { display: inline-block; margin: 24px 0 0; align-self: flex-start; text-decoration: none; color: var(--black); font-weight: 500; }
.kid-link:hover { color: var(--black); text-decoration: none; }
.tile-link:hover .tile-cta { box-shadow: inset 0 0 0 2px var(--yellow); }

/* "Who we teach" list: plain text with yellow dots (no boxes, so it can't be mistaken for buttons) */
.chips { gap: 10px 26px; margin-top: 24px; }
.chips li { position: relative; padding: 0 0 0 18px; box-shadow: none; font-size: 15px; font-weight: 500; color: var(--black); }
.chips li::before { content: ''; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }

/* CTA buttons get an arrow (a phone icon on call buttons) that nudges right on hover */
.btn-y, .btn-o, .btn-ob, .tile-cta, .tp-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.btn-y::after, .btn-o::after, .btn-ob::after, .tile-cta::after, .tp-cta::after { content: ''; flex: none; width: 18px; height: 18px; background: currentColor; transition: transform .3s cubic-bezier(.22, 1, .36, 1);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.btn-y:hover::after, .btn-o:hover::after, .btn-ob:hover::after, .tile-link:hover .tile-cta::after, .tile-photo:hover .tp-cta::after { transform: translateX(4px); }
a[href^="tel"].btn-y::after, a[href^="tel"].btn-o::after, a[href^="tel"].btn-ob::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M5 3h4l2 5-2.5 1.5a11 11 0 005 5L15 12l5 2v4a2 2 0 01-2 2A16 16 0 013 5a2 2 0 012-2z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M5 3h4l2 5-2.5 1.5a11 11 0 005 5L15 12l5 2v4a2 2 0 01-2 2A16 16 0 013 5a2 2 0 012-2z'/%3E%3C/svg%3E"); }
a[href^="tel"].btn-y:hover::after, a[href^="tel"].btn-o:hover::after, a[href^="tel"].btn-ob:hover::after { transform: none; }
.reviews-foot .btn-y { display: flex; }
@media (max-width: 720px) { .bar-actions .btn-y::after { display: none; } }

/* Hero ticks in Gazzetta */
.tick p { font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1; letter-spacing: .04em; text-transform: none; }
@media (max-width: 720px) { .tick p { font-size: 20px; } }

/* ===== Contrast pass (aiming for WCAG AAA, 7:1 for body text) ===== */
/* Instructor cards on light and grey sections: dark text, not yellow or light grey */
.light .person .role, .grey .person .role { color: var(--black); font-weight: 600; }
.light .person .creds, .grey .person .creds { color: var(--grey-text-light); }
/* Small grey and tinted labels that were just under 7:1 */
.tile-eyebrow { color: rgba(255,255,255,.74); }
.tile--cta .tile-eyebrow { color: rgba(0,0,0,.85); }
.footer-base p, .footer-base .nt { color: #b0b0b0; }

/* FAQ accordion: answers animate open and closed (see site.js) */
.faq-body { overflow: hidden; }
.faq summary i::after { transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.faq summary { transition: color .2s; }
.faq summary:hover { color: #000; }

/* Checklists: hairline dividers between rows (each column keeps its own lines) */
.checks { gap: 0 56px; }
.checks li { padding: 16px 0 16px 38px; border-bottom: 1px solid #d4d4d4; }
.checks li:nth-child(-n+2) { border-top: 1px solid #d4d4d4; }
.checks li::before { top: 18px; }
@media (max-width: 720px) { .checks li:nth-child(2) { border-top: 0; } }

/* Checklist ticks: black tick in a yellow circle */
.checks li::before, .grey .checks li::before, .light .checks li::before { filter: none; width: 24px; height: 24px; top: 16px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23FFC112'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.checks li { padding-left: 42px; }

/* Kids dropdown: one column per class so the footer line stays on one row */
.menu--cols { width: 740px; }
.menu--cols > ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.menu-foot { white-space: nowrap; }
.menu-foot span { white-space: nowrap; }

/* "Ask yourself these questions": three columns */
.qlist { max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 48px 0 40px; }
.qlist li { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.05; padding: 0 0 0 24px; }
@media (max-width: 1100px) { .qlist { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Specificity fix: `.bar nav ul` (the top-level nav row) was also styling the dropdown lists */
.bar nav .menu ul { gap: 2px; }
.bar nav .menu--cols > ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }

/* Dropdown heading link ("All kids classes") sits above the items like the column titles in the Classes menu */
.menu-title a { color: inherit; text-decoration: none; }
.menu-title a:hover { text-decoration: underline; }
.menu--cols .menu-title { margin-bottom: 14px; }
.menu--mega { padding-bottom: 14px; }

/* Blog post images */
.post-body img { max-width: 100%; height: auto; display: block; margin: 0 0 28px; }
.post-body figure { margin: 0 0 28px; }
.post-body figcaption { font-size: 14px; color: var(--grey-text-light-2); margin-top: -12px; margin-bottom: 28px; }

/* Footer: latest posts row */
.footer-blog { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--rule-dark); }
.footer-blog ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 40px; margin-top: 18px; }
.footer-blog .nt { font-size: 14px; font-weight: 400; color: var(--grey-text-dark); }
.footer-blog .nt:hover { color: var(--yellow); }
.footer-base { margin-top: 40px; }

/* Current breadcrumb in yellow (always on dark backgrounds) */
.crumbs [aria-current], .light .crumbs [aria-current], .profile .crumbs [aria-current] { color: var(--yellow); }

/* Extra detail under a class's About text: a titled row of short blocks */
.detail { margin-top: 72px; padding-top: 40px; border-top: 1px solid #d4d4d4; }
.detail-title { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--black); line-height: 1.2; }
.detail-title::before { content: ''; display: inline-block; width: 28px; height: 3px; background: var(--yellow); margin-right: 12px; vertical-align: middle; }
.detail-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 40px; margin-top: 32px; }
.detail-grid h4 { font-size: 26px; line-height: 1; color: var(--black); }
.detail-grid p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--grey-text-light); }
.light .usp-grid--3 { margin-top: 64px; padding-top: 48px; border-top: 1px solid #d4d4d4; }
@media (max-width: 1100px) { .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .detail-grid { grid-template-columns: minmax(0, 1fr); } .detail { margin-top: 48px; } }

/* New logo files (17-18 Nov): sizes tuned to their proportions */
.bar-logo img { height: 50px; width: auto; }
.bar--inner .bar-logo img { height: 52px; }
.bar--inner.bar--solid .bar-logo img { height: 52px; }
.mnav-top img { height: 40px; width: auto; }
.footer-logo { height: 64px; width: auto; }
.mq img { height: 48px; width: auto; }
@media (max-width: 720px) {
  .bar-logo img, .bar--inner .bar-logo img, .bar--inner.bar--solid .bar-logo img { height: 40px; }
  .mq img { height: 34px; }
}
.visit .footer-title { font-size: 22px; line-height: .95; color: var(--white); }

/* Mobile menu: sub-links stack in a column with hairline dividers */
.mnav-list { gap: 0; }
.mnav-list > li { padding: 16px 0 12px; border-bottom: 1px solid var(--rule-dark-2); }
.mnav-list > li:last-child { border-bottom: 0; }
.mnav .mnav-sub { flex-direction: column; flex-wrap: nowrap; gap: 0; padding: 0; margin-top: 10px; }
.mnav-sub li { border-top: 1px solid var(--rule-dark); }
.mnav-sub a { display: block; padding: 14px 0; font-size: 22px; }

/* Trial enquiry form at the bottom of every page (closing panel) */
.cta--form { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: start; padding: 64px; }
.cta--form .cta-copy, .cta--form .cta-form { position: relative; z-index: 1; }
.cta--form .cta-copy h2 { font-size: clamp(48px, 5.5vw, 88px); color: var(--white); }
.cta--form .cta-copy > p { margin-top: 24px; font-size: 18px; line-height: 1.6; color: #d6d6d6; max-width: 460px; }
.cta--form .cta-actions { margin-top: 28px; }
.cta--form .form-frame { box-shadow: none; }
@media (max-width: 1100px) { .cta--form { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 48px 32px; } }
@media (max-width: 720px) { .cta--form { padding: 32px 16px; } }

/* Homepage "for everyone" gallery: three photos with Gazzetta labels (adults, beginners, kids) */
.gallery--labels { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; }
.tile-photo { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; }
.tile-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.45) 32%, rgba(0,0,0,0) 62%); pointer-events: none; z-index: 1; }
.tp-label { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 2; display: flex; flex-direction: column; gap: 8px; }
.tp-label strong { font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 1; text-transform: none; letter-spacing: .01em; }
.tp-label strong::before { content: ''; display: block; width: 40px; height: 4px; background: var(--yellow); margin-bottom: 14px; transition: width .3s ease; }
.tp-label span { font-size: 15px; line-height: 1.45; font-weight: 500; color: #fff; }
.tile-photo:hover .tp-label strong::before, .tile-photo:focus-visible .tp-label strong::before { width: 72px; }
@media (max-width: 1100px) { .gallery--labels { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .gallery--labels .photo { height: 320px; } .tp-label { left: 20px; right: 20px; bottom: 20px; } .tp-label strong { font-size: 32px; } }

.tp-cta { align-self: flex-start; margin-top: 18px; position: relative; overflow: hidden; isolation: isolate; padding: 13px 22px; font-size: 15px; font-weight: 500; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.tile-photo:hover .tp-cta, .tile-photo:focus-visible .tp-cta { color: var(--black); box-shadow: inset 0 0 0 2px var(--yellow); }
.gallery--labels .photo { height: 520px; }
@media (max-width: 720px) { .gallery--labels .photo { height: 380px; } }

/* Timetable: day columns with colour-coded class blocks (adults, kids and teens, members only) */
.tt { gap: 14px; background: transparent; border: 0; }
.tt-day { padding: 0; background: #fff; border: 1px solid #dcdcd8; }
.tt-day h3 { margin: 0; padding: 16px 20px; font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.1; text-transform: none; letter-spacing: .03em; background: #fff; border-bottom: 1px solid #dcdcd8; }
.tt-day--sat h3 { border-bottom-color: #dcdcd8; }
.tt-day ul { gap: 0; margin-top: 0; }
.tt-s { padding: 16px 18px 16px 16px; border-left: 5px solid var(--black); border-top: 1px solid #fff; }
.tt-s:first-child { border-top: 0; }
.tt-s .tt-time { font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.tt-s .tt-name { display: block; margin-top: 4px; font-size: 17px; line-height: 1.3; font-weight: 600; color: var(--black); }
.tt-s .tt-for { margin-top: 6px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #4d4d4d; }
.tt-s--adults { background: #f6f6f4; border-left-color: var(--black); }
.tt-s--adults .tt-time { color: var(--black); }
.tt-s--kids { background: #fff3d1; border-left-color: var(--yellow); }
.tt-s--kids .tt-time { color: #4a3300; }
.tt-s--members { background: #ececec; border-left-color: #8a8a8a; }
.tt-s--members .tt-time { color: #3d3d3d; }
.tt-key { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 28px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #4d4d4d; }
.tt-key span { display: inline-flex; align-items: center; gap: 10px; }
.tt-key i { width: 16px; height: 16px; display: block; }
.tt-key .k-adults { background: var(--black); }
.tt-key .k-kids { background: var(--yellow); }
.tt-key .k-members { background: #8a8a8a; }

/* Timetable columns: fill to equal height so the last class block runs to the bottom of each column */
.tt-day { display: flex; flex-direction: column; }
.tt-day ul { flex: 1; display: flex; flex-direction: column; }
.tt-day li:last-child { flex: 1; }

/* Kids age cards: class name large, age as a small label underneath */
.kid-body h3 { font-size: 56px; line-height: .95; }
.kid-body h4 { margin-top: 14px; font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2; color: var(--grey-text-light-2); }
.kid-body h4::before { content: ''; display: inline-block; width: 22px; height: 3px; background: var(--yellow); margin-right: 10px; vertical-align: middle; }

/* Motion: page load, scroll reveal, hero depth, page-to-page fade, back to top */
@keyframes rise-in { 0% { opacity: 0; transform: translateY(26px); } 100% { opacity: 1; transform: none; } }
@keyframes hero-settle { 0% { scale: 1.2; opacity: 0; } 100% { scale: 1.08; } }
@keyframes fade-in { 0% { opacity: 0; } 100% { opacity: 1; } }

/* Hero photo: slightly oversized so it can drift on scroll (site.js sets --py) */
.hero-photo, .page-hero-photo { scale: 1.08; translate: 0 var(--py, 0px); will-change: translate; }
.intro .hero-photo, .intro .page-hero-photo { animation: hero-settle 1.7s cubic-bezier(.22, 1, .36, 1) both; }

/* Hero copy rises in one line at a time on first load */
.intro .hero-body > *, .intro .page-hero-inner > * { animation: rise-in .9s cubic-bezier(.22, 1, .36, 1) both; }
.intro .hero-body > :nth-child(1), .intro .page-hero-inner > :nth-child(1) { animation-delay: 220ms; }
.intro .hero-body > :nth-child(2), .intro .page-hero-inner > :nth-child(2) { animation-delay: 340ms; }
.intro .hero-body > :nth-child(3), .intro .page-hero-inner > :nth-child(3) { animation-delay: 460ms; }
.intro .hero-body > :nth-child(4), .intro .page-hero-inner > :nth-child(4) { animation-delay: 580ms; }
.intro .hero-body > :nth-child(5), .intro .page-hero-inner > :nth-child(5) { animation-delay: 700ms; }
.intro .ticks { animation: fade-in 1s ease 800ms both; }

/* Scroll reveal. site.js adds .rv to blocks and .rv-in when they enter the screen, then removes both once settled */
.rv { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .9s cubic-bezier(.22, 1, .36, 1); transition-delay: var(--rv-d, 0ms); }
.rv.rv-in { opacity: 1; transform: none; }

/* Page-to-page cross fade (browsers that support it; others just load normally) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: fade-out .18s ease both; }
::view-transition-new(root) { animation: fade-in .32s ease .05s both; }
@keyframes fade-out { to { opacity: 0; } }

/* Back to top, stacked above the reviews badge */
.to-top { position: fixed; right: 20px; bottom: 84px; z-index: 40; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; background: var(--black); color: var(--yellow); border: 0; box-shadow: inset 0 0 0 2px var(--yellow); cursor: pointer; opacity: 0; transform: translateY(14px); visibility: hidden; transition: opacity .3s ease, transform .35s cubic-bezier(.22, 1, .36, 1), visibility 0s .35s, background .2s ease, color .2s ease; }
.to-top.to-top--on { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.to-top:hover, .to-top:focus-visible { background: var(--yellow); color: var(--black); }
.to-top svg { display: block; transition: transform .25s ease; }
.to-top:hover svg { transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
  .rv, .rv.rv-in { opacity: 1; transform: none; transition: none; }
  .intro .hero-photo, .intro .page-hero-photo, .intro .hero-body > *, .intro .page-hero-inner > *, .intro .ticks { animation: none !important; }
  .hero-photo, .page-hero-photo { translate: none; }
  .to-top, .to-top svg { transition: opacity .01s; transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* Address links and full-width map */
a.addr { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 193, 18, .7); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .2s ease, text-decoration-color .2s ease; }
a.addr:hover, a.addr:focus-visible { color: var(--yellow); text-decoration-color: currentColor; }
.light a.addr:hover, .grey a.addr:hover, .strip a.addr:hover, .nap a.addr:hover { color: inherit; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.map-full { background: #141414; }
.map-full .map-embed { height: 480px; margin: 0; box-shadow: none; }
@media (max-width: 720px) { .map-full .map-embed { height: 340px; } }

/* Reviews carousel */
.rev-rating { margin-top: 14px; font-size: 15px; color: var(--grey-text-light); }
.rev-rating span { color: var(--yellow); letter-spacing: 2px; margin-right: 6px; }
.rev-rating strong { color: var(--black); }
.rev-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.rev-nav { display: flex; gap: 8px; }
.rev-btn { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; background: var(--black); color: var(--yellow); border: 0; box-shadow: inset 0 0 0 2px var(--black); cursor: pointer; transition: background .2s ease, color .2s ease, opacity .2s ease; }
.rev-btn:hover:not(:disabled), .rev-btn:focus-visible { background: var(--yellow); color: var(--black); box-shadow: inset 0 0 0 2px var(--black); }
.rev-btn:disabled { opacity: .3; cursor: default; }
.rev-track { position: relative; display: flex; gap: 24px; margin-top: 48px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y pinch-zoom; }
.rev-track::-webkit-scrollbar { display: none; }
.rev-track:focus-visible { outline: 2px solid var(--black); outline-offset: 6px; }
.rev-slide { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; background: var(--grey-100); padding: 36px 32px 32px; display: flex; flex-direction: column; gap: 22px; border-top: 4px solid var(--yellow); }
.rev-cards--black .rev-slide { background: var(--black); color: var(--white); }
.rev-stars { color: var(--yellow); letter-spacing: 3px; font-size: 18px; }
.rev-slide blockquote { flex: 1; font-size: 16px; line-height: 1.65; color: #1f1f1f; }
.rev-slide blockquote p + p { margin-top: 12px; }
.rev-cards--black .rev-slide blockquote { color: #e8e8e8; }
.rev-slide .who { font-size: 15px; font-weight: 600; }
.rev-slide .sub { margin-top: 2px; font-size: 13px; color: var(--grey-text-light-2); }
.rev-cards--black .rev-slide .sub { color: var(--grey-text-dark); }
.rev-slide blockquote.is-clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 9; line-clamp: 9; overflow: hidden; flex: none; }
.rev-more { align-self: flex-start; margin-top: -8px; padding: 0; background: none; border: 0; font: inherit; font-size: 14px; font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 1100px) { .rev-slide { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 720px) { .rev-track { margin-top: 32px; gap: 16px; } .rev-slide { flex-basis: 86%; padding: 28px 24px; } .rev-tools { width: 100%; justify-content: space-between; } }

/* ===== Phones: shorter pages. Tighter spacing, card groups become swipe rows, compact footer ===== */
@media (max-width: 720px) {
  .sec, .sec--tight, .sec--row { padding-top: 44px; padding-bottom: 44px; }
  .head-row { gap: 14px; }
  .why { gap: 28px; }
  .h2, .why h2 { font-size: clamp(32px, 9.4vw, 40px); }
  .tiles, .people, .grid-4, .tt, .rev-track, .gallery, #kids .grid-3 { margin-top: 24px !important; }
  .lede, .why-lede { font-size: 16px; line-height: 1.55; }
  .why-lede { margin-top: 16px; }
  .stats { margin-top: 28px; gap: 36px; }

  /* Hero */
  .hero { min-height: 0; }
  .hero-body { padding: 104px 20px 36px; }
  .hero-sub { margin-top: 18px; font-size: 16px; line-height: 1.5; }
  .hero-actions { margin-top: 22px; gap: 10px; }
  .ticks { gap: 10px; padding: 16px 20px 18px; }
  .tick p { font-size: 15px; }
  .page-hero { min-height: 300px; }
  .page-hero-inner { padding-top: 100px; padding-bottom: 28px; }
  .quote-inner { padding: 64px 20px; }
  .marquee { padding: 16px 0; }

  /* Card groups stay stacked, just shorter */
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile .photo { aspect-ratio: 16 / 9; }
  .tile h3 { font-size: 34px; margin-top: 10px; }
  .tile-body { padding: 18px 20px 22px; }
  .tile-text { margin-top: 6px; }
  .tile--cta { padding: 26px 20px; }
  #kids .grid-3 { gap: 14px; }
  .kid .photo { aspect-ratio: 16 / 9; }
  .kid-body { padding: 18px 20px 22px; }
  .kid h3 { font-size: 38px; }
  .kid-link, .kid .kid-link { margin-top: 16px; }
  .people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .people .person .photo, .people .person .ph { aspect-ratio: 4 / 5; }
  .person h3 { font-size: 20px; margin-top: 12px; }
  .person .role { font-size: 12px; }
  .person .creds { font-size: 12px; }
  .gallery--labels .photo { height: 240px; }
  .tt { gap: 10px; }

  /* Why / lists */
  .why-list { gap: 22px; }
  .why-list h3 { font-size: 24px; }
  .why-list p { margin-top: 6px; font-size: 15px; }

  /* Footer: links in two columns, no map (the address links to Google Maps) */
  .site-footer .wrap.sec, .site-footer .wrap { padding-top: 40px; padding-bottom: 28px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-blurb { margin-top: 14px; max-width: none; }
  .visit .map-embed, .visit .map-link { display: none; }
  .footer-base { margin-top: 28px; padding-top: 18px; }
  .cta--form { padding: 28px 16px; gap: 24px; }
  .footer-blog { display: none; }
  .sl-row { grid-template-columns: 1fr; gap: 8px; padding: 14px 0; }
  .sl-day { font-size: 24px; }
  .sl-classes { gap: 8px; }
  .sl-classes li { grid-template-columns: 138px 1fr; gap: 10px; font-size: 15px; }
}

/* Phones, round 2: class cards and kids cards become compact rows (photo beside the text), timetable cells one line each */
@media (max-width: 720px) {
  .tile-link { display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: stretch; }
  .tile .photo { aspect-ratio: auto; height: 100%; min-height: 150px; }
  .tile-body { padding: 14px 16px 16px; display: flex; flex-direction: column; justify-content: center; }
  .tile-eyebrow { font-size: 11px; }
  .tile h3 { font-size: 28px; margin-top: 6px; }
  .tile-text { margin-top: 6px; font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .tile-cta { margin-top: 10px; align-self: flex-start; padding: 8px 14px; font-size: 14px; }
  .tile--cta { padding: 22px 18px; }
  #kids .kid { display: grid; grid-template-columns: 116px minmax(0, 1fr); }
  #kids .kid .photo { height: 100%; min-height: 170px; aspect-ratio: auto; }
  #kids .kid-body { padding: 14px 16px 16px; }
  #kids .kid-body h3 { font-size: 30px; }
  #kids .kid-body h4 { margin-top: 4px; }
  #kids .kid-body p { margin-top: 8px; font-size: 14px; line-height: 1.45; }
  #kids .kid-link, #kids .kid .kid-link { margin-top: 12px; padding: 9px 14px; font-size: 14px; }
  .tt-s { display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: 10px; align-items: baseline; padding: 11px 14px 11px 12px; }
  .tt-s .tt-time { font-size: 13px; }
  .tt-s .tt-name { margin-top: 0; font-size: 15px; }
  .tt-s .tt-for { display: none; }
  .tt-day h3, .tt-day-head { padding-top: 12px; padding-bottom: 12px; }
}
@media (max-width: 720px) {
  .tile .tile-cta { padding: 0; box-shadow: none; background: none; color: var(--yellow); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; margin-top: 8px; }
  .tile .tile-cta::before { display: none; }
  .tile-link:hover .tile-cta { box-shadow: none; color: var(--yellow); }
  .tile .photo { min-height: 128px; }
}

/* Stop the page panning sideways on phones. The closed reviews drawer sits just off the right edge, which some phone browsers
   count as page width. overflow-x: clip hides it without turning the page into a scroll box (the sticky header keeps working). */
html, body { overflow-x: hidden; overflow-x: clip; }
@media (max-width: 720px) {
  .tile.tile--cta { gap: 14px; padding: 28px 20px 30px; }
  .tile.tile--cta h3, .tile--cta .tile-h { font-size: 44px; line-height: .95; margin-top: 8px; }
  .tile--cta .tile-cta-copy p { font-size: 16px; line-height: 1.5; }
}

/* Related links at the end of blog posts */
.rel-list { margin-top: 20px; border-top: 1px solid #d4d4d4; }
.rel-list li { border-bottom: 1px solid #d4d4d4; }
.rel-list a { display: block; padding: 14px 0; font-size: 17px; font-weight: 500; color: var(--black); text-decoration: none; transition: padding-left .2s ease, color .2s ease; }
.rel-list a:hover, .rel-list a:focus-visible { padding-left: 8px; text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* Quick links under the trial panel */
.cta-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 22px; font-size: 14px; }
.cta-links a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 193, 18, .7); text-underline-offset: 4px; }
.cta-links a:hover, .cta-links a:focus-visible { color: var(--yellow); }
.trial-links { margin-top: 24px; font-size: 16px; }
.trial-links a { color: inherit; text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 3px; text-decoration-thickness: 2px; }

.tile-h, .stats .stat-num { font-family: var(--font-display); font-weight: 500; text-transform: none; margin: 0; line-height: .95; letter-spacing: .01em; }
.stats .stat-num { color: var(--black); }

/* ===== Ad landing pages (/lp/...) ===== */
.lp-bar { background: var(--black); border-bottom: 3px solid var(--yellow); }
.lp-bar-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lp-logo { height: 44px; width: auto; display: block; }
.lp-bar-actions { display: flex; align-items: center; gap: 22px; }
.lp-tel { display: inline-flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; font-weight: 600; font-size: 16px; }
.lp-tel:hover { color: var(--yellow); }
.lp-bar .btn-y { padding: 12px 20px; font-size: 14px; }
.lp-hero { position: relative; background: var(--black); color: var(--white); overflow: hidden; padding: 72px 0 80px; }
.lp-hero-photo { position: absolute; inset: 0; opacity: .42; }
.lp-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.6) 55%, rgba(0,0,0,.35) 100%); }
.lp-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: start; }
.lp-copy h1 { font-size: clamp(52px, 7.2vw, 104px); line-height: .9; color: var(--white); margin-top: 14px; }
.lp-lede { margin-top: 24px; max-width: 560px; font-size: 19px; line-height: 1.55; color: #e2e2e2; }
.lp-ticks { margin-top: 28px; display: grid; gap: 12px; }
.lp-ticks li { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 500; }
.lp-call { margin-top: 28px; font-size: 16px; color: #cfcfcf; }
.lp-call a { color: var(--white); font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 4px; }
.lp-card { background: var(--white); color: var(--black); padding: 28px 28px 20px; box-shadow: inset 0 6px 0 var(--yellow); }
.lp-card h2 { font-size: 36px; margin-top: 8px; }
.lp-card > p { margin-top: 8px; font-size: 15px; color: var(--grey-text-light); }
.lp-card .form-frame { margin-top: 14px; }
.lp-usp { margin-top: 48px; }
.lp-final { text-align: center; max-width: 760px; }
.lp-final .lede { margin: 18px auto 0; }
.lp-final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
.lp-foot { background: var(--black); color: #9a9a9a; padding: 28px 0 32px; font-size: 14px; }
.lp-foot p + p { margin-top: 10px; }
.lp-foot a { color: inherit; }
.lp-foot a:hover { color: var(--yellow); }
.lp-foot-links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
@media (max-width: 1100px) { .lp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } .lp-hero { padding: 48px 0 56px; } }
@media (max-width: 720px) {
  .lp-bar-inner { height: 64px; }
  .lp-logo { height: 36px; }
  .lp-tel span { display: none; }
  .lp-tel { width: 42px; height: 42px; justify-content: center; border: 2px solid var(--rule-dark-2); }
  .lp-bar .btn-y { padding: 10px 14px; font-size: 13px; }
  .lp-hero { padding: 32px 0 40px; }
  .lp-copy h1 { font-size: clamp(44px, 13vw, 60px); }
  .lp-lede { margin-top: 16px; font-size: 16px; }
  .lp-ticks { margin-top: 20px; gap: 8px; }
  .lp-ticks li { font-size: 15px; }
  .lp-call { margin-top: 18px; }
  .lp-card { padding: 22px 16px 14px; }
  .lp-card h2 { font-size: 30px; }
  .lp-usp { margin-top: 24px; }
}

/* ===== Booking step (/book-a-call/) ===== */
.bk-hero { position: relative; overflow: hidden; background: var(--black); color: var(--white); padding: 176px 0 80px; text-align: center; } /* 104px header on top */
.bk-hero-photo { position: absolute; inset: 0; opacity: .5; }
.bk-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.7), rgba(0,0,0,.55) 50%, rgba(0,0,0,.8)); }
.bk-hero-inner { position: relative; z-index: 1; }
.bk-hero-inner { max-width: 760px; }
.bk-photo { width: 132px; height: 132px; margin: 0 auto 20px; border-radius: 50%; overflow: hidden; }
.bk-photo.photo--lead, .bk-photo.photo--lead::after { box-shadow: none; }
.bk-hero h1 { font-size: clamp(44px, 6vw, 80px); line-height: .92; margin-top: 12px; color: var(--white); }
.bk-lede { margin-top: 20px; font-size: 18px; line-height: 1.6; color: #e2e2e2; }
.bk-sign { margin-top: 24px; font-size: 16px; font-weight: 600; }
.bk-sign span { font-weight: 400; color: var(--grey-text-dark); font-size: 14px; }
.bk-wrap { padding-top: 56px; padding-bottom: 72px; max-width: 760px; }
.bk-card { background: var(--white); box-shadow: 0 0 0 1px #d4d4d4, inset 0 6px 0 var(--yellow); padding: 36px 28px 20px; }
.bk-card h2 { font-size: 36px; text-align: center; margin-bottom: 8px; }
.bk-card .form-frame iframe { width: 100%; border: 0; min-height: 700px; }
.bk-points { margin-top: 28px; display: grid; gap: 10px; font-size: 16px; color: var(--grey-text-light); }
.bk-points li { position: relative; padding-left: 26px; }
.bk-points li::before { content: ''; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); }
@media (max-width: 720px) { .bk-hero { padding: 112px 0 48px; } .bk-lede { font-size: 16px; } .bk-wrap { padding-top: 32px; padding-bottom: 48px; } .bk-card { padding: 24px 12px 12px; } .bk-card h2 { font-size: 30px; } }

/* Sticky bar entrance: the yellow underline draws across and the compact logo wipes in as the bar slides down.
   Everything resets only after the bar has slid away (.3s), so nothing flickers on the way out. */
.bar--inner.bar--solid { border-bottom: 3px solid transparent; }
.bar--inner.bar--solid::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--yellow);
  transform: scaleX(0); transform-origin: left center; transition: transform 0s linear .3s;
}
.bar--inner.bar--solid.bar--on::after { transform: scaleX(1); transition: transform .7s cubic-bezier(.65, 0, .35, 1) .1s; }
.bar--inner.bar--solid .logo-nosub {
  clip-path: inset(0 100% 0 0); transform: translateX(-12px); opacity: 0;
  transition: clip-path 0s linear .3s, transform 0s linear .3s, opacity 0s linear .3s;
}
.bar--inner.bar--solid.bar--on .logo-nosub {
  clip-path: inset(0 0 0 0); transform: none; opacity: 1;
  transition: clip-path .65s cubic-bezier(.65, 0, .35, 1) .14s, transform .65s cubic-bezier(.22, 1, .36, 1) .14s, opacity .2s ease .14s;
}
@media (prefers-reduced-motion: reduce) {
  .bar--inner.bar--solid::after { transform: scaleX(1); transition: none; }
  .bar--inner.bar--solid .logo-nosub, .bar--inner.bar--solid.bar--on .logo-nosub { clip-path: none; transform: none; opacity: 1; transition: none; }
}

/* Quote band ellipse draws itself on first view (script sets --len and adds the classes; no script or reduced motion = drawn). */
.ring-draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.ring-draw.ring-in { stroke-dashoffset: 0; transition: stroke-dashoffset 1.5s cubic-bezier(.65, 0, .35, 1) .3s; }

/* Space between an intro line and the address block (Cockburn Central "Find us") */
.lede + .nap { margin-top: 28px; }

/* ===== Bigger headings + hero ticks (Gino via Brandon, 26 Nov 2026). Kept Gazzetta; sizes only. Round 2: every H2/H3 here +2px. ===== */
.tick p { font-size: 34px; }
.tick svg { width: 32px; height: 32px; flex: none; }
.h2 { font-size: calc(clamp(56px, 7vw, 104px) + 2px); }
.h2--md { font-size: calc(clamp(46px, 5.2vw, 76px) + 2px); }
.why h2 { font-size: calc(clamp(52px, 5.4vw, 78px) + 2px); }
/* Main header logo is now the full Combat Defence Systems wordmark: taller so the three lines read */
.bar--inner .bar-logo .logo-sub { height: 68px; }
.cta h2 { font-size: calc(clamp(64px, 8vw, 128px) + 2px); }
.cta--form .cta-copy h2 { font-size: calc(clamp(56px, 6.5vw, 104px) + 2px); }
.reviews-head h2 { font-size: 50px; }
.prose h2 { font-size: 40px; }
.post h2 { font-size: 42px; }
.why-list h3, .trio h3, .quad h3 { font-size: 38px; }
.usp-grid.why-list h3 { font-size: 36px; }
.card h3 { font-size: 42px; }
.tile h3 { font-size: 56px; }
.kid-body h3 { font-size: 68px; }
.person h3 { font-size: 34px; }
.tt-day h3 { font-size: 30px; }
.sl-day { font-size: 36px; }
.profile .h3 { font-size: 36px; }
@media (max-width: 720px) {
  .tick p { font-size: 25px; }
  .tick svg { width: 26px; height: 26px; }
  .h2, .h2--md, .why h2 { font-size: calc(clamp(38px, 11.4vw, 48px) + 2px); }
  .cta h2 { font-size: 66px; }
  .cta--form .cta-copy h2 { font-size: 58px; }
  .reviews-head h2 { font-size: 46px; }
  .prose h2 { font-size: 36px; }
  .post h2 { font-size: 36px; }
  .why-list h3, .trio h3, .quad h3, .usp-grid.why-list h3 { font-size: 32px; }
  .card h3 { font-size: 36px; }
  .tile h3 { font-size: 36px; }
  .kid h3, #kids .kid-body h3 { font-size: 38px; }
  .person h3 { font-size: 26px; }
  .tt-day h3 { font-size: 28px; }
  .sl-day { font-size: 30px; }
  .profile .h3 { font-size: 32px; }
  .bar--inner .bar-logo .logo-sub { height: 48px; }
}
/* Class page facts strip values (Level, Classes, Ages, Offer) */
.facts dd { font-size: 36px; }
@media (max-width: 720px) { .facts dd { font-size: 32px; } }
/* Round 2: H1s +2px too */
.hero h1 { font-size: calc(clamp(64px, 10.5vw, 160px) + 2px); }
.page-hero h1 { font-size: calc(clamp(44px, 6vw, 92px) + 2px); }
.profile h1 { font-size: calc(clamp(44px, 6vw, 88px) + 2px); }
.lp-copy h1 { font-size: calc(clamp(52px, 7.2vw, 104px) + 2px); }
.bk-hero h1 { font-size: calc(clamp(44px, 6vw, 80px) + 2px); }
@media (max-width: 720px) {
  .page-hero h1 { font-size: calc(clamp(40px, 11vw, 56px) + 2px); }
  .lp-copy h1 { font-size: calc(clamp(44px, 13vw, 60px) + 2px); }
}

/* Photo look, chosen in WP Site settings > Show or hide > Photo look (body class from the theme). Default = the darkened black and white above. */
body.photos-light { --photo-filter: grayscale(1) contrast(1.02) brightness(1.04); }
body.photos-light .photo::after { background-image: linear-gradient(180deg, rgba(0,0,0,0) 65%, rgba(0,0,0,.22) 100%); }
body.photos-colour { --photo-filter: none; }
body.photos-colour .photo::after { background-image: linear-gradient(180deg, rgba(0,0,0,0) 65%, rgba(0,0,0,.22) 100%); }

/* Header photo look (WP Site settings > Show or hide > Header photo look), body class from the theme.
   Default = same as the other photos. The dark shade / vignette over header photos always stays, so text reads. */
body.header-photos-bw :is(.hero-photo, .page-hero-photo, .lp-hero-photo, .bk-hero-photo) img { filter: grayscale(1) contrast(1.08) brightness(.82); }
body.header-photos-colour :is(.hero-photo, .page-hero-photo, .lp-hero-photo, .bk-hero-photo) img { filter: none; }
body:is(.header-photos-bw, .header-photos-colour) :is(.hero-photo, .page-hero-photo, .lp-hero-photo, .bk-hero-photo)::after { background-image: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.35) 100%); }

/* "Martial arts for everyone" photo cards: readable labels (Brandon, 3 Dec 2026; darker 5 Dec for colour photos).
   80% black at the bottom, still 50% behind the title, fading out three-quarters up. On phones the label fills most of
   the card, so the whole card is shaded. Beats the body.photos-light / body.photos-colour fades; full strength on hover. */
.gallery--labels .tile-photo::after,
body.photos-light .gallery--labels .tile-photo::after,
body.photos-colour .gallery--labels .tile-photo::after { background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.5) 45%, rgba(0,0,0,0) 78%); opacity: 1; }
.gallery--labels .tp-label { text-shadow: 0 1px 12px rgba(0,0,0,.45); }
@media (max-width: 720px) {
  .gallery--labels .tile-photo::after,
  body.photos-light .gallery--labels .tile-photo::after,
  body.photos-colour .gallery--labels .tile-photo::after { background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.6) 55%, rgba(0,0,0,.42) 100%); }
}
.gallery--labels .tile-photo:hover::after, .gallery--labels .tile-photo:focus-visible::after { opacity: 1; }

/* Contact strip under the header: the columns share the full width, however many there are (3 with the phone,
   2 when Call buttons are off). Brandon, 5 Dec 2026. */
.strip dl { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
@media (max-width: 720px) { .strip dl { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); } }

/* Book a Call after booking: the Booked wording takes over (5 Dec 2026) */
.bk-hero .bk-title { font-size: clamp(44px, 6vw, 80px); line-height: .92; margin-top: 12px; color: var(--white); }
.bk-hero h2.bk-title { font-size: calc(clamp(44px, 6vw, 80px) + 2px); }
.bk-before[hidden], .bk-after[hidden] { display: none !important; }
