/* HEW Fitness Jupiter: redesigned public website (client brand).
   Layout: full-bleed photo hero, a scrolling benefit band, alternating editorial rows,
   one yellow topographic section for the class, and a navy schedule board as the centerpiece. */
:root {
  --y: #ffd249;
  --y-2: #f2c22f;
  --y-soft: #fff6d8;
  --navy: #021f2d;
  --navy-2: #0a2b3c;
  --navy-3: #16394c;
  --blue: #4473b4;
  --blue-2: #2f5c99;
  --white: #ffffff;
  --cloud: #f4f5f2;
  --text: #021f2d;
  --text-2: #3e5562;
  --dis: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
body.site { background: var(--white); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; }
.site .wrap { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
@media (max-width: 600px) { .site .wrap { width: calc(100% - 32px); } }
.site :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.dis { font-family: var(--dis); font-weight: 400; text-transform: uppercase; letter-spacing: .03em; line-height: .92; text-wrap: balance; }
.kick { font-family: var(--body); font-weight: 700; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--blue-2); }
.swoosh { position: relative; display: inline-block; }
.swoosh::after { content: ""; position: absolute; left: -2%; right: -4%; bottom: -.08em; height: .14em; background: var(--y); border-radius: 40% 60% 50% 40% / 60% 40% 60% 40%; transform: rotate(-1deg); z-index: -1; }
.on-dark .swoosh::after { z-index: 0; mix-blend-mode: normal; opacity: .95; }
.sbtn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--dis); font-size: 22px; letter-spacing: .06em; text-transform: uppercase; padding: 14px 26px 12px; border: 0; cursor: pointer; text-decoration: none; transition: transform .2s var(--ease), background .2s, box-shadow .2s; white-space: nowrap; }
.sbtn:hover { transform: translateY(-2px); }
.sbtn.y { background: var(--y); color: var(--navy); }
.sbtn.y:hover { background: #ffdc6e; box-shadow: 0 10px 26px rgba(255, 210, 73, .35); }
.sbtn.n { background: var(--navy); color: var(--y); }
.sbtn.n:hover { background: var(--navy-3); }
.sbtn.line { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); }
.sbtn.line:hover { box-shadow: inset 0 0 0 2px #fff; background: rgba(255, 255, 255, .08); }
.sbtn.sm { font-size: 18px; padding: 10px 18px 8px; }

/* ---------- Site nav ---------- */
.snav { position: sticky; top: var(--bar-h); z-index: 60; background: #fff; box-shadow: inset 0 -5px 0 var(--y); }
.snav .wrap { display: flex; align-items: center; gap: 22px; height: 76px; }
.snav .logo img { height: 30px; width: auto; }
.snav nav { display: flex; gap: 4px; margin-left: auto; }
.snav nav a { font-family: var(--dis); font-size: 20px; letter-spacing: .06em; text-decoration: none; color: var(--navy); padding: 8px 12px 6px; border-radius: 4px; }
.snav nav a:hover { background: var(--y-soft); }
.snav .member { font-size: 14px; font-weight: 700; color: var(--blue-2); text-decoration: none; white-space: nowrap; }
.snav .member:hover { text-decoration: underline; }
.snav .burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; padding: 0 8px; }
.snav .burger span { height: 2px; background: var(--navy); border-radius: 2px; }
@media (max-width: 960px) {
  .snav nav { display: none; position: absolute; left: 0; right: 0; top: 76px; background: #fff; flex-direction: column; padding: 8px 16px 18px; box-shadow: 0 16px 30px rgba(2, 31, 45, .15); }
  .snav.open nav { display: flex; }
  .snav nav a { font-size: 26px; padding: 10px 6px; }
  .snav .burger { display: flex; margin-left: auto; }
  .snav .member { display: none; }
}
@media (max-width: 480px) { .snav .wrap { gap: 10px; height: 64px; } .snav .logo img { height: 22px; } .snav nav { top: 64px; } .snav .sbtn.sm { font-size: 16px; padding: 9px 12px 7px; } }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero .bg { position: absolute; inset: 0; background: url(../img/hew-rope.webp) 72% 30% / cover no-repeat; transform: scale(1.06); animation: settle 2.4s var(--ease) forwards; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 31, 45, .96) 0%, rgba(2, 31, 45, .82) 38%, rgba(2, 31, 45, .2) 72%, rgba(2, 31, 45, .05)); }
@keyframes settle { to { transform: scale(1); } }
.hero .wrap { position: relative; z-index: 2; padding: 84px 0 70px; display: grid; gap: 22px; }
.hero .loc { display: inline-flex; gap: 12px; align-items: center; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: 13.5px; color: var(--y); }
.hero .loc span { width: 34px; height: 2px; background: var(--y); }
.hero h1 { font-size: clamp(76px, 12.5vw, 176px); max-width: 9ch; }
.hero h1 .w { display: block; overflow: hidden; }
.hero h1 .w > span { display: inline-block; transform: translateY(105%); animation: rise .9s var(--ease) forwards; }
.hero h1 .w:nth-child(2) > span { animation-delay: .12s; color: var(--y); }
@keyframes rise { to { transform: none; } }
.hero .lede { max-width: 520px; font-size: 20px; color: #d9e3e8; margin: 0; }
.hero .lede b { color: #fff; }
.hero .acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.next-class { display: inline-flex; align-items: center; gap: 14px; margin-top: 18px; padding: 12px 18px 12px 14px; background: rgba(2, 31, 45, .72); border: 1px solid rgba(255, 210, 73, .45); backdrop-filter: blur(6px); width: fit-content; max-width: 100%; }
.next-class .pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--y); box-shadow: 0 0 0 0 rgba(255, 210, 73, .7); animation: pulse 1.8s infinite; flex: 0 0 auto; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(255, 210, 73, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 210, 73, 0); } }
.next-class small { display: block; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: #a9bcc6; font-weight: 700; }
.next-class b { font-family: var(--dis); font-size: 26px; font-weight: 400; letter-spacing: .04em; line-height: 1; }
.next-class a { color: var(--y); font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.hero .est { position: absolute; right: 24px; bottom: 26px; z-index: 2; text-align: right; font-family: var(--dis); font-size: 22px; letter-spacing: .1em; color: #fff; opacity: .9; }
.hero .est b { display: block; font-size: 56px; color: var(--y); line-height: .9; font-weight: 400; }
@media (max-width: 760px) {
  .hero .bg { background-position: 66% 20%; }
  .hero::after { background: linear-gradient(180deg, rgba(2, 31, 45, .45) 0%, rgba(2, 31, 45, .7) 40%, rgba(2, 31, 45, .97) 75%); }
  .hero .wrap { padding: 190px 0 46px; }
  .hero .est { display: none; }
  .next-class { flex-wrap: wrap; }
}

/* ---------- Benefit band ---------- */
.band { background: var(--y); color: var(--navy); overflow: hidden; border-block: 3px solid var(--navy); }
.band .track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.band ul { display: flex; list-style: none; margin: 0; padding: 14px 0 10px; gap: 0; }
.band li { font-family: var(--dis); font-size: 30px; letter-spacing: .05em; white-space: nowrap; display: flex; align-items: center; }
.band li::after { content: "\2605"; font-size: 16px; margin: 0 26px; transform: translateY(-2px); }
.band:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .band .track { animation: none; } .hero .bg { animation: none; transform: none; } .hero h1 .w > span { transform: none; animation: none; } }

/* ---------- Sections ---------- */
.sec { padding: 110px 0; }
.sec h2 { font-size: clamp(52px, 7vw, 96px); }
.lead { font-size: 21px; color: var(--text-2); max-width: 60ch; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .sec { padding: 76px 0; } }
.photo { position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo.framed::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; background: var(--y); z-index: -1; }
.photo.framed.l::before { inset: 22px 22px -22px -22px; }
@media (max-width: 600px) { .photo.framed::before { inset: 14px -10px -14px 14px; } .photo.framed.l::before { inset: 14px 14px -14px -10px; } }
.diff { isolation: isolate; }
.diff .photo { aspect-ratio: 4 / 4.6; max-width: 100%; }
.diff p { color: var(--text-2); }
.traits { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; padding: 0; list-style: none; }
.traits li { font-family: var(--dis); font-size: 24px; letter-spacing: .05em; padding: 8px 16px 5px; border: 2px solid var(--navy); }
.pull { font-family: var(--dis); font-size: clamp(34px, 4vw, 48px); line-height: 1; letter-spacing: .02em; text-transform: uppercase; border-left: 8px solid var(--y); padding-left: 20px; margin: 0; }

/* ---------- The 45 ---------- */
.class45 { background: var(--y) url(../img/hew-topo.webp) center / cover; color: var(--navy); position: relative; overflow: hidden; }
.class45 .head { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: end; margin-bottom: 50px; }
.class45 .big { font-family: var(--dis); font-size: clamp(170px, 26vw, 330px); line-height: .78; letter-spacing: -.01em; color: var(--navy); }
.class45 .big small { display: block; font-size: .2em; letter-spacing: .12em; line-height: 1.1; margin-top: 12px; }
.class45 .head p { font-size: 21px; max-width: 46ch; margin: 0; }
.class45 .head h2 { margin-bottom: 16px; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; padding: 0; margin: 0; counter-reset: st; background: var(--navy); color: #fff; }
.flow li { padding: 28px 24px 30px; border-right: 1px solid rgba(255, 255, 255, .12); position: relative; }
.flow li:last-child { border-right: 0; }
.flow li::before { counter-increment: st; content: "0" counter(st); font-family: var(--dis); font-size: 20px; color: var(--y); letter-spacing: .1em; }
.flow h3 { font-family: var(--dis); font-weight: 400; font-size: 34px; letter-spacing: .03em; line-height: 1; margin: 10px 0 10px; text-transform: uppercase; }
.flow p { margin: 0; color: #c9d6dd; font-size: 16px; }
.flow li.go { background: var(--blue); }
.flow li.go p { color: #eaf1fa; }
.go-count { font-family: var(--dis); font-size: 44px; color: var(--y); letter-spacing: .04em; line-height: 1; }
@media (max-width: 900px) { .class45 .head { grid-template-columns: 1fr; gap: 10px; } .flow { grid-template-columns: 1fr 1fr; } .flow li:nth-child(2) { border-right: 0; } .flow li { border-bottom: 1px solid rgba(255, 255, 255, .12); } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } .flow li { border-right: 0; } }

/* ---------- Fresh take ---------- */
.fresh { background: var(--navy); color: #fff; }
.fresh .lead { color: #c9d6dd; }
.fresh .kick { color: var(--y); }
.triple { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 40px 0 0; }
.triple div { font-family: var(--dis); font-size: clamp(36px, 4.6vw, 60px); line-height: .95; padding: 26px 24px 22px 0; border-top: 3px solid var(--y); text-transform: uppercase; }
.triple div:last-child { color: var(--y); }
@media (max-width: 700px) { .triple { grid-template-columns: 1fr; } .triple div { padding: 16px 0 12px; } }
.gear { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; list-style: none; padding: 0; }
.gear li { border: 1px solid rgba(255, 255, 255, .25); padding: 8px 14px; font-weight: 600; font-size: 15px; }
.fresh .photo { aspect-ratio: 3 / 2; }

/* ---------- Schedule board ---------- */
.sched { background: var(--cloud); }
.board { background: var(--navy); color: #fff; margin-top: 40px; box-shadow: 0 30px 60px rgba(2, 31, 45, .22); }
.board-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid rgba(255, 255, 255, .12); flex-wrap: wrap; }
.board-top .dis { font-size: 34px; }
.board-top small { color: #a9bcc6; font-size: 14px; }
.days { display: flex; gap: 6px; flex-wrap: wrap; }
.days button { font-family: var(--dis); font-size: 20px; letter-spacing: .06em; padding: 8px 14px 5px; background: transparent; color: #c9d6dd; border: 1px solid rgba(255, 255, 255, .2); cursor: pointer; }
.days button[aria-pressed="true"] { background: var(--y); color: var(--navy); border-color: var(--y); }
.days button .today { display: block; font-family: var(--body); font-size: 9.5px; letter-spacing: .14em; line-height: 1; margin-top: 2px; font-weight: 700; }
.times { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); }
.times button { background: var(--navy); color: #fff; border: 0; padding: 22px 18px 18px; text-align: left; cursor: pointer; transition: background .15s; display: grid; gap: 4px; }
.times button:hover { background: var(--navy-3); }
.times button b { font-family: var(--dis); font-size: 40px; font-weight: 400; letter-spacing: .03em; line-height: 1; font-variant-numeric: tabular-nums; }
.times button b small { font-size: .5em; margin-left: 4px; color: #a9bcc6; }
.times button span { font-size: 13px; color: #a9bcc6; font-weight: 600; }
.times button.past { opacity: .4; }
.times button.next { background: var(--y); color: var(--navy); }
.times button.next b small, .times button.next span { color: var(--navy); }
.times .none { grid-column: 1 / -1; background: var(--navy); padding: 40px 24px; color: #c9d6dd; text-align: center; }
.board-foot { display: flex; justify-content: space-between; gap: 12px; padding: 16px 24px; color: #a9bcc6; font-size: 14px; flex-wrap: wrap; }
@media (max-width: 900px) { .times { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .times { grid-template-columns: repeat(2, 1fr); } .times button b { font-size: 34px; } }

/* ---------- No experience ---------- */
.noexp .photo { aspect-ratio: 3 / 2; }
.noexp .big-q { font-family: var(--dis); font-size: clamp(56px, 8vw, 110px); line-height: .88; text-transform: uppercase; margin: 0 0 18px; }
.noexp .big-q span { color: var(--blue); }

/* ---------- Results ---------- */
.results { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.results .kick { color: var(--y); }
.quotes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 44px; }
.quote { background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .1); padding: 26px; display: flex; flex-direction: column; gap: 18px; grid-column: span 2; margin: 0; }
.quote.wide { grid-column: span 3; }
.quote blockquote { margin: 0; font-size: 20px; line-height: 1.4; color: #eef3f6; }
.quote blockquote::before { content: "\201C"; display: block; font-family: var(--dis); font-size: 70px; line-height: .6; color: var(--y); margin-bottom: 4px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote img { width: 52px; height: 52px; object-fit: cover; border: 2px solid var(--y); }
.quote figcaption b { font-family: var(--dis); font-size: 24px; font-weight: 400; letter-spacing: .05em; display: block; line-height: 1; }
.quote figcaption small { color: #a9bcc6; font-size: 13.5px; }
.stars { color: var(--y); letter-spacing: 3px; font-size: 15px; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr 1fr; } .quote, .quote.wide { grid-column: span 1; } .quote:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .quotes { grid-template-columns: 1fr; } .quote:last-child { grid-column: auto; } }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; list-style: none; padding: 0; margin: 56px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.benefits li { padding: 18px 18px 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); display: flex; gap: 12px; align-items: baseline; font-size: 17px; color: #dbe5ea; }
.benefits li::before { content: "\2605"; color: var(--y); font-size: 14px; }
@media (max-width: 800px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- Family ---------- */
.family .photo { aspect-ratio: 1170 / 753; }
.family .line { font-family: var(--dis); font-size: clamp(34px, 4vw, 52px); line-height: .95; text-transform: uppercase; color: var(--blue-2); margin: 24px 0 0; }

/* ---------- Visit ---------- */
.visit { padding: 0; background: var(--cloud); }
.visit .split { gap: 0; align-items: stretch; }
.visit .photo { min-height: 460px; }
.visit .info { padding: 70px 56px; display: grid; gap: 22px; align-content: center; }
.visit dl { display: grid; gap: 18px; margin: 0; }
.visit dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--blue-2); }
.visit dd { margin: 2px 0 0; font-size: 19px; font-weight: 600; }
.visit dd a { color: var(--navy); }
.owners { font-size: 15.5px; color: var(--text-2); border-top: 2px solid var(--y); padding-top: 16px; }
@media (max-width: 900px) { .visit .photo { min-height: 280px; } .visit .info { padding: 44px 0; } }

/* ---------- CTA + footer ---------- */
.cta { background: var(--y) url(../img/hew-topo.webp) center / cover; text-align: center; padding: 110px 0; }
.cta h2 { font-size: clamp(60px, 9vw, 130px); }
.cta p { font-size: 21px; margin: 18px auto 30px; max-width: 46ch; }
.sfoot { background: var(--navy); color: #c9d6dd; padding: 60px 0 30px; font-size: 15px; }
.sfoot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.sfoot img { height: 28px; width: auto; margin-bottom: 16px; }
.sfoot h3 { font-family: var(--dis); font-weight: 400; font-size: 22px; letter-spacing: .08em; color: var(--y); margin-bottom: 10px; }
.sfoot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.sfoot a { color: #fff; text-decoration: none; }
.sfoot a:hover { text-decoration: underline; }
.sfoot .staff { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; padding: 8px 12px; border: 1px solid rgba(255, 210, 73, .5); color: var(--y); font-weight: 700; }
.sfoot .legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #8ea4b0; }
@media (max-width: 800px) { .sfoot .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Booking dialog ---------- */
.book .slots { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.book .slots button { font: inherit; font-weight: 700; font-size: 14px; padding: 8px 12px; border: 1.5px solid #d5dbde; background: #fff; cursor: pointer; border-radius: 0; }
.book .slots button[aria-pressed="true"] { background: var(--navy); color: var(--y); border-color: var(--navy); }
.book .lbl { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-2); margin: 4px 0 8px; }
.book .f { display: grid; gap: 5px; margin-bottom: 12px; }
.book .f label { font-size: 14px; font-weight: 700; }
.book .f input, .book .f select { font: inherit; padding: 11px 12px; border: 1.5px solid #d5dbde; background: #fff; width: 100%; }
.book .f input:focus, .book .f select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(68, 115, 180, .2); }
.book .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .book .two { grid-template-columns: 1fr; } }
.booked { text-align: center; padding: 10px 0; }
.booked .tick { width: 64px; height: 64px; background: var(--y); color: var(--navy); display: grid; place-items: center; margin: 0 auto 14px; font-size: 30px; font-weight: 800; }
.booked h3 { font-family: var(--dis); font-weight: 400; font-size: 40px; letter-spacing: .03em; line-height: 1; }
.preview-note { font-size: 13px; color: #5d6b72; background: var(--cloud); padding: 10px 12px; margin-top: 12px; }
.site section[id] { scroll-margin-top: calc(var(--bar-h) + 76px); }
.sel { user-select: all; }
