@font-face {
  font-family: "Libre Baskerville";
  src: url("./assets/fonts/libre-baskerville-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("./assets/fonts/libre-baskerville-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --background: #000;
  --ink: #f8f7f2;
  --muted: #a5afaa;
  --gutter: clamp(24px, 5vw, 88px);
  font-family: "Libre Baskerville", Georgia, serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--background); }
body { margin: 0; color: var(--ink); background: var(--background); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: #c5d4ce; color: #030405; }
[hidden] { display: none !important; }

.page {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  isolation: isolate;
  overflow: clip;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px var(--gutter) 0;
  position: relative;
  z-index: 3;
}

.wordmark {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.42em;
  margin-right: -0.42em;
  text-transform: uppercase;
}

.contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 13px;
  letter-spacing: -0.01em;
  color: #b9bab9;
  transition: color 180ms;
}
.contact svg { width: 13px; height: 13px; transition: transform 180ms; }
.contact:hover { color: #fff; }
.contact:hover svg { transform: translate(2px, -2px); }
a:focus-visible, button:focus-visible { outline: 1px solid var(--ink); outline-offset: 8px; }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 620px;
}

.copy {
  position: relative;
  z-index: 2;
  margin: 90px 0 104px var(--gutter);
  max-width: 640px;
  pointer-events: none;
}

