/* Iron Empire Gym — design tokens & shared components */

:root {
  --bg: #0a0a0a;
  --bg-2: #101010;
  --panel: #0d0d0d;
  --red: #d81f26;
  --red-dark: #b5161c;
  --text: #fff;
  --soft: #d6d6d6;
  --body: #c9c9c9;
  --muted: #999;
  --faint: #8a8a8a;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .14);
  --display: 'Anton', sans-serif;
  --cond: 'Barlow Condensed', sans-serif;
  --sans: 'Barlow', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  min-width: 320px;
}

img { max-width: 100%; }

a { color: var(--text); }
a:hover { color: var(--red); }

h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; }
h2 { font-size: clamp(38px, 6vw, 56px); margin: 0; }
h2 em, h1 em { font-style: normal; color: var(--red); }

.inner { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

@keyframes ie-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none !important; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 14px 24px;
  flex-wrap: wrap;
}
.site-header .brand img { height: 44px; display: block; }
.site-nav {
  display: flex;
  gap: 30px;
  font: 600 14px var(--cond);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.site-nav a { text-decoration: none; color: #bbb; }
.site-nav a:hover { color: #fff; }

.btn {
  display: inline-block;
  font: 700 14px var(--cond);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 11px 22px;
  border: none;
  cursor: pointer;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-white { background: #fff; color: var(--bg); font-size: 16px; padding: 16px 30px; }
.btn-white:hover { background: var(--red); color: #fff; }

.kicker {
  font: 600 15px var(--cond);
  letter-spacing: .3em;
  color: var(--red);
  text-transform: uppercase;
}

.chip-tag {
  font: 600 13px var(--cond);
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #ccc;
  padding: 9px 16px;
}

/* Hero */
.hero-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; min-height: 620px; }
.hero-copy { padding: 70px 24px 56px; display: flex; flex-direction: column; justify-content: center; }
.hero-copy h1 { margin: 0; font-size: clamp(56px, 8vw, 104px); line-height: .94; }
.hero-copy .lede { font: 400 19px/1.55 var(--cond); color: var(--body); max-width: 440px; margin: 26px 0 34px; }
.hero-copy .cta-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-copy .price { font: 600 16px var(--cond); letter-spacing: .08em; color: #888; text-transform: uppercase; }
.hero-stats { display: flex; gap: 36px; margin-top: 56px; flex-wrap: wrap; }
.hero-stats .num { font-family: var(--display); font-size: 34px; color: #fff; }
.hero-stats .lbl { font: 500 13px var(--cond); letter-spacing: .14em; color: var(--faint); text-transform: uppercase; }
.hero-photo { position: relative; clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); overflow: hidden; }
.hero-photo .par { position: absolute; inset: -60px 0; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); background: var(--red); }
.marquee-track { display: flex; width: max-content; animation: ie-marquee 22s linear infinite; }
.marquee-track > div {
  display: flex;
  gap: 48px;
  padding: 12px 24px;
  font: 700 15px var(--cond);
  letter-spacing: .22em;
  color: var(--bg);
  text-transform: uppercase;
  white-space: nowrap;
}

/* Sections */
.section { max-width: 1240px; margin: 0 auto; padding: 96px 24px 80px; }
.section-band { background: var(--bg-2); border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.section-band .inner { padding-top: 96px; padding-bottom: 96px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.section-note { font: 500 15px var(--cond); letter-spacing: .14em; color: var(--faint); text-transform: uppercase; }

/* Instagram */
.ig-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: #bbb;
  flex: 0 0 auto;
  transition: color .2s, border-color .2s, background .2s;
}
.ig-icon:hover { color: #fff; border-color: var(--red); background: rgba(216, 31, 38, .14); }
.ig-icon svg { width: 19px; height: 19px; }
.ig-band .inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 60px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}
.ig-band .handle {
  font: 400 clamp(30px, 5vw, 54px)/1 var(--display);
  text-transform: uppercase;
  margin: 0 0 8px;
}
.ig-band .handle a { color: inherit; text-decoration: none; }
.ig-band .handle a:hover { color: var(--red); }
.ig-band p { margin: 0; font: 400 16px var(--sans); color: var(--body); max-width: 46ch; }
.ig-band .cta { display: flex; align-items: center; gap: 14px; }
.ig-strip {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 64px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.ig-card {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}
.ig-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.ig-card.fit img { object-fit: contain; }
.ig-card:hover img { transform: scale(1.05); }
.ig-card .tag {
  position: absolute;
  right: 8px;
  bottom: 8px;
  font: 600 11px var(--cond);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, .6);
  padding: 3px 8px;
}
.loc-photo { margin: 22px 0 0; }
.loc-photo img { width: 100%; height: auto; display: block; border: 1px solid var(--line); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; gap: 14px; }
.gallery .main { grid-column: span 2; grid-row: span 2; }
.ph-slot {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(-45deg, transparent 0 26px, rgba(255, 255, 255, .025) 26px 52px),
    linear-gradient(160deg, #131313, #0d0d0d);
  border: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 18px 20px;
}
.ph-slot::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 4px;
  background: var(--red);
}
.ph-slot .zone { font: 700 17px var(--cond); letter-spacing: .12em; text-transform: uppercase; color: #eee; }
.ph-slot .hint { font: 400 13px var(--cond); letter-spacing: .08em; color: #666; text-transform: uppercase; margin-top: 4px; }

/* Slots that already have a real photo behind the caption. */
.ph-slot.has-photo { background: #0d0d0d; }
.ph-slot.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-slot.has-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .88), rgba(0, 0, 0, .2) 55%, rgba(0, 0, 0, 0));
}
.ph-slot.has-photo::before { z-index: 2; }
.ph-slot.has-photo .zone { position: relative; z-index: 2; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.price-card { border: 1px solid var(--line-2); padding: 30px 26px; display: flex; flex-direction: column; gap: 6px; }
.price-card .plan { font: 600 14px var(--cond); letter-spacing: .18em; color: var(--faint); text-transform: uppercase; }
.price-card .amount { font-family: var(--display); font-size: 44px; }
.price-card .per { font: 400 15px var(--cond); color: #888; }
.price-card.best { border: 2px solid var(--red); background: rgba(216, 31, 38, .06); position: relative; }
.price-card.best .plan { color: #d87a7d; }
.price-card.best .per { color: var(--body); }
.price-card.best .flag {
  position: absolute;
  top: -13px;
  left: 24px;
  background: var(--red);
  color: #fff;
  font: 700 12px var(--cond);
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 5px 12px;
}
.day-pass {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 26px;
  border: 1px dashed rgba(255, 255, 255, .2);
  padding: 18px 26px;
}
.day-pass .txt { font: 500 17px var(--cond); color: #ccc; }
.day-pass .txt strong { color: #fff; }

/* Brands */
.brands-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.brand-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  padding: 26px 20px;
  min-height: 70px;
}
.brand-cell img { max-width: 100%; max-height: 44px; filter: brightness(0) invert(1); opacity: .75; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review-card { border: 1px solid rgba(255, 255, 255, .12); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.review-card .stars { color: #fbbc04; font-size: 16px; letter-spacing: 3px; }
.review-card p { margin: 0; font: 400 16px/1.6 var(--sans); color: var(--soft); }
.review-card .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-card .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 16px var(--sans);
  flex-shrink: 0;
}
.review-card .name { font: 600 15px var(--sans); }
.review-card .src { font: 400 13px var(--sans); color: #888; }

/* Location */
.location-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.location-grid .lede { font: 400 18px/1.6 var(--cond); color: var(--body); margin: 18px 0 26px; }
.loc-point { display: flex; gap: 14px; align-items: baseline; }
.loc-point .n { font-family: var(--display); color: var(--red); font-size: 18px; }
.loc-point .t { font: 500 17px var(--cond); color: #eee; }
.map-frame { border: 1px solid var(--line-2); }
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

/* FAQ */
.faq-wrap { max-width: 860px; margin: 0 auto; padding: 96px 24px; }
.faq-item { border: 1px solid var(--line-2); background: var(--panel); margin-bottom: 10px; }
.faq-item button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 20px 24px;
  color: #fff;
  font: 600 19px var(--cond);
  letter-spacing: .04em;
  text-align: left;
  text-transform: uppercase;
}
.faq-item .icon { color: var(--red); font-family: var(--display); font-size: 22px; }
.faq-item .answer { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.faq-item.open .answer { max-height: 300px; }
.faq-item .answer p { margin: 0; padding: 0 24px 22px; font: 400 16px/1.65 var(--sans); color: #bdbdbd; }

/* Final CTA */
.final-cta { position: relative; overflow: hidden; text-align: center; padding: 110px 24px; }
.final-cta h2 { font-size: clamp(44px, 7vw, 84px); line-height: 1; }
.final-cta .lede { font: 400 18px/1.6 var(--cond); color: var(--body); max-width: 520px; margin: 22px auto 34px; }
.final-cta .btn-red { font-size: 18px; padding: 18px 44px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .cols {
  max-width: 1240px;
  margin: 0 auto;
  padding: 44px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer .brand img { height: 48px; display: block; }
.site-footer .addr { display: flex; flex-direction: column; gap: 4px; font: 400 14px var(--sans); color: var(--faint); }
.site-footer .links { display: flex; gap: 24px; font: 600 13px var(--cond); letter-spacing: .12em; text-transform: uppercase; }
.site-footer .links a { color: #bbb; text-decoration: none; }
.site-footer .links a:hover { color: #fff; }
.site-footer .copyright { text-align: center; font: 400 13px var(--sans); color: #666; padding: 0 24px 26px; }

/* Legal page */
.legal-head { max-width: 820px; margin: 0 auto; padding: 72px 24px 40px; }
.legal-head h1 { margin: 0 0 14px; font-size: clamp(38px, 6vw, 56px); line-height: 1; }
.legal-head .meta { font: 400 17px/1.6 var(--sans); color: var(--muted); margin: 0 0 34px; }
.legal-head nav { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.legal-head nav a { text-decoration: none; }
.legal-body { max-width: 820px; margin: 0 auto; padding: 0 24px 80px; font: 400 16px/1.7 var(--sans); color: #c4c4c4; }
.legal-body a { color: var(--red); }
.legal-body a:hover { color: #ff4d52; }
.legal-body h2 {
  font-size: 32px;
  color: #fff;
  border-bottom: 2px solid var(--red);
  padding-bottom: 10px;
  margin: 56px 0 20px;
}
.legal-body h3 {
  font: 700 19px var(--cond);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  margin: 28px 0 12px;
}
.legal-body strong { color: #fff; }
.data-table { border: 1px solid var(--line-2); padding: 22px 26px; display: grid; grid-template-columns: 180px 1fr; gap: 8px 18px; font-size: 15px; }
.data-table .k { color: var(--faint); }
.cookie-table { border: 1px solid var(--line-2); overflow-x: auto; }
.cookie-table .row { display: grid; grid-template-columns: 90px 110px 1fr 90px; font-size: 14px; border-top: 1px solid var(--line); min-width: 480px; }
.cookie-table .row.head { font: 700 13px var(--cond); letter-spacing: .1em; text-transform: uppercase; background: #161616; color: #fff; border-top: 0; }
.cookie-table .row span { padding: 12px 16px; }
.cookie-table .row .n { color: #fff; }

/* Mobile */
@media (max-width: 900px) {
  .site-nav {
    order: 3;
    width: 100%;
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { clip-path: none; min-height: 300px; }
  .hero-copy { padding: 56px 24px 44px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .ig-strip { grid-template-columns: repeat(3, 1fr); }
  .gallery .main { grid-column: span 2; }
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .data-table { grid-template-columns: 1fr; gap: 2px 0; }
  .data-table .k { margin-top: 10px; }
}
@media (max-width: 560px) {
  .pricing { grid-template-columns: 1fr; }
  .ig-strip { grid-template-columns: repeat(2, 1fr); }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
}
