/* Anthony L. Potter */
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:800;font-display:swap;src:url(https://cdn.jsdelivr.net/npm/@fontsource/barlow-condensed@5.3.0/files/barlow-condensed-latin-800-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+FFFD}
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:700;font-display:swap;src:url(https://cdn.jsdelivr.net/npm/@fontsource/barlow-condensed@5.3.0/files/barlow-condensed-latin-700-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+FFFD}
*{margin:0;padding:0;box-sizing:border-box}
:root{--red:#B21B27;--red-deep:#8E1119;--red-bright:#E0232F;--ink:#111;--paper:#fff;--mist:#f4f4f1;--line:#dedcd6;--mut:#5e5e5a;--chalk:#fafaf8;
--disp:"Barlow Condensed","Hiragino Sans","Noto Sans JP","Noto Sans KR","Noto Sans SC","Microsoft YaHei","Malgun Gothic",Meiryo,sans-serif;
--body:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP","Noto Sans KR","Noto Sans SC",Meiryo,sans-serif}
html{color-scheme:light;-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
body{font-family:var(--body);color:var(--ink);background:var(--paper);line-height:1.6;font-size:16px}
a{color:inherit}
img{display:block;max-width:100%}
svg.i{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
:focus-visible{outline:3px solid var(--red-bright);outline-offset:2px}
.wrap{max-width:1120px;margin:0 auto;padding:0 20px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* top bar */
.top{position:absolute;inset:0 0 auto 0;z-index:5}
.top .wrap{display:flex;align-items:center;justify-content:space-between;height:68px}
.brand img{height:46px;width:auto}
.lang{display:flex;gap:2px;background:rgba(17,17,17,.55);border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:3px;backdrop-filter:blur(6px)}
.lang button{font-family:var(--body);font-weight:600;font-size:13px;line-height:1;color:#fff;background:transparent;border:0;border-radius:999px;padding:8px 11px;cursor:pointer}
.lang button[aria-pressed="true"]{background:#fff;color:var(--ink)}

/* hero */
.hero{position:relative;color:#fff;background:#111 url(/img/hero_02_floor_m.jpg?v=7) center 40%/cover no-repeat;min-height:min(86vh,760px);display:flex;align-items:flex-end;overflow:hidden}
@media(min-width:900px){.hero{background-image:url(/img/hero_02_floor.jpg?v=7)}}
.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(17,17,17,.9) 0%,rgba(17,17,17,.6) 45%,rgba(17,17,17,.15) 100%),linear-gradient(0deg,rgba(17,17,17,.85) 0%,rgba(17,17,17,0) 45%)}
.hero .wrap{position:relative;padding-top:120px;padding-bottom:96px;width:100%}
.hero h1{font-family:var(--disp);font-weight:800;font-size:clamp(52px,9vw,112px);line-height:.9;letter-spacing:-.01em;text-transform:uppercase;max-width:9ch}
:lang(ja) .hero h1,:lang(ko) .hero h1,:lang(zh) .hero h1{text-transform:none;font-size:clamp(38px,6.4vw,76px);line-height:1.12;max-width:12ch;letter-spacing:0}
.hero .bar{width:84px;height:6px;background:var(--red);margin:22px 0 18px}
.lead{font-size:clamp(16px,2vw,19px);max-width:36em;color:#ececec}
.cta{display:inline-flex;align-items:center;gap:12px;margin-top:28px;background:var(--red);color:#fff;text-decoration:none;font-family:var(--disp);font-weight:800;font-size:21px;letter-spacing:.03em;padding:15px 26px 15px 22px;border-radius:4px;border:0;cursor:pointer}
.cta svg.i{width:22px;height:22px;stroke-width:2.2}
:lang(ja) .cta,:lang(ko) .cta,:lang(zh) .cta{font-size:17px;letter-spacing:0}
.cta:hover{background:var(--red-bright)}

/* rates */
.rates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin-top:-58px;position:relative;z-index:2;background:#fff;border-radius:6px;box-shadow:0 18px 50px rgba(0,0,0,.14);overflow:hidden}
.rate{display:flex;gap:16px;align-items:center;padding:22px 26px}
.rate+.rate{border-left:1px solid var(--line)}
.rate .ic{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fbe9ea;color:var(--red);flex:none}
.rate.v .ic{background:var(--mist);color:var(--ink)}
.rate .ic svg.i{width:24px;height:24px}
.rate .who{font-weight:700;font-size:14px;color:var(--mut);line-height:1.3}
.rate .amt{font-family:var(--disp);font-weight:800;font-size:clamp(38px,5vw,52px);line-height:1}
.rate .per{font-size:13px;color:var(--mut)}
.ratenote{font-size:14px;color:var(--mut);margin-top:12px}

section{padding:64px 0}
h2{font-family:var(--disp);font-weight:800;font-size:clamp(32px,4.4vw,46px);line-height:1;text-transform:uppercase;margin-bottom:26px}
:lang(ja) h2,:lang(ko) h2,:lang(zh) h2{text-transform:none;font-size:clamp(26px,3.4vw,34px);line-height:1.25}

/* steps: a real sequence, so it is numbered */
.steps{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;position:relative}
.steps:before{content:"";position:absolute;top:27px;left:12%;right:12%;height:2px;background:repeating-linear-gradient(90deg,var(--line) 0 8px,transparent 8px 14px)}
.steps li{position:relative;text-align:center;padding:0 6px}
.steps .ic{position:relative;width:56px;height:56px;margin:0 auto 14px;border-radius:50%;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 6px #fff}
.steps li:first-child .ic{background:var(--red)}
.steps .ic svg.i{width:26px;height:26px}
.steps .n{font-family:var(--disp);font-weight:800;font-size:15px;color:var(--red)}
.steps p{font-weight:600;font-size:15px;line-height:1.45;margin-top:2px}

/* booking: form + pass */
.book{background:var(--mist)}
.booking{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;align-items:start}
.booking>*{min-width:0}
fieldset>*,.full,.grid>div{min-width:0}
.formcard{background:#fff;border-radius:8px;padding:30px;box-shadow:0 10px 34px rgba(0,0,0,.06)}
fieldset{border:0;min-width:0}
fieldset+fieldset{margin-top:30px;padding-top:26px;border-top:1px solid var(--line)}
legend{float:left;width:100%;font-family:var(--disp);font-weight:800;font-size:24px;line-height:1.1;margin-bottom:16px;display:flex;align-items:center;gap:10px}
legend+*{clear:both}
fieldset>.full+.full{margin-top:18px}
fieldset>*:not(legend){clear:both}
:lang(ja) legend,:lang(ko) legend,:lang(zh) legend{font-size:19px}
legend svg.i{color:var(--red);width:22px;height:22px}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px}
.full{grid-column:1/-1}
.lab{display:block;font-weight:700;font-size:14px;margin-bottom:7px}
.req{color:var(--red);margin-left:3px}
.opt{color:var(--mut);font-weight:500;font-size:13px;margin-left:6px}
.field{position:relative}
.field svg.i{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:var(--mut);pointer-events:none}
.field.ta svg.i{top:15px;transform:none}
input[type=text],input[type=email],input[type=tel],input[type=number],input[type=date],select,textarea{width:100%;font:inherit;font-size:16px;color:var(--ink);background:var(--chalk);border:1.5px solid var(--line);border-radius:6px;padding:12px 13px 12px 42px;outline:none;transition:border-color .15s,background .15s}
select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--mut) 50%),linear-gradient(135deg,var(--mut) 50%,transparent 50%);background-position:calc(100% - 18px) 52%,calc(100% - 13px) 52%;background-size:5px 5px;background-repeat:no-repeat;padding-right:36px}
textarea{min-height:92px;resize:vertical;line-height:1.5}
input:focus,select:focus,textarea:focus{border-color:var(--ink);background:#fff}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--red-bright);outline-offset:2px}
[aria-invalid="true"]{border-color:var(--red)!important;background:#fff8f8!important}
.err{display:none;color:var(--red-deep);font-size:13px;font-weight:600;margin-top:6px}
.err.on{display:block}
.hint{font-size:13px;color:var(--mut);margin-top:6px}
#visit-age{font-weight:700;color:var(--ink)}

/* choice chips */
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips.days{flex-wrap:nowrap;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:thin;scroll-snap-type:x proximity}
.chip{position:relative;flex:none;scroll-snap-align:start}
.chip input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.chip span{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:64px;padding:9px 12px;border:1.5px solid var(--line);border-radius:6px;background:#fff;font-weight:600;font-size:14px;line-height:1.2;cursor:pointer;transition:border-color .15s,background .15s,color .15s}
.chip b{font-family:var(--disp);font-weight:800;font-size:22px;line-height:1}
.chips.days .chip small{font-size:12px;color:var(--mut);font-weight:600}
.chip input:checked+span{border-color:var(--red);background:var(--red);color:#fff}
.chip input:checked+span small{color:#fde2e4}
.chip input:focus-visible+span{outline:3px solid var(--red-bright);outline-offset:2px}
.chips.slots .chip span{flex-direction:row;gap:10px;min-width:0;padding:11px 14px}
.chips.slots .chip b{font-size:20px}
.chip em{font-style:normal;font-weight:600}
.chips.rate2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.chips.rate2 .chip span{flex-direction:row;justify-content:flex-start;gap:12px;padding:13px 14px}
.chips.rate2 .chip svg.i{width:22px;height:22px}
.chips.rate2 .chip b{font-size:24px;margin-left:auto}
.empty{color:var(--mut);font-size:14px;padding:10px 0}

/* waiver */
.waiver{border:1.5px solid var(--line);border-radius:6px;background:var(--chalk);max-height:260px;overflow:auto;padding:16px 18px;font-size:13.5px;white-space:pre-wrap;line-height:1.6}
.agree{display:flex;gap:12px;align-items:flex-start;font-weight:600;margin-top:14px;cursor:pointer}
.agree input{accent-color:var(--red);width:22px;height:22px;margin-top:1px;flex:none}
.marketing{border-top:1px solid var(--line);padding-top:16px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.send{margin-top:26px;width:100%;display:flex;align-items:center;justify-content:center;gap:12px;background:var(--red);color:#fff;border:0;border-radius:6px;padding:17px;font-family:var(--disp);font-weight:800;font-size:23px;letter-spacing:.03em;cursor:pointer}
.send svg.i{width:22px;height:22px;stroke-width:2.2}
:lang(ja) .send,:lang(ko) .send,:lang(zh) .send{font-size:18px;letter-spacing:0}
.send:hover{background:var(--red-bright)}
.send[disabled]{opacity:.65;cursor:wait}
.form-back{display:block;margin:14px auto 0;padding:8px;background:none;border:0;color:var(--ink);font:inherit;text-decoration:underline;cursor:pointer}
.formmsg{display:none;margin-top:14px;padding:12px 14px;border-radius:6px;background:#fbe9ea;color:var(--red-deep);font-weight:600;font-size:14px}
.formmsg.on{display:block}

/* the drop-in pass */
.passwrap{position:sticky;top:20px}
.pass{position:relative;background:var(--ink);color:#fff;border-radius:10px;overflow:hidden;box-shadow:0 22px 50px rgba(0,0,0,.25)}
.pass .ph{display:flex;align-items:center;gap:12px;padding:18px 20px;background:var(--red)}
.pass .ph img{height:34px;width:auto}
.pass .ph div{font-family:var(--disp);font-weight:800;font-size:22px;line-height:1}
:lang(ja) .pass .ph div,:lang(ko) .pass .ph div,:lang(zh) .pass .ph div{font-size:18px}
.pass dl{padding:18px 20px 8px}
.pass dt{font-size:12px;color:#a9a9a4;font-weight:600}
.pass .pr+.pr{margin-top:12px}
.pass dd{font-family:var(--disp);font-weight:700;font-size:24px;line-height:1.15;word-break:break-word}
.pass dd.mut{color:#6f6f6a}
:lang(ja) .pass dd,:lang(ko) .pass dd,:lang(zh) .pass dd{font-family:var(--body);font-weight:700;font-size:18px}
.pass .tear{position:relative;height:22px;margin:6px 0}
.pass .tear:before,.pass .tear:after{content:"";position:absolute;top:0;width:22px;height:22px;border-radius:50%;background:var(--mist)}
.pass .tear:before{left:-11px}.pass .tear:after{right:-11px}
.pass .tear i{position:absolute;left:18px;right:18px;top:10px;border-top:2px dashed #3b3b38}
.pass .pf{display:flex;gap:10px;align-items:flex-start;padding:4px 20px 20px;font-size:14px;color:#d8d8d4;line-height:1.5}
.pass .pf svg.i{color:var(--red-bright);margin-top:1px}
.stamp{display:none;position:absolute;right:16px;top:74px;transform:rotate(-8deg);border:3px solid var(--red-bright);color:var(--red-bright);font-family:var(--disp);font-weight:800;font-size:20px;letter-spacing:.06em;padding:4px 10px;border-radius:4px;background:rgba(17,17,17,.85)}
:lang(ja) .stamp,:lang(ko) .stamp,:lang(zh) .stamp{font-size:16px;letter-spacing:0}
.sent .stamp{display:block;animation:stamp .35s ease-out}
@keyframes stamp{from{transform:rotate(-8deg) scale(1.6);opacity:0}to{transform:rotate(-8deg) scale(1);opacity:1}}
.done{display:none;background:#fff;border-radius:8px;padding:34px 30px;box-shadow:0 10px 34px rgba(0,0,0,.06)}
.done .ok{width:58px;height:58px;border-radius:50%;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.done .ok svg.i{width:30px;height:30px;stroke-width:2.4}
.done h3{font-family:var(--disp);font-weight:800;font-size:36px;line-height:1.05;margin-bottom:10px}
:lang(ja) .done h3,:lang(ko) .done h3,:lang(zh) .done h3{font-size:26px}
.done p{max-width:36em}
.checkout{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}
.checkout h4{font-size:20px;margin-bottom:8px}
.checkout-rate{font-weight:700;margin-bottom:8px}
.checkout .cta{margin-top:18px}
.sent .formcard{display:none}
.sent .done{display:block}

/* class times */
.sched{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
.day{background:#fff;border:1px solid var(--line);border-radius:6px;padding:12px 12px 10px}
.day h3{font-family:var(--disp);font-weight:800;font-size:20px;margin-bottom:6px}
:lang(ja) .day h3,:lang(ko) .day h3,:lang(zh) .day h3{font-size:17px}
.day ul{list-style:none;font-size:14px}
.day li{display:flex;gap:8px;padding:2px 0}
.day li b{font-variant-numeric:tabular-nums;min-width:3.1em}
.day li.og{color:var(--mut);font-size:13px;margin-top:4px}
.day.closed{background:transparent;border-style:dashed;color:var(--mut)}
.where{display:flex;flex-wrap:wrap;gap:10px 22px;align-items:center;margin-top:20px;font-size:15px}
.where span,.where a{display:inline-flex;gap:8px;align-items:center}
.where a{color:var(--red);font-weight:700}

footer{background:var(--ink);color:#fff;padding:36px 0;font-size:14px}
footer .wrap{display:flex;flex-wrap:wrap;gap:18px;justify-content:space-between;align-items:center}
footer img{height:42px;width:auto}
footer a{color:#fff}
footer .fl{display:flex;flex-direction:column;gap:4px;text-align:right}

@media(max-width:980px){.booking{grid-template-columns:minmax(0,1fr)}.passwrap{position:static;order:-1}.pass dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}.pass .pr+.pr{margin-top:0}}
@media(max-width:860px){.steps{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:26px}.steps:before{display:none}.sched{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.top .wrap{height:60px}.brand img{height:38px}.lang button{padding:7px 8px;font-size:12px}.hero .wrap{padding-bottom:84px}
.rates{grid-template-columns:1fr}.rate+.rate{border-left:0;border-top:1px solid var(--line)}.rate{padding:16px 18px}
.grid,.chips.rate2{grid-template-columns:1fr}.formcard,.done{padding:20px}.pass dl{grid-template-columns:1fr;gap:10px}
footer .fl{text-align:left}}

/* CrossFit Asia drop-in form */
#request {
  background: #f3f3f3;
  border-top: 1px solid #e0e0e0;
  --red: #bd1420;
  --red-deep: #86111b;
  --red-bright: #c91524;
  --line: #c7c7c7;
  --chalk: #f9f9f9;
  --mist: #f3f3f3;
}
.book-intro {
  border-left: 6px solid var(--red);
  background: #161616;
  color: #fff;
  padding: clamp(20px, 4vw, 40px);
  margin-bottom: clamp(17px, 3vw, 28px);
}
.book-intro h2 {
  font-size: clamp(38px, 6vw, 64px);
  margin-bottom: 10px;
}
:lang(ja) .book-intro h2,
:lang(ko) .book-intro h2,
:lang(zh) .book-intro h2 {
  font-size: clamp(28px, 5vw, 44px);
}
.book-help {
  max-width: 50ch;
  color: #f3f3f3;
  line-height: 1.6;
}
#request .formcard,
#request .done {
  border: 1px solid #d3d3d3;
  border-top: 4px solid #191919;
  border-radius: 4px;
}
#request legend {
  color: #191919;
  margin-bottom: 18px;
}
#request .lab { color: #242424; }
#request .chip span,
#request .send {
  min-height: 44px;
}
#request .send {
  background: var(--red);
}
#request .send:hover {
  background: var(--red-deep);
}
#request .pass {
  border-radius: 4px;
}
#request .pass dd.mut {
  color: #b7b7b7;
}

#check-payment[hidden],#request-summary[hidden]{display:none}
#booking.sent{grid-template-columns:minmax(0,1fr)}
