:root {
  --black: #191919;
  --vanilla: #f8f4ee;
  --white: #f8f4ee;
  --section-space: clamp(80px, 10vw, 128px);
  --arrow-strip-height: 96px;
  --arrow-fade-overlap: 56px;
  --hero-title-width: min(80.5vw, 716px);
  --hero-heading-gap: min(3.8vw, 34px);
  --hero-subtext-gap: min(5.4vw, 48px);
  --hero-label-font-size: min(3.36vw, 30px);
  --hero-status-font-size: min(2.7vw, 24px);
  --hero-status-width: min(65vw, 520px);
  --hero-design-height: min(86.55vw, 772px);
  --hero-background-image: url("./assets/hero-1920.webp");
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  color: var(--white);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Funnel Sans", Arial, sans-serif;
  font-weight: 300;
  background: var(--black);
}

strong,
b {
  font-weight: 600;
}

@media (max-width: 1280px) {
  html,
  body,
  .site {
    background-color: var(--black);
    background-image: var(--hero-background-image);
    background-position: left top;
    background-size: 210% auto;
    background-repeat: no-repeat;
  }

  .site {
    background-attachment: scroll;
  }

  .hero {
    margin-top: calc(env(safe-area-inset-top, 0px) * -1);
    padding-top: env(safe-area-inset-top, 0px);
  }
}

img {
  display: block;
}

.site {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--black);
}

.hero {
  position: relative;
  width: 100%;
  height: auto;
  min-height: calc(100vh - var(--arrow-strip-height));
  min-height: calc(100svh - var(--arrow-strip-height));
  overflow: hidden;
  background: var(--black);
}

.hero::before {
  content: "";
  display: none;
}

.hero::after {
  content: "";
  display: block;
  min-height: max(
    calc(100vh - var(--arrow-strip-height)),
    calc(100svh - var(--arrow-strip-height)),
    var(--hero-design-height)
  );
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--black) 0%,
    rgba(25, 25, 25, 0.9) 8%,
    rgba(25, 25, 25, 0) 43%
  );
}

.hero__content {
  position: absolute;
  top: min(20.2vw, 180px);
  left: min(8.4vw, 75px);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: var(--hero-title-width);
  color: var(--black);
  text-align: center;
  gap: var(--hero-heading-gap);
}

.hero__title {
  position: static;
  width: 100%;
  height: auto;
}

