@font-face {
  font-family: "Domaine Display";
  src: url("fonts/domaine/DomaineDisplay-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Domaine Display";
  src: url("fonts/domaine/DomaineDisplay-RegularItalic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Domaine Display";
  src: url("fonts/domaine/DomaineDisplay-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Domaine Display";
  src: url("fonts/domaine/DomaineDisplay-BoldItalic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --text: #f8f6f2;
  --text-dim: rgba(248, 246, 242, 0.82);
  --link: #e8f0ff;
  --link-hover: #ffffff;
}

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

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: "Domaine Display", Georgia, "Times New Roman", serif;
  color: var(--text);
  background: #0a0c10;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #1a1410 url("hero-background.png") center center / cover no-repeat;
  transform: translateZ(0);
}

@media (prefers-reduced-motion: no-preference) {
  .backdrop {
    background-attachment: fixed;
  }
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% 42%, transparent 0%, rgba(8, 10, 14, 0.55) 100%),
    linear-gradient(to bottom, rgba(6, 12, 28, 0.35) 0%, transparent 28%, transparent 62%, rgba(12, 8, 6, 0.75) 100%);
}

.page {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2.5rem, 8vw, 5rem) clamp(1.5rem, 5vw, 3rem) clamp(4rem, 12vw, 7rem);
}

.hero__scrim {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 42rem);
  height: min(52vh, 22rem);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(4, 8, 18, 0.72) 0%, rgba(4, 8, 18, 0.35) 55%, transparent 72%);
  filter: blur(2px);
  pointer-events: none;
}

.hero__content {
  position: relative;
  max-width: 38rem;
  text-align: center;
}

.hero__title {
  margin: 0 0 clamp(1rem, 3vw, 1.35rem);
  font-weight: 700;
  font-size: clamp(1.85rem, 4.2vw + 0.6rem, 3.05rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--text);
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.9),
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 4px 24px rgba(0, 0, 0, 0.55),
    0 12px 48px rgba(0, 0, 0, 0.35);
}

.hero__sub {
  margin: 0;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.05rem, 1.2vw + 0.85rem, 1.35rem);
  line-height: 1.45;
  color: var(--text-dim);
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.85),
    0 2px 16px rgba(0, 0, 0, 0.5);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.5rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2rem);
  background: linear-gradient(to top, rgba(6, 5, 4, 0.92) 0%, rgba(6, 5, 4, 0.55) 70%, transparent 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.footer__left p {
  margin: 0;
  font-size: clamp(0.8rem, 0.35vw + 0.72rem, 0.9rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-dim);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.65);
}

.footer__left p + p {
  margin-top: 0.2rem;
}

.footer__right {
  margin: 0;
}

.footer__link {
  font-size: clamp(0.8rem, 0.35vw + 0.72rem, 0.9rem);
  font-weight: 400;
  color: var(--link);
  text-decoration: none;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.65);
  border-bottom: 1px solid rgba(232, 240, 255, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer__link:hover {
  color: var(--link-hover);
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

.footer__link:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}

@media (max-width: 520px) {
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer__link {
    transition: none;
  }
}
