@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/bodoni-moda.woff2) format("woff2");
}
@font-face {
  font-family: "Bodoni Moda";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/bodoni-moda-italic.woff2) format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(/fonts/jost.woff2) format("woff2");
}

:root {
  --nero: #000;
  --glass: rgb(6 6 6 / 0.62);
  --brass: #c4a062;
  --brass-hi: #e0c48e;
  --cream: #f2eadb;
  --vein: #a8a39a;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", serif;
  --sans: "Jost", "Futura", system-ui, sans-serif;
  --pad: clamp(1.25rem, 4vw, 4rem);
}

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

html { background: var(--nero); color: var(--cream); }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.stage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  z-index: 0;
  background: #060606 url(/media/ww-poster.jpg) center / cover no-repeat;
}

.stage__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stage__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(0 0 0 / 0.35) 0%, rgb(0 0 0 / 0) 30%, rgb(0 0 0 / 0) 50%, rgb(0 0 0 / 0.82) 100%),
    linear-gradient(90deg, rgb(0 0 0 / 0.9) 0%, rgb(0 0 0 / 0.66) 42%, rgb(0 0 0 / 0.3) 100%);
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: clamp(1.5rem, 4vh, 3rem);
  padding: calc(var(--pad) + env(safe-area-inset-top)) var(--pad) calc(1.25rem + env(safe-area-inset-bottom));
}

.group {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 6vh, 6rem);
  padding-bottom: clamp(0rem, 5vh, 4rem);
}

.hero { max-width: 62rem; }

.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 28;
  font-size: clamp(3.5rem, 8.6vw, 9.5rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-shadow: 0 2px 40px rgb(0 0 0 / 0.35);
}

.hero__lede {
  margin: clamp(1rem, 2.5vh, 1.75rem) 0 0;
  max-width: 36rem;
  text-wrap: pretty;
  padding-top: clamp(1rem, 2.5vh, 1.75rem);
  border-top: 1px solid var(--brass);
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  line-height: 1.5;
  color: var(--cream);
  border-image: linear-gradient(90deg, var(--brass) 0 6rem, transparent 6rem) 1;
}

.cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 27rem));
  gap: clamp(1rem, 2vw, 1.75rem);
}

.case {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.75rem 1.6rem;
  background: var(--glass);
  border: 1px solid var(--brass);
  outline: 1px solid rgb(196 160 98 / 0.32);
  outline-offset: -7px;
  -webkit-backdrop-filter: blur(16px) saturate(0.85);
  backdrop-filter: blur(16px) saturate(0.85);
}

.case__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.case__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 18;
  font-size: 1.875rem;
  line-height: 1.1;
  color: var(--cream);
}

.case__price {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 18;
  font-size: 1.625rem;
  line-height: 1;
  color: var(--brass-hi);
  white-space: nowrap;
}

.case__kind {
  margin: 0.35rem 0 0;
  font-size: 0.9375rem;
  color: var(--vein);
}

.case__blurb {
  margin: 1rem 0 1.5rem;
  text-wrap: pretty;
  color: rgb(242 234 219 / 0.9);
  line-height: 1.65;
}

.case__cta {
  margin-top: auto;
  display: block;
  padding: 0.95rem 1.25rem;
  background: var(--brass);
  color: #0a0806;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.case__cta:hover { background: var(--cream); }

.case__cta:active { background: var(--brass-hi); }

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

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  font-size: 0.8125rem;
  color: var(--vein);
}

.foot p { margin: 0; }

.foot__motion {
  appearance: none;
  border: 0;
  padding: 0.25rem 0;
  background: none;
  color: var(--vein);
  font: inherit;
  text-decoration: underline;
  text-decoration-color: rgb(168 163 154 / 0.5);
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.foot__motion:hover { color: var(--cream); }

@media (prefers-reduced-motion: no-preference) {
  .hero__title { animation: settle 1400ms cubic-bezier(0.2, 0.7, 0.1, 1) both; }
  .hero__lede { animation: rise 900ms 350ms ease-out both; }
  .case { animation: rise 900ms ease-out both; }
  .case:nth-child(1) { animation-delay: 550ms; }
  .case:nth-child(2) { animation-delay: 700ms; }
}

@keyframes settle {
  from { opacity: 0; letter-spacing: 0.04em; }
  to { opacity: 1; letter-spacing: -0.02em; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .stage__video { display: none; }
}

@media (min-width: 861px) and (max-height: 780px) {
  .page { gap: 1rem; padding-top: calc(2.25rem + env(safe-area-inset-top)); }
  .group { padding-bottom: 0; gap: 2.5rem; }
}

@media (min-width: 1800px) and (min-height: 950px) {
  html { font-size: 112.5%; }
}

@media (min-width: 2400px) and (min-height: 1300px) {
  html { font-size: 131.25%; }
}

@media (max-width: 860px) {
  .stage__scrim {
    background:
      linear-gradient(180deg, rgb(0 0 0 / 0.5) 0%, rgb(0 0 0 / 0.66) 40%, rgb(0 0 0 / 0.74) 100%);
  }
  .group { align-self: start; padding: 12vh 0 0; }
  .hero__title { font-size: clamp(3.25rem, 17vw, 6rem); }
  .cases { grid-template-columns: minmax(0, 1fr); max-width: 32rem; }
  .case { padding: 1.5rem 1.35rem 1.4rem; }
  .case__title { font-size: 1.625rem; }
}

.lost { color: var(--brass-hi); text-underline-offset: 0.2em; }
