/* Glat Fitness v3. Porsche Motorsport-like language with a single photo.
   Rules: one red, light sentence-case type, every interactive element 8px radius and one of three heights
   (42 compact, 52 standard, 58 large); media and panels 14px radius. */
:root {
  --ink: #0b0b0c;
  --ink-2: #141416;
  --ink-3: #1c1c1f;
  --chip: rgba(16, 16, 18, .92);
  --white: #ffffff;
  --paper: #f3f3f1;
  --mute: #a9abb0;
  --line: rgba(255, 255, 255, .12);
  --red: #d23a33;          /* the logo hue, deep enough for white text (4.8:1) */
  --red-hover: #df463f;
  --f: "IBM Plex Sans Hebrew", "IBM Plex Sans", system-ui, sans-serif;
  --f-num: "IBM Plex Sans", "IBM Plex Sans Hebrew", system-ui, sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --g: clamp(16px, 3vw, 44px);
  --nav-h: 76px;
  --r-ui: 8px;
  --r-media: 14px;
}
@media (max-width: 760px) { :root { --nav-h: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); color: var(--white); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f); font-size: 16px; line-height: 1.55; background: var(--ink); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { font-weight: 300; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--mute); }
.skip { position: fixed; top: -60px; inset-inline-start: 12px; z-index: 200; background: var(--red); color: #fff; padding: 10px 16px; border-radius: var(--r-ui); }
.skip:focus-visible { top: 12px; }

/* ---------- buttons: three heights, one radius ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border: 0; border-radius: var(--r-ui); cursor: pointer; white-space: nowrap;
  font-weight: 500; font-size: 1rem; line-height: 1;
  transition: background-color .18s var(--ease), box-shadow .18s var(--ease), transform .12s var(--ease);
}
.btn i { font-size: 1.25rem; }
.btn:active { transform: scale(.97); }
.btn--red { background: var(--red); color: #fff; }
.btn--line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32); }
.btn--lg { height: 58px; padding: 0 30px; font-size: 1.05rem; }
.iconbtn {
  width: 42px; height: 42px; display: grid; place-items: center; flex: none; border: 0; border-radius: var(--r-ui);
  background: var(--chip); color: #fff; cursor: pointer; font-size: 1.25rem; transition: background-color .18s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .btn--red:hover { background: var(--red-hover); }
  .btn--line:hover { box-shadow: inset 0 0 0 1px #fff; background: rgba(255, 255, 255, .05); }
  .iconbtn:hover { background: #26262a; }
}

/* ---------- chips (Porsche-style info chips; some are links) ---------- */
.chip {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--chip); color: #fff; border-radius: 10px; padding: 12px 12px 12px 14px; min-height: 60px;
}
.chip__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; text-align: start; }
.chip__text b { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .95rem; line-height: 1.25; }
.chip__text > span { font-size: .82rem; line-height: 1.35; color: var(--mute); }
.iconsq { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 7px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.05rem; transition: background-color .18s var(--ease); }
.chip--link { cursor: pointer; transition: background-color .18s var(--ease); }
.chip--wide { width: 100%; min-height: 54px; }
@media (hover: hover) and (pointer: fine) {
  .chip--link:hover { background: #1e1e21; }
  .chip--link:hover .iconsq { background: var(--red); }
}
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--mute); flex: none; }
.is-open .dot { background: #3ccf6e; }

/* ---------- segmented tabs ---------- */
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 10px; background: var(--chip); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button {
  flex: none; height: 38px; padding: 0 18px; border: 0; border-radius: 7px; background: transparent; color: #d4d5d8;
  font-size: .92rem; font-weight: 500; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease);
}
.seg button[aria-selected="true"] { background: var(--red); color: #fff; }
@media (hover: hover) and (pointer: fine) { .seg button[aria-selected="false"]:hover { color: #fff; background: rgba(255, 255, 255, .08); } }
.seg--light { background: rgba(255, 255, 255, .07); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--g); pointer-events: none; transition: color .25s var(--ease); }
.nav > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 26px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__en { font-family: var(--f-num); font-weight: 500; font-size: .86rem; letter-spacing: .3em; padding-inline-start: .3em; direction: ltr; text-align: start; }
.brand__he { position: relative; margin-top: 4px; padding-top: 5px; font-size: .72rem; font-weight: 500; letter-spacing: .02em; opacity: .78; }
.brand__he::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 2px; background: linear-gradient(to left, var(--red) 0 40%, currentColor 40% 100%); }
.nav__end { display: flex; align-items: center; gap: 8px; }
.nav__cta { height: 42px; padding: 0 16px; font-size: .92rem; }
.nav__cta i { font-size: 1.15rem; }
.nav.is-dark-text .brand { color: var(--ink); }
@media (max-width: 760px) { .nav__cta { display: none; } }

.mbar {
  position: fixed; z-index: 85; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); height: 56px; border-radius: 10px;
  display: none; align-items: center; justify-content: center; gap: 10px; background: var(--red); color: #fff; font-weight: 500; font-size: 1.02rem;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); transform: translateY(150%); transition: transform .35s var(--ease);
}
.mbar i { font-size: 1.3rem; }
.mbar.is-on { transform: none; }
@media (max-width: 760px) { .mbar { display: flex; } }

