:root {
  color-scheme: dark;
  font-family: "Segoe UI", Arial, sans-serif;
  --background: #111923;
  --header: #182331;
  --surface: #1c2735;
  --line: #39485b;
  --text: #f1f4fa;
  --muted: #b8c7db;
  --accent: #bdebe1;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
}

a {
  color: var(--accent);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.page-width {
  width: min(100% - 2rem, 64rem);
  margin-inline: auto;
}

.site-header {
  background: var(--header);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  padding-block: .375rem;
  color: var(--text);
  font-size: clamp(1.25rem, 5vw, 1.625rem);
  font-weight: 800;
  letter-spacing: -.045em;
  text-decoration: none;
}

.site-brand img {
  border-radius: .56rem;
}

.header-inner nav a {
  display: inline-grid;
  min-height: 2.75rem;
  place-items: center;
  padding: .5rem .75rem;
  background: #273648;
  color: var(--text);
  border: 1px solid #40576d;
  border-radius: .5rem;
  font-size: .875rem;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}

.header-inner nav a:hover {
  background: #30475a;
}

.skip-link {
  position: absolute;
  transform: translateY(-200%);
  padding: .75rem 1rem;
  background: var(--header);
}

.skip-link:focus {
  inset: .75rem auto auto .75rem;
  z-index: 1;
  transform: none;
}

main {
  padding-block: clamp(1.5rem, 5vw, 3.75rem) 2rem;
}

.contact-hero {
  display: flex;
  align-items: center;
  min-height: 17rem;
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid #465d6e;
  border-radius: .8rem;
  background: linear-gradient(90deg, #132331 12%, #132331e8 38%, #13233119 100%),
    #1c2735 url("/assets/clubhouse-cafe.png") center 55% / cover no-repeat;
}

.contact-hero h1 {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -.055em;
}

.contact-hero p {
  max-width: 21rem;
  margin: .75rem 0 0;
  color: #e4eefb;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.channel-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  height: 100%;
  min-height: 5.75rem;
  padding: .875rem 1.125rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: .65rem;
  color: var(--text);
  text-decoration: none;
}

.channel:hover {
  background: #233446;
  border-color: #75aaa7;
}

.channel strong, .channel small {
  display: block;
}

.channel strong {
  font-size: 1.0625rem;
}

.channel small {
  margin-top: .25rem;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.channel-arrow {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 1.2rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1rem;
  padding: .75rem 0 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-underline-offset: .15em;
}

@media (max-width: 40rem) {
  .contact-hero {
    align-items: end;
    min-height: 14rem;
    background-image: linear-gradient(0deg, #132331 10%, #132331e8 43%, #13233133 100%),
      url("/assets/clubhouse-cafe.png");
  }

  .channel-list {
    grid-template-columns: 1fr;
  }

  .channel {
    min-height: 4.75rem;
  }
}
