/* JJAI front page, Apple style (design/apple-style/spec.md, 27 Sep 2026). Loads after css/fly.css, which styles the question
   flow overlay; this file only adds the landing. Black and white only: white and light grey bands, black for the hero, the
   last step and the end. Bebas Neue for headlines, Archivo for everything you read. Landing classes start with a-. */
:root{--a-white:#fff;--a-grey:#f5f5f5;--a-ink:#0b0b0b;--a-sub:#6e6e6e;--a-black:#070707;--a-cream:#f6f4ee;--a-sub-d:#a9a79f;
  --a-g:16px;--a-bar:48px;color-scheme:light}
html,body.landing{height:auto}
html{scroll-padding-top:calc(var(--a-bar) + 8px)}
/* the page starts on the black hero, so the bar blends with it before anything scrolls; every band sets its own colour */
body.landing{overflow:visible;background:var(--a-black);color:var(--a-ink)}
body.landing.flow-open,html.flow-open{overflow:hidden}   /* nothing behind the open question flow scrolls or loads */
main{overflow-x:clip}
.a-vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:0}
.a-in{max-width:1120px;margin:0 auto;padding:0 var(--a-g)}

/* bands: --t is the ink, --s the grey copy, --pb and --pt the pill */
.a-white,.a-grey,.a-notes{--t:var(--a-ink);--s:var(--a-sub);--pb:var(--a-ink);--pt:#fff;color:var(--t)}
.a-white{background:var(--a-white)}
.a-grey{background:var(--a-grey)}
.a-dark{--t:var(--a-cream);--s:var(--a-sub-d);--pb:var(--a-cream);--pt:var(--a-black);background:var(--a-black);color:var(--t)}

/* ---------- the sticky bar: it takes the band under it (apple.js sets data-on) ---------- */
.a-bar{position:sticky;top:0;z-index:40;padding-top:env(safe-area-inset-top,0px);color:var(--a-ink);--pb:var(--a-ink);--pt:#fff;
  background:rgba(255,255,255,.88);-webkit-backdrop-filter:saturate(1.8) blur(20px);backdrop-filter:saturate(1.8) blur(20px);
  box-shadow:0 1px 0 rgba(0,0,0,0);transition:background-color .25s,color .25s,box-shadow .25s}
.a-bar[data-on=dark]{background:rgba(7,7,7,.92);color:var(--a-cream);--pb:var(--a-cream);--pt:var(--a-black)}
.a-bar.line{box-shadow:0 1px 0 rgba(0,0,0,.12)}
.a-bar[data-on=dark].line{box-shadow:0 1px 0 rgba(246,244,238,.16)}
.a-barin{position:relative;max-width:1120px;margin:0 auto;height:var(--a-bar);display:flex;align-items:center;padding:0 calc(var(--a-g) - 8px)}
.a-word{display:inline-flex;align-items:center;min-height:44px;padding:2px 8px 0;color:inherit;text-decoration:none;white-space:nowrap;
  font:1.45rem/1 "Bebas Neue",Impact,sans-serif;letter-spacing:.07em}
.a-more{display:inline-grid;place-items:center;width:44px;height:44px;margin-left:-6px;padding:0;border:0;background:none;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.a-more svg{width:12px;height:8px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.a-more[aria-expanded=true] svg{transform:rotate(180deg)}
/* phone: the three links drop down under the bar, 56 px rows */
.a-menu{display:none;position:absolute;top:100%;left:0;right:0;padding:6px var(--a-g) 14px;background:inherit;color:inherit}
.a-bar .a-menu{background:#fff}
.a-bar[data-on=dark] .a-menu{background:var(--a-black)}
.a-menu.open{display:block;box-shadow:0 12px 24px rgba(0,0,0,.12)}
.a-menu a{display:flex;align-items:center;min-height:56px;color:inherit;text-decoration:none;border-top:1px solid rgba(128,128,128,.25);
  font:1.5rem/1 "Bebas Neue",Impact,sans-serif;letter-spacing:.06em;text-transform:uppercase}
.a-menu a:first-child{border-top:0}
.a-barpill{margin-left:auto;margin-right:8px;height:36px;min-height:0;padding:1px 16px 0;font-size:1.1rem;transition:opacity .2s,visibility 0s}
.a-barpill::after{content:"";position:absolute;inset:-4px -2px}
.a-barpill.off{opacity:0;visibility:hidden;transition:opacity .2s,visibility 0s .2s}

/* ---------- buttons and links ---------- */
.a-pill{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:1px 22px 0;border:1.5px solid var(--pb);border-radius:980px;
  background:var(--pb);color:var(--pt);cursor:pointer;text-decoration:none;white-space:nowrap;-webkit-tap-highlight-color:transparent;
  font:1.3rem/1 "Bebas Neue",Impact,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.a-pill:active{transform:translateY(1px)}
.a-pill:focus-visible,.a-link:focus-visible,.a-word:focus-visible,.a-more:focus-visible,.a-menu a:focus-visible,.a-row a:focus-visible,.a-switch button:focus-visible,.a-pp:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.a-big{min-height:54px;min-width:240px;padding:2px 34px 0;font-size:1.65rem}
.a-ghost{background:transparent;color:var(--t)}
.a-link{display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:0 4px;border:0;background:none;color:var(--t);cursor:pointer;text-decoration:none;
  font:600 1.05rem/1.2 "Archivo",sans-serif}
.a-link:hover{text-decoration:underline;text-underline-offset:4px}
.a-quiet{color:var(--s);font-weight:400}
.a-acts{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 18px;margin:28px 0 0}

/* ---------- type ---------- */
.a-eye{margin:0 0 10px;color:var(--s);font:600 .78rem/1.2 "Archivo",sans-serif;letter-spacing:.16em;text-transform:uppercase}
.a-h{margin:0 0 22px;color:var(--t);font:400 3.5rem/.92 "Bebas Neue",Impact,sans-serif;letter-spacing:.005em;text-transform:uppercase;text-wrap:balance}
.a-intro{margin:0 auto;max-width:34em;color:var(--s);font-size:1.12rem;line-height:1.42}
.a-intro b{color:var(--t);font-weight:600}
.a-blocks p{margin:0 auto 14px;max-width:30em;color:var(--s);font-size:.95rem;line-height:1.5}
.a-blocks b{color:var(--t);font-weight:600}
.a-fn{font-size:.55em;line-height:0;vertical-align:super;letter-spacing:0}
.a-h .a-fn{font-size:.34em;vertical-align:.95em}
/* about a 24 px target round each note number (WCAG 2.2 target size). It stays inline, so the number never wraps away
   from its word; the negative side margins keep the line as it was */
.a-fn a{color:inherit;text-decoration:none;padding:8px 10px;margin:0 -10px}

/* ---------- clips: a still first, the video over it once it plays; the label and the pause button sit under the frame
   so they never cover the buttons inside our screen recordings ---------- */
.a-clip{position:relative;margin:0 auto}
.a-frame{position:relative;border-radius:28px;overflow:hidden;background:#000;isolation:isolate}
.a-frame picture,.a-frame img,.a-frame video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.a-frame video{opacity:0;transition:opacity .25s}
.a-clip.on video{opacity:1}
.a-tall .a-frame{aspect-ratio:9/16}
.a-169 .a-frame{aspect-ratio:16/9}
.a-dark .a-frame{box-shadow:0 0 0 1px rgba(246,244,238,.2)}
.a-cap{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin:6px 2px 0 4px}
.a-tag{color:var(--s);font:600 .75rem/1.2 "Archivo",sans-serif;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap}
/* pause, play, replay: 36 px round inside a 44 px tap */
.a-pp{position:relative;flex:0 0 44px;width:44px;height:44px;margin-right:-4px;padding:0;border:0;border-radius:50%;background:none;color:var(--t);cursor:pointer;-webkit-tap-highlight-color:transparent}
.a-pp::before{content:"";position:absolute;inset:4px;border-radius:50%;background:rgba(0,0,0,.08)}
.a-dark .a-pp::before{background:rgba(246,244,238,.16)}
.a-pp::after{content:"";position:absolute;inset:15px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 1.5h2.6v11H3zM8.4 1.5H11v11H8.4z'/%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 14 14'%3E%3Cpath d='M3 1.5h2.6v11H3zM8.4 1.5H11v11H8.4z'/%3E%3C/svg%3E") center/contain no-repeat}
.a-pp[data-state=play]::after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 1.3l9 5.7-9 5.7z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 1.3l9 5.7-9 5.7z'/%3E%3C/svg%3E")}
.a-pp[data-state=replay]::after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M11.6 7.4A4.6 4.6 0 1 1 7 2.4h2.2' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M8.6 0.2l3 2.2-3 2.2z'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M11.6 7.4A4.6 4.6 0 1 1 7 2.4h2.2' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M8.6 0.2l3 2.2-3 2.2z'/%3E%3C/svg%3E")}
.a-credit{margin:10px 0 0;text-align:center;color:var(--s);font-size:.75rem}
.a-credit a{color:inherit;display:inline-block;padding:14px 0;margin:-14px 0}

/* ---------- hero: the loop on top, the words at the bottom, left aligned ---------- */
.a-hero{padding:8px 0 44px}
.a-hero .a-in{display:flex;flex-direction:column;min-height:calc(100vh - var(--a-bar) - 52px);min-height:calc(100svh - var(--a-bar) - 52px)}
.a-hero .a-clip{flex:0 0 auto;align-self:center;margin:0 auto 16px}
/* the hero ad (js/ad.js): 9:16 on a phone, sized so the headline, the line and both buttons stay on the first screen with
   the credit under the video; 16:9 from 900 px (ad.js picks the file the same way). The figure spans the column, so
   the long credit wraps wide and short; the frame centres itself. */
.a-hero .ad-hero{align-self:stretch;margin:0 0 14px}
.ad-hero .a-frame{aspect-ratio:9/16;height:clamp(220px,calc(100svh - var(--a-bar) - 318px),600px);width:auto;margin:0 auto;border-radius:24px}
.a-hero .a-copy{margin-top:auto}
.a-h1{margin:0 0 14px;font-weight:400}
.a-h1 span{display:block;font:3.05rem/.9 "Bebas Neue",Impact,sans-serif;letter-spacing:.005em;text-transform:uppercase;text-wrap:balance}
.a-h1 span+span{color:var(--s)}
.a-line{margin:0 0 10px;max-width:36em;color:var(--s);font-size:.98rem;line-height:1.45}
.a-line b{color:var(--t);font-weight:600}
/* the loop's own pause / play: small, in the loop's bottom right corner */
.a-ppin{position:absolute;right:4px;bottom:4px;z-index:2;margin:0;color:#fff}
.a-ppin::before,.a-dark .a-ppin::before{inset:8px;background:rgba(0,0,0,.5);box-shadow:0 0 0 1px rgba(255,255,255,.28)}
.a-ppin::after{inset:17px}
.a-ppin:focus-visible{outline:2px solid #fff;outline-offset:-4px}
/* the two buttons: FIND MY GYM is the one filled pill; 3D MAP is the outline pill beside it (a pin, the words, an arrow) */
.a-ctas{display:flex;gap:10px;margin:14px 0 0}
.a-ctas .a-big{min-width:0;margin:0;padding:2px 18px 0}
.a-ctas [data-find]{flex:1.3 1 0}
.a-out{flex:1 1 0;gap:8px;background:transparent;color:var(--t);border-color:var(--t);font-size:1.5rem;transition:background-color .2s}
.a-out svg{flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.a-outi{width:19px;height:19px;margin-top:-2px}
.a-outa{width:16px;height:16px;margin-top:-2px;transition:transform .2s}
.a-out:hover{background:rgba(246,244,238,.14)}
.a-out:hover .a-outa,.a-out:focus-visible .a-outa{transform:translateX(3px)}
.a-ctas [data-find]:hover{background:#fff;border-color:#fff}

/* ---------- sections: phone first, centred, one column in the spec's order ---------- */
.a-sec{padding:96px 0 88px}
.a-sec .a-copy{text-align:center}
.a-side .a-in{display:flex;flex-direction:column}
.a-side .a-copy{display:contents}
.a-side .a-eye{order:1}.a-side .a-h{order:2}.a-side .a-intro{order:3}.a-side .a-clip,.a-side .a-mono{order:4}.a-side .a-blocks{order:5}.a-side .a-acts{order:6}
.a-side .a-eye,.a-side .a-h,.a-side .a-intro,.a-side .a-blocks{text-align:center}
.a-side .a-clip{width:min(100%,300px);margin:40px auto 30px}
.a-wide .a-clip{margin:40px auto 0}
.a-wide .a-blocks{margin-top:36px;text-align:center}
/* the four promises: one group, a hairline between each */
.a-promise{max-width:30em;margin:0 auto}
.a-promise p{margin:0 auto;padding:14px 0;border-top:1px solid rgba(246,244,238,.16)}
.a-promise p:first-child{border-top:0;padding-top:0}
/* phone: the map clip is the tall one */
@media (max-width:899px){#map .a-clip,#a-sketch[data-tall]{width:min(100%,300px)}#map .a-frame,#a-sketch[data-tall] .a-frame{aspect-ratio:9/16}
  .a-tagx{display:none}   /* the hero frame is about 200 px wide on a phone: its label reads EXAMPLE */
}
/* section 3: one video block, two clips */
.a-switch{display:flex;width:max-content;margin:32px auto 0;padding:3px;border-radius:99px;background:#ececec}
.a-switch button{min-height:44px;padding:0 20px;border:0;border-radius:99px;background:none;color:var(--a-sub);cursor:pointer;font:600 .95rem/1 "Archivo",sans-serif}
.a-switch button.on{background:var(--a-ink);color:#fff}
.a-switch+.a-clip{margin-top:18px}
/* section 5: the J monogram until a real photo arrives */
.a-mono{display:grid;place-items:center;width:132px;height:132px;margin:36px auto 30px;border:2px solid var(--t);border-radius:50%}
.a-mono span{font:5.4rem/1 "Bebas Neue",Impact,sans-serif;padding-top:10px}
/* section 6: plain type, stacked on a phone */
.a-trust .a-copy{margin-bottom:36px}
.a-three{display:grid;gap:36px}
.a-three h3{margin:0 0 12px;padding-top:16px;border-top:1px solid rgba(0,0,0,.14);font:400 1.9rem/1 "Bebas Neue",Impact,sans-serif;letter-spacing:.02em;text-transform:uppercase}
.a-three p{margin:0 0 12px;color:var(--s);font-size:.98rem;line-height:1.5}
.a-three p b{color:var(--t);font-weight:600}
.a-three .a-link{padding:0}
.a-never{list-style:none;margin:0;padding:0}
.a-never li{padding:10px 0 8px;border-bottom:1px solid rgba(0,0,0,.1);font:1.55rem/1.02 "Bebas Neue",Impact,sans-serif;letter-spacing:.01em;text-transform:uppercase}
.a-never li:last-child{border-bottom:0}
/* section 7 */
.a-end{padding:112px 0 80px;text-align:center}
.a-end .a-h{font-size:4rem}
.a-row{display:flex;flex-wrap:wrap;justify-content:center;gap:0 26px;margin:24px 0 0}
.a-row a{display:inline-flex;align-items:center;min-height:44px;color:var(--t);text-decoration:none;font:1.25rem/1 "Bebas Neue",Impact,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.a-row a:hover{text-decoration:underline;text-underline-offset:4px}

/* ---------- notes and the footer: quiet, 12 px, grey ---------- */
.a-notes{background:var(--a-grey);padding:36px var(--a-g) 4px}
.a-notes ol{max-width:1120px;margin:0 auto;padding:0 0 0 18px;color:var(--a-sub);font-size:.75rem;line-height:1.55}
.a-notes li{margin:0 0 8px;padding-left:2px}
.a-notes a{color:inherit;display:inline-block;padding:13px 0;margin:-13px 0}
.a-notes li:target{color:var(--a-ink)}
body.landing .jj-foot{background:var(--a-grey);color:var(--a-sub);padding:14px max(var(--a-g),calc((100% - 1120px) / 2)) calc(36px + env(safe-area-inset-bottom,0px));font-size:.78rem;line-height:1.6}
body.landing .jj-foot p{max-width:1120px;margin:0 0 6px;padding-top:10px;border-top:1px solid rgba(0,0,0,.1)}
body.landing .jj-foot p+p{border-top:0;padding-top:0}
body.landing .jj-foot a{color:var(--a-ink);display:inline-block;padding:12px 0;margin:-12px 0}

/* ---------- entrances: the headline fades up 16 px once ---------- */
html.js .a-rise{opacity:0;transform:translateY(16px);transition:opacity .4s ease,transform .4s ease}
html.js .a-rise.in{opacity:1;transform:none}

/* ---------- the question flow, over everything (fly.js runs it; css/fly.css styles it) ---------- */
.l-flow{position:fixed;inset:0;z-index:100;background:var(--bg);color:var(--ink);color-scheme:dark}
.l-flow[hidden]{display:none}
.l-flow:not([hidden]){animation:lFlowIn .35s ease both}
@keyframes lFlowIn{from{opacity:0}}
.l-flow .brand{top:calc(6px + env(safe-area-inset-top,0px));left:10px;display:inline-flex;align-items:center;min-height:44px;min-width:44px;padding:0 10px}
.l-flow .topright{top:calc(6px + env(safe-area-inset-top,0px));right:10px}
.l-flow .topright a{font-size:1.2rem;display:inline-flex;align-items:center;min-height:44px;min-width:44px;padding:0 10px;margin-left:0}
.l-flow .where-chip{top:calc(6px + env(safe-area-inset-top,0px))}
/* the Where card is a question here, not the classic landing: same top as the other questions (not 18vh), so on a small
   phone all six suburbs clear the progress dots and the "only for now" note sits above the fold (QA 28 Sep 2026) */
.l-flow .card[data-q=intro]{justify-content:safe center;padding-top:calc(78px + env(safe-area-inset-top,0px))}
.l-flow .card[data-q=intro] > p.muted{font-size:.88rem;line-height:1.4}
@media (max-height:780px) and (max-width:699px){
  .l-flow .card[data-q=intro] .opts{gap:8px}
  .l-flow .card[data-q=intro] .opt{padding-top:13px;padding-bottom:13px}
}
/* eight suburbs (29 Sep 2026, Cammeray and Willoughby added): two columns on a phone, so every option and the note clear
   the dots at 360x740, 375x667 and 390x844; the "Last time" tag drops under the name. Laptops keep one column. */
@media (max-width:699px){
  .l-flow .card[data-q=intro] .opts{grid-template-columns:1fr 1fr;gap:8px}
  .l-flow .card[data-q=intro] .opt{padding:12px;font-size:1.02rem}
  .l-flow .card[data-q=intro] .opt .was{float:none;display:block;margin:3px 0 0;font-size:.85rem}
  .l-flow .card[data-q=intro] .reg{padding:13px 16px}
}
/* a region with more than ten suburbs (1 Oct 2026, wave 1: fifteen in the Lower North Shore): on a phone that list is
   tighter (one line heading, smaller buttons and note), so every option and the note still clear the dots at 360x740,
   375x667 and 390x844. Only while that list shows; the region step and short lists keep the look above. */
@media (max-width:699px){
  .l-flow .card[data-q=intro]:has(.where-subs:not([hidden]) .opt:nth-child(11)) .step{margin-bottom:6px}
  .l-flow .card[data-q=intro]:has(.where-subs:not([hidden]) .opt:nth-child(11)) h2{font-size:2.05rem;margin-bottom:.2em;white-space:nowrap}
  .l-flow .card[data-q=intro]:has(.where-subs:not([hidden]) .opt:nth-child(11)) .push{font-size:.9rem;margin:-2px 0 8px}
  .l-flow .card[data-q=intro]:has(.where-subs:not([hidden]) .opt:nth-child(11)) .where-back{margin:-10px 0 0}
  .l-flow .card[data-q=intro] .where-subs:not([hidden]) .opts:has(> .opt:nth-child(11)){gap:6px}
  .l-flow .card[data-q=intro] .where-subs:not([hidden]) .opts:has(> .opt:nth-child(11)) .opt{padding:8px 10px;font-size:.93rem;line-height:1.2}
  .l-flow .card[data-q=intro]:has(.where-subs:not([hidden]) .opt:nth-child(11)) > p.muted{margin-top:8px !important;font-size:.8rem;line-height:1.3}
}
/* and on a short phone (375x667) a little tighter again, so a saved answer's "Last time" line still fits */
@media (max-width:699px) and (max-height:700px){
  .l-flow .card[data-q=intro] .where-subs:not([hidden]) .opts:has(> .opt:nth-child(11)){gap:5px}
  .l-flow .card[data-q=intro] .where-subs:not([hidden]) .opts:has(> .opt:nth-child(11)) .opt{padding-top:7px;padding-bottom:7px}
}
@media (min-width:700px){.l-flow .card[data-q=intro]{padding-top:calc(90px + env(safe-area-inset-top,0px))}}
/* a region with more than eight suburbs (30 Sep 2026, research waves): two columns on a laptop too, so they stay above the dots */
@media (min-width:700px){.l-flow .card[data-q=intro] .opts:has(> .opt:nth-child(9)){grid-template-columns:1fr 1fr}}

/* ---------- desktop: 900 px and up ---------- */
@media (min-width:900px){
  :root{--a-g:32px;--a-bar:52px}
  .a-more{display:none}
  .a-menu{display:flex!important;position:static;padding:0;margin-left:auto;gap:4px;background:none!important;box-shadow:none!important}
  .a-menu a{min-height:44px;padding:0 12px;border:0;font:500 .8rem/1 "Archivo",sans-serif;letter-spacing:.02em;text-transform:none}
  .a-menu a:first-child{font-weight:700;letter-spacing:.06em}
  .a-menu a:hover{text-decoration:underline;text-underline-offset:4px}
  .a-barpill{margin-left:14px}
  .a-hero{padding:24px 0 64px}
  /* the ad takes 58% of the column so it reads at a good size; the headline steps down to fit beside it */
  .a-hero .a-in{flex-direction:row-reverse;align-items:center;gap:40px;min-height:calc(100vh - var(--a-bar) - 88px)}
  .a-hero .a-clip,.a-hero .ad-hero{flex:0 0 58%;align-self:center;margin:0}
  .ad-hero .a-frame{aspect-ratio:16/9;width:100%;height:auto;border-radius:24px}
  .a-hero .a-copy{flex:1 1 0;min-width:0;margin:0}
  .a-h1 span{font-size:clamp(2.6rem,3.6vw,4.2rem)}
  .a-line{font-size:1.15rem;max-width:32em}
  .a-ctas{margin-top:22px;gap:12px;flex-wrap:wrap}
  .a-ctas [data-find],.a-out{flex:0 0 auto}
  .a-ctas [data-find]{min-width:190px}
  .a-sec{padding:160px 0 150px}
  .a-h{font-size:7rem}
  .a-intro{font-size:1.4rem;line-height:1.36}
  .a-blocks p{font-size:1.06rem}
  .a-side .a-in{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:96px;align-items:center}
  .a-side .a-copy{display:block}
  .a-side .a-eye,.a-side .a-h,.a-side .a-intro,.a-side .a-blocks,.a-side .a-blocks p{text-align:left;margin-left:0}
  .a-side .a-intro{margin-bottom:36px}
  .a-side .a-acts{justify-content:flex-start;margin-left:-4px}
  .a-side .a-clip{width:auto;margin:0}
  .a-side .a-frame{height:min(calc(100vh - 190px),700px);width:auto}
  .a-flip .a-in{grid-template-columns:auto minmax(0,1fr)}
  .a-flip .a-clip,.a-flip .a-mono{order:-1}
  .a-side .a-mono{width:280px;height:280px;margin:0}
  .a-mono span{font-size:11rem;padding-top:22px}
  .a-wide .a-copy{max-width:900px;margin:0 auto}
  .a-wide .a-clip{margin-top:64px;max-width:1056px}
  .a-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px 48px;max-width:1056px;margin:48px auto 0}
  .a-cols p{margin:0;max-width:none;text-align:left}
  .a-wide .a-acts{margin-top:40px}
  .a-three{grid-template-columns:repeat(3,1fr);gap:56px}
  .a-trust .a-copy{text-align:center;margin-bottom:64px}
  .a-never li{font-size:1.8rem}
  .a-end{padding:180px 0 150px}
  .a-end .a-h{font-size:8rem}
}
/* short phones (360x740 and smaller): a smaller loop so the button stays on the first screen */
@media (max-width:899px) and (max-height:760px){
  /* the clip stays at least 200 px wide; the words tighten instead (the bar already says JJAI Gym Guide) */
  .a-hero{padding:6px 0 28px}
  .a-hero .a-in{min-height:calc(100svh - var(--a-bar) - 34px)}
  .a-hero .ad-hero{margin-bottom:10px}
  .ad-hero .a-frame{height:clamp(200px,calc(100svh - var(--a-bar) - 262px),520px);border-radius:20px}
  .a-h1{margin-bottom:8px}
  .a-h1 span{font-size:2.45rem}
  .a-line{font-size:.9rem;line-height:1.36;margin-bottom:6px}
  .a-ctas{margin-top:8px}
  .a-ctas .a-big{min-height:50px}
  /* a shorter page: 10 to 12 screens */
  .a-side .a-clip,#map .a-clip,#a-sketch[data-tall]{width:min(100%,264px)}
  .a-sec{padding:76px 0 68px}
  .a-side .a-clip{margin:32px auto 24px}
  .a-wide .a-clip{margin-top:32px}
  .a-wide .a-blocks{margin-top:28px}
  .a-acts{margin-top:20px}
  .a-end{padding:88px 0 64px}
}
@media (max-width:370px){.a-h1 span{font-size:2.55rem}.a-word{font-size:1.3rem;letter-spacing:.05em}.a-barpill{padding:1px 13px 0}
  .a-ctas{gap:8px}.a-ctas .a-big{padding:2px 12px 0;font-size:1.5rem}.a-out{font-size:1.35rem;gap:6px}}

@media (prefers-reduced-motion:reduce){
  html.js .a-rise{opacity:1;transform:none;transition:none}
  .a-clip video,.a-bar,.a-barpill,.a-more svg,.a-outa,.a-out{transition:none!important}
  .l-flow:not([hidden]){animation:none}
}
/* a deep link (?interested= or ?gym=) opens one gym's last step over the landing: nothing of the landing shows or loads
   until fly.js says the slug is unknown (then the landing starts as normal) */
html.deep .a-bar,html.deep main,html.deep .jj-foot{display:none}

/* 0. the hero ad (js/ad.js): the poster picture under the video, our own caption line, a big Tap for sound button, the
   music credit under it. The video stays invisible until it really plays (the poster never flashes black). */
.ad-frame video{opacity:0;background:transparent;transition:opacity .25s}
.ad-frame.on video{opacity:1}
.ad-capline{position:absolute;left:10px;right:10px;bottom:84px;z-index:2;margin:0;padding:6px 10px;border-radius:10px;background:rgba(0,0,0,.62);color:#fff;
  font:600 .95rem/1.3 "Archivo",sans-serif;text-align:center;text-wrap:balance;pointer-events:none}
.ad-sound{position:absolute;left:50%;bottom:18px;z-index:3;transform:translateX(-50%);min-height:52px;padding:0 26px;border:0;border-radius:980px;
  background:var(--a-cream);color:var(--a-black);font:700 1rem/1 "Archivo",sans-serif;letter-spacing:.02em;white-space:nowrap;cursor:pointer;
  box-shadow:0 6px 18px rgba(0,0,0,.35);-webkit-tap-highlight-color:transparent}
.ad-sound::before{content:"";display:inline-block;width:18px;height:18px;margin:-3px 9px 0 -4px;vertical-align:middle;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 7.5h3.5L11 3.5v13l-4.5-4H3z'/%3E%3Cpath d='M13.5 6.5a5 5 0 0 1 0 7M15.8 4.2a8.2 8.2 0 0 1 0 11.6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%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 20 20'%3E%3Cpath d='M3 7.5h3.5L11 3.5v13l-4.5-4H3z'/%3E%3Cpath d='M13.5 6.5a5 5 0 0 1 0 7M15.8 4.2a8.2 8.2 0 0 1 0 11.6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat}
.ad-sound[data-state=play]::before,.ad-sound[data-state=pause]::before,.ad-sound[data-state=replay]::before{display:none}
.ad-sound:focus-visible{outline:2px solid var(--a-cream);outline-offset:3px}
.ad-credit{margin:8px auto 0;max-width:40em;padding:0 2px;color:var(--s);font:400 .64rem/1.45 "Archivo",sans-serif;text-align:center}
.ad-credit a{color:inherit}
/* on a phone the hero frame is about 250 px wide: a smaller caption line and button */
@media (max-width:899px){
  .a-hero .a-eye{display:none}   /* the bar already says JJAI Gym Guide; the video takes the room */
  .ad-hero .ad-capline{left:8px;right:8px;bottom:66px;padding:5px 8px;font-size:.8rem;line-height:1.28}
  .ad-hero .ad-sound{bottom:12px;min-height:44px;padding:0 18px;font-size:.9rem}
  .ad-hero .ad-sound::before{width:16px;height:16px;margin-right:7px}
}
@media (min-width:900px){
  .ad-hero .ad-credit{margin-top:10px;font-size:.7rem}
  .ad-hero .ad-capline{bottom:84px;left:50%;right:auto;transform:translateX(-50%);max-width:80%;font-size:1.02rem}
}

/* 0b. how it works: the slow walkthrough (apple.js clip system: data-src, data-tall, plays when half in view, pause
   button) and the same six steps as a numbered list, so the section explains itself before it plays */
.hiw .a-copy{text-align:center}
.hiw-clip{width:min(100%,358px);margin:40px auto 0}
.hiw-clip .a-frame{aspect-ratio:9/16}
.hiw-steps{list-style:none;max-width:30em;margin:26px auto 0;padding:0;counter-reset:hiw}
.hiw-steps li{counter-increment:hiw;position:relative;padding:13px 0 13px 46px;border-top:1px solid rgba(246,244,238,.16);color:var(--s);font-size:.98rem;line-height:1.45;text-align:left}
.hiw-steps li:first-child{border-top:0}
.hiw-steps li::before{content:counter(hiw);position:absolute;left:0;top:11px;box-sizing:border-box;width:32px;height:32px;padding-top:3px;border:1.5px solid var(--t);border-radius:50%;
  color:var(--t);font:1.3rem/27px "Bebas Neue",Impact,sans-serif;text-align:center}
.hiw-steps b{color:var(--t);font-weight:600}
@media (min-width:900px){
  .hiw .a-copy{max-width:900px;margin:0 auto}
  .hiw-clip{width:100%;max-width:1056px;margin-top:56px}
  .hiw-clip .a-frame{aspect-ratio:16/9}
  .hiw-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 44px;max-width:1056px;margin-top:36px}
  .hiw-steps li,.hiw-steps li:first-child{border-top:1px solid rgba(246,244,238,.16)}
  .hiw .a-acts{margin-top:36px}
}

/* LAPTOP HERO (29 Sep 2026, Jino): a bigger video and bigger words so the page grabs you on open; the video always
   autoplays (muted) with two small corner buttons (sound, pause) instead of the big pill, and a small caption line */
.ad-ctl{display:none}
@media (min-width:900px){
  .a-hero .a-in{max-width:1400px;gap:56px}
  .a-hero .a-clip.ad-hero{flex:0 0 64%;max-width:900px}
  .a-hero .ad-hero .a-frame{width:100%;aspect-ratio:16/9;height:auto}
  .a-hero .a-eye{font-size:.85rem}
  .a-hero .a-h1 span{font-size:clamp(3.4rem,5vw,6rem)}
  .a-hero .a-line{font-size:clamp(1.15rem,1.4vw,1.4rem);margin:4px 0 30px}
  .a-hero .a-pill.a-big{min-height:58px;padding:1px 30px 0;font-size:1.15rem}
  .ad-hero .ad-sound{display:none}
  .ad-hero .ad-ctl{display:flex;position:absolute;right:14px;bottom:14px;z-index:3;gap:8px}
  .ad-ctl button{position:relative;width:40px;height:40px;padding:0;border:1px solid rgba(246,244,238,.35);border-radius:50%;
    background:rgba(7,7,7,.55);color:var(--a-cream);cursor:pointer;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:background .15s}
  .ad-ctl button:hover{background:rgba(7,7,7,.8)}
  .ad-ctl button:focus-visible{outline:2px solid var(--a-cream);outline-offset:2px}
  .ad-ctl button::after{content:"";position:absolute;inset:11px;background:currentColor;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
  .ad-mute[data-state=off]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M2.5 7.5h3.5L10.5 3.5v13L6 12.5H2.5z'/%3E%3Cpath d='M13 7.2l5 5.6M18 7.2l-5 5.6' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E")}
  .ad-mute[data-state=on]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M2.5 7.5h3.5L10.5 3.5v13L6 12.5H2.5z'/%3E%3Cpath d='M13.3 6.6a4.8 4.8 0 0 1 0 6.8M15.6 4.3a8 8 0 0 1 0 11.4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E")}
  .ad-pp[data-state=pause]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect x='4.5' y='3.5' width='4' height='13' rx='1'/%3E%3Crect x='11.5' y='3.5' width='4' height='13' rx='1'/%3E%3C/svg%3E")}
  .ad-pp[data-state=play]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 3.3l11 6.7-11 6.7z'/%3E%3C/svg%3E")}
  .ad-hero .ad-capline{bottom:16px;left:50%;right:auto;transform:translateX(-50%);max-width:62%;padding:5px 12px;font-size:.95rem;background:rgba(0,0,0,.5)}
  .ad-hero .ad-credit{max-width:none;text-align:left;margin-left:2px}
}
@media (min-width:900px){.a-barin{max-width:1400px;padding:0 calc(var(--a-g) + 20px)}.a-hero .a-in{padding:0 calc(var(--a-g) + 20px)}}
/* 29 Sep 2026 (Jino): no subtitle line over the ad, the words in the video already say everything (the .vtt track stays in the page for assistive tech) */
.ad-capline{display:none!important}

/* PHONE HERO (29 Sep 2026, Jino): the laptop treatment on phones. The video keeps its size but the big Tap for sound
   pill makes way for the two small corner buttons (sound, pause), and FIND MY GYM runs the full width, taller, so nobody
   misses it on the first screen; 3D MAP sits under it. The music credit moves under the buttons: the figure steps aside
   (display:contents) so the frame, the words and the credit line up as one column and can be reordered. */
@media (max-width:899px){
  .a-hero .ad-hero{display:contents}
  .a-hero .ad-hero .a-frame{flex:0 0 auto;align-self:center;margin:0 auto 14px}
  .a-hero .a-copy{order:1}
  .a-hero .ad-hero .ad-credit{order:2;margin:14px auto 0}
  .ad-hero .ad-sound{display:none}
  .ad-hero .ad-ctl{display:flex;position:absolute;right:10px;bottom:10px;z-index:3;gap:8px}
  .ad-ctl button{position:relative;width:44px;height:44px;padding:0;border:1px solid rgba(246,244,238,.35);border-radius:50%;
    background:rgba(7,7,7,.55);color:var(--a-cream);cursor:pointer;-webkit-tap-highlight-color:transparent;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
  .ad-ctl button:focus-visible{outline:2px solid var(--a-cream);outline-offset:2px}
  .ad-ctl button::after{content:"";position:absolute;inset:12px;background:currentColor;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
  .ad-mute[data-state=off]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M2.5 7.5h3.5L10.5 3.5v13L6 12.5H2.5z'/%3E%3Cpath d='M13 7.2l5 5.6M18 7.2l-5 5.6' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E")}
  .ad-mute[data-state=on]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M2.5 7.5h3.5L10.5 3.5v13L6 12.5H2.5z'/%3E%3Cpath d='M13.3 6.6a4.8 4.8 0 0 1 0 6.8M15.6 4.3a8 8 0 0 1 0 11.4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E")}
  .ad-pp[data-state=pause]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect x='4.5' y='3.5' width='4' height='13' rx='1'/%3E%3Crect x='11.5' y='3.5' width='4' height='13' rx='1'/%3E%3C/svg%3E")}
  .ad-pp[data-state=play]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 3.3l11 6.7-11 6.7z'/%3E%3C/svg%3E")}
  .a-hero .a-ctas{flex-direction:column;gap:10px;max-width:520px}
  .a-hero .a-ctas .a-big{flex:0 0 auto;width:100%;padding:2px 18px 0}
  .a-hero .a-ctas [data-find]{min-height:64px;font-size:2.1rem;letter-spacing:.1em;box-shadow:0 8px 26px rgba(246,244,238,.16)}
  .a-hero .a-ctas .a-out{min-height:48px;font-size:1.4rem}
}
@media (max-width:899px) and (max-height:760px){
  .a-hero .a-ctas{gap:8px}
  .a-hero .a-ctas [data-find]{min-height:58px;font-size:1.9rem}
  .a-hero .a-ctas .a-out{min-height:44px;font-size:1.3rem}
}
