/* EWF Martial Arts Market Harborough
   Colours: the HighLevel site's own (copied 6 Oct 2026). Layout: the MG Black Belt Academy site.
   MEDIA RULE: no picture or video is ever stretched. Every <img>/<video> keeps height:auto
   (its true shape) unless it fills a box on purpose with object-fit:cover (which crops, never
   squashes). Safari stretches media given height:100% inside a flex column, so that is
   never used on content media. */

:root {
  --red: #ce2f2e;
  --red-dark: #a82322;
  --black: #000;
  --dark: #110b0c;
  --charcoal: #2a2829;
  --light: #f6f6ff;
  --stone: #e0e0db;
  --ink: #1d1d1f;
  --text: #45454a;
  --white: #fff;
  --hdr: 76px;
  --head: "Khand", "Arial Narrow", Arial, sans-serif;
  --body: "Poppins", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; font: 400 16px/1.65 var(--body); color: var(--text); background: var(--light); overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
button { font: inherit; cursor: pointer; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--red); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; top: 8px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 860px; }
.center { text-align: center; }
svg { width: 1em; height: 1em; flex: none; }
.anchor-alias { position: relative; top: calc(-1 * var(--hdr)); display: block; }

/* ---------- type ---------- */
.h-section, .h-big, .h-thin, .hero-h, .page-banner h1 {
  font-family: var(--head); text-transform: uppercase; color: var(--ink); letter-spacing: .3px;
}
.h-section { font-size: 40px; line-height: 1.05; font-weight: 700; margin-bottom: 18px; }
.h-big { font-size: 46px; line-height: 1.05; font-weight: 700; text-align: center; margin-bottom: 26px; }
.h-thin { font-size: 36px; line-height: 1.1; font-weight: 500; text-align: center; margin-bottom: 34px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 18px/1 var(--head); text-transform: uppercase; letter-spacing: .6px; text-decoration: none;
  padding: 13px 26px; border: 2px solid transparent; border-radius: 2px; transition: background .2s, color .2s, transform .2s;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover, .btn-red:focus-visible { background: var(--red-dark); }
.btn-big { font-size: 28px; padding: 18px 46px; transform: rotate(-1.2deg); box-shadow: 0 10px 22px rgba(206, 47, 46, .28); margin-top: 10px; }
.btn-big:hover { transform: rotate(0); }
.btn-outline { border-color: #fff; color: #fff; background: transparent; font-size: 20px; padding: 15px 30px; }
.btn-outline:hover, .btn-outline:focus-visible { background: #fff; color: var(--ink); }

/* ---------- header (MG: menu button + logo left, aeroplane + Book Now right) ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; height: var(--hdr); background: var(--black); z-index: 50; box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
body { padding-top: var(--hdr); }
.hdr { height: 100%; display: flex; align-items: center; gap: 14px; padding: 0 22px; max-width: 1440px; margin: 0 auto; }
.hdr-menu { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--black); display: grid; place-items: center; font-size: 22px; }
.hdr-menu:hover { background: var(--red); color: #fff; }
.hdr-logo { display: block; }
.hdr-logo img { height: 52px; width: auto; }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.hdr-plane { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--red); background: transparent; color: var(--red); display: grid; place-items: center; font-size: 20px; padding: 0; }
.hdr-plane:hover { background: var(--red); color: #fff; }
.hdr-book { font-size: 20px; font-weight: 700; padding: 12px 26px; }

/* ---------- desktop menu across the top (Amir, 7 Oct 2026): computers only; phones and
   tablets keep the menu button + drawer. The Martial Arts list drops down on hover or keyboard focus. */
.topnav { display: none; }
@media (min-width: 1100px) {
  .hdr-menu { display: none; }
  .topnav { display: block; margin-left: 28px; }
  .topnav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
  .topnav li { position: relative; }
  .topnav a { display: flex; align-items: center; gap: 4px; padding: 10px 12px; color: #fff; text-decoration: none;
    font: 600 21px/1 var(--head); text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; }
  .topnav a:hover, .topnav a:focus-visible { color: var(--red); }
  .topnav a svg { width: 16px; height: 16px; }
  .topnav-sub { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; min-width: 220px;
    background: var(--dark); border-top: 3px solid var(--red); box-shadow: 0 10px 24px rgba(0, 0, 0, .4);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
  .topnav-group:hover .topnav-sub, .topnav-group:focus-within .topnav-sub { opacity: 1; visibility: visible; transform: none; }
  .topnav-sub a { font: 500 16px/1.2 var(--body); text-transform: none; letter-spacing: 0; padding: 10px 18px; color: #ddd; }
}

/* ---------- drawer menu ---------- */
.drawer { position: fixed; top: 0; bottom: 0; left: 0; width: 330px; max-width: 86vw; background: var(--dark); color: #fff; z-index: 70;
  transform: translateX(-102%); transition: transform .28s ease; overflow-y: auto; padding: 18px 22px 30px; visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.drawer-scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 60; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer-top img { height: 48px; width: auto; }
.drawer-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--black); display: grid; place-items: center; font-size: 22px; }
.drawer-links, .drawer-sub { list-style: none; margin: 0; padding: 0; }
.drawer-links > li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.drawer-links a, .drawer-group { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 13px 4px; color: #fff; text-decoration: none;
  font: 600 22px/1.1 var(--head); text-transform: uppercase; letter-spacing: .5px; background: none; border: 0; text-align: left; }
.drawer-links a:hover, .drawer-group:hover { color: var(--red); }
.drawer-group svg { transition: transform .2s; }
.drawer-group[aria-expanded="true"] svg { transform: rotate(180deg); }
.drawer-sub { padding: 0 0 10px 14px; }
.drawer-sub a { font: 500 16px/1.2 var(--body); text-transform: none; padding: 9px 4px; color: #ddd; }
.drawer-book { width: 100%; margin: 22px 0; font-size: 22px; }
.drawer-social, .foot-social, .contact-social { display: flex; gap: 28px; flex-wrap: wrap; }
.social-group span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; opacity: .75; margin-bottom: 6px; }
.social-icons { display: flex; gap: 10px; }
.social-icons a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; font-size: 18px; }
.social-icons a:hover { background: var(--red); }

/* ---------- hero (MG: text on the left over the video) ---------- */
.hero { position: relative; min-height: min(86vh, 780px); display: flex; align-items: center; background: var(--dark); overflow: hidden; color: #fff; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 6, 7, .86) 0%, rgba(10, 6, 7, .62) 45%, rgba(10, 6, 7, .2) 100%); }
.hero-inner { position: relative; padding-top: 70px; padding-bottom: 70px; }
.hero-inner > * { max-width: 620px; }
.hero-h { color: #fff; font-size: 62px; line-height: 1; font-weight: 700; margin-bottom: 22px; }
.hero-h .hl { color: var(--red); }
.hero p { font-size: 17px; color: #f1f1f1; }
.hero p strong { color: #fff; font-weight: 600; }

/* ---------- red bars ---------- */
.bar { display: block; background: var(--red); color: #fff; text-align: center; font: 700 30px/1.15 var(--head); text-transform: uppercase; letter-spacing: .5px; padding: 16px 24px; text-decoration: none; }
.address-bar { display: flex; align-items: center; justify-content: center; gap: 10px; }
.address-bar:hover span { text-decoration: underline; }
.marquee { overflow: hidden; padding: 18px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 34px; animation: marquee 38s linear infinite; padding-left: 34px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- picture + text block, with MG's offset colour frame ---------- */
.split { padding: 90px 0 40px; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split-right .split-media { order: 2; }
.split-media { display: flex; justify-content: center; }
.frame { position: relative; width: 100%; max-width: 520px; }
.frame::before { content: ""; position: absolute; inset: -16px 16px 16px -16px; background: var(--red); z-index: 0; }
.split-right .frame::before { inset: -16px -16px 16px 16px; }
.frame > img, .frame > video { position: relative; z-index: 1; width: 100%; height: auto; }
.frame-portrait { max-width: 470px; }
.frame-video { max-width: 380px; }
.frame-video video { background: var(--dark); }
.frame-coach { max-width: 380px; }
.split-text { color: var(--text); }
.split-text p { font-size: 15.5px; }
.lead { margin-bottom: .5em; color: var(--ink); }
.arrow-list { list-style: none; padding: 0; margin: 0 0 22px; }
.arrow-list li { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 9px; font-size: 15.5px; color: var(--ink); }
.arrow-list svg { color: var(--red); margin-top: 5px; font-size: 16px; }
.plain-list { padding-left: 20px; }
.plain-list li { margin-bottom: 8px; }
.swoosh-wrap { color: #c9c4cf; height: 120px; display: flex; justify-content: center; }
.swoosh { width: min(600px, 80%); height: 120px; }

/* ---------- programme cards ---------- */
.programmes { background: #fff; padding: 70px 0 80px; }
.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.card { flex: 0 1 calc((100% - 52px) / 3); min-width: 0; background: #fff; text-decoration: none; box-shadow: 0 4px 16px rgba(0, 0, 0, .12); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.card-img { position: relative; aspect-ratio: 7 / 5; overflow: hidden; background: var(--dark); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; color: #fff; font: 600 24px/1.1 var(--head); background: linear-gradient(transparent, rgba(0, 0, 0, .78)); }
.card-go { display: block; padding: 12px 14px; font: 600 13px/1 var(--body); letter-spacing: 1px; color: var(--red); }

/* ---------- trial band ---------- */
.trial { position: relative; background-size: cover; background-position: center; color: #fff; padding: 110px 0; text-align: center; }
.trial-shade { position: absolute; inset: 0; background: rgba(17, 11, 12, .72); }
.trial-inner { position: relative; }
.trial .h-big { color: #fff; margin-bottom: 14px; }
.trial-offer { font: 600 24px/1.2 var(--head); text-transform: uppercase; letter-spacing: .5px; }
.trial-price { display: table; margin: 0 auto 30px; background: #fff; color: var(--red); font: 700 52px/1 var(--head); padding: 8px 46px 4px; }

/* ---------- reviews ---------- */
.reviews { background: var(--stone); padding: 70px 0; }
.reviews-frame { max-width: 1150px; margin: 0 auto; }
.reviews-frame iframe { display: block; width: 100%; height: 430px; border: 0; }

/* ---------- location ---------- */
.location { background: #fff; padding-top: 70px; }
.map iframe { display: block; width: 100%; height: 440px; border: 0; }

/* ---------- booking calendar + forms (GoHighLevel iframes) ---------- */
.book { background: var(--stone); padding: 70px 0 80px; }
.book-sub { text-align: center; margin-top: -14px; margin-bottom: 26px; color: var(--ink); }
.ghl-frame { max-width: 1000px; margin: 0 auto; background: #fff; border-radius: 6px; box-shadow: 0 4px 18px rgba(0, 0, 0, .08); overflow: hidden; }
.ghl-frame iframe { display: block; width: 100%; border: 0; min-height: 720px; }
.form-frame iframe { min-height: 560px; }   /* the form is about 540px; the widget then sets its exact height */

/* ---------- gallery carousel ---------- */
.gallery { position: relative; background: var(--charcoal); padding: 26px 64px; }
.g-track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.g-track::-webkit-scrollbar { display: none; }
.g-slide { flex: none; height: 300px; padding: 0; border: 0; background: var(--dark); scroll-snap-align: start; }
.g-img { height: 300px; width: auto; max-width: none; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; font-size: 22px; }
.g-nav:hover { background: var(--red); }
.g-nav:disabled { opacity: .3; cursor: default; background: rgba(255, 255, 255, .14); }
.g-prev { left: 12px; }
.g-next { right: 12px; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .92); display: grid; place-items: center; padding: 50px 16px; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox-close, .dialog-close { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--black); display: grid; place-items: center; font-size: 22px; }

/* ---------- page banner (class pages etc.) ---------- */
.page-banner { position: relative; background-color: var(--dark); background-size: cover; background-position: center; padding: 70px 0; text-align: center; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(17, 11, 12, .35); }
.page-banner .wrap { position: relative; }
.page-banner h1 { color: #fff; font-size: 54px; line-height: 1; font-weight: 700; }

/* ---------- contact + prose ---------- */
.contact { background: #fff; padding: 70px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: start; }
.contact-form .ghl-frame { box-shadow: none; border: 1px solid #eee; }

/* ---------- our own enquiry form (build.py enquiry_box, site.js 3c; 8 Oct 2026) ---------- */
.lead-form { display: grid; gap: 14px; }
.lead-form[hidden] { display: none; }   /* display:grid would otherwise beat the hidden attribute */
.lf-row { align-items: start; }
.contact-form .lead-form, .contact-form .lf-done { background: #fff; border: 1px solid #eee; padding: 26px 24px; }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form label { display: grid; gap: 6px; font: 600 14px/1.2 var(--body); color: var(--ink); }
.lead-form input { width: 100%; font: 400 16px/1.3 var(--body); padding: 12px 14px; border: 1px solid #c9c4cf; border-radius: 4px; background: #fff; color: var(--ink); }
.lead-form input:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red); }
.lead-form input[aria-invalid="true"] { border-color: var(--red); background: #fff6f6; }
.lf-err { color: var(--red-dark); font: 500 13px/1.3 var(--body); }
.lf-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lf-send { width: 100%; font-size: 22px; padding: 14px 20px; margin-top: 4px; }
.lf-send:disabled { opacity: .6; cursor: wait; }
.lf-note { margin: 0; font-size: 13px; color: var(--text); }
.lf-note a { color: var(--red-dark); }
.lf-status { margin: 0; color: var(--red-dark); font-weight: 600; font-size: 14px; }
.lf-done { text-align: center; padding: 30px 10px; outline: none; }
.lf-done h3 { font: 700 28px/1.1 var(--head); color: var(--ink); margin: 0 0 10px; }
.lf-done p { color: var(--text); }
.lf-again { background: none; border: 0; color: var(--red-dark); font: 600 15px var(--body); text-decoration: underline; cursor: pointer; }
@media (max-width: 600px) { .lf-row { grid-template-columns: 1fr; } }
.contact-social { margin-top: 24px; color: var(--ink); }
.contact-social .social-icons a { background: var(--charcoal); }
.prose { padding: 60px 0 80px; }
.prose .h-section { font-size: 30px; margin: 34px 0 12px; }

/* ---------- footer (MG layout, EWF colours) ---------- */
.site-footer { background: var(--charcoal); color: #d9d9d9; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; gap: 40px; padding-top: 56px; padding-bottom: 46px; }
.foot-brand img { height: 78px; width: auto; margin-bottom: 12px; }
.foot-name { color: #fff; font-weight: 600; }
.foot-h { font: 600 26px/1.1 var(--head); color: #fff; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.foot-h::after { content: ""; position: absolute; left: 0; bottom: 0; width: 46px; border-bottom: 2px dashed var(--red); }
.foot-links, .foot-contact { list-style: none; margin: 0; padding: 0; }
.foot-links a { display: flex; align-items: center; gap: 6px; padding: 4px 0; text-decoration: none; }
.foot-links svg { color: var(--red); font-size: 13px; }
.foot-links a:hover, .foot-contact a:hover { color: #fff; text-decoration: underline; }
.foot-contact li { display: flex; gap: 12px; margin-bottom: 16px; }
.foot-contact svg { color: var(--red); font-size: 20px; margin-top: 2px; }
.foot-contact a { text-decoration: none; }
.foot-contact.dark { color: var(--ink); }
.foot-bottom { background: var(--black); color: #bbb; font-size: 14px; text-align: center; padding: 18px 0; }
.foot-bottom a { color: #fff; text-decoration: none; }
.foot-bottom a:hover { text-decoration: underline; }

/* ---------- floating aeroplane + enquiry dialog ---------- */
.float-plane { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 62px; height: 62px; border-radius: 50%; border: 3px solid #fff; background: var(--red); color: #fff;
  display: grid; place-items: center; font-size: 28px; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); padding: 0; }
.float-plane:hover { transform: scale(1.06); }
.dialog { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.dialog[hidden], .lightbox[hidden], .drawer-scrim[hidden] { display: none; }
.dialog-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .62); }
.dialog-card { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; border-radius: 6px; padding: 30px 24px 20px; }
.dialog-card .ghl-frame { box-shadow: none; }
.dialog-card .dialog-close { background: var(--stone); }
body.dialog-open .float-plane { display: none; }

/* ---------- homepage "every age" block (Amir's choice, 8 Oct 2026; build.py every_age_block) ---------- */
/* Option D: photo slider beside heading + tagline and the kids/adults lines. Phone order: head,
   slider, lines. Round three (Amir's own photos, 8 Oct): the strip has a fixed shape (2 wide
   to 1 high) and every photo is the strip's full height at its OWN shape (--ar from build.py),
   so wide adult photos and upright kids photos sit side by side, nothing cropped or squashed. */
.mix { padding: 90px 0 40px; }
.mix-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-areas: "media head" "media points"; column-gap: 64px; row-gap: 14px; align-items: end; }
.mix-head { grid-area: head; }
.mix-media { grid-area: media; display: flex; flex-direction: column; align-items: center; align-self: center; }
.mix-points { grid-area: points; align-self: start; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; }
.mix-tag { font-size: 18px; color: var(--ink); font-weight: 600; margin: 0; }
.mix-point { border-top: 4px solid var(--red); padding-top: 12px; }
.mix-point h3 { font: 700 22px/1.1 var(--head); color: var(--ink); margin: 0 0 6px; }
.mix-point p { font-size: 15px; color: var(--text); margin: 0; }
.mix-btn { grid-column: 1 / -1; margin-top: 10px; }
.frame-slider { max-width: 680px; }
.slider { position: relative; z-index: 1; display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; background: var(--light); aspect-ratio: 2 / 1; }
.slider::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 auto; height: 100%; aspect-ratio: var(--ar, 3 / 4); overflow: hidden; background: var(--dark); }
.slide img { width: 100%; height: 100%; object-fit: cover; }
/* the "this moves" cues (8 Oct round two) */
.slider-wrap { position: relative; z-index: 1; }
.slider-wrap::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 14%; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(246, 246, 255, 0), rgba(246, 246, 255, .75)); }
.slide-tag { position: absolute; left: 50%; transform: translateX(-50%); transition: left .5s ease; white-space: nowrap; bottom: 12px; background: var(--red); color: #fff; font: 700 15px/1 var(--head);
  letter-spacing: .5px; padding: 7px 10px 6px; text-transform: uppercase; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: #fff; color: var(--black); display: grid; place-items: center; font-size: 22px; padding: 0; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); cursor: pointer; }
.slider-btn:hover { background: var(--red); color: #fff; }
.slider-btn:disabled { opacity: .35; cursor: default; }
.slider-prev { left: 12px; }
.slider-next { right: 12px; }
.slider-dots { display: flex; gap: 9px; justify-content: center; margin-top: 30px; }
.slider-dot { width: 11px; height: 11px; border-radius: 50%; border: 0; padding: 0; background: #c9c4cf; cursor: pointer; transition: width .25s, background .25s; }
.slider-dot.on { width: 30px; border-radius: 6px; background: var(--red); }

/* ======================================================= tablet */
@media (max-width: 1024px) {
  .hero-h { font-size: 52px; }
  .split-grid { gap: 48px; }
  .card { flex-basis: calc((100% - 26px) / 2); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .split { padding: 60px 0 30px; }
  .split-grid { grid-template-columns: 1fr; gap: 46px; }
  .split-right .split-media { order: 0; }
  .split-right .frame::before { inset: -16px 16px 16px -16px; }
  .frame { max-width: 560px; margin-left: 16px; }
  .frame-video, .frame-coach { max-width: 340px; }
  .frame-portrait { max-width: 440px; }
  .contact-grid { grid-template-columns: 1fr; }
  .swoosh-wrap { display: none; }
  .bar { font-size: 26px; }
  .mix { padding: 56px 0 30px; }
  .mix-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "media" "points"; row-gap: 34px; }
  .mix-media { align-items: stretch; }
  .slider-btn { width: 40px; height: 40px; font-size: 19px; }
  .frame-slider { max-width: 560px; }
}
@media (max-width: 600px) {
  .mix-points { grid-template-columns: 1fr; }
}

/* ======================================================= phone */
@media (max-width: 600px) {
  :root { --hdr: 64px; }
  body { font-size: 15px; }
  .wrap { padding: 0 18px; }
  .hdr { padding: 0 14px; gap: 10px; }
  .hdr-logo img { height: 42px; }
  .hdr-plane { display: none; }            /* the floating aeroplane does this job on phones */
  .hdr-book { font-size: 18px; padding: 11px 18px; }
  .hero { min-height: 0; }
  .hero-shade { background: rgba(10, 6, 7, .66); }
  .hero-inner { padding-top: 54px; padding-bottom: 54px; }
  .hero-h { font-size: 40px; }
  .hero p { font-size: 15px; }
  .h-section { font-size: 32px; }
  .h-big { font-size: 34px; }
  .h-thin { font-size: 28px; }
  .btn-big { font-size: 24px; padding: 16px 30px; width: 100%; }
  .bar { font-size: 22px; padding: 14px 18px; }
  .marquee { padding: 14px 0; }
  .split { padding: 50px 0 20px; }
  .frame { margin-left: 12px; }
  .frame::before, .split-right .frame::before { inset: -12px 12px 12px -12px; }
  .frame-video, .frame-coach { max-width: 300px; }
  .card { flex-basis: 100%; }
  .trial { padding: 80px 0; }
  .trial-price { font-size: 44px; }
  .reviews { padding: 54px 0; }
  .reviews-frame iframe { height: 560px; }
  .map iframe { height: 340px; }
  .book { padding: 54px 0 60px; }
  .book .wrap { padding: 0 8px; }
  .ghl-frame { border-radius: 0; }
  .gallery { padding: 18px 0; }
  .g-slide, .g-img { height: 220px; }
  .g-nav { display: none; }
  .page-banner { padding: 46px 0; }
  .page-banner h1 { font-size: 36px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .float-plane { width: 56px; height: 56px; right: 16px; bottom: 16px; font-size: 24px; }
}
