:root {
  --paper: #171816;
  --ink: #faf7ed;
  --muted: #c9c8bd;
  --line: #44443d;
  --accent: #ff6b25;
  --on-accent: #171816;
  --wrap: 1320px;
}

h1,h2,h3,.brand {
  font-family: "Barlow Condensed","Arial Narrow",Impact,sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.topbar {
  border-bottom: 1px solid #3c3a34;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.55rem;
  letter-spacing: .045em;
  line-height: .77;
}

.iron-mark {
  width: 24px;
  height: 29px;
  display: inline-block;
  background: var(--accent);
  clip-path: polygon(25% 0,48% 0,23% 100%,0 100%,56% 0,79% 0,54% 100%,31% 100%,87% 0,100% 0,75% 100%,62% 100%);
}

.iron-hero {
  position: relative;
  background: #1d1e1b;
  isolation: isolate;
}

.hero-grid {
  display: grid;
  grid-template-columns: 58% 42%;
  min-height: clamp(530px,47vw,700px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 24px;
  padding: 52px 0;
}

.hero-copy .kicker {
  color: #ff913f;
}

.hero-copy h1 {
  font-size: clamp(4.4rem,9.25vw,10rem);
  line-height: .81;
  letter-spacing: -.02em;
}

.hero-copy h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-copy>p:not(.kicker) {
  max-width: 39ch;
  color: #e3e1d6;
}

.hero-grid figure {
  position: absolute;
  inset: 0 0 0 49%;
  height: 100%;
  clip-path: polygon(13% 0,100% 0,100% 100%,0 100%);
  z-index: 0;
  background: #333;
}

.hero-grid figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,#1d1e1baa,transparent 58%);
}

.hero-grid img {
  height: 100%;
  filter: grayscale(1) brightness(.77);
  object-position: 55% 40%;
}

.club-strip {
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: .92rem;
}

.club-strip .wrap {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  min-height: 59px;
}

.program-grid,.coach-grid,.plan-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}

.program-grid article {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.program-grid img {
  aspect-ratio: 1.43;
  filter: grayscale(.8);
}

.program-grid h3 {
  margin: 11px 0 4px;
  font-size: 2rem;
}

.program-grid p,.coach-grid p {
  color: var(--muted);
}

.coaches {
  background: #272722;
}

.coach-grid img {
  aspect-ratio: 1.24;
  filter: grayscale(.9);
  object-position: center 35%;
}

.coach-grid h3 {
  margin-top: 11px;
  font-size: 1.75rem;
}

.schedule .controls {
  margin-bottom: 20px;
}

.sr-status {
  font-weight: 700;
  margin-bottom: 8px;
}

#class-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.class-row {
  display: grid;
  grid-template-columns: 90px 1.4fr 1fr auto;
  align-items: center;
  gap: 15px;
  min-height: 72px;
  border-top: 1px solid var(--line);
}

.class-row:last-child {
  border-bottom: 1px solid var(--line);
}

.class-row time {
  color: #ff9b67;
  font-weight: 700;
}

.class-row button {
  min-height: 42px;
}

.membership {
  background: #efebe2;
  color: #1c1c19;
  --line: #c3bdb0;
  --accent: #d1480d;
  --on-accent: #fff;
}

.members-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 12px;
}

.members-head .section-title {
  margin: 0;
}

.members-head .controls {
  flex-shrink: 0;
}

#billing-note {
  margin-bottom: 20px;
  font-size: .875rem;
}

.plan {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  justify-items: start;
  gap: 12px;
  border-top: 3px solid #26261f;
  border-bottom: 1px solid var(--line);
  padding: 17px 0 21px;
}

.plan:nth-child(2) {
  border-top-color: #bd3b06;
}

.plan h3 {
  font-size: 2.5rem;
}

.plan-price span {
  font: 800 3.2rem/1 "Barlow Condensed",Impact,sans-serif;
}

.plan ul {
  margin: 0 0 6px;
}

.gym-benefits {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 5vw;
}

.gym-benefits img {
  aspect-ratio: 1.45;
  filter: grayscale(.9);
}

.gym-benefits h2,.dialog-body h2 {
  font-size: clamp(2.6rem,6vw,4.7rem);
  margin: .12em 0;
}

.faq {
  padding-top: 0;
}

.dialog-body {
  width: min(590px,88vw);
}

.dialog-body .form {
  margin-top: 18px;
}

.form input,.form select {
  color-scheme: dark;
}

@media(max-width:900px) {
  .hero-copy h1 {
    font-size: clamp(4rem,10vw,6.6rem);
  }
}

@media(max-width:740px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-copy {
    padding: 42px 0 20px;
    gap: 18px;
  }
  .hero-grid figure {
    position: relative;
    inset: auto;
    clip-path: none;
    height: auto;
    margin-inline: calc(-1 * var(--gutter));
  }
  .hero-grid figure::after {
    display: none;
  }
  .hero-grid img {
    height: auto;
    max-height: 420px;
    aspect-ratio: 1.75;
  }
  .program-grid,.coach-grid,.plan-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media(max-width:540px) {
  .hero-copy h1 {
    font-size: clamp(3.75rem,12.6vw,6rem);
  }
  .club-strip .wrap {
    flex-wrap: wrap;
    padding: 9px 0;
  }
  .program-grid,.plan-grid,.gym-benefits {
    grid-template-columns: 1fr;
  }
  .coach-grid {
    gap: 16px 10px;
  }
  .class-row {
    grid-template-columns: 59px minmax(0,1fr) auto;
    gap: 6px;
    padding: 8px 0;
  }
  .class-row span {
    grid-row: 2;
    grid-column: 2/-1;
    font-size: .86rem;
  }
  .class-row .button {
    padding-inline: 9px;
  }
  .members-head {
    align-items: start;
    flex-direction: column;
  }
  .schedule .controls {
    gap: 5px;
  }
  .schedule .controls button {
    padding-inline: 9px;
  }
}
