/* =========================================================
   Pegli Fitness Club — design system
   Brand: black + gold (logo, street sign). Minimal, premium.
   ========================================================= */
:root {
  --bg: #0b0b0c;
  --s1: #111113;
  --s2: #17171a;
  --s3: #1f1f23;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --ink: #f5f3ef;
  --muted: #a6a6ad;
  --gold: #e6b874;
  --gold-hi: #f0c98d;
  --gold-soft: rgba(230, 184, 116, .12);

  --l-bg: #f4f2ee;
  --l-card: #ffffff;
  --l-ink: #111113;
  --l-muted: #5b5b62;
  --l-line: rgba(17, 17, 19, .09);

  --head: "Inter Tight", "Inter", system-ui, sans-serif;
  --text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1240px;
  --gut: clamp(20px, 4vw, 40px);
  --sec: clamp(88px, 10vw, 140px);
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 40px -24px rgba(0,0,0,.6);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--text); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--gold); color: #111; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--gold); color: #111; font-weight: 600; transform: translateY(-160%); transition: transform .2s; }
.skip:focus { transform: none; }

/* ---------- icons ---------- */
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 16px; height: 16px; }
.stars { display: inline-flex; gap: 3px; color: var(--gold); }
.stars svg, .trust__stars svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.stars--sm svg { width: 15px; height: 15px; }

/* ---------- type ---------- */
.h2 { font: 600 clamp(34px, 4.2vw, 58px)/1.04 var(--head); letter-spacing: -.035em; text-wrap: balance; }
.lead { font-size: clamp(16.5px, 1.2vw, 18.5px); line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.gold { color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px;
  font: 600 15px/1 var(--text); letter-spacing: -.005em; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary { background: var(--gold); color: #141414; }
.btn--primary:hover { background: var(--gold-hi); }
.btn--primary:hover .i:last-child { transform: translateX(3px); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); }
.btn--ghost:hover .i:last-child { transform: translate(2px, -2px); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { --h: 56px; padding: 0 26px; font-size: 15.5px; }
.btn--block { width: 100%; }

.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink); transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--ease); }
.icon-btn .i { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--gold); border-color: var(--gold); color: #141414; transform: translateY(-2px); }

/* ---------- header ---------- */
.header { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; padding: 0 var(--gut); }
.header__bar {
  max-width: var(--max); margin: 0 auto; height: 64px; padding: 0 10px 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-radius: 999px; border: 1px solid var(--line);
  background: rgba(17, 17, 19, .55); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.header.is-scrolled .header__bar { background: rgba(17, 17, 19, .86); border-color: var(--line-2); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .8); }
.brand { display: block; color: var(--gold); }
.brand__logo { display: block; width: 132px; height: 34px; }
.header__nav { display: flex; gap: 4px; }
.header__nav a { position: relative; padding: 9px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: rgba(245, 243, 239, .78); transition: color .25s, background-color .25s; }
.header__nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
.header__nav a.is-active { color: var(--ink); background: rgba(255, 255, 255, .08); }
.header__actions { display: flex; align-items: center; gap: 8px; }
.header__toggle { display: none; }
.header__toggle .i-close { display: none; }
.header__toggle[aria-expanded="true"] .i-open { display: none; }
.header__toggle[aria-expanded="true"] .i-close { display: block; }

