@font-face {
  font-family: Cambria;
  src: url('/assets/fonts/cambria-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --paper: #fff;
  --ink: #051b2b;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  font-family: Cambria, Georgia, serif;
}
html {
  height: 100%;
  background: var(--ink) url('/assets/images/coming-soon-poster.jpg') center / cover no-repeat;
}
body { overflow-x: hidden; }
::selection { background: var(--paper); color: var(--ink); }
[hidden] { display: none !important; }

.hero {
  isolation: isolate;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
}
.film, .film-poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.film-poster { z-index: 1; }
.hero.video-ready .film-poster { visibility: hidden; }
.shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, #051b2b33, #051b2b45 55%, #030f1899);
  pointer-events: none;
}
.arrival {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1120px;
  justify-self: center;
}
.mark {
  position: relative;
  margin: 0;
  width: min(90vw, 1120px);
  max-width: 100%;
  aspect-ratio: 2000 / 420;
  pointer-events: none;
}
.ink, .light, .brand-fallback, .brand-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.ink { animation: quietFocus 1.8s cubic-bezier(.18, .65, .25, 1) both; }
.brand-canvas { visibility: hidden; }
.brand-ready .brand-canvas { visibility: visible; }
.brand-ready .brand-fallback { visibility: hidden; }
.light { opacity: 0; }

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

.contact {
  position: absolute;
  z-index: 3;
  bottom: max(22px, env(safe-area-inset-bottom));
  left: 24px;
  right: 24px;
  margin: auto;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--paper);
  font: 400 14px/1.5 Cambria, Georgia, serif;
}
.contact address {
  font-style: normal;
  width: 100%;
  max-width: 540px;
  text-wrap: balance;
  margin: 0 auto 4px;
}
.contact a {
  color: inherit;
  text-decoration: none;
  min-height: 44px;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow-wrap: anywhere;
  text-underline-offset: 5px;
}
.contact a:hover { text-decoration: underline; }

@keyframes quietFocus { from { filter: blur(3px); } to { filter: blur(0); } }
@media (prefers-reduced-motion: reduce) {
  .ink { animation: none; }
  .light, .film { display: none; }
  .hero.video-ready .film-poster { visibility: visible; }
}
@media (max-width: 600px) {
  html { background-size: auto 112svh; background-position: 19% bottom; }
  .hero { padding: 20px 12px; }
  .mark { width: 100%; max-width: none; }
  .film, .film-poster { object-position: 19% center; }
  .contact {
    left: 20px;
    right: 20px;
    font-size: 13px;
    bottom: max(18px, env(safe-area-inset-bottom));
  }
  .contact address { max-width: 330px; }
}
@media (max-height: 650px) {
  .mark { width: min(75vw, 850px); }
  .contact { font-size: 12px; bottom: max(14px, env(safe-area-inset-bottom)); }
}
@media (max-height: 450px) and (min-width: 601px) {
  .contact address { max-width: 620px; }
}
