@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/outfit-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/outfit-latin-500-normal.woff2") format("woff2");
}

:root {
  --wine: #8a1228;
  --wine-deep: #4a0814;
  --blood: #c41e3a;
  --cream: #f3e6dc;
  --muted: rgba(243, 230, 220, 0.72);
  --ink: #070304;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
  color: var(--cream);
}

body {
  font-family: Outfit, system-ui, sans-serif;
  min-height: 100dvh;
  overflow: hidden;
}

.scene {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.scene__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    url("../img/hero.jpg") center right / cover no-repeat,
    #120406;
}

.scene__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(7, 2, 3, 0.92) 0%,
      rgba(7, 2, 3, 0.72) 38%,
      rgba(20, 4, 8, 0.28) 62%,
      rgba(7, 2, 3, 0.55) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 2, 3, 0.35) 0%,
      transparent 28%,
      transparent 70%,
      rgba(7, 2, 3, 0.72) 100%
    );
}

.scene__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>");
}

.frame {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.4rem, 4vw, 3rem) clamp(1.4rem, 6vw, 5.5rem) 1.2rem;
  max-width: 92rem;
}

.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--cream);
}

.brand span {
  color: var(--blood);
}

.hero {
  max-width: 18ch;
  padding: 6vh 0 8vh;
}

.kicker {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--blood);
  font-weight: 500;
}

h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: clamp(4.2rem, 13vw, 9.5rem);
  line-height: 0.86;
  letter-spacing: -0.03em;
}

.line {
  margin: 1.35rem 0 0;
  max-width: 22ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  line-height: 1.25;
  color: var(--muted);
}

.rule {
  display: block;
  width: 4.5rem;
  height: 1px;
  margin: 1.6rem 0 0;
  background: linear-gradient(90deg, var(--blood), transparent);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 0.4rem;
}

.site-footer strong {
  color: var(--cream);
  font-weight: 500;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background:
    linear-gradient(180deg, rgba(6, 1, 2, 0.82), rgba(12, 2, 5, 0.9)),
    url("../img/hero.jpg") center / cover no-repeat;
  backdrop-filter: blur(10px);
}

.age-gate[hidden] {
  display: none;
}

.age-card {
  width: min(28rem, 100%);
  padding: 2.4rem 2rem 2rem;
  text-align: center;
  background: rgba(8, 2, 4, 0.72);
  border: 1px solid rgba(196, 30, 58, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.age-card .mark {
  display: inline-block;
  margin-bottom: 1.1rem;
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--blood);
  color: var(--blood);
  letter-spacing: 0.32em;
  font-size: 0.68rem;
  font-weight: 500;
}

.age-card h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.1rem, 6vw, 3.1rem);
  font-weight: 700;
  line-height: 1;
}

.age-card p {
  margin: 0.9rem auto 1.6rem;
  max-width: 28ch;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.age-actions {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  flex-wrap: wrap;
}

button {
  font-family: Outfit, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  padding: 0.85rem 1.25rem;
}

.btn-yes {
  background: var(--blood);
  color: var(--cream);
}

.btn-yes:hover {
  background: #e02a4a;
}

.btn-no {
  background: transparent;
  color: var(--muted);
  border-color: rgba(243, 230, 220, 0.22);
}

.btn-no:hover {
  color: var(--cream);
  border-color: var(--cream);
}

.denied {
  display: none;
  margin-top: 1.1rem;
  color: #e7b7bf;
  font-size: 0.9rem;
}

.denied.is-on {
  display: block;
}

@media (max-width: 720px) {
  body {
    overflow: auto;
  }

  .scene__bg {
    background-position: 68% center;
  }

  .scene__veil {
    background:
      linear-gradient(
        180deg,
        rgba(7, 2, 3, 0.55) 0%,
        rgba(7, 2, 3, 0.42) 40%,
        rgba(7, 2, 3, 0.82) 100%
      );
  }

  .hero {
    max-width: none;
    padding: 10vh 0 12vh;
  }

  .site-footer {
    flex-direction: column;
    letter-spacing: 0.12em;
  }
}
