/* ==========================================================================
   097 · IRONVALE (وادي الحديد) — 1:1 Brutalist Coached Barbell & Strength Club
   Void #0A0A0A · Ink #121212 · Concrete #2B2B2B · Molten #FF4A1C · Bone #F2F2F2 · 0px Sharp Corners
   ========================================================================== */

:root {
  --void: #0A0A0A;
  --ink: #121212;
  --concrete: #2B2B2B;
  --molten: #FF4A1C;
  --steel: #C7C7C7;
  --bone: #F2F2F2;
  --mute: #8A8A8A;
  --rule: rgba(199, 199, 199, 0.16);
  --led: #3DDC84;
  --display: 'Cairo', 'Readex Pro', system-ui, sans-serif;
  --sans: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--void);
  color: var(--bone);
  font-family: var(--sans);
  letter-spacing: 0;
}

body {
  background: var(--void);
  color: var(--bone);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
button, input, select { font-family: inherit; border-radius: 0; letter-spacing: 0; }
.bidi { unicode-bidi: isolate; font-family: var(--mono); }

.iv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 0;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}

.iv-btn-molten { background: var(--molten); color: #FFFFFF; }
.iv-btn-molten:hover { background: var(--bone); color: var(--void); }
.iv-btn-ghost { background: transparent; border-color: var(--rule); color: var(--bone); }
.iv-btn-ghost:hover { border-color: var(--molten); color: var(--molten); }

/* ======================== FIXED 56px HAIRLINE-CELL NAVBAR ======================== */
.iv-nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 56px;
  z-index: 80;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: stretch;
}

.iv-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-inline-end: 1px solid var(--rule);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.iv-cell b {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--molten);
}

.iv-cell-link:hover { background: var(--concrete); }

.iv-spacer { flex: 1; }

.iv-led {
  width: 8px;
  height: 8px;
  background: var(--led);
  box-shadow: 0 0 10px var(--led);
}

.iv-cta-cell {
  background: var(--molten);
  color: #FFFFFF;
  padding: 0 22px;
  font-weight: 800;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  border: none;
}

/* Slide-Over Checkout Drawer (0px sharp) */
.iv-drawer {
  position: fixed;
  top: 0;
  inset-inline-end: 0;
  bottom: 0;
  width: min(420px, 94vw);
  z-index: 95;
  background: var(--ink);
  border-inline-start: 1px solid var(--rule);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateX(-105%);
  visibility: hidden;
  transition: transform 0.25s ease, visibility 0.25s;
}
.iv-drawer.open { transform: translateX(0); visibility: visible; }

/* ======================== 1. HERO (100svh BARBELL PLATE + VERTICAL RULER) ======================== */
.iv-hero {
  position: relative;
  min-height: 100dvh;
  padding: 78px 28px 34px 76px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

.iv-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.iv-hero-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, transparent 18%, rgba(10, 10, 10, 0.88) 84%);
  pointer-events: none;
}

/* Magnetic Target Reticle Ring */
.iv-lens-ring {
  position: absolute;
  width: 150px;
  height: 150px;
  border: 1px solid var(--molten);
  pointer-events: none;
  z-index: 3;
  transform: translate(-50%, -50%);
  top: 46%;
  left: 48%;
  box-shadow: 0 0 36px rgba(255, 74, 28, 0.25);
}

/* Vertical Calibrated Weight Ruler */
.iv-ruler {
  position: absolute;
  top: 56px;
  bottom: 0;
  left: 0;
  width: 54px;
  z-index: 4;
  border-right: 1px solid var(--rule);
  background: rgba(10, 10, 10, 0.76);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 6px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--steel);
  text-align: center;
}

.iv-hero-top {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.iv-hero-bottom {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: end;
}

.iv-h1 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5.2vw, 4.6rem);
  font-weight: 900;
  line-height: 1.06;
}

.iv-h1 span.dim {
  color: var(--molten);
  display: block;
}

/* ======================== SECTIONS ======================== */
.iv-sec {
  max-width: 1260px;
  margin: 0 auto;
  padding: 88px 28px;
  border-bottom: 1px solid var(--rule);
}

.iv-kicker {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--steel);
  display: inline-block;
  margin-bottom: 10px;
}

.iv-kicker b { color: var(--molten); }

.iv-h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  line-height: 1.12;
}

/* Memberships 3-Col + Annual Toggle */
.iv-tiers-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  margin-top: 32px;
}

.iv-tier {
  background: var(--ink);
  padding: 28px;
  border-inline-end: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.iv-tier:last-child { border-inline-end: none; }
.iv-tier.featured {
  background: #171312;
  box-shadow: inset 0 3px 0 var(--molten);
}

/* Timetable 4-Row */
.iv-table {
  margin-top: 30px;
  border: 1px solid var(--rule);
}

.iv-row {
  padding: 18px 20px;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 130px 1.3fr 1fr auto;
  align-items: center;
  gap: 16px;
}
.iv-row:last-child { border-bottom: none; }

/* 1RM & Barbell Plate-Loading Calculator */
.iv-calc-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  margin-top: 32px;
}

.iv-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--ink);
  border: 1px solid var(--rule);
  color: var(--bone);
  font-size: 15px;
}

.iv-plate-vis {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 64px;
  padding: 12px;
  background: var(--void);
  border: 1px solid var(--rule);
  margin-top: 12px;
}

.iv-plate-chip {
  padding: 8px 10px;
  background: var(--molten);
  color: #FFFFFF;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 800;
}

/* Footer */
.iv-footer {
  max-width: 1260px;
  margin: 0 auto;
  padding: 56px 28px 36px;
}

.iv-giant-wordmark {
  font-family: var(--mono);
  font-size: clamp(3.6rem, 14vw, 11.5rem);
  font-weight: 900;
  text-align: center;
  line-height: 0.9;
  background: linear-gradient(180deg, #F2F2F2 0%, #525252 65%, #FF4A1C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 22px 0 30px;
  direction: ltr;
}

.iv-showcase-nav {
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .iv-cell-link, .iv-ruler { display: none; }
  .iv-hero { padding-inline-start: 24px; }
  .iv-hero-bottom,
  .iv-tiers-3,
  .iv-row,
  .iv-calc-grid {
    grid-template-columns: 1fr;
  }
}
