.masthead {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 83px;
  padding: 18px 3.4vw;
  color: var(--paper);
  font-size: var(--text-label);
  font-weight: 600;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .65);
}

.masthead a {
  transition: color .2s ease;
}

.masthead a:hover {
  color: var(--copper);
}

.masthead__nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 32px);
  justify-self: start;
}

.masthead__brand {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 12px;
  white-space: nowrap;
  font-size: var(--text-label);
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.masthead__contact {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
}

.masthead__contact span {
  font-size: 17px;
  font-weight: 400;
}

.masthead-hero {
  position: relative;
  height: 100svh;
  min-height: 750px;
  max-height: 1120px;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.masthead-hero__image,
.masthead-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.masthead-hero__image {
  object-fit: cover;
  object-position: center 39%;
  filter: sepia(.28) saturate(.85);
}

.masthead-hero__shade {
  background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 88%, transparent) 0%, color-mix(in srgb, var(--ink) 48%, transparent) 27%, color-mix(in srgb, var(--ink) 30%, transparent) 53%, color-mix(in srgb, var(--ink) 94%, transparent) 100%), linear-gradient(90deg, color-mix(in srgb, var(--ink) 32%, transparent), transparent 64%);
  pointer-events: none;
}

.masthead-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 132px 3.4vw 22px;
}

.masthead-hero__kicker {
  margin: 0;
  color: var(--paper);
  font-size: var(--text-caption);
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.masthead-hero__statement {
  margin-top: clamp(55px, 9vh, 115px);
}

.masthead-hero h1,
.masthead-hero__captions {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}

.masthead-hero h1 {
  margin: 0;
  font-size: clamp(50px, 5.95vw, 112px);
  font-weight: var(--weight-display);
  letter-spacing: var(--tracking-display);
  line-height: 1.05;
  text-shadow: 0 2px 32px rgba(0, 0, 0, .26);
}

.masthead-hero__captions {
  margin-top: 15px;
}

.masthead-hero__captions p {
  width: clamp(190px, 22vw, 340px);
  margin: 0;
  color: var(--paper);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: 1.6;
}

.masthead-hero__captions p:last-child {
  justify-self: end;
}

.masthead-hero__mobile-summary {
  display: none;
}

.masthead-hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-top: auto;
  padding-bottom: 18px;
}

.trial-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: clamp(280px, 25vw, 370px);
  min-height: 185px;
  padding: 18px 17px 15px;
  border: 1px solid rgba(235, 207, 185, .32);
  border-radius: 7px;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  box-shadow: 0 12px 38px rgba(0, 0, 0, .17);
  backdrop-filter: blur(12px);
  transition: background .25s ease, transform .25s ease;
}

.trial-panel:hover {
  transform: translateY(-4px);
  background: rgba(42, 35, 33, .82);
}

.trial-panel__top,
.trial-panel__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.trial-panel__top {
  font-size: var(--text-card-title);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.trial-panel__dots {
  display: block;
  width: 47px;
  height: 40px;
  flex: none;
  background-image: radial-gradient(var(--copper) 1.15px, transparent 1.15px);
  background-size: 8px 8px;
}

.trial-panel__meta {
  align-items: flex-end;
  color: var(--paper);
  font-size: var(--text-label);
  font-weight: 500;
}

.trial-panel__meta span {
  color: var(--copper);
  font-size: 17px;
}

.masthead-hero__invitation {
  text-align: right;
}

.masthead-hero__invitation p {
  margin: 0 0 29px;
  color: var(--paper);
  font-size: var(--text-body);
  line-height: 1.6;
}

.masthead-hero__invitation a {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--copper);
  font-size: clamp(17px, 1.6vw, 24px);
  font-weight: 550;
  letter-spacing: -.04em;
  text-transform: uppercase;
  transition: gap .25s ease;
}

.masthead-hero__invitation a:hover {
  gap: 27px;
}

.masthead-hero__invitation a span {
  font-size: 24px;
  font-weight: 400;
}

.masthead-hero__disclosure {
  margin: 0;
  color: var(--paper-deep);
  font-size: var(--text-caption);
  line-height: 1.6;
  text-align: right;
}

