:root {
  --page: #151515;
  --ink: #fff;
  --ink-soft: rgb(255 255 255 / 0.8);
  --line: rgb(255 255 255 / 0.5);
  --fill: #821c0b;

  --gutter: 14px;
  --radius: 8px;

  --font-nav: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --tight: -0.04em;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 16px/24px var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1.75fr auto 1fr auto;
  min-height: calc(100vh - 2 * var(--gutter));
  min-height: calc(100svh - 2 * var(--gutter));
  margin: var(--gutter);
  padding: 30px 36px 28px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--fill);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: inherit;
  pointer-events: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.hero__fluid {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero__fluid.is-ready {
  opacity: 1;
}

.hero__nav {
  grid-row: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font: 500 16px/20px var(--font-nav);
  color: var(--ink-soft);
}

.hero__brand,
.hero__menu {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hero__brand {
  justify-self: start;
}

.hero__mark {
  display: block;
  height: 28px;
  width: auto;
  aspect-ratio: 56.553 / 49;
}

.hero__menu {
  justify-self: end;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

@media (hover: hover) {

  .hero__brand:hover,
  .hero__menu:hover {
    color: var(--ink);
  }
}

.hero__brand:focus-visible,
.hero__menu:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
  border-radius: 2px;
}

.hero__body {
  grid-row: 3;
  justify-self: center;
  width: 83.6%;
}

.hero__title {
  margin: 0;
  color: var(--ink);
  line-height: 0;
}

.hero__title svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.hero__intro {
  max-width: 390px;
  margin: 16px 0 0;
  color: var(--ink-soft);
  letter-spacing: var(--tight);
}

.hero__cta {
  --roll: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  margin-top: 24px;
  padding: 8px 8px 8px 18px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--ink);
  color: #000;
  mix-blend-mode: screen;
  font: 500 18px/22px var(--font-body);
  letter-spacing: var(--tight);
  white-space: nowrap;
  text-decoration: none;
}

.hero__cta-label {
  display: grid;
  align-self: stretch;
  margin-block: -8px;
}

.hero__cta-text {
  display: flex;
  align-items: center;
  grid-area: 1 / 1;
  transition: transform var(--roll);
}

.hero__cta-text+.hero__cta-text {
  transform: translateY(100%);
}

.hero__cta-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: rgb(0 0 0 / 0.12);
  transition: transform var(--roll);
}

.hero__cta-arrow svg {
  grid-area: 1 / 1;
  width: 14px;
  height: 14px;
  transition: transform var(--roll);
}

.hero__cta-arrow svg+svg {
  transform: translate(-300%, 300%);
}

@media (hover: hover) {
  .hero__cta:hover .hero__cta-text {
    transform: translateY(-100%);
  }

  .hero__cta:hover .hero__cta-text+.hero__cta-text,
  .hero__cta:hover .hero__cta-arrow svg+svg {
    transform: none;
  }

  .hero__cta:hover .hero__cta-arrow {
    transform: scale(0.8);
  }

  .hero__cta:hover .hero__cta-arrow svg {
    transform: translate(300%, -300%);
  }
}

.hero__cta:focus-visible .hero__cta-text {
  transform: translateY(-100%);
}

.hero__cta:focus-visible .hero__cta-text+.hero__cta-text,
.hero__cta:focus-visible .hero__cta-arrow svg+svg {
  transform: none;
}

.hero__cta:focus-visible .hero__cta-arrow {
  transform: scale(0.8);
}

.hero__cta:focus-visible .hero__cta-arrow svg {
  transform: translate(300%, -300%);
}

.hero__cta:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

  .hero__cta-text,
  .hero__cta-arrow,
  .hero__cta-arrow svg {
    transition: none;
  }
}

.hero__foot {
  grid-row: 5;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

.hero__tagline,
.hero__summary {
  margin: 0;
  color: var(--ink-soft);
}

.hero__tagline {
  letter-spacing: var(--tight);
}

.hero__summary {
  max-width: 312px;
  text-align: right;
  text-wrap: pretty;
}

@media (max-width: 767px) {
  .hero {
    grid-template-rows: auto 0.73fr auto 1fr auto;
    padding: 13px 20px 10px;
  }

  .hero__nav {
    color: var(--ink);
  }

  .hero__mark {
    height: 20px;
  }

  .hero__body {
    width: 91.9%;
  }

  .hero__intro {
    max-width: 235px;
    line-height: 21px;
  }

  .hero__cta {
    margin-top: 16px;
  }

  .hero__tagline {
    display: none;
  }

  .hero__foot {
    justify-content: flex-end;
  }

  .hero__summary {
    max-width: 247px;
    letter-spacing: var(--tight);
  }
}

@media (max-width: 359px) {
  .hero__cta {
    font-size: 16px;
  }
}