/* ACUTE THERAPY GYM RACK — page stylesheet */
/* DARK rehabilitation-gym palette, dark theme */

body {
  font-size: 16px;
  background-color: #232528;
  color: #F1F2EE;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

/* ============ CHALKBOARD HEADER ============ */
.board-header {
  background-color: #14161A;
  border-bottom: 6px solid #3E8E7E;
  position: relative;
  padding: 22px 0 26px;
}
.board-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.board-glyph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding-right: 20px;
}
.board-glyph span {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #2C3136;
  border: 3px solid #3E8E7E;
}
.stamp-disc {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #2C3136;
  border: 3px solid #3E8E7E;
}
.brand-plate {
  background-color: #3E8E7E;
  color: #F5F2E7;
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  padding: 6px 18px;
  border-radius: 8px;
  margin: 0;
  text-transform: uppercase;
}
.brand-sub {
  color: #838A92;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 3px 0 0;
}
.board-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.sess-link {
  color: #F1F2EE;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 6px 10px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s ease;
}
.sess-link:hover {
  border-bottom-color: #838A92;
}
.sess-cta {
  background-color: #3E8E7E;
  color: #F5F2E7;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 22px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 0.8rem;
}
.sess-cta:hover {
  background-color: #469c8a;
}

/* board chalk tray */
.chalk-tray {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background-color: #F5F2E7;
}

/* ============ RACK UPRIGHT STRUCTURE ============ */
.bay {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 90px 24px;
}
.upright {
  position: absolute;
  top: 20px;
  bottom: 20px;
  width: 12px;
  background-color: #838A92;
  background-image: repeating-linear-gradient(
    to bottom,
    #53585F 0,
    #53585F 3px,
    #838A92 3px,
    #838A92 11px,
    #14161A 11px,
    #14161A 13px,
    #838A92 13px,
    #838A92 15px
  );
}
.upright-left {
  left: 12px;
}
.upright-right {
  right: 12px;
}
.touch-bar {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 14px;
  background-color: #838A92;
  border-top: 3px solid #3E8E7E;
}
.hook-cap {
  position: absolute;
  top: 0;
  width: 16px;
  height: 10px;
  background-color: #3E8E7E;
  border-radius: 0 0 6px 6px;
}
.hook-cap-left {
  left: 22%;
}
.hook-cap-right {
  left: 55%;
}
.station-plate {
  background-color: #14161A;
  color: #F5F2E7;
  display: inline-block;
  padding: 8px 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  border-left: 4px solid #3E8E7E;
  margin-bottom: 34px;
}