.academy-strip {
  position: relative;
  z-index: 2;
  overflow: hidden;
  min-height: 46px;
  border-top: 1px solid rgba(235, 207, 185, .3);
  border-bottom: 1px solid rgba(235, 207, 185, .2);
  color: var(--paper);
  background: var(--ink);
}

.academy-strip__track {
  display: flex;
  align-items: center;
  width: max-content;
  min-height: 45px;
}

.academy-strip__track span {
  flex: none;
  padding: 0 clamp(17px, 2.2vw, 34px);
  border-right: 1px solid rgba(235, 207, 185, .3);
  font-size: var(--text-caption);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 1200px) {
  .masthead {
    grid-template-columns: 1fr auto;
  }

  .masthead__nav {
    display: none;
  }

  .masthead__brand {
    justify-self: start;
  }
}

@media (max-width: 900px) {
  .masthead {
    padding-right: 25px;
    padding-left: 25px;
  }

  .masthead-hero__content {
    padding-right: 25px;
    padding-left: 25px;
  }

  .masthead-hero h1 {
    font-size: clamp(43px, 5.8vw, 59px);
  }
}

@media (max-width: 760px) {
  .masthead {
    grid-template-columns: 1fr auto;
    min-height: 74px;
    gap: 12px;
    padding: 16px 20px;
  }

  .masthead__nav {
    display: none;
  }

  .masthead__brand {
    justify-self: start;
    gap: 9px;
    white-space: normal;
    font-size: var(--text-caption);
    letter-spacing: .04em;
    line-height: 1.4;
  }

  .masthead__brand img {
    width: 48px;
  }

  .masthead__contact {
    gap: 5px;
    font-size: var(--text-caption);
  }

  .masthead-hero {
    height: auto;
    min-height: 810px;
    max-height: none;
  }

  .masthead-hero__image {
    object-position: 62% center;
  }

  .masthead-hero__shade {
    background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 90%, transparent) 0%, color-mix(in srgb, var(--ink) 66%, transparent) 45%, color-mix(in srgb, var(--ink) 96%, transparent) 100%);
  }

  .masthead-hero__content {
    min-height: 1050px;
    padding: 128px 24px 24px;
  }

  .masthead-hero__statement {
    margin-top: 54px;
    margin-bottom: 40px;
  }

  .masthead-hero h1 {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: clamp(47px, 11.2vw, 80px);
  }

  .masthead-hero__captions {
    display: none;
  }

  .masthead-hero__mobile-summary {
    display: block;
    max-width: 300px;
    margin: 23px 0 0;
    color: var(--paper);
    font-size: var(--text-body);
    line-height: 1.6;
  }

  .masthead-hero__bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding-bottom: 19px;
  }

  .trial-panel {
    width: min(100%, 340px);
    min-height: 170px;
  }

  .masthead-hero__invitation {
    align-self: flex-end;
  }

  .masthead-hero__invitation p {
    margin-bottom: 15px;
  }

  .masthead-hero__disclosure {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .masthead-hero,
  .masthead-hero__content {
    min-height: 1060px;
  }

  .masthead-hero__statement {
    margin-top: 40px;
  }

  .masthead-hero h1 {
    font-size: clamp(43px, 11vw, 52px);
  }

  .masthead-hero__invitation a {
    font-size: var(--text-body);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .masthead-hero__image {
    animation: hero-image-arrive 1.8s cubic-bezier(.22, 1, .36, 1) both;
  }

  .masthead-hero__kicker,
  .masthead-hero h1 span,
  .masthead-hero__captions,
  .masthead-hero__mobile-summary,
  .masthead-hero__bottom {
    animation: hero-content-arrive .95s cubic-bezier(.22, 1, .36, 1) both;
  }

  .masthead-hero h1 span:first-child { animation-delay: 100ms; }
  .masthead-hero h1 span:nth-child(2) { animation-delay: 180ms; }
  .masthead-hero h1 span:nth-child(3) { animation-delay: 260ms; }
  .masthead-hero__captions,
  .masthead-hero__mobile-summary { animation-delay: 380ms; }
  .masthead-hero__bottom { animation-delay: 540ms; }

  .academy-strip__track {
    animation: strip-drift 34s linear infinite;
  }
}

@keyframes hero-content-arrive {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-image-arrive {
  from { opacity: .55; transform: scale(1.055); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes strip-drift {
  to { transform: translateX(-50%); }
}
