.page {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

.bar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--bar-height);
  padding: 0 var(--space-4);
  background: var(--surface-bar);
  color: var(--text-on-inverse);
  font-size: 10px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  white-space: nowrap;
}

.bar__label {
  padding-left: var(--ls-eyebrow);
}

.bar__label--club {
  display: none;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.intro {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-5) var(--space-4);
  text-align: center;
}

.intro__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  padding: var(--space-6) 20px;
}

.intro__mark {
  margin: 0;
  line-height: 0;
}

.intro__mark img {
  display: block;
  width: 248px;
  max-width: 100%;
  height: auto;
}

.intro__rule {
  width: 40px;
  height: 1px;
  margin: var(--space-6) 0 28px;
  background: var(--text-body);
}

.intro__overline {
  margin: 0 0 var(--space-3);
  padding-left: var(--ls-eyebrow);
  color: var(--text-accent);
  font-size: 13px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  text-wrap: balance;
}

.intro__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--fs-display);
  font-style: italic;
  font-weight: var(--fw-regular);
  line-height: 1;
  letter-spacing: var(--ls-tight);
  white-space: nowrap;
}

.intro__body {
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: 15px;
}

.photo {
  order: -1;
  position: relative;
  flex: none;
  height: min(300px, 55svh);
  margin: 0;
  overflow: hidden;
  background: var(--dc-black);
}

.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 50%;
}

.footer {
  flex: none;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: var(--space-2);
  padding: 0 var(--space-4) 28px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
}

.footer a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

@media (min-width: 600px) {
  .bar {
    justify-content: space-between;
    padding: 0 var(--space-5);
    font-size: var(--fs-eyebrow);
  }

  .bar__label {
    padding-left: 0;
  }

  .bar__label--club {
    display: inline;
  }

  .intro {
    padding: 40px var(--space-6);
  }

  .intro__block {
    padding: 56px 40px;
  }

  .intro__mark img {
    width: 360px;
  }

  .intro__rule {
    width: 48px;
    margin: var(--space-7) 0 36px;
  }

  .intro__overline {
    margin-bottom: var(--space-4);
    font-size: var(--fs-body);
  }

  .intro__title {
    font-size: var(--fs-display-xl);
  }

  .intro__body {
    max-width: 420px;
    margin-top: 28px;
    font-size: var(--fs-body);
  }

  .photo {
    height: min(max(300px, 50vw), 40svh);
  }

  .photo img {
    object-position: 45% 50%;
  }

  .footer {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-5);
    font-size: var(--fs-eyebrow);
  }
}

@media (min-width: 1000px) {
  .page {
    position: relative;
  }

  .main {
    flex-direction: row;
  }

  /* The 50% basis excludes padding, so the panels split unevenly, as in the design:
     the left panel is half the width plus half its horizontal padding. */
  .intro {
    flex: 1 1 50%;
    min-width: 0;
    padding-bottom: 88px;
  }

  .photo {
    order: 0;
    flex: 1 1 50%;
    min-width: 0;
    height: auto;
  }

  .footer {
    position: absolute;
    bottom: 28px;
    left: 0;
    width: calc(50% + var(--space-6));
    padding: 0;
  }

  /* Keeps the 24px tap target without adding to the footer's height. */
  .footer a {
    margin-block: -3.5px;
  }
}

@media (min-width: 1280px) and (min-height: 760px) {
  .bar {
    padding: 0 28px;
  }

  .intro {
    padding: var(--space-7) var(--space-7) var(--space-9);
  }

  .intro__block {
    padding: var(--space-8) 56px;
  }

  .intro__mark img {
    width: 440px;
  }

  .intro__rule {
    margin: 56px 0 40px;
  }

  .intro__overline {
    margin-bottom: 18px;
  }

  .intro__title {
    font-size: 112px;
  }

  .intro__body {
    max-width: 480px;
    margin-top: var(--space-6);
    font-size: 17px;
  }

  .footer {
    bottom: var(--space-6);
    width: calc(50% + var(--space-7));
    gap: var(--space-6);
  }
}
