@font-face {
  font-family: "Departure Mono";
  src: url("/fonts/DepartureMono-subset.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Alpha Lyrae";
  src: url("/fonts/AlphaLyrae-Medium-subset.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  background: #050505;
  color: #f7f4ec;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  display: grid;
  min-height: 100dvh;
  margin: 0;
  place-items: center;
  padding: clamp(20px, 4vw, 56px);
  background:
    radial-gradient(circle at 50% 0%, rgba(104, 232, 123, 0.18), transparent 32rem),
    linear-gradient(145deg, #0a0a0a, #151313 56%, #050505);
}

main {
  display: grid;
  width: min(100%, 760px);
  gap: clamp(22px, 3vw, 34px);
  padding: clamp(36px, 6vw, 76px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: clamp(34px, 6vw, 76px);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
  text-align: center;
}

p,
h1 {
  margin: 0;
}

h1 {
  font-family: "Alpha Lyrae", ui-sans-serif, system-ui, sans-serif;
  font-feature-settings: "calt" 0, "liga" 0;
  font-size: clamp(2.8rem, 9vw, 7rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
}

p {
  color: rgba(247, 244, 236, 0.72);
  font-size: clamp(1rem, 1.4vw, 1.28rem);
  line-height: 1.6;
}

a {
  justify-self: center;
  min-width: min(100%, 260px);
  padding: 18px 24px;
  border-radius: 999px;
  background: #f7f4ec;
  color: #050505;
  font-family: "Alpha Lyrae", ui-sans-serif, system-ui, sans-serif;
  font-feature-settings: "calt" 0, "liga" 0;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}
a:focus-visible { outline: 3px solid #f7f4ec; outline-offset: 5px; }

/* Utility pages keep the shared wordmark on their light button without loading the full site shell. */
.brand-wordmark {
  letter-spacing: 0;
  text-transform: none;
}

.alpha-pixel {
  font-feature-settings: "calt" 0, "ss01" 1, "liga" 0;
}

.brand-wordmark-ex {
  color: var(--accent);
}

.vault-page {
  padding: clamp(16px, 3vw, 48px);
  background: radial-gradient(ellipse at 50% 40%, #291a15, #0b0909 75%);
}

.vault-tile {
  --main-tile-radius: clamp(44px, 6vw, 88px);
  position: relative;
  isolation: isolate;
  width: min(100%, 1480px);
  min-height: 620px;
  aspect-ratio: 16 / 9;
  padding: clamp(20px, 4vw, 64px);
  place-items: center;
  overflow: hidden;
  border: 0;
  background: #211613;
}

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

.vault-message {
  container-type: inline-size;
  --main-tile-radius: clamp(40px, 4vw, 64px);
  position: relative;
  display: grid;
  justify-items: center;
  gap: 24px;
  width: min(100%, 440px);
  padding: clamp(28px, 4vw, 48px);
  background:
    linear-gradient(145deg, rgba(255, 235, 211, 0.1), transparent 65%),
    rgba(25, 18, 15, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 235, 211, 0.25);
  -webkit-backdrop-filter: blur(24px) saturate(125%);
  backdrop-filter: blur(24px) saturate(125%);
}

.vault-message h1 {
  font-size: clamp(1rem, 6.5cqw, 1.5rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
}

.vault-message p {
  max-width: 28ch;
  color: rgba(247, 244, 236, 0.88);
  font-size: 1rem;
}

.vault-message a {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.25em 0.5em;
  min-width: 0;
  max-width: 100%;
  font-family: "Departure Mono", monospace;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.2;
}

.vault-message a > span {
  white-space: nowrap;
}

.vault-message .brand-wordmark {
  font-family: "Alpha Lyrae", sans-serif;
  font-feature-settings: "calt" 0, "liga" 0;
  font-weight: 500;
  font-size: 1.35em;
}

.vault-message .brand-wordmark-accent {
  color: var(--accent);
}

.vault-message a:hover {
  background: #e9d6ba;
}
