:root {
  --bg: #0c0a08;
  --cream: #fff6e8;
  --gold: #e0b875;
  --gold-line: rgba(224, 184, 117, 0.45);
  --font-display: "Cormorant Garamond", Palatino, Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --inset: clamp(0.75rem, 2.2vw, 2rem);
  --pad: clamp(1.25rem, 3.2vw, 3.25rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--cream); -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--gold); color: var(--bg); }

.landscape, .shade { position: fixed; inset: 0; pointer-events: none; }
.landscape {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 55%;
}
.shade {
  background: linear-gradient(180deg, rgba(12, 10, 8, 0.48), rgba(12, 10, 8, 0.35) 35%, rgba(12, 10, 8, 0.46) 65%, rgba(12, 10, 8, 0.8));
}
.frame {
  position: fixed;
  inset: var(--inset);
  z-index: 1;
  border: 1px solid var(--gold-line);
  pointer-events: none;
}
.stage {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 2rem;
  min-height: 100vh;
  min-height: 100dvh;
  padding:
    calc(var(--inset) + max(var(--pad) * 0.6, env(safe-area-inset-top)))
    calc(var(--inset) + max(var(--pad), env(safe-area-inset-right)))
    calc(var(--inset) + max(var(--pad) * 0.6, env(safe-area-inset-bottom)))
    calc(var(--inset) + max(var(--pad), env(safe-area-inset-left)));
}
.bar {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.6;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.copy { align-self: center; text-align: center; padding-block: 1.5rem; }
.brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.8vw, 2.7rem);
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.tagline {
  margin-top: 0.6rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
}
.rule {
  display: block;
  width: 3.5rem;
  height: 1px;
  margin: clamp(1.5rem, 4vh, 2.75rem) auto;
  background: var(--gold);
}
.soon {
  font-family: var(--font-display);
  font-size: clamp(4rem, 11vw, 11rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.2);
}
.soon em { font-weight: inherit; color: #f1d5a4; }
.contact {
  display: inline-block;
  margin-top: clamp(1.75rem, 4.5vh, 3rem);
  padding: 0.4rem 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  letter-spacing: 0.025em;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-line);
  overflow-wrap: anywhere;
  transition: color 200ms ease, border-color 200ms ease;
}
.contact:hover { color: #f1d5a4; border-color: currentColor; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }

.js .rise, .js .frame { opacity: 0; }
.js .rise { transform: translateY(14px); }
.js .landscape { transform: scale(1.035); }
.js.is-go .frame { animation: fade 1200ms ease forwards; }
.js.is-go .rise { animation: rise 1100ms var(--ease) var(--d, 0ms) forwards; }
.js.is-go .landscape { animation: settle 2400ms var(--ease) forwards; }
@keyframes fade { to { opacity: 1; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes settle { to { transform: scale(1); } }

.film {
  position: fixed;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms ease;
}
.js .film { opacity: 1; }
.js .film.is-gone { opacity: 0; }
.skip {
  display: none;
  position: fixed;
  top: calc(var(--inset) + max(1rem, env(safe-area-inset-top)));
  right: calc(var(--inset) + max(1rem, env(safe-area-inset-right)));
  z-index: 6;
  padding: 0.85rem 1rem;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--cream);
  font: 0.65rem var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.65;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  cursor: pointer;
  transition: opacity 200ms ease;
}
.skip:hover, .skip:focus-visible { opacity: 1; }
.js:not(.is-go) .skip { display: block; }

@media (max-width: 767px) {
  .bar { font-size: 0.6rem; letter-spacing: 0.12em; gap: 0.75rem; }
  .bar--bottom { flex-direction: column; gap: 0.4rem; }
  .bar--bottom span:last-child { font-size: 0.55rem; letter-spacing: 0.08em; }
  .soon { font-size: clamp(3.2rem, 14vw, 6.5rem); }
  .soon em { display: block; }
  .landscape { object-position: 57% center; }
}
@media (max-height: 520px) and (min-aspect-ratio: 1 / 1) {
  .stage { gap: 0.75rem; }
  .copy { padding-block: 0.5rem; }
  .brand { font-size: 1.4rem; }
  .tagline { font-size: 1rem; margin-top: 0.25rem; }
  .rule { margin-block: 0.75rem; }
  .soon { font-size: clamp(3rem, 12vh, 5rem); }
  .soon em { display: inline; }
  .contact { margin-top: 0.75rem; font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rise, .js .frame, .js .landscape { opacity: 1; transform: none; animation: none !important; }
  .film, .contact, .skip { transition: none; }
}
