@font-face {
  font-family:Vazirmatn;
  src:url("assets/Vazirmatn.woff2") format("woff2");
  font-weight:100 900;
  font-display:swap;
}
:root {
  color-scheme:dark;
  --gold:#eac470;
  --paper:#f7f5ee;
  --ink:#11120f;
  --gutter:clamp(1.25rem,6.5vw,8rem);
  --header:4.6rem;
  --surface:#181916;
}
* {
  box-sizing:border-box;
}
html {
  scroll-padding-top:calc(var(--header) + 1rem);
}
body {
  margin:0;
  background:var(--ink);
  color:var(--paper);
  font:1rem/1.65 Vazirmatn,Tahoma,sans-serif;
}
h1,h2,h3,p,figure {
  margin:0;
}
a {
  color:inherit;
}
button {
  font:inherit;
}
:focus-visible {
  outline:3px solid #ffd976;
  outline-offset:4px;
}
::selection {
  background:#eac470;
  color:#141511;
}
.skip {
  position:fixed;
  z-index:20;
  top:.5rem;
  right:.5rem;
  transform:translateY(-200%);
  padding:1rem;
  background:var(--paper);
  color:var(--ink);
}
.skip:focus {
  transform:none;
}
.mast {
  position:sticky;
  top:0;
  z-index:10;
  height:var(--header);
  background:#11120f;
  border-bottom:1px solid #ffffff24;
}
.mast-inner,.site-end {
  padding:0 var(--gutter);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}
.mast-inner {
  height:100%;
}
.mast a,.site-end a,.actions a,.jump-price {
  text-decoration:none;
}
.brand {
  display:inline-flex;
  align-items:center;
  gap:.65rem;
  font-size:1.8rem;
  font-weight:900;
  line-height:1;
}
.brand img {
  object-fit:contain;
}
.mast nav {
  display:flex;
  align-items:center;
  gap:clamp(1.2rem,3vw,3.8rem);
  font-size:.94rem;
  color:#dbdad3;
}
.mast a:hover,.scene-footer a:hover,.site-end a:hover {
  color:var(--gold);
}
.location-link {
  border:1px solid #68675b;
  border-radius:2rem;
  display:flex;
  gap:.65rem;
  align-items:center;
  padding:.4rem 1.05rem;
  font-size:.9rem;
}
.pin-icon {
  display:inline-grid;
  place-items:center;
  width:.78rem;
  height:.78rem;
  border:1.5px solid var(--gold);
  border-radius:50% 50% 50% 0;
  transform:rotate(-45deg);
}
.pin-icon:after {
  content:"";
  width:3px;
  height:3px;
  border-radius:50%;
  background:var(--gold);
}
#cinema {
  position:relative;
  background:#171914;
}
.screen {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  height:calc(100vh - var(--header));
  height:calc(100svh - var(--header));
  min-height:28rem;
}
.scrub #cinema {
  height:280vh;
  height:280svh;
}
.scrub .screen {
  position:sticky;
  top:var(--header);
}
.shot,.scrim,.hero-frame {
  position:absolute;
  inset:0;
}
.shot img {
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:50% 57%;
}
.floor-shot {
  transform:translate3d(2%,0,0) scale(1.23);
  transform-origin:42% 59%;
}
.strength-shot {
  opacity:0;
}
.scrub .shot,.scrub .beat {
  will-change:transform,opacity;
}
.scrim {
  background:linear-gradient(0deg,rgba(6,8,6,.88),transparent 49%),linear-gradient(270deg,rgba(5,7,5,.8),rgba(8,10,7,.27) 55%,rgba(8,10,7,.07));
  pointer-events:none;
}
.hero-frame {
  margin:0 var(--gutter);
  display:flex;
  align-items:center;
}
.beat {
  position:absolute;
  width:100%;
  padding-bottom:2.6rem;
}
.interlude,.finale {
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
.gym-name {
  display:flex;
  align-items:center;
  gap:.85rem;
  font-size:clamp(.94rem,1.3vw,1.2rem);
  font-weight:550;
  color:#fff2d6;
}
.gym-name span {
  display:inline-block;
  width:2.3rem;
  height:2px;
  background:var(--gold);
}
.opening h1,.scene-heading {
  font-size:clamp(4.5rem,min(8.6vw,13vh),10rem);
  font-weight:900;
  letter-spacing:-.055em;
  line-height:1.3;
  margin:.55rem 0 1.3rem;
}
.opening h1 em {
  display:block;
  font-style:normal;
  color:var(--gold);
}
.scene-heading {
  font-size:clamp(2.8rem,5.8vw,6.7rem);
}
.actions {
  display:flex;
  gap:.65rem;
  flex-wrap:wrap;
}
.actions a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  border-radius:999px;
  background:#f7f3e8;
  color:#171813;
  padding:.65rem 1.45rem;
  font-weight:650;
}
.actions a+a {
  border:1px solid #ffffffe0;
  color:#fff;
  background:#161713ae;
}
.actions a:hover {
  background:var(--gold);
  border-color:var(--gold);
  color:#1d1a12;
}
.scene-footer {
  position:absolute;
  bottom:clamp(1rem,3.8vh,2.75rem);
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  border-top:1px solid #fff5;
  padding-top:1rem;
}
.jump-price,.scene-meter {
  display:flex;
  align-items:center;
  gap:.7rem;
  font-size:.9rem;
}
.down {
  height:2rem;
  width:2rem;
  border:1px solid #fff6;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:var(--gold);
  font:1.2rem Arial;
}
.scene-meter {
  color:#ebe8dd;
}
.scene-meter i {
  height:2px;
  width:clamp(3rem,8vw,9rem);
  background:#ffffff4a;
  position:relative;
}
.scene-meter i:after {
  content:"";
  position:absolute;
  inset:0;
  background:var(--gold);
  transform:scaleX(var(--progress,.04));
  transform-origin:right;
}
.site-end {
  border-top:1px solid #ffffff30;
  min-height:6.25rem;
  font-size:.95rem;
}
.site-end>span {
  color:#b9b9af;
}
@media(max-width:700px) {
  :root {
    --header:3.85rem;
  }
  .mast nav {
    display:none;
  }
  .brand img {
    width:34px;
    height:32px;
  }
  .brand {
    font-size:1.55rem;
  }
  .opening h1 {
    font-size:clamp(3.8rem,15vw,6.5rem);
  }
  .scene-heading {
    font-size:clamp(2.5rem,9vw,4rem);
  }
  .beat {
    padding-bottom:0;
  }
  .hero-frame {
    align-items:flex-end;
  }
  .beat {
    bottom:24%;
  }
  .shot img {
    object-position:46% 52%;
  }
  .scrim {
    background:linear-gradient(0deg,#080a08f7,#090b09bd 36%,#07080717 78%);
  }
  .actions a {
    font-size:.94rem;
    padding:.55rem 1.05rem;
  }
  .site-end>span {
    display:none;
  }
}
@media(max-height:550px) {
  .screen {
    min-height:24rem;
  }
  .opening h1 {
    font-size:clamp(2.4rem,8vh,3.5rem);
    margin:.35rem 0;
  }
  .opening h1 em {
    display:inline;
  }
  .beat {
    padding-bottom:2rem;
  }
  .scene-footer {
    bottom:.6rem;
    padding-top:.45rem;
  }
}
@media(prefers-reduced-motion:reduce) {
  .floor-shot {
    transform:none;
  }
}
