:root {
  color-scheme: light dark;
  --page: #f2e2b3;
  --ink: #092b39;
  --muted: #4b5a5e;
  --accent: #9e1e31;
  --button: #092b39;
  --button-text: #fff3d0;
  --focus: #9e1e31;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #092733;
    --ink: #f7e8bd;
    --muted: #d0d5c8;
    --accent: #ff9099;
    --button: #f7e8bd;
    --button-text: #092733;
    --focus: #ff9099;
  }
}

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

html {
  min-height: 100%;
  background: var(--page);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 2;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--button);
  color: var(--button-text);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page {
  display: grid;
  grid-template-columns: minmax(32rem, 0.95fr) minmax(26rem, 1.05fr);
  min-height: 100vh;
  min-height: 100dvh;
}

.intro {
  display: flex;
  min-width: 0;
  padding: clamp(1.5rem, 4vh, 3rem) clamp(1.5rem, 5vw, 5.5rem);
}

.intro__inner {
  display: flex;
  width: min(100%, 42rem);
  min-height: 100%;
  flex-direction: column;
}

.brand__logo {
  display: block;
  width: clamp(8rem, 11vw, 9rem);
  height: auto;
}

.message {
  margin-block: clamp(2rem, 5vh, 3.75rem);
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-transform: uppercase;
}

h1 {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(3.4rem, 6vw, 6.6rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.94;
  text-wrap: balance;
}

.lead {
  max-width: 36rem;
  margin: clamp(1.25rem, 2.5vh, 2rem) 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.65;
}

.location {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.88rem;
  font-style: normal;
  line-height: 1.6;
}

.visual {
  position: relative;
  min-width: 0;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  overflow: hidden;
  background: #183840;
}

.visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 43, 57, 0.2), transparent 24%);
  content: "";
  pointer-events: none;
}

.visual__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 51% center;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

@media (max-width: 53.75rem) {
  .page {
    grid-template-columns: 1fr;
  }
  
  .eyebrow {
    font-size: 1rem;
    }


  .intro {
    min-height: 0;
    padding: clamp(1.25rem, 6vw, 3rem);
  }

  .intro__inner {
    width: 100%;
    min-height: 0;
  }

  .brand__logo {
    width: clamp(7rem, 24vw, 9rem);
  }

  h1 {
    font-size: clamp(3.15rem, 13vw, 5rem);
  }

  .visual {
    height: 72vh;
  }

  .visual__image {
    height: 100%;
  }

  .location {
    margin-top: clamp(3rem, 10vw, 4.5rem);
  }
}

@media (max-width: 35rem) {
  .message {
    margin-block: 2.25rem;
  }

}

@media (min-width: 53.8125rem) and (max-height: 43rem) {
  .intro {
    padding-block: 1.5rem;
  }

  .brand__logo {
    width: 7rem;
  }

  .message {
    margin-block: 1.5rem;
  }

  h1 {
    font-size: clamp(3rem, 8vh, 4.5rem);
  }

  .lead {
    margin-top: 1rem;
  }

  .location {
    margin-top: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .visual::after {
    display: none;
  }
}