.hero__label {
  position: static;
  width: 100%;
  margin: 0;
  font-size: var(--hero-label-font-size);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero__status {
  position: static;
  width: var(--hero-status-width);
  margin: calc(var(--hero-subtext-gap) - var(--hero-heading-gap)) 0 0;
  padding: 14px 22px 16px;
  border-radius: 16px;
  color: var(--vanilla);
  background: var(--black);
  font-weight: 300;
}

.countdown__date {
  margin: 0 0 12px;
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
}

.countdown__unit + .countdown__unit::before {
  position: absolute;
  top: 1px;
  left: 0;
  color: rgba(248, 244, 238, 0.58);
  content: ":";
  font-size: clamp(17px, 2.15vw, 25px);
  font-weight: 300;
  line-height: 1;
}

.countdown__unit strong {
  font-family: "Funnel Sans", Arial, sans-serif;
  font-size: clamp(22px, 2.75vw, 31px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: 0.08em;
}

.countdown__unit small {
  font-size: clamp(10px, 0.85vw, 12px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.countdown__complete {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.countdown [hidden] { display: none; }
.countdown__complete a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  color: inherit;
  text-underline-offset: 5px;
}
.countdown__complete a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

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

.scroll-cue {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: calc(var(--arrow-strip-height) + var(--arrow-fade-overlap));
  margin-top: calc(var(--arrow-fade-overlap) * -1);
  padding: var(--arrow-fade-overlap) 0 34px;
  background: linear-gradient(
    to bottom,
    rgba(25, 25, 25, 0) 0%,
    rgba(25, 25, 25, 0.5) 30%,
    rgba(25, 25, 25, 0.88) 62%,
    var(--black) 100%
  );
  cursor: pointer;
  outline-offset: -6px;
}

.scroll-cue img {
  width: 13.2px;
  height: 26.4px;
  animation: arrow-bounce 1.8s ease-in-out infinite;
  transform: translateY(0) rotate(90deg);
}

@keyframes arrow-bounce {
  0%,
  100% {
    transform: translateY(0) rotate(90deg);
  }

  50% {
    transform: translateY(7px) rotate(90deg);
  }
}

.info-screen {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: visible;
  background: var(--black);
}

.overview {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: 0;
  padding: var(--section-space) 120px;
  background: var(--black);
}

.overview__inner {
  width: min(100%, 849px);
  text-align: center;
}

.overview h1 {
  margin: 0 0 40px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 60px;
  font-weight: 500;
  line-height: 70px;
  letter-spacing: 0;
}

.overview__copy {
  font-size: 22px;
  font-weight: 300;
  line-height: 30px;
  letter-spacing: 0;
}

.overview__copy p {
  margin: 0 0 26px;
}

.overview__copy p:last-child {
  margin-bottom: 0;
}

.overview__copy strong,
.overview__copy em {
  font-weight: 600;
}

.source-room {
  padding: 0 48px var(--section-space);
  color: var(--vanilla);
  background: var(--black);
  scroll-margin-top: 32px;
}

.source-room__inner {
  width: min(100%, 920px);
  margin: 0 auto;
  padding-top: var(--section-space);
  border-top: 1px solid rgba(248, 244, 238, 0.25);
  text-align: center;
}

.source-room__eyebrow {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.source-room h2,
.source-room__title {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.1;
}

.source-room__intro {
  max-width: 680px;
  margin: 24px auto 40px;
  font-size: 19px;
  line-height: 1.6;
}

.source-room__notice {
  padding: 30px 32px;
  border: 1px solid rgba(248, 244, 238, 0.25);
}

.source-room__notice h2 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.source-room__notice p {
  margin: 0;
  color: #c6c3be;
  font-size: 15px;
  line-height: 1.6;
}

.source-room__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  max-width: 100%;
  padding: 18px 30px;
  border: 1px solid var(--vanilla);
  color: var(--black);
  background: var(--vanilla);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, background-color 160ms ease;
}

.source-room__button:hover {
  color: var(--vanilla);
  background: transparent;
}

.source-room__button:focus-visible,
.resources-page__back:focus-visible {
  outline: 2px solid var(--vanilla);
  outline-offset: 5px;
}

body.resources-page {
  min-height: 100svh;
  padding: 40px 24px 80px;
  color: var(--vanilla);
  background: var(--black);
}

.resources-page__nav,
.resources-page__main {
  width: min(100%, 920px);
  margin: 0 auto;
}

.resources-page__nav {
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(248, 244, 238, 0.25);
}

.resources-page__back {
  color: var(--vanilla);
  font-size: 14px;
  text-underline-offset: 5px;
}

.resources-page__main {
  padding-top: clamp(48px, 8vw, 96px);
  text-align: center;
}

.resource-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
  text-align: left;
}

.resource-category {
  padding: 32px;
  border: 1px solid rgba(248, 244, 238, 0.25);
  scroll-margin-top: 24px;
}

.resource-category h2 {
  margin: 0 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(248, 244, 238, 0.15);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.15;
}

.resource-category p,
.resources-page__note {
  margin: 0;
  color: #c6c3be;
  font-size: 16px;
  line-height: 1.6;
}

.resources-page__note {
  max-width: 640px;
  margin: 28px auto 0;
  font-size: 14px;
}

.resource-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.resource-list li + li {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(248, 244, 238, 0.15);
}

.resource-list a {
  display: inline-block;
  color: var(--vanilla);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(248, 244, 238, 0.45);
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.resource-list a:hover {
  text-decoration-color: var(--vanilla);
}

.resource-list a:focus-visible {
  outline: 2px solid var(--vanilla);
  outline-offset: 5px;
}

.resource-list .resource-list__meta {
  margin-top: 12px;
  font-size: 14px;
}

.resource-list__format {
  display: block;
  margin-top: 12px;
  color: #c6c3be;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .resource-categories {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .resource-category {
    padding: 24px;
  }

  .source-room {
    padding: 0 20px var(--section-space);
  }

  .source-room__inner {
    padding-top: var(--section-space);
  }

  .source-room__eyebrow {
    font-size: 10px;
    margin-bottom: 18px;
  }

  .source-room__intro {
    margin: 20px auto 30px;
    font-size: 16px;
  }

  .source-room__notice {
    padding: 24px 20px;
  }

  .source-room__notice p {
    font-size: 14px;
  }
}

.release-alert {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: var(--section-space) 48px;
  color: var(--black);
  background: var(--vanilla);
}

.release-alert__inner {
  width: min(100%, 920px);
  text-align: center;
}

.release-alert__eyebrow {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.release-alert h2 {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.05;
}

.release-alert__copy {
  margin: 22px 0 48px;
  font-size: 19px;
  font-weight: 300;
  line-height: 1.5;
}

.release-alert__form {
  width: 100%;
}

.release-alert__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.release-alert__field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-align: left;
}

.release-alert__field span {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.release-alert__field input {
  width: 100%;
  height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(25, 25, 25, 0.55);
  border-radius: 0;
  color: var(--black);
  background: transparent;
  font: inherit;
  font-size: 16px;
  outline: 0;
}

.release-alert__field input::placeholder {
  color: #625f59;
  opacity: 1;
}

.release-alert__field input:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 1px var(--black);
}

.release-alert button {
  min-width: 220px;
  min-height: 58px;
  padding: 15px 30px;
  border: 1px solid var(--black);
  border-radius: 0;
  color: var(--vanilla);
  background: var(--black);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.release-alert button:hover,
.release-alert button:focus-visible {
  color: var(--black);
  background: transparent;
}

.release-alert__note {
  margin: 15px 0 0;
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.68;
}

.release-alert__message {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.5;
}

.release-alert__note a {
  margin-left: 0.4em;
  color: inherit;
  text-underline-offset: 3px;
}

.release-alert__note a:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 4px;
}

.release-alert__message:empty {
  display: none;
}

.release-alert__message[data-state="error"] {
  color: #9b2929;
}

.release-alert button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.contact {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: var(--section-space) 24px;
  border-radius: 72px 72px 0 0;
  color: var(--black);
  background: var(--vanilla);
  text-align: center;
}

.contact h2 {
  margin: 0 0 28px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 48px;
  letter-spacing: 0;
}

.contact a {
  color: inherit;
  font-size: 24px;
  font-weight: 300;
  line-height: 38px;
  letter-spacing: 0.03em;
  text-underline-position: from-font;
}

@media (max-width: 1280px) {
  .hero::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: block;
    background-image: var(--hero-background-image);
    background-position: left top;
    background-size: 210% auto;
    background-repeat: no-repeat;
  }

  .hero::after {
    display: block;
    min-height: max(
      calc(100vh - var(--arrow-strip-height)),
      calc(100svh - var(--arrow-strip-height)),
      var(--hero-design-height)
    );
  }

  .hero__image {
    top: 42%;
    right: auto;
    bottom: auto;
    left: 50%;
    display: block;
    width: 150%;
    height: 58%;
    object-fit: cover;
    object-position: center center;
    transform: translateX(-50%);
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      black 16%,
      black 100%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      black 16%,
      black 100%
    );
  }

  .hero__shade {
    background: linear-gradient(
      to top,
      var(--black) 0%,
      rgba(25, 25, 25, 0.88) 16%,
      rgba(25, 25, 25, 0.34) 28%,
      rgba(25, 25, 25, 0) 42%
    );
  }

  .hero__title {
    z-index: 2;
  }

  .hero__label {
    z-index: 2;
    letter-spacing: 0.22em;
  }

  .hero__status {
    z-index: 2;
  }

  .overview {
    padding: var(--section-space) 26px;
  }

  .overview h1 {
    font-size: 42px;
    line-height: 50px;
  }

  .overview__copy {
    font-size: 17px;
    line-height: 25px;
  }

  .contact h2 {
    font-size: 32px;
    line-height: 42px;
  }

  .contact a {
    font-size: 18px;
    line-height: 30px;
  }

  .release-alert {
    padding: var(--section-space) 26px;
  }
}

@media (max-width: 520px) {
  :root {
    --hero-background-image: url("./assets/hero-1280.webp");
  }

  .hero {
    min-height: calc(100vh - var(--arrow-strip-height));
    min-height: calc(100svh - var(--arrow-strip-height));
  }

  .hero::before {
    background-size: 250% auto;
  }

  .hero__image {
    top: 41%;
    right: auto;
    bottom: auto;
    left: 42%;
    display: block;
    width: 170%;
    height: 54%;
    object-fit: cover;
    object-position: 68% 50%;
    transform: translateX(-50%);
  }

  .hero__shade {
    background: linear-gradient(
      to top,
      var(--black) 0%,
      rgba(25, 25, 25, 0.9) 8%,
      rgba(25, 25, 25, 0.58) 15%,
      rgba(25, 25, 25, 0.22) 23%,
      rgba(25, 25, 25, 0) 32%
    );
  }

  .hero__content {
    top: min(20.2vw, 180px);
    left: min(8.4vw, 75px);
    width: var(--hero-title-width);
  }

  .hero__title {
    z-index: 2;
  }

  .hero__label {
    z-index: 2;
    letter-spacing: 0.22em;
  }

  .hero__status {
    z-index: 2;
  }

  .countdown__date {
    margin-bottom: 8px;
    letter-spacing: 0.14em;
  }

  .hero__status {
    width: 100%;
    padding: 16px 12px;
  }

  .countdown__unit strong {
    font-size: clamp(26px, 7vw, 31px);
  }

  .countdown__unit {
    gap: 6px;
  }

  .overview {
    padding: var(--section-space) 20px;
  }

  .overview h1 {
    margin-bottom: 28px;
  }

  .overview__copy {
    font-size: 15px;
    line-height: 22px;
  }

  .overview__copy p {
    margin-bottom: 18px;
  }

  .release-alert {
    padding: var(--section-space) 20px;
  }

  .release-alert__eyebrow {
    margin-bottom: 16px;
    font-size: 10px;
  }

  .release-alert h2 {
    font-size: 42px;
  }

  .release-alert__copy {
    margin: 18px auto 34px;
    font-size: 16px;
    line-height: 1.45;
  }

  .release-alert__fields {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 20px;
  }

  .release-alert button {
    width: 100%;
  }

  .contact {
    padding: var(--section-space) 20px;
    border-radius: 36px 36px 0 0;
  }

  .contact h2 {
    margin-bottom: 24px;
  }
}
