/* ==========================================================================
   IRONHOUSE — sample gym site built by Warmup.
   Deliberately its own brand: nothing here is shared with styles.css, so the
   page reads as a client build rather than another Warmup page.
   ========================================================================== */

:root {
  --g-ink:      #131311;
  --g-raise:    #1D1D1A;
  --g-float:    #262622;
  --g-chalk:    #F0EDE6;
  --g-muted:    #9A968C;
  --g-signal:   #E8B004;
  --g-signal-d: #C89400;
  --g-line:     rgba(240, 237, 230, 0.12);
  --g-line-s:   rgba(240, 237, 230, 0.24);

  --g-display: 'Anton', 'Arial Narrow', sans-serif;
  --g-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --g-container: 1180px;
  --g-radius: 4px;   /* hard corners: steel, not software */
  --g-ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--g-ink);
  color: var(--g-chalk);
  font-family: var(--g-body);
  font-size: clamp(1rem, .96rem + .18vw, 1.0625rem);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Concrete grain over the whole surface */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

.gym-header, .gym-main, .gym-footer { position: relative; z-index: 2; }

img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--g-signal);
  outline-offset: 3px;
}

.g-container {
  width: 100%;
  max-width: var(--g-container);
  margin-inline: auto;
  padding-inline: 24px;
}
@media (max-width: 600px) { .g-container { padding-inline: 18px; } }

.g-section { padding-block: clamp(56px, 8vw, 108px); }
.g-section--tight { padding-block: clamp(40px, 5vw, 64px); }

h1, h2, h3, .g-display {
  font-family: var(--g-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: .005em;
}

h1 { font-size: clamp(2.75rem, 1.5rem + 5.6vw, 6rem); }
h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }

.g-eyebrow {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--g-signal);
  margin-bottom: 18px;
}

.g-lead {
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  color: var(--g-muted);
  max-width: 52ch;
}

.g-section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.g-section-head .g-lead { margin-top: 18px; }

/* ---------- Demo banner ---------- */
.gym-demo-banner {
  position: relative;
  z-index: 90;
  background: #E2481F;
  color: #fff;
  font-size: .8125rem;
}
.gym-demo-banner .g-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-block: 10px;
}
.gym-demo-banner strong { font-weight: 600; }
.gym-demo-banner a {
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* ---------- Header ---------- */
.gym-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(19, 19, 17, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--g-line);
}
.gym-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 62px;
  padding-block: 10px;
}
.gym-logo {
  font-family: var(--g-display);
  font-size: 1.375rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.gym-logo-bar {
  width: 5px; height: 22px;
  background: var(--g-signal);
  transform: skewX(-12deg);
}
.gym-nav { display: none; gap: 28px; font-size: .875rem; font-weight: 500; }
@media (min-width: 900px) { .gym-nav { display: flex; } }
.gym-nav a { color: var(--g-muted); transition: color .16s var(--g-ease); }
.gym-nav a:hover { color: var(--g-chalk); }

/* ---------- Buttons ---------- */
.g-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--g-display);
  font-size: .9375rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: var(--g-radius);
  transition: background-color .16s var(--g-ease), color .16s var(--g-ease),
              border-color .16s var(--g-ease), transform .16s var(--g-ease);
}
.g-btn--primary { background: var(--g-signal); color: var(--g-ink); }
.g-btn--primary:hover  { background: #F3C020; transform: translateY(-1px); }
.g-btn--primary:active { background: var(--g-signal-d); transform: translateY(0); }

.g-btn--ghost { border: 1.5px solid var(--g-line-s); color: var(--g-chalk); }
.g-btn--ghost:hover { border-color: var(--g-chalk); background: rgba(240,237,230,.06); }

.g-btn--sm { padding: 11px 18px; font-size: .8125rem; }

.g-cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
@media (max-width: 560px) {
  .g-cta-row { flex-direction: column; }
  .g-cta-row .g-btn { width: 100%; }
}

/* ---------- Hero ---------- */
.gym-hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 112px) clamp(48px, 6vw, 88px);
  overflow: hidden;
}
.gym-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(232, 176, 4, .16), transparent 58%),
    radial-gradient(90% 70% at 8% 100%, rgba(240, 237, 230, .07), transparent 60%);
  pointer-events: none;
}
.gym-hero > * { position: relative; }
.gym-hero h1 { max-width: 13ch; }
.gym-hero .g-lead { margin-top: 26px; }

/* The room itself carries the hero on desktop. On phones it drops out so the
   first screen stays headline + booking button and nothing else. */
.gym-hero-shot { display: none; }
@media (min-width: 960px) {
  .gym-hero .g-container {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 56px;
    align-items: center;
  }
  .gym-hero-shot { display: grid; aspect-ratio: 4 / 5; align-self: stretch; }
}

.gym-hours-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 36px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--g-line);
  font-size: .8125rem;
  letter-spacing: .04em;
}
.gym-hours-strip div { display: flex; gap: 10px; }
.gym-hours-strip dt { color: var(--g-muted); text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; padding-top: 2px; }
.gym-hours-strip dd { font-weight: 600; }

/* ---------- Image slots ---------- */
/* Layered CSS treatment so an unfilled slot still reads as a design decision.
   Drop a real photo in as <img> and the treatment stays as the overlay. */
