@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("assets/instrument-sans-400-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --night: #020918;
  --dark-blue: #071227;
  --white: #f8f8f9;
  --muted: #ccd5e3;
  --line: #344055;
  --pink: #ff0084;
  --light-pink: #ff79b9;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Instrument Sans", Arial, sans-serif;
  --gutter: clamp(1.15rem, 3.35vw, 4rem);
}

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

html {
  scroll-padding-top: 1rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--night);
  color: var(--white);
  font: 1rem/1.55 var(--body);
}

[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--light-pink);
  outline-offset: 5px;
}

h1, h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: .92;
}

h2 {
  font-size: clamp(2.55rem, 4.65vw, 4.7rem);
  font-weight: 700;
  line-height: .98;
}

p {
  margin: 0;
}

.frame {
  width: min(100% - var(--gutter) * 2, 98rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 2;
  top: .75rem;
  left: .75rem;
  padding: .65rem .9rem;
  background: var(--night);
  transform: translateY(calc(-100% - 1rem));
}

.skip-link:focus {
  transform: none;
}

.site-header {
  border-bottom: 1px solid #8b94a4a6;
}

.header-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
  min-height: clamp(4.1rem, 6.3vw, 6.1rem);
  padding-block: .35rem;
}

.brand {
  display: inline-flex;
  width: clamp(11.2rem, 25.5vw, 25.55rem);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 clamp(.9rem, 3.3vw, 3.5rem);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: clamp(.94rem, 1.7vw, 1.62rem);
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: .22em;
}

.site-nav a:hover, .hero-email:hover {
  text-decoration: underline;
  text-decoration-color: var(--light-pink);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(35rem, 48.4vw, 49rem);
  overflow: hidden;
  background: radial-gradient(ellipse at 91% 26%, #123b65 0, #091c38 36%, var(--night) 78%);
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #020918 0%, #020918ec 13%, #020918bc 25%, #0209184d 37%, transparent 49%);
  content: "";
  pointer-events: none;
}

.hero-content {
  padding-block: clamp(2.7rem, 4.5vw, 4.6rem);
}

.hero h1 {
  width: fit-content;
  font-size: clamp(4rem, 7.5vw, 8.05rem);
}

.hero h1 span {
  display: block;
}

.hero p {
  max-width: 26ch;
  margin: clamp(.9rem, 2vw, 1.55rem) 0 clamp(1.2rem, 2.2vw, 1.85rem);
  color: #fff4e3;
  font-size: clamp(1.16rem, 2vw, 1.95rem);
  font-weight: 600;
  line-height: 1.28;
}

.hero-photo {
  position: absolute;
  z-index: -2;
  right: 0;
  bottom: 0;
  width: 85%;
  mask-image: linear-gradient(transparent, #000 20%), linear-gradient(90deg, transparent, #000 24%);
  mask-composite: intersect;
}

.hero-photo img {
  width: 100%;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 2.75rem;
  max-width: 100%;
  gap: .3em;
  flex-wrap: wrap;
  padding: .7em 1.12em;
  border: 1px solid transparent;
  border-radius: .45rem;
  font: 700 1rem/1.2 var(--body);
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.button-primary {
  background: var(--pink);
  color: var(--night);
}

.button-primary:hover {
  background: var(--light-pink);
}

.hero .button {
  font-size: clamp(1.15rem, 2.1vw, 2.02rem);
}

.hero-email {
  display: table;
  margin-top: .45rem;
  padding-block: .32rem;
  font-size: clamp(1rem, 1.6vw, 1.5rem);
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: .2em;
}

.section {
  padding-block: clamp(2.25rem, 5.6vw, 5rem);
}

.section p {
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.45vw, 1.23rem);
}

.events {
  border-top: 1px solid var(--line);
  background: var(--night);
}

.events-layout, .booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.1rem, 4vw, 5rem);
}

.events-layout h2 {
  max-width: 19ch;
}

.station {
  border-block: 1px solid var(--line);
  background: radial-gradient(ellipse at 80% 75%, #112445, var(--dark-blue) 74%);
}

.station-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(1.25rem, 6vw, 6.5rem);
}

.station-copy p, .booking-layout p {
  margin-top: .95rem;
}

.station-logo {
  width: min(100%, 12rem);
  justify-self: center;
}

.booking-layout {
  padding: clamp(1.15rem, 3.4vw, 3rem);
  border: 1px solid var(--line);
  border-top: 3px solid var(--pink);
  background: var(--dark-blue);
}

.booking-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
}

.button-secondary {
  background: transparent;
  border-color: #6d7890;
  color: var(--white);
}

.button-secondary:hover {
  background: #1a2a45;
}

.booking-layout .booking-status {
  min-height: 1.5em;
  margin-top: 0;
  font-size: .92rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 1.25rem;
}

.site-footer .brand {
  width: 11.3rem;
}

.not-found {
  min-height: 64vh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1.4rem;
  padding-block: 2.5rem;
}

.not-found h1 {
  font-size: clamp(3.6rem, 8vw, 7rem);
}

@media (max-width: 54rem) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: linear-gradient(var(--night) 25%, #0b1c36 100%);
  }

  .hero::after {
    display: none;
  }

  .hero-content {
    padding-block: clamp(1.65rem, 5vw, 3.3rem) 0;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 10.8vw, 6.65rem);
  }

  .hero-photo {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 0;
    width: 100%;
    margin-top: .1rem;
    mask-image: linear-gradient(transparent, #000 14%);
    mask-composite: add;
  }

  .events-layout, .station-layout, .booking-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .events-layout h2 {
    max-width: none;
  }

  .station-logo {
    display: none;
  }
}

@media (max-width: 30rem) {
  .brand {
    width: clamp(8.2rem, 43vw, 11.2rem);
  }

  .site-nav {
    gap: 0 .7rem;
  }

  .site-nav a {
    font-size: .92rem;
  }

  .booking-actions .button {
    width: 100%;
  }
}

@media (max-width: 22rem) {
  .header-layout {
    column-gap: .6rem;
  }

  .site-nav {
    column-gap: .55rem;
  }

  .site-nav a {
    font-size: .86rem;
  }
}