.menu { max-width: var(--max); margin: 10px auto 0; padding: 12px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: rgba(17, 17, 19, .97); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); animation: drop .35s var(--ease); }
.menu[hidden] { display: none; }
.menu nav { display: grid; }
.menu nav a { display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 12px; border-radius: var(--r-sm); font: 600 18px/1 var(--head); letter-spacing: -.01em; }
.menu nav a .i { color: var(--gold); }
.menu nav a:active, .menu nav a:hover { background: rgba(255, 255, 255, .05); }
.menu__actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 12px 0 0; margin-top: 8px; border-top: 1px solid var(--line); }
.menu__actions .btn { min-width: 0; padding: 0 12px; font-size: 14.5px; gap: 8px; }
.menu { background: #111113; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- hero ---------- */
.hero { padding: 136px 0 72px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 900px; height: 900px; border-radius: 50%; background: radial-gradient(closest-side, rgba(230, 184, 116, .10), transparent); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font-size: 13.5px; font-weight: 500; color: var(--ink); }
.status { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status.is-open { background: #5fd38a; }
.status.is-closed { background: #f08a7a; }
.hero__title { margin-top: 26px; font: 600 clamp(44px, 5.8vw, 86px)/.98 var(--head); letter-spacing: -.045em; text-wrap: balance; }
.hero__lead { margin-top: 24px; max-width: 520px; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.trust { display: inline-flex; align-items: center; gap: 12px; margin-top: 36px; padding: 10px 16px 10px 12px; border-radius: 999px; background: var(--s1); border: 1px solid var(--line); font-size: 14px; color: var(--muted); transition: border-color .3s, background-color .3s; }
.trust:hover { border-color: var(--line-2); background: var(--s2); }
.trust strong { color: var(--ink); font-weight: 600; }
.trust__g { width: 20px; height: 20px; }
.trust__stars { display: inline-flex; gap: 2px; color: var(--gold); }
.trust__stars svg { width: 15px; height: 15px; }

.hero__media { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(500px, 68vh, 680px); }
.hero__img { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--s2); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--main { grid-row: 1 / 3; }
.hero__chip { position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; background: rgba(17, 17, 19, .78); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hero__chip small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.hero__chip strong { display: block; font: 600 16px/1.3 var(--head); font-variant-numeric: tabular-nums; }
.chip-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); }

/* ---------- highlights ---------- */
.highlights { padding-bottom: 24px; }
.highlights__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hl { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.hl:hover { border-color: var(--line-2); transform: translateY(-3px); }
.hl__icon, .feature__icon, .ccard__icon, .course__icon, .step__icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--gold-soft); color: var(--gold); }
.hl__icon .i, .feature__icon .i, .ccard__icon .i, .course__icon .i, .step__icon .i { width: 22px; height: 22px; }
.hl strong { display: block; font: 600 16px/1.3 var(--head); letter-spacing: -.01em; }
.hl p span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }

/* ---------- sections ---------- */
.section { padding: var(--sec) 0; position: relative; }
.light { background: var(--l-bg); color: var(--l-ink); }
.light .lead { color: var(--l-muted); }
.light--tight { padding-top: 24px; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head .lead { max-width: 480px; justify-self: end; }
.frame { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--s2); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.frame:hover img { transform: scale(1.04); }

/* club */
.club__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.club__img { aspect-ratio: 4 / 5; }
.club__img img { object-position: 50% 30%; }
.club__text .lead { margin-top: 24px; max-width: 540px; }
.ticks { display: grid; gap: 14px; margin-top: 32px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; }
.ticks .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); stroke-width: 2.4; margin-top: 1px; }

/* weights */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, clamp(220px, 23vw, 300px)); gap: 14px; }
.g--a { grid-column: 1 / 7; grid-row: 1 / 3; }
.g--b { grid-column: 7 / 10; grid-row: 1; }
.g--c { grid-column: 10 / 13; grid-row: 1; }
.g--d { grid-column: 7 / 10; grid-row: 2; }
.g--e { grid-column: 10 / 13; grid-row: 2; }
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.feature { padding: 24px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.feature:hover { border-color: var(--line-2); transform: translateY(-3px); }
.feature h3 { margin-top: 20px; font: 600 18px/1.25 var(--head); letter-spacing: -.015em; }
.feature p { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* courses */
.courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.course { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--l-card); border: 1px solid var(--l-line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.course:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(17, 17, 19, .35); }
.course__img { aspect-ratio: 16 / 10; overflow: hidden; background: #e6e2db; }
.course__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.course:hover .course__img img { transform: scale(1.05); }
.course__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.course .course__icon { width: 44px; height: 44px; margin-top: -44px; border: 4px solid var(--l-card); box-sizing: content-box; background: #f6ecdc; color: #7f5512; position: relative; }
.course h3 { margin-top: 16px; font: 600 22px/1.2 var(--head); letter-spacing: -.02em; }
.course p { margin-top: 8px; font-size: 15.5px; color: var(--l-muted); }
.days-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 20px; }
.days-list li { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--l-bg); font-size: 13.5px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--l-ink); }
.days-list b { font-weight: 600; color: #7f5512; }
.course--cta { padding: 28px; background: var(--l-ink); color: var(--ink); border-color: var(--l-ink); justify-content: flex-end; position: relative; min-height: 280px; }
.course--cta .course__icon { margin: 0 0 auto; border: 0; box-sizing: border-box; width: 48px; height: 48px; background: var(--gold-soft); color: var(--gold); }
.course--cta h3 { color: var(--ink); }
.course--cta p { color: var(--muted); max-width: 280px; }
.course__go { position: absolute; right: 24px; top: 24px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #141414; transition: transform .4s var(--ease); }
.course--cta:hover .course__go { transform: rotate(-45deg); }

/* week */
.tabs { display: none; gap: 6px; margin-bottom: 14px; padding: 5px; border-radius: 999px; background: var(--l-card); border: 1px solid var(--l-line); }
.tabs button { flex: 1; height: 42px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--l-muted); transition: background-color .3s, color .3s; }
.tabs button[aria-selected="true"] { background: var(--l-ink); color: var(--ink); }
.week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.day { padding: 22px 20px 12px; border-radius: var(--r-lg); background: var(--l-card); border: 1px solid var(--l-line); }
.day h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 600 18px/1 var(--head); letter-spacing: -.015em; padding-bottom: 16px; }
.today-tag { display: none; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--gold); color: #141414; font: 600 12px/24px var(--text); }
.day.is-today { background: var(--l-ink); color: var(--ink); border-color: var(--l-ink); }
.day.is-today .today-tag { display: inline-block; }
.slot { padding: 14px 0; border-top: 1px solid var(--l-line); }
.is-today .slot { border-color: rgba(255, 255, 255, .1); }
.slot time { display: block; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; color: #7f5512; }
.is-today .slot time { color: var(--gold); }
.slot span { display: block; margin-top: 3px; font-size: 15.5px; font-weight: 500; line-height: 1.35; }

/* studio */
.studio__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.studio__text .lead { margin-top: 24px; max-width: 480px; }
.icon-list { display: grid; gap: 12px; margin-top: 32px; }
.icon-list li { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: var(--r-md); background: var(--s1); border: 1px solid var(--line); font-weight: 500; }
.icon-list span { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--gold-soft); color: var(--gold); }
.studio__media { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: repeat(2, clamp(200px, 20vw, 270px)); gap: 14px; }
.s1 { grid-row: 1 / 3; }

/* reviews */
.reviews { background: var(--s1); border-block: 1px solid var(--line); }
.rating-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px 64px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); background: var(--bg); border: 1px solid var(--line); margin-bottom: 16px; }
.rating-card__score { display: flex; align-items: center; gap: 22px; padding-right: clamp(0px, 4vw, 64px); border-right: 1px solid var(--line); }
.rating-card__g { width: 44px; height: 44px; }
.rating-card__n { font: 600 clamp(64px, 7vw, 96px)/1 var(--head); letter-spacing: -.05em; }
.rating-card__score p:not(.rating-card__n) { margin-top: 6px; font-size: 14px; color: var(--muted); max-width: 170px; line-height: 1.4; }
.rating-card__text { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); transition: border-color .3s, transform .45s var(--ease); }
.review:hover { border-color: rgba(230, 184, 116, .35); transform: translateY(-4px); }
.review p { font-size: 16px; line-height: 1.65; color: rgba(245, 243, 239, .9); flex: 1; }
.review footer { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.avatar { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--s3); color: var(--gold); font-size: 13px; font-weight: 600; }
.review cite { font-style: normal; font-weight: 600; font-size: 15px; flex: 1; }
.review__g { width: 18px; height: 18px; }