.g-shot {
  position: relative;
  overflow: hidden;
  border-radius: var(--g-radius);
  background:
    radial-gradient(75% 55% at 26% 18%, rgba(232, 176, 4, .28), transparent 64%),
    linear-gradient(152deg, #3A3A33 0%, #22221E 42%, #141412 100%);
  display: grid;
  place-items: center;
  isolation: isolate;
}
/* Raking light across the floor, the way a gym reads at 7am. */
.g-shot::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(118deg,
      rgba(240,237,230,.085) 0 1px,
      transparent 1px 5px,
      rgba(240,237,230,.03) 5px 6px,
      transparent 6px 26px),
    radial-gradient(60% 45% at 82% 92%, rgba(240,237,230,.10), transparent 66%);
}
.g-shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19,19,17,.82), transparent 62%);
}
.g-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }

/* Corner brackets mark this as a reserved slot, not a broken image. */
.g-shot span {
  position: relative;
  z-index: 1;
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(240, 237, 230, .55);
  text-align: center;
  padding: 14px 20px;
  border: 1px solid rgba(240, 237, 230, .16);
  border-radius: 3px;
  backdrop-filter: blur(2px);
}
.g-shot span::before,
.g-shot span::after {
  content: '';
  position: absolute;
  width: 9px; height: 9px;
  border: 2px solid var(--g-signal);
}
.g-shot span::before { top: -5px; left: -5px; border-right: 0; border-bottom: 0; }
.g-shot span::after  { bottom: -5px; right: -5px; border-left: 0; border-top: 0; }

/* ---------- Schedule ---------- */
.gym-schedule { background: var(--g-raise); }

.sched-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sched {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: .875rem;
}
.sched th, .sched td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--g-line);
  vertical-align: top;
}
.sched th {
  font-family: var(--g-display);
  font-size: .8125rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--g-muted);
  font-weight: 400;
  border-bottom-color: var(--g-line-s);
}
.sched td:first-child {
  font-variant-numeric: tabular-nums;
  color: var(--g-signal);
  font-weight: 600;
  white-space: nowrap;
}
.sched .cls { display: block; font-weight: 600; }
.sched .coach { display: block; color: var(--g-muted); font-size: .8125rem; margin-top: 2px; }
.sched .empty { color: rgba(240,237,230,.22); }

.sched-note {
  margin-top: 24px;
  font-size: .875rem;
  color: var(--g-muted);
}
.sched-note strong { color: var(--g-chalk); font-weight: 600; }

/* ---------- Prices ---------- */
.price-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 820px) { .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.price {
  border: 1px solid var(--g-line);
  border-radius: var(--g-radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  background: var(--g-raise);
}
.price--featured {
  border-color: var(--g-signal);
  background: var(--g-float);
}
.price-tag {
  align-self: flex-start;
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--g-ink);
  background: var(--g-signal);
  padding: 4px 9px;
  border-radius: 3px;
  margin-bottom: 16px;
  font-weight: 700;
}
.price h3 { margin-bottom: 14px; }
.price .amount {
  font-family: var(--g-display);
  font-size: 2.75rem;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price .amount small {
  font-family: var(--g-body);
  font-size: .875rem;
  font-weight: 500;
  color: var(--g-muted);
  letter-spacing: 0;
  text-transform: none;
}
.price ul { margin-top: 22px; display: grid; gap: 10px; }
.price li {
  position: relative;
  padding-left: 22px;
  font-size: .875rem;
  color: var(--g-muted);
}
.price li::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: 11px; height: 2px;
  background: var(--g-signal);
}
.price .g-btn { margin-top: 26px; }
.price-foot {
  margin-top: 28px;
  font-size: .875rem;
  color: var(--g-muted);
  text-align: center;
}

/* ---------- About ---------- */
.about-layout { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) {
  .about-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
}
.about-layout .g-shot { aspect-ratio: 4 / 3; }
.about-copy p { margin-top: 18px; color: var(--g-muted); max-width: 48ch; }
.about-copy p:first-of-type { margin-top: 22px; }

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 44px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--g-line);
}
.about-stats dt {
  font-family: var(--g-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--g-signal);
}
.about-stats dd {
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--g-muted);
  margin-top: 7px;
}

/* ---------- Find us ---------- */
.gym-find { background: var(--g-raise); }
.find-layout { display: grid; gap: 32px; }
@media (min-width: 820px) { .find-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; } }
.find-list { display: grid; gap: 22px; }
.find-list dt {
  font-size: .75rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--g-signal);
  margin-bottom: 6px;
}
.find-list dd { color: var(--g-muted); }
/* width:100% first, or min-height drives the width via aspect-ratio and the
   box grows past a narrow viewport. */
.find-layout .g-shot { width: 100%; aspect-ratio: 16 / 10; min-height: 240px; }

/* ---------- Final CTA ---------- */
.gym-cta { text-align: center; }
.gym-cta h2 { max-width: 18ch; margin-inline: auto; }
.gym-cta .g-lead { margin: 22px auto 0; }
.gym-cta .g-cta-row { justify-content: center; }
.gym-cta-note {
  margin-top: 26px;
  font-size: .8125rem;
  color: var(--g-muted);
  letter-spacing: .03em;
}

/* ---------- Footer ---------- */
.gym-footer {
  border-top: 1px solid var(--g-line);
  padding-block: 44px;
  font-size: .875rem;
  color: var(--g-muted);
}
.gym-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: space-between;
  align-items: flex-start;
}
.gym-footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.gym-footer-nav a { transition: color .16s var(--g-ease); }
.gym-footer-nav a:hover { color: var(--g-chalk); }
.gym-built {
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid var(--g-line);
  font-size: .8125rem;
}
.gym-built a { color: var(--g-chalk); text-decoration: underline; text-underline-offset: 3px; }

/* No sticky bottom bar: the sticky header already carries the booking CTA at
   every viewport, and two identical buttons on one screen read as a bug. */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