h1 { margin: 0; font-weight: 400; }
.setup {
  display: block;
  max-width: 390px;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.65;
  letter-spacing: -0.015em;
  color: var(--muted);
}
.setup strong { font-weight: 400; color: #e0e0da; }
.impact {
  display: block;
  margin: 29px 0 30px -3px;
  font-size: clamp(68px, 6.6vw, 104px);
  line-height: 1.06;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.impact span { display: block; }
.ending {
  display: block;
  max-width: 470px;
  font-size: clamp(19px, 1.65vw, 25px);
  line-height: 1.55;
  letter-spacing: -0.025em;
  color: #b7c0b9;
}
.ending em { color: var(--ink); font-style: normal; }

.visual {
  position: absolute;
  z-index: 0;
  width: min(105vw, 1560px);
  aspect-ratio: 8 / 5;
  right: -26vw;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.87;
  mix-blend-mode: screen;
}
.visual video, .visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.visual::after {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    linear-gradient(90deg, #000 0%, rgba(0,0,0,0.85) 12%, transparent 38%),
    linear-gradient(0deg, #000 0%, transparent 14%, transparent 90%, #000);
}

.footer {
  position: relative;
  z-index: 3;
  margin: 0 var(--gutter);
  padding: 21px 0 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #ffffff12;
  color: #777b7c;
  font-size: 11px;
  letter-spacing: 0.015em;
}
.motion {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 90px;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #b0b3b3;
  font-size: 12px;
  cursor: pointer;
}
.motion:hover { color: var(--ink); }
.motion svg { width: 12px; height: 12px; }
.motion .play { display: none; }
.motion[aria-pressed="true"] .play { display: block; }
.motion[aria-pressed="true"] .pause { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

@media (prefers-reduced-motion: no-preference) {
  .setup, .impact, .ending { animation: arrive 950ms cubic-bezier(.2,.7,.2,1) both; }
  .impact { animation-delay: 110ms; }
  .ending { animation-delay: 200ms; }
  @keyframes arrive {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (min-width: 761px) and (max-height: 760px) {
  .hero { min-height: 490px; }
  .copy { margin-top: 56px; margin-bottom: 66px; }
  .impact { font-size: clamp(62px, 6.2vw, 92px); }
}

@media (max-width: 1000px) and (min-width: 761px) {
  .visual { right: -38vw; width: 126vw; opacity: 0.66; }
  .copy { max-width: 510px; }
  .ending { max-width: 355px; }
}

@media (max-width: 760px) {
  .header { padding-top: 26px; }
  .wordmark { font-size: 23px; letter-spacing: 0.32em; }
  .contact { font-size: 11px; gap: 8px; }
  .hero { display: block; min-height: 0; }
  .copy { margin: 60px var(--gutter) 0; max-width: 550px; }
  .setup { max-width: 350px; font-size: 15px; }
  .impact { font-size: clamp(54px, 13.8vw, 90px); margin: 24px 0 25px -2px; }
  .ending { max-width: 365px; font-size: clamp(17px, 4.2vw, 23px); }
  .visual {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 142%;
    margin: -30px -21% -40px;
    opacity: 0.82;
  }
  .visual::after { background: linear-gradient(0deg, #000, transparent 16%, transparent 80%, #000); }
  .footer { padding: 16px 0 21px; }
}

@media (max-width: 360px) {
  .copy { margin-top: 50px; }
  .wordmark { font-size: 20px; letter-spacing: 0.28em; }
  .impact { font-size: 49px; }
  .ending { font-size: 16px; }
}

@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/inter-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body.editorial-splash {
  --gutter: clamp(24px, 5vw, 80px);
  --ink: #f7f5ee;
  background: #677484;
  color: var(--ink);
  font-family: "Libre Baskerville", Georgia, serif;
}
.editorial-page {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  isolation: isolate;
  overflow: clip;
}
.editorial-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.editorial-art picture, .editorial-art img {
  display: block;
  width: 100%;
  height: 100%;
}
.editorial-art img { object-fit: cover; object-position: center; }
.editorial-wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(14,22,32,.44), rgba(14,22,32,.38) 34%, rgba(14,22,32,.08) 58%, transparent 72%);
}
.editorial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px var(--gutter) 0;
}
.editorial-brand-heading { margin: 0; font-size: inherit; line-height: 1; }
.editorial-brand {
  display: block;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .34em;
  padding: 10px 0;
}
.editorial-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 11px;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.editorial-contact svg { width: 14px; height: 14px; }
.editorial-contact:hover { text-decoration: underline; text-underline-offset: 5px; }
.editorial-splash a:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
.editorial-main {
  display: flex;
  align-items: center;
  padding: 70px var(--gutter) 74px;
  min-height: 490px;
}
.editorial-copy { width: min(32vw, 440px); }
.editorial-copy p {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -.012em;
  text-wrap: pretty;
}
.editorial-copy p + p { margin-top: 26px; }
.editorial-footer { padding: 0 var(--gutter) 34px; }
.editorial-footer small { font-size: 10px; letter-spacing: .045em; }

@media (min-width: 901px) and (max-height: 760px) {
  .editorial-header { padding-top: 21px; }
  .editorial-main { min-height: 405px; padding-top: 46px; padding-bottom: 50px; }
  .editorial-footer { padding-bottom: 25px; }
}

@media (max-width: 900px) {
  .editorial-page { min-height: max(1040px, 100svh); grid-template-rows: auto 1fr auto; }
  .editorial-header { padding-top: 20px; }
  .editorial-brand { font-size: 18px; letter-spacing: .30em; }
  .editorial-contact { font-size: 10px; letter-spacing: .07em; gap: 7px; }
  .editorial-main { align-items: flex-start; min-height: 0; padding-top: 64px; padding-bottom: 0; }
  .editorial-copy { width: 100%; max-width: 450px; }
  .editorial-copy p { font-size: 18px; }
  .editorial-art { top: 210px; bottom: -45px; }
  .editorial-art {
    mask-image: linear-gradient(transparent, #000 15%);
    -webkit-mask-image: linear-gradient(transparent, #000 15%);
  }
  .editorial-wash {
    background: linear-gradient(180deg, rgba(14,22,32,.35) 0%, rgba(14,22,32,.30) 33%, transparent 57%, rgba(14,22,32,.72) 100%);
  }
  .editorial-footer { padding-top: 32px; padding-bottom: 30px; }
}

@media (min-width: 600px) and (max-width: 900px) {
  .editorial-art { top: 330px; }
}

@media (max-width: 360px) {
  .editorial-main { padding-top: 53px; }
}

.artwork-credit { margin-left: 18px; text-decoration: underline; text-underline-offset: 3px; }
body.credits-page {
  background: #243342;
  color: #f7f5ee;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 16px;
  line-height: 1.8;
}
.credits-page main { max-width: 720px; margin: 64px auto; padding: 0 24px; }
.credits-page h1 { margin: 48px 0 28px; font-size: 30px; line-height: 1.3; }
.credits-page a { text-decoration: underline; text-underline-offset: 3px; }