/* trial */
.trial { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: end; padding: clamp(32px, 5vw, 64px); min-height: 560px; border: 1px solid var(--line); }
.trial__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.trial::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11,11,12,.94) 0%, rgba(11,11,12,.78) 45%, rgba(11,11,12,.45) 100%); }
.trial .h2 { font-size: clamp(38px, 5vw, 68px); }
.trial .lead { margin: 20px 0 32px; color: rgba(245, 243, 239, .8); max-width: 440px; }
.steps { display: grid; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: var(--r-md); background: rgba(17, 17, 19, .72); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.steps small { display: block; font-size: 12.5px; color: var(--muted); }
.steps strong { display: block; font: 600 16px/1.3 var(--head); }

/* contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ccard { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); transition: border-color .3s, transform .45s var(--ease); }
.ccard:hover { border-color: var(--line-2); transform: translateY(-3px); }
.ccard__label { margin-top: 22px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.ccard__value { display: block; margin: 4px 0 24px; font: 600 24px/1.3 var(--head); letter-spacing: -.02em; flex: 1; transition: color .25s; overflow-wrap: anywhere; }
.ccard__value--sm { font-size: 19px; }
a.ccard__value:hover { color: var(--gold); }
.contact-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; margin-top: 16px; }
.hours-card { padding: 28px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); }
.hours-card__head, .form-card__head { display: flex; align-items: center; gap: 16px; }
.hours-card h3, .form-card h3 { font: 600 20px/1.25 var(--head); letter-spacing: -.015em; }
.open { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 14px; color: var(--muted); }
.open.is-open { color: #7fdca0; }
.open.is-closed { color: #f3a194; }
.open.is-open::before, .open.is-closed::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hours { margin-top: 24px; }
.hours > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; }
.hours dt { color: var(--muted); }
.hours dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.hours .is-today dt, .hours .is-today dd { color: var(--gold); }
.socials { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.social { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--line); transition: border-color .3s, background-color .3s; min-width: 0; }
.social:hover { border-color: var(--line-2); background: var(--s2); }
.social > .i:first-child { color: var(--gold); }
.social span { flex: 1; min-width: 0; font-weight: 600; font-size: 15px; line-height: 1.25; }
.social small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.social .i-sm { color: var(--muted); transition: transform .3s var(--ease), color .3s; }
.social:hover .i-sm { transform: translate(2px, -2px); color: var(--ink); }
.map-card { position: relative; min-height: 420px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--s2); }
.map-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.5) saturate(.8); transition: transform 1.1s var(--ease), filter .5s; }
.map-card:hover > img { transform: scale(1.03); filter: brightness(.6) saturate(.9); }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) contrast(.9); }
.map-card__btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 999px; background: rgba(17, 17, 19, .82); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-weight: 600; white-space: nowrap; transition: background-color .3s, color .3s; }
.map-card__btn .i { color: var(--gold); transition: color .3s; }
.map-card__btn:hover { background: var(--gold); color: #141414; }
.map-card__btn:hover .i { color: #141414; }

.form-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin-top: 16px; padding: 28px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); }
.form-card__head { grid-column: 1 / -1; margin-bottom: 6px; }
.form-card__head p { font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); font: 400 16px/1.5 var(--text); transition: border-color .25s, box-shadow .25s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(230, 184, 116, .15); }
.field [aria-invalid="true"] { border-color: #f08a7a; }
.field__err { font-size: 13.5px; color: #f3a194; }
.field__err:empty { display: none; }
.form-card__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { font-size: 14.5px; color: var(--muted); }

/* footer */
.footer { padding: 80px 0 28px; border-top: 1px solid var(--line); background: var(--bg); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__logo { width: 190px; height: 49px; color: var(--gold); }
.footer__brand p { margin-top: 18px; max-width: 280px; font-size: 15px; color: var(--muted); }
.footer__social { display: flex; gap: 8px; margin-top: 22px; }
.footer__col h3 { font: 600 14px/1 var(--head); letter-spacing: .01em; margin-bottom: 18px; }
.footer__col a, .footer__col p { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 15px; color: var(--muted); transition: color .25s; }
.footer__col a:hover { color: var(--ink); }
.footer__col .i { width: 17px; height: 17px; color: var(--gold); }
.footer__col p { justify-content: space-between; font-variant-numeric: tabular-nums; color: var(--ink); }
.footer__col p span { color: var(--muted); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.to-top { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.to-top .i { width: 16px; height: 16px; transform: rotate(-45deg); transition: transform .3s var(--ease); }
.to-top:hover .i { transform: rotate(-45deg) translate(2px, -2px); }

/* action bar (phones) */
.actionbar { display: none; }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.js [data-hero] { opacity: 0; animation: rise 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
.js .hero__img img { animation: zoom 1.8s var(--ease) both; animation-delay: var(--d, 0s); }
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: var(--rd, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .frame[data-reveal] img { transform: scale(1.08); transition: transform 1.6s var(--ease); }
.js .frame[data-reveal].in img { transform: scale(1); }
.js .frame[data-reveal].in:hover img { transform: scale(1.04); transition-duration: 1.1s; }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .header__nav a { padding: 9px 10px; }
  .highlights__grid, .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .header__nav { display: none; }
  .header__toggle { display: inline-grid; }
  .hero { padding-top: 116px; }
  .hero__grid, .club__grid, .studio__grid { grid-template-columns: 1fr; }
  .hero__media { height: clamp(380px, 70vw, 560px); }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .lead { justify-self: start; }
  .club__img { aspect-ratio: 4 / 3; }
  .club__img img { object-position: 50% 24%; }
  .week { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rating-card { grid-template-columns: 1fr; }
  .rating-card__score { border-right: 0; padding-right: 0; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
  .trial { grid-template-columns: 1fr; align-items: start; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .contact-cards .ccard:last-child { grid-column: 1 / -1; }
  .contact-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --r-xl: 22px; --r-lg: 18px; --sec: 64px; }
  html { scroll-padding-top: 84px; }
  .header { top: 10px; }
  .header__bar { height: 58px; padding: 0 8px 0 18px; }
  .header__actions .btn--sm { display: none; }
  .brand__logo { width: 118px; height: 30px; }
  .hero { padding: 100px 0 48px; }
  .hero__title { font-size: clamp(40px, 11.5vw, 54px); }
  .hero__cta .btn { width: 100%; }
  .trust { margin-top: 24px; }
  .hero__media { grid-template-columns: 1.2fr 1fr; height: 400px; gap: 10px; }
  .hero__chip { left: 12px; bottom: 12px; right: 12px; padding: 10px 14px 10px 10px; }
  .highlights__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hl { flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px; }
  .hl strong { font-size: 15px; }
  .hl p span { font-size: 13.5px; }
  .club__img { aspect-ratio: 4 / 5; }
  .club__img img { object-position: 50% 30%; }
  .gallery { grid-template-rows: none; grid-auto-rows: 180px; gap: 10px; }
  .g--a { grid-column: 1 / -1; grid-row: span 2; }
  .g--b, .g--c, .g--d, .g--e { grid-column: span 6; grid-row: auto; }
  .features { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
  .feature { padding: 18px; }
  .feature__icon { width: 42px; height: 42px; }
  .feature h3 { font-size: 16px; margin-top: 14px; }
  .feature p { font-size: 14px; }
  .courses { grid-template-columns: 1fr; }
  .course--cta { min-height: 220px; }
  .tabs { display: flex; }
  .week { grid-template-columns: 1fr; }
  .day { display: none; }
  .day.is-shown { display: block; }
  .studio__media { grid-template-rows: repeat(2, 170px); gap: 10px; }
  .review-grid { grid-template-columns: 1fr; }
  .rating-card__score { gap: 16px; }
  .rating-card__text .btn { width: 100%; }
  .trial { min-height: 0; padding: 28px 22px; }
  .trial::before { background: linear-gradient(180deg, rgba(11,11,12,.7), rgba(11,11,12,.94)); }
  .trial .btn { width: 100%; }
  .contact-cards { grid-template-columns: 1fr; }
  .ccard { padding: 24px; }
  .socials { grid-template-columns: 1fr; }
  .map-card { min-height: 300px; }
  .form-card { grid-template-columns: 1fr; padding: 22px; }
  .form-card .btn { width: 100%; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .actionbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 90; display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(17, 17, 19, .9); border: 1px solid var(--line-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 40px -16px rgba(0,0,0,.8); transform: translateY(140%); transition: transform .5s var(--ease); }
  .actionbar.is-on { transform: none; }
  .actionbar .btn { --h: 48px; padding: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-hero], .js [data-reveal] { opacity: 1; transform: none; }
  .js .frame[data-reveal] img, .js .hero__img img { transform: none; }
}

/* =========================================================
   Premium details
   ========================================================= */

/* reading progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 150; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); transform: scaleX(0); transform-origin: left; }

/* hero chip: how far into today's opening hours */
.chip-text { min-width: 150px; }
.chip-bar { display: block; height: 3px; margin-top: 8px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.chip-bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--gold); transition: width 1.2s var(--ease) .8s; }

/* ghost buttons on light sections */
.light .btn--ghost { color: var(--l-ink); border-color: rgba(17, 17, 19, .16); background: transparent; }
.light .btn--ghost:hover { background: rgba(17, 17, 19, .05); border-color: rgba(17, 17, 19, .3); }

/* next class banner */
.next { display: flex; align-items: center; gap: 16px; padding: 16px 16px 16px 16px; margin-bottom: 14px; border-radius: var(--r-lg); background: var(--l-card); border: 1px solid var(--l-line); }
.next__icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--l-ink); color: var(--gold); }
.next__icon .i { width: 22px; height: 22px; }
.next p { flex: 1; min-width: 0; }
.next small { display: block; font-size: 13px; font-weight: 500; color: var(--l-muted); }
.next strong { display: block; font: 600 18px/1.35 var(--head); letter-spacing: -.015em; }
.next strong em { font-style: normal; color: #7f5512; }

/* today's chip on course cards */
.days-list li.is-today { background: var(--l-ink); color: var(--ink); }
.days-list li.is-today b { color: var(--gold); }

/* copy buttons on contact cards */
.ccard { position: relative; }
.copy { position: absolute; top: 24px; right: 24px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); color: var(--muted); transition: color .25s, border-color .25s, background-color .25s, transform .25s var(--ease); }
.copy .i { width: 17px; height: 17px; }
.copy:hover { color: var(--ink); border-color: var(--line-2); background: rgba(255, 255, 255, .05); }
.copy:active { transform: scale(.94); }
.copy.is-done { color: #7fdca0; border-color: rgba(127, 220, 160, .4); }

/* zoomable photos */
[data-zoom] { cursor: zoom-in; }
.zoom-badge { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(17, 17, 19, .7); border: 1px solid var(--line-2); color: var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transform: translateY(6px) scale(.9); transition: opacity .35s var(--ease), transform .35s var(--ease); pointer-events: none; }
.zoom-badge .i { width: 16px; height: 16px; }
[data-zoom]:hover .zoom-badge, [data-zoom]:focus-visible .zoom-badge { opacity: 1; transform: none; }
[data-zoom]:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-intro { position: sticky; top: 120px; }
.faq-intro .lead { margin: 20px 0 28px; max-width: 400px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font: 600 clamp(17px, 1.4vw, 20px)/1.35 var(--head); letter-spacing: -.015em; transition: color .25s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-hi); }
.faq__icon { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--gold); transition: transform .4s var(--ease), background-color .3s, border-color .3s; }
.faq__icon .i { width: 16px; height: 16px; }
.faq details[open] .faq__icon { transform: rotate(45deg); background: var(--gold-soft); border-color: transparent; }
.faq__a { padding: 0 56px 26px 0; color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.faq details[open] .faq__a { animation: rise .5s var(--ease); }
.inline { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(230, 184, 116, .6); text-underline-offset: 3px; transition: color .25s, text-decoration-color .25s; }
.inline:hover { color: var(--gold); text-decoration-color: var(--gold); }

/* back to top with scroll ring */
.totop { position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: rgba(17, 17, 19, .82); border: 1px solid var(--line); color: var(--ink); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease), background-color .3s, color .3s; }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--gold); color: #141414; }
.totop > .i { width: 18px; height: 18px; transform: rotate(-45deg); }
.totop__ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); fill: none; stroke-width: 2; }
.totop__ring circle { stroke: transparent; }
.totop__ring .totop__val { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 138.23; stroke-dashoffset: 138.23; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 250; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #141414; font-weight: 600; font-size: 14.5px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast:empty { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(6, 6, 7, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fade .3s var(--ease); }
.lightbox[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.lightbox__stage { width: min(92vw, 1200px); height: min(84vh, 900px); display: grid; place-items: center; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--r-md); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); animation: lbin .45s var(--ease); }
@keyframes lbin { from { opacity: 0; transform: scale(.97); } }
.lightbox__btn { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2); color: var(--ink); transition: background-color .25s, color .25s, transform .25s var(--ease); }
.lightbox__btn:hover { background: var(--gold); color: #141414; }
.lightbox__btn:active { transform: scale(.94); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; margin-top: -26px; }
.lightbox__next { right: 20px; top: 50%; margin-top: -26px; }
.lightbox__count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-size: 14px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }

@media (max-width: 960px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
}
@media (max-width: 640px) {
  .next { flex-wrap: wrap; }
  .next .btn { width: 100%; }
  .copy { top: 20px; right: 20px; }
  .faq summary { padding: 20px 0; }
  .faq__a { padding-right: 0; }
  .totop { display: none; }
  .toast { bottom: calc(92px + env(safe-area-inset-bottom)); }
  .lightbox__stage { width: 100vw; height: 72vh; }
  .lightbox__stage img { border-radius: 0; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; margin: 0; }
  .lightbox__count { bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .chip-bar i { transition: none; }
}