/* ============ S1 WARM-UP BAY ============ */
.warmup-bay {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.warmup-main {
  max-width: 720px;
}
.warmup-kicker {
  color: #3E8E7E;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  margin: 0 0 12px;
}
.session-title {
  font-size: 3rem;
  line-height: 1.08;
  margin: 0 0 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.session-title a,
.warmup-stand a {
  color: inherit;
}
.standfirst {
  font-size: 1.15rem;
  color: #c9ccc7;
  max-width: 60ch;
  margin: 0 0 0;
}
.warmup-band {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.warmup-loop {
  width: 54px;
  height: 54px;
  border: 11px solid #3E8E7E;
  border-radius: 50%;
}
.warmup-wrap {
  width: 44px;
  height: 34px;
  border: 9px solid #3E8E7E;
  border-radius: 46% 46% 44% 44%;
}
.floor-rule {
  height: 10px;
  margin: 42px 0 0;
  background-color: #3E8E7E;
  background-image: repeating-linear-gradient(
    to right,
    #232528 0,
    #232528 4px,
    #3E8E7E 4px,
    #3E8E7E 34px,
    #232528 34px,
    #232528 38px
  );
}

/* ============ S2 PLATE TREE ============ */
.plate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.plate-grid.one-col {
  grid-template-columns: 1fr;
  max-width: 70ch;
}
.plate-station {
  background-color: #F5F2E7;
  color: #14161A;
  border-radius: 16px;
  padding: 34px 28px;
  position: relative;
  box-shadow: 0 0 0 9px #838A92, 0 14px 0 -4px #14161A;
}
.plate-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.plate-centre {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #14161A;
  border: 6px solid #3E8E7E;
  color: #8FD4C5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}
.plate-name {
  font-size: 1.3rem;
  margin: 0;
  font-weight: 800;
}
.plate-link {
  color: #14161A;
  text-decoration: none;
  border-bottom: 2px solid #3E8E7E;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.plate-link:hover {
  border-bottom-color: #14161A;
  color: #3E8E7E;
}
.plate-mark {
  color: #3E8E7E;
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
}
.plate-blurb p {
  margin: 0;
  color: #2C3136;
  font-size: 1rem;
}
.rep-num {
  font-weight: 900;
  color: #3E8E7E;
  font-size: 1.05rem;
}

/* ============ S3 BAND WALL ============ */
.band-wall {
  display: flex;
  align-items: stretch;
  gap: 50px;
  flex-wrap: wrap;
}
.band-prose {
  flex: 3 1 380px;
}
.band-prose-head {
  font-size: 1.8rem;
  margin: 0 0 18px;
}
.band-column {
  max-width: 62ch;
  color: #d3d6d1;
  margin: 0;
}
.band-column p {
  margin: 0 0 18px;
}
.band-prog {
  color: #c9ccc7;
}
.band-peg {
  flex: 2 1 300px;
  position: relative;
  background-color: #62686F;
  background-image:
    repeating-linear-gradient(to bottom, #14161A 0, #14161A 2px, #62686F 2px, #62686F 60px),
    repeating-linear-gradient(to right, #14161A 0, #14161A 2px, #62686F 2px, #62686F 60px);
  min-height: 380px;
  border: 4px solid #838A92;
  padding: 20px;
}
.peg-loop {
  position: relative;
  width: 130px;
  height: 60px;
  border: 9px solid #3E8E7E;
  border-radius: 60px;
  margin: 24px auto;
}
.peg-loop-dark {
  border-color: #2f7266;
}
.peg-knob {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #14161A;
  color: #F5F2E7;
  font-size: 0.6rem;
  text-align: center;
  line-height: 14px;
  margin: 0 auto;
}
.peg-note {
  color: #F1F2EE;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 12px 0 0;
}

/* ============ S4 TREATMENT BARS / CONTACT ============ */
.treatment {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: flex-start;
}
.treatment-form {
  flex: 3 1 400px;
  background-color: #F5F2E7;
  color: #14161A;
  border-radius: 4px;
  border-top: 10px solid #3E8E7E;
  padding: 30px 30px 34px;
}
.session-form-label {
  display: block;
  font-weight: 800;
  color: #14161A;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.session-field,
.session-field-text {
  width: 100%;
  box-sizing: border-box;
  border: 2px solid #b9bbb1;
  background-color: #ffffff;
  color: #14161A;
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 18px;
}
.session-field-text {
  min-height: 150px;
  resize: vertical;
}
.session-field:focus,
.session-field-text:focus {
  outline: none;
  border-color: #3E8E7E;
}
.session-send {
  background-color: #3E8E7E;
  color: #F5F2E7;
  border: 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 34px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}
.session-send:hover {
  background-color: #469c8a;
}
.form-note {
  color: #2C3136;
  font-size: 0.8rem;
  margin-top: 8px;
}
.treatment-info {
  flex: 2 1 280px;
}
.plaque {
  background-color: #14161A;
  color: #F1F2EE;
  border-left: 6px solid #3E8E7E;
  padding: 30px 26px;
  border-radius: 4px;
}
.plaque-title {
  font-size: 1.25rem;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.plaque-sub {
  color: #3E8E7E;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin: 0 0 18px;
}
.plaque-line {
  color: #d3d6d1;
  margin: 0 0 10px;
  line-height: 1.5;
}
.plaque-line a {
  color: #F1F2EE;
}
.hours-head {
  color: #3E8E7E;
  font-weight: 800;
  margin: 6px 0 6px;
  font-size: 0.95rem;
}
.hours-grid {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}
.hours-grid li {
  color: #d3d6d1;
  margin-bottom: 5px;
  font-size: 0.95rem;
}

/* ============ FLOOR BASE FOOTER ============ */
.floor-base {
  background-color: #14161A;
  border-top: 10px solid #838A92;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}
.floor-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px 46px;
}
.floor-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}
.tread-link {
  color: #F1F2EE;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 4px;
}
.tread-link:hover {
  color: #8FD4C5;
}
.tread-sep {
  color: #838A92;
}
.floor-note {
  text-align: center;
  color: #9fa39c;
  font-size: 0.92rem;
  margin: 0 0 6px;
  line-height: 1.7;
}
.floor-brand {
  text-align: center;
  color: #3E8E7E;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  margin: 0 0 14px;
}

/* ============ GO TO TOP + REVEAL ============ */
.go-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #3E8E7E;
  color: #F5F2E7;
  border: 0;
  font-size: 1.5rem;
  font-weight: 900;
  cursor: pointer;
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.go-top.show-gotop {
  opacity: 1;
  visibility: visible;
}
.go-top:hover {
  background-color: #469c8a;
}

/* ============ REVEAL ANIMATION (safe default visible) ============ */
/* Without JavaScript every element is fully visible. main.js adds the */
/* js-anim class to html before attach; only then do reveal elements */
/* start hidden and sweep into view, so noscript users are never stuck. */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
html.js-anim .reveal-start {
  opacity: 0;
  transform: translateY(16px);
}
.reveal-visible {
  opacity: 1;
  transform: none;
}

/* ============ SERVICES EXTRA BAYS ============ */
.services-intro {
  max-width: 62ch;
  color: #d3d6d1;
  margin: 0;
  font-size: 1.05rem;
}
.practice-note {
  color: #F1F2EE;
  background-color: #2C3136;
  padding: 22px 28px;
  border-left: 5px solid #3E8E7E;
  margin-top: 30px;
}
.station-section {
  padding: 70px 0;
}
.half-band {
  display: flex;
  gap: 44px;
  align-items: center;
  flex-wrap: wrap;
}
.half-band .band-prose {
  flex: 3 1 380px;
}
.half-note {
  flex: 2 1 280px;
  align-self: center;
}
.replead {
  margin: 0 0 8px;
  color: #F5F2E7;
}
.plate-cta-link {
  display: inline-block;
  margin-top: 18px;
}
.plate-cta-link:hover {
  background-color: #469c8a;
}
@supports (flex: 1) {
  .plate-cta-link { text-align: center; }
}
.seven-bay,
.eight-bay {
  background-color: #2C3136;
}

/* ============ CONTACT FAQ GYM NOTES ============ */
.couch-note {
  background-color: #F5F2E7;
  color: #14161A;
  border-left: 6px solid #3E8E7E;
  padding: 26px 26px;
  border-radius: 4px;
  margin-bottom: 22px;
}
.couch-note h3 {
  margin: 0 0 10px;
  color: #14161A;
  font-size: 1.2rem;
}
.couch-note p {
  margin: 0;
  color: #2C3136;
}

/* Chalk-underlined small caps applied to links only inside board-nav via reuse of sess-link */

/* ============ responsive ============ */
@media (max-width: 900px) {
  .plate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .session-title {
    font-size: 2.3rem;
  }
}
@media (max-width: 600px) {
  .plate-grid {
    grid-template-columns: 1fr;
  }
  .upright {
    width: 9px;
  }
  .upright-left { left: 6px; }
  .upright-right { right: 6px; }
  .board-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