.menu { position: fixed; inset: 0; z-index: 120; background: var(--ink); }
.menu__inner { height: 100%; display: flex; flex-direction: column; padding: calc(var(--nav-h) + 4vh) var(--g) 6vh; }
.menu__close { position: absolute; top: calc((var(--nav-h) - 42px) / 2); inset-inline-end: var(--g); }
.menu__links { list-style: none; padding: 0; display: grid; gap: 6px; }
.menu__links a { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 300; line-height: 1.15; }
@media (hover: hover) and (pointer: fine) { .menu__links a:hover { color: var(--red-hover); } }
.menu__foot { margin-top: auto; color: var(--mute); }

/* ---------- 1. hero ---------- */
.hero__stage { position: relative; height: 100svh; overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; will-change: transform; }
.hero__stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(8, 8, 9, .86) 0%, rgba(8, 8, 9, .4) 30%, rgba(8, 8, 9, 0) 56%), linear-gradient(to bottom, rgba(8, 8, 9, .5) 0%, rgba(8, 8, 9, 0) 20%);
}
.hero__copy { position: absolute; z-index: 2; inset-inline: var(--g); bottom: clamp(30px, 7vh, 72px); display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero__title { font-size: clamp(2.3rem, 4.5vw, 5rem); line-height: 1.07; letter-spacing: -.012em; }
.hero__title .ln { display: block; }
.hero__status { width: 340px; max-width: 100%; order: -1; }
@media (max-width: 760px) {
  .hero__copy { gap: 18px; }
  .hero__status { width: 100%; }
}

/* ---------- 2. story (light) ---------- */
.story { background: var(--paper); color: var(--ink); }
.story__statement { min-height: 100svh; display: grid; place-items: center; padding: 18vh var(--g); }
.words { font-size: clamp(2rem, 4.2vw, 4.6rem); font-weight: 300; line-height: 1.16; letter-spacing: -.01em; text-align: center; max-width: 20ch; margin-inline: auto; }
.words .w { color: #c4c5c8; }
.words--dark .w { color: rgba(255, 255, 255, .24); }
.reel__stage { position: relative; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; background: var(--paper); }
.reel__track { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); padding-inline: 50vw; will-change: transform; }
.card {
  position: relative; flex: none; width: clamp(250px, min(32vw, 58svh), 520px); aspect-ratio: 3 / 4; border-radius: var(--r-media); overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; padding: 18px; color: #fff; transform-origin: center;
}
.card--dawn { background: radial-gradient(120% 80% at 50% 0%, #3a2a22 0%, #17120f 58%, #0e0c0b 100%); }
.card--night { background: radial-gradient(120% 80% at 50% 0%, #1d2230 0%, #0f1117 60%, #0a0b0e 100%); }
.card--steel { background: radial-gradient(120% 80% at 50% 0%, #34363b 0%, #1a1b1e 60%, #111214 100%); }
.card--red { background: radial-gradient(120% 80% at 50% 0%, #b8322c 0%, #5c1613 62%, #2c0b09 100%); }
.card__label { display: inline-flex; align-items: center; gap: 10px; font-size: 1.02rem; font-weight: 400; color: rgba(255, 255, 255, .86); }
.card__label i { font-size: 1.7rem; color: #fff; }
.card .chip { background: rgba(255, 255, 255, .08); }
.reel__clock {
  position: absolute; z-index: 2; inset-inline: 0; top: 50%; transform: translateY(-58%); pointer-events: none;
  display: flex; justify-content: center; direction: ltr; font-family: var(--f-num); font-weight: 200; color: #fff;
  font-size: clamp(5.4rem, 10.5vw, 11rem); line-height: 1; letter-spacing: -.02em;
}
.reel__clock .col { height: 1em; overflow: hidden; }
.reel__clock .col > span { display: flex; flex-direction: column; will-change: transform; }
.reel__clock .col > span > span { height: 1em; display: block; text-align: center; }
.reel__clock .sep { width: .3em; text-align: center; transform: translateY(-.06em); }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 30px; color: var(--ink); }
.pager__arrow {
  width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: var(--r-ui); background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(11, 11, 12, .2); cursor: pointer; font-size: 1.1rem; transition: background-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .pager__arrow:hover { background: var(--ink); color: #fff; box-shadow: none; } }
.pager__dots { display: flex; gap: 6px; }
.pager__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: #b9babd; cursor: pointer; transition: width .3s var(--ease), background-color .3s var(--ease); }
.pager__dots button[aria-current="true"] { width: 24px; background: var(--ink); }
@media (max-width: 760px) { .card { width: 72vw; } }

/* ---------- 3. studio (red wall) ---------- */
.studio { background: #6f1915; }
.studio__stage {
  position: relative; height: 100svh; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px;
  padding: calc(var(--nav-h) + 6px) var(--g) 22px; background: radial-gradient(120% 90% at 50% 38%, #e14840 0%, #b8302a 46%, #6f1915 100%);
}
.panel {
  position: relative; width: min(860px, 100%); flex: 1 1 auto; max-height: 520px; border-radius: var(--r-media); padding: clamp(24px, 4vw, 52px);
  background: var(--chip); display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; overflow: hidden;
  box-shadow: 0 50px 90px -40px rgba(30, 0, 0, .7); transform-style: preserve-3d;
}
.panel__icon { position: absolute; top: clamp(20px, 3vw, 40px); inset-inline-end: clamp(20px, 3vw, 40px); font-size: clamp(4.5rem, 9vw, 8.5rem); color: var(--red); opacity: .95; }
.panel__title { font-size: clamp(2.8rem, 6vw, 5.6rem); line-height: 1; letter-spacing: -.015em; }
.panel__lede { font-size: clamp(1.1rem, 1.6vw, 1.45rem); font-weight: 300; color: #e6e7ea; max-width: 30ch; }
.panel__facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.panel__facts li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--r-ui); background: rgba(255, 255, 255, .07); font-size: .9rem; color: #dcdde0; }
.panel__facts li i { color: var(--red-hover); font-size: 1rem; }
.panel.is-swapping > :not(.panel__icon) { opacity: 0; transform: translateY(10px); }
.panel > * { transition: opacity .3s var(--ease), transform .3s var(--ease); }
.parts { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: end; }
.part { position: relative; }
.part__head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 12px 12px 12px 14px; border: 0; border-radius: 10px; background: var(--chip); color: #fff; cursor: pointer; }
.part__head .iconsq i { transition: transform .25s var(--ease); }
.part__body {
  position: absolute; inset-inline: 0; bottom: calc(100% + 8px); background: var(--chip); border-radius: 10px; padding: 16px;
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.part__body p { font-size: .92rem; line-height: 1.5; color: #dcdde0; }
.part.is-open .part__body { opacity: 1; transform: none; pointer-events: auto; }
.part.is-open .iconsq { background: var(--red); }
.part.is-open .iconsq i { transform: rotate(45deg); }
@media (max-width: 760px) {
  .studio__stage { justify-content: flex-start; padding-top: calc(var(--nav-h) + 6px); padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .panel { max-height: none; min-height: 0; }
  .parts { grid-template-columns: 1fr 1fr; }
  .part__body { position: fixed; inset-inline: var(--g); bottom: auto; top: calc(var(--nav-h) + 56px); z-index: 5; }
}

/* ---------- 4. strong + specs ---------- */
.strong { background: var(--ink); padding: clamp(110px, 20vh, 220px) var(--g) clamp(80px, 12vh, 140px); display: flex; flex-direction: column; align-items: center; }
.strong .words { color: #fff; }
.specs { list-style: none; padding: 0; width: 100%; max-width: 1240px; margin-top: clamp(56px, 10vh, 110px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.specs li { background: var(--ink-2); border-radius: var(--r-media); padding: clamp(20px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 10px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.specs__n { font-family: var(--f-num); font-weight: 200; font-size: clamp(3rem, 5.4vw, 5.6rem); line-height: 1; letter-spacing: -.02em; direction: ltr; text-align: start; font-variant-numeric: tabular-nums; }
.specs__l { color: var(--mute); font-size: .95rem; }
.strong__ig { margin-top: 28px; width: min(360px, 100%); }
@media (max-width: 900px) { .specs { grid-template-columns: 1fr 1fr; } }

/* ---------- 5. visit ---------- */
.visit { background: var(--ink); padding: clamp(90px, 14vh, 160px) var(--g) clamp(80px, 12vh, 140px); border-top: 1px solid var(--line); }
.visit__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(28px, 5vh, 52px); }
.visit__head h2 { font-size: clamp(2.8rem, 6vw, 6.4rem); line-height: 1; letter-spacing: -.015em; }
.visit__grid { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 12px; transition: opacity .2s var(--ease); }
.visit__grid.is-swapping { opacity: .3; }
.vcard { background: var(--ink-2); border-radius: var(--r-media); padding: clamp(20px, 2.4vw, 32px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); display: flex; flex-direction: column; }
.vcard__h { font-size: .8rem; font-weight: 500; letter-spacing: .06em; color: var(--mute); margin-bottom: 14px; }
.now { display: flex; align-items: center; gap: 12px; font-size: clamp(1.8rem, 2.8vw, 2.8rem); font-weight: 300; line-height: 1.1; margin-bottom: 8px; }
.now .dot { width: 11px; height: 11px; }
.rules { list-style: none; padding: 0; margin-top: auto; padding-top: 22px; display: grid; gap: 10px; }
.rules li { display: flex; align-items: flex-start; gap: 10px; font-size: .94rem; color: #d4d5d8; }
.rules li::before { content: "\2713"; flex: none; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; font-size: .72rem; margin-top: 2px; }
.hours { list-style: none; padding: 0; display: grid; gap: 4px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 14px; border-radius: var(--r-ui); color: var(--mute); }
.hours .t { direction: ltr; font-family: var(--f-num); color: #fff; font-variant-numeric: tabular-nums; }
.hours li.is-today { background: rgba(255, 255, 255, .06); color: #fff; }
.hours li.is-today span:first-child::after { content: " · היום"; color: var(--red-hover); }
.addr { font-size: clamp(1.5rem, 2.2vw, 2.2rem); font-weight: 300; line-height: 1.15; margin-bottom: 6px; }
.rows { display: grid; gap: 8px; margin-top: auto; padding-top: 22px; }
.row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 52px; padding: 0 16px; border-radius: var(--r-ui);
  background: rgba(255, 255, 255, .06); font-weight: 500; font-size: .96rem; transition: background-color .18s var(--ease);
}
.row i { font-size: 1.2rem; color: var(--mute); transition: color .18s var(--ease); }
@media (hover: hover) and (pointer: fine) { .row:hover { background: rgba(255, 255, 255, .11); } .row:hover i { color: #fff; } }
@media (max-width: 900px) { .visit__grid { grid-template-columns: 1fr; } }

/* ---------- 6. join + footer ---------- */
.join { background: var(--ink); padding: clamp(80px, 14vh, 170px) var(--g); border-top: 1px solid var(--line); }
.join h2 { font-size: clamp(3rem, 7.4vw, 8rem); line-height: 1; letter-spacing: -.02em; }
.join p { margin-top: 18px; color: var(--mute); font-size: clamp(1.05rem, 1.3vw, 1.25rem); max-width: 40ch; }
.join__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.foot { background: var(--ink); padding: 0 var(--g) calc(40px + env(safe-area-inset-bottom)); }
.foot__big { list-style: none; padding: 48px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.foot__big a { font-size: clamp(1.9rem, 3.4vw, 3.2rem); font-weight: 300; line-height: 1.2; }
@media (hover: hover) and (pointer: fine) { .foot__big a:hover { color: var(--red-hover); } }
.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); gap: 28px; padding: 32px 0; border-top: 1px solid var(--line); }
.foot__cols h3 { font-size: .74rem; font-weight: 500; letter-spacing: .1em; color: var(--mute); margin-bottom: 10px; }
.foot__cols p { font-size: .95rem; line-height: 1.8; }
.foot__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line); font-size: .85rem; }
.brand--foot img { width: 22px; }
@media (max-width: 760px) {
  .foot__cols { grid-template-columns: 1fr; }
  .foot { padding-bottom: 100px; }
  .join__cta .btn { flex: 1 1 100%; }
}

/* ---------- reduced motion ---------- */
.rm .reel__track { padding-inline: var(--g); overflow-x: auto; scroll-snap-type: x mandatory; }
.rm .card { scroll-snap-align: center; }
.rm .reel__clock { display: none; }
.rm .studio__stage, .rm .reel__stage { height: auto; min-height: 100svh; }
@media (prefers-reduced-motion: reduce) { .btn, .seg button, .part__body, .panel > * { transition: none; } }
