/* ---------------------------------------------------------------- *
 * About the club
 *
 * The second face of the main menu: same 1440x900 stage, same mark, same
 * navigation slots, so the swap between the two reads as one screen turning
 * over rather than as a page load. Every offset below is a design pixel.
 *
 * Scoped under .about-the-club-page for the same reason main-menu.css is
 * scoped: all three screens share a document, and .content / .logo / .arrow
 * mean something different in each. The backdrop and chip rules deliberately
 * repeat main-menu.css instead of being lifted into a shared file -- keeping
 * each screen's stylesheet self-contained is what makes the scoping hold.
 * ---------------------------------------------------------------- */

/* One step above .main-menu-page (300), so the swap can fade this in over a
   menu that is still on screen and never expose the body between the two. */
.about-the-club-page {
  position: fixed;
  inset: 0;
  z-index: 310;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 600ms ease-out, visibility 0s linear 600ms;
}

.about-the-club-page.revealed {
  opacity: 1;
  visibility: visible;
  transition: opacity 600ms ease-out, visibility 0s;
}

/* ---------------------------------------------------------------- *
 * Backdrop
 * ---------------------------------------------------------------- */

/* Opaque base colour, as on the menu: it is what hides the screens this
   layer covers while it fades. */
.about-the-club-page .backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: #efeee7;
}

/* Same crop as the menu's paper, so the grain does not shift between the two
   screens during the cross-fade. */
.about-the-club-page .backdrop-paper {
  position: absolute;
  left: -4.792%;    /*  -69px */
  top: -5%;         /*  -45px */
  width: 107.014%;  /* 1541px */
  height: 114.111%; /* 1027px */
  background-image: url("../img/white-crumpled-paper.9072c1d09528.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
}

/* ---------------------------------------------------------------- *
 * Stage
 * ---------------------------------------------------------------- */

.about-the-club-page #about-the-club {
  position: relative;
  z-index: 1;
  width: 1440px;
  height: 900px;
  flex: none;
}

.about-the-club-page #about-the-club .logo {
  position: absolute;
  top: 27px;
  left: 155px;
  width: 118px;
  height: 118px;
}

/* ---------------------------------------------------------------- *
 * Top navigation
 * ---------------------------------------------------------------- */

.about-the-club-page .top-nav {
  position: absolute;
  top: 69px;
  right: 164px;
  display: flex;
  gap: 20px;
}

.about-the-club-page .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(89, 89, 89, 0.4);
  border-radius: 3px;
  background: rgba(239, 238, 231, 0.2);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-family: "Iosevka Charon Mono", monospace;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  color: #595959;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 200ms ease-out, color 200ms ease-out,
              background-color 200ms ease-out;
}

.about-the-club-page .chip:hover {
  border-color: rgba(89, 89, 89, 0.75);
  background: rgba(239, 238, 231, 0.45);
}

/* On this screen the forward move is PAST ROOMS, so it takes the accent the
   menu gives to ABOUT THE CLUB. */
.about-the-club-page .chip-accent {
  border-color: rgba(218, 30, 55, 0.5);
}

.about-the-club-page .chip-accent .arrow {
  color: #da1e37;
}

.about-the-club-page .chip-accent:hover {
  border-color: rgba(218, 30, 55, 0.85);
  background: rgba(218, 30, 55, 0.06);
}

/* ---------------------------------------------------------------- *
 * Back to the menu
 *
 * Unboxed, unlike the chips: it is the way out of a detour rather than one
 * of the screen's destinations, so it is drawn as the arrow and the words.
 * ---------------------------------------------------------------- */

.about-the-club-page .back {
  position: absolute;
  top: 227px;
  left: 162px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 0;
  border: none;
  background: none;
  font-family: "Iosevka Charon Mono", monospace;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #da1e37;
  cursor: pointer;
}

.about-the-club-page .back .arrow {
  color: #da1e37;
  transition: transform 200ms ease-out;
}

.about-the-club-page .back:hover .arrow {
  transform: translateX(-3px);
}

/* ---------------------------------------------------------------- *
 * Content column
 * ---------------------------------------------------------------- */

.about-the-club-page .content {
  position: absolute;
  left: 162px;
  top: 283px;
  width: 920px;
  font-family: "General Sans", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 36px;
  color: #1a1c20;
}

/* The two lines the club turns on change voice, the way the menu's lede does:
   the serif, in bold, inside the sans paragraph. */
.about-the-club-page .content strong {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  font-size: 17.75px;
}

/* ---------------------------------------------------------------- *
 * Facts
 *
 * Four columns on the same 227px step, pinned low on the stage so the
 * paragraphs above are left alone with the empty half of the screen.
 * ---------------------------------------------------------------- */

.about-the-club-page .facts {
  position: absolute;
  left: 162px;
  top: 604px;
  display: grid;
  grid-template-columns: repeat(4, 227px);
}

.about-the-club-page .facts dt {
  font-family: "Iosevka Charon Mono", monospace;
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #595959;
}

/* The rule is a short tick under the label rather than a full underline: it
   marks the column without ruling the row into a table. Red, like the
   eyebrow rule on the menu: it is the same device, marking a small heading. */
.about-the-club-page .facts dt::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  margin-top: 11px;
  background: #da1e37;
}

.about-the-club-page .facts dd {
  margin-top: 25px;
  font-family: "General Sans", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
  color: #1a1c20;
}

/* ---------------------------------------------------------------- *
 * Below the design size
 *
 * As on the menu: the stage is unpinned, everything falls back into flow,
 * and the layer scrolls inside itself because the body is overflow:hidden.
 * ---------------------------------------------------------------- */

@media (max-width: 1439px) {
  .about-the-club-page {
    display: block;
    overflow-y: auto;
  }

  .about-the-club-page #about-the-club {
    width: 100%;
    height: auto;
    min-height: 100vh;
    padding: 36px clamp(24px, 5vw, 90px) 80px;
  }

  .about-the-club-page #about-the-club .logo {
    position: static;
    display: block;
    width: 96px;
    height: 96px;
  }

  .about-the-club-page .top-nav {
    top: 46px;
    right: clamp(24px, 5vw, 90px);
  }

  .about-the-club-page .back,
  .about-the-club-page .content,
  .about-the-club-page .facts {
    position: static;
    width: auto;
  }

  .about-the-club-page .back {
    margin-top: 56px;
  }

  .about-the-club-page .content {
    margin-top: 24px;
    max-width: 620px;
  }

  .about-the-club-page .facts {
    margin-top: 72px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 227px));
    gap: 40px 0;
  }
}

@media (max-width: 720px) {
  .about-the-club-page #about-the-club {
    padding: 32px 24px 64px;
  }

  .about-the-club-page #about-the-club .logo {
    width: 88px;
    height: 88px;
  }

  .about-the-club-page .top-nav {
    position: static;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
  }

  .about-the-club-page .chip {
    height: 40px;
    padding: 0 18px;
    font-size: 14px;
  }

  .about-the-club-page .back {
    margin-top: 40px;
    gap: 14px;
    font-size: 14px;
  }

  .about-the-club-page .content {
    font-size: 17px;
    line-height: 32px;
  }

  .about-the-club-page .content strong {
    font-size: 16.75px;
  }

  .about-the-club-page .facts {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 36px 24px;
  }

  .about-the-club-page .facts dt {
    font-size: 13px;
  }

  .about-the-club-page .facts dd {
    font-size: 17px;
  }
}
