@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-400-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/outfit-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/outfit-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/outfit-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/outfit-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --cream: #ece6db;
  --mute: rgba(236, 230, 219, 0.64);
  --faint: rgba(236, 230, 219, 0.28);
  --navy: #31377a;
  --ink: #08090d;
  --heaton: #14100d;
  --rochdale: #0b0e16;
}

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

html {
  background: var(--ink);
}

html,
body {
  min-height: 100%;
}

body {
  display: grid;
  grid-template: "stage" 1fr / 1fr;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  margin: 0;
  color: var(--cream);
  font-family: "Outfit", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0.14;
  background-image: url("../images/grain.jpg");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

.gates {
  position: relative;
  display: grid;
  grid-area: stage;
  grid-template-columns: 1fr 1fr;
  min-height: 100%;
  animation: rise 1.2s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.gates::after {
  content: "";
  position: absolute;
  top: 18%;
  bottom: 14%;
  left: 50%;
  z-index: 2;
  width: 1px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(236, 230, 219, 0.2) 22%,
    rgba(236, 230, 219, 0.2) 78%,
    transparent
  );
}

.brand,
.foot {
  position: relative;
  z-index: 5;
  grid-area: stage;
}

.brand {
  align-self: start;
  padding: max(1.35rem, env(safe-area-inset-top)) 1.5rem 0;
  text-align: center;
  background: linear-gradient(180deg, rgba(8, 9, 13, 0.42) 0%, transparent 100%);
  animation: rise 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.meta {
  display: flex;
  justify-content: center;
  gap: 1.35rem;
  margin: 0 0 0.85rem;
  color: var(--mute);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.logo {
  display: block;
  width: min(12.25rem, 52vw);
  height: auto;
  margin: 0 auto 2rem;
  aspect-ratio: 1117 / 389;
  object-fit: contain;
}

h1 {
  margin: 0;
  font-family: "Instrument Serif", "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

h1::after {
  content: "";
  display: block;
  width: 1px;
  height: 1.45rem;
  margin: 1.05rem auto 0;
  background: rgba(236, 230, 219, 0.22);
}

.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 5.5rem 1.75rem;
  overflow: hidden;
  text-align: center;
}

.panel::before,
.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.panel::after {
  background: rgba(8, 9, 13, 0.28);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.heaton {
  background: var(--heaton);
}

.heaton::before {
  background:
    radial-gradient(ellipse 80% 60% at 50% 58%, rgba(122, 78, 42, 0.3), transparent 70%),
    radial-gradient(circle at 50% 48%, rgba(236, 230, 219, 0.06), transparent 42%),
    radial-gradient(ellipse 50% 30% at 18% 88%, rgba(49, 32, 20, 0.55), transparent 70%);
}

.rochdale {
  background: var(--rochdale);
}

.rochdale::before {
  background:
    radial-gradient(ellipse 80% 60% at 50% 58%, rgba(49, 55, 122, 0.46), transparent 70%),
    radial-gradient(circle at 50% 48%, rgba(236, 230, 219, 0.055), transparent 42%),
    radial-gradient(ellipse 50% 30% at 82% 88%, rgba(12, 16, 36, 0.7), transparent 70%);
}

.gates:hover .panel::after {
  opacity: 1;
}

.gates:hover .panel:hover::after {
  opacity: 0;
}

.panel-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 22rem;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.gates:hover .panel .panel-inner {
  opacity: 0.74;
}

.gates:hover .panel:hover .panel-inner {
  opacity: 1;
  transform: translateY(-0.2rem);
}

.pill {
  display: inline-flex;
  margin: 0 0 1.05rem;
  padding: 0.4em 0.9em;
  border: 1px solid var(--faint);
  border-radius: 999px;
  color: var(--mute);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 1rem;
  font-family: "Instrument Serif", "Times New Roman", serif;
  font-size: clamp(2.35rem, 4.8vw, 3.55rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

address {
  margin: 0 0 1.75rem;
  color: var(--mute);
  font-size: 0.9rem;
  font-style: normal;
  letter-spacing: 0.035em;
  line-height: 1.75;
}

address a {
  color: inherit;
  text-decoration: none;
}

address a:hover,
address a:focus-visible {
  color: var(--cream);
}

.enter {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 14.5rem;
  margin: 0;
  padding: 0.95em 1.4em;
  border: 1px solid rgba(236, 230, 219, 0.4);
  background: transparent;
  color: var(--cream);
  font-family: inherit;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

.enter-hold {
  display: none;
}

.enter:hover,
.enter:focus-visible {
  border-color: var(--cream);
  background: rgba(236, 230, 219, 0.08);
}

.enter.is-soon {
  border-color: rgba(49, 55, 122, 0.85);
  color: var(--mute);
}

.enter.is-soon .enter-go {
  display: none;
}

.enter.is-soon .enter-hold {
  display: inline;
}

.foot {
  align-self: end;
  padding: 0 1.25rem max(1.05rem, env(safe-area-inset-bottom));
  text-align: center;
  background: linear-gradient(0deg, rgba(8, 9, 13, 0.45) 0%, transparent 100%);
}

.foot a {
  color: var(--mute);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-decoration: none;
  text-transform: uppercase;
}

.foot a:hover,
.foot a:focus-visible {
  color: var(--cream);
}

a:focus-visible,
button:focus-visible {
  outline: 1px solid var(--cream);
  outline-offset: 4px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 720px) {
  html,
  body {
    height: 100%;
  }

  body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    overflow: hidden;
  }

  .brand,
  .gates,
  .foot {
    grid-area: auto;
  }

  .brand {
    position: relative;
    align-self: stretch;
    flex: 0 0 auto;
    width: 100%;
    padding: max(0.85rem, env(safe-area-inset-top)) 1.25rem 0.7rem;
    background: #100e0c;
    text-align: center;
  }

  .meta {
    margin-bottom: 0.55rem;
  }

  .logo {
    width: min(12.25rem, 58vw);
    margin: 0 auto 1.2rem;
  }

  h1 {
    font-size: clamp(1.2rem, 5.5vw, 1.45rem);
    letter-spacing: 0.01em;
    line-height: 1.35;
  }

  h1::after {
    height: 0.85rem;
    margin-top: 0.7rem;
  }

  .gates {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
  }

  .gates::after {
    display: none;
  }

  .panel {
    flex: 1 1 0;
    justify-content: center;
    min-height: 0;
    padding: 1.1rem 1.25rem;
  }

  .pill {
    margin-bottom: 0.7rem;
  }

  h2 {
    margin-bottom: 0.65rem;
    font-size: clamp(1.85rem, 9vw, 2.35rem);
  }

  address {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .enter {
    display: none;
  }

  .gates:hover .panel::after,
  .gates:hover .panel:hover::after {
    opacity: 0;
  }

  .gates:hover .panel .panel-inner,
  .gates:hover .panel:hover .panel-inner {
    opacity: 1;
    transform: none;
  }

  .foot {
    flex: 0 0 auto;
    margin-top: 0;
    padding: 0.55rem 1.25rem max(0.8rem, env(safe-area-inset-bottom));
    background: var(--ink);
  }
}

@media (max-width: 720px) and (max-height: 700px) {
  .logo {
    width: min(11rem, 54vw);
    margin: 0 auto 0.95rem;
  }

  h1::after {
    display: none;
  }

  h2 {
    font-size: 1.75rem;
  }

  .panel {
    padding: 0.75rem 1.2rem;
  }
}

@media (max-width: 720px) and (orientation: landscape) {
  body {
    height: auto;
    min-height: 100dvh;
    overflow: auto;
  }

  .panel {
    flex: 1 1 auto;
    min-height: 14rem;
  }
}

@media (max-height: 740px) and (min-width: 721px) {
  .logo {
    width: 9.5rem;
    margin-bottom: 1.35rem;
  }

  h1 {
    font-size: 1.4rem;
  }

  h1::after {
    display: none;
  }

  .panel {
    padding: 4.5rem 1.75rem;
  }

  h2 {
    font-size: 2.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand,
  .gates,
  .panel,
  .panel-inner,
  .enter {
    animation: none;
    transition: none;
  }
}
