@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Jost:wght@300;400;500&display=swap');

:root {
  --ink: #0b0709;
  --ink-2: #150d11;
  --velvet: #26131a;
  --gold: #c9a250;
  --gold-soft: #e3c778;
  --parchment: #ece3d6;
  --muted: #a89a8c;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100svh;
  background:
    radial-gradient(120% 90% at 50% -10%, var(--velvet) 0%, var(--ink-2) 45%, var(--ink) 100%);
  color: var(--parchment);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8vh 6vw;
  position: relative;
  overflow-x: hidden;
}

/* thin gold hairline frame, the one recurring motif */
body::before {
  content: "";
  position: fixed;
  inset: 18px;
  border: 1px solid rgba(201, 162, 80, 0.25);
  pointer-events: none;
  z-index: 0;
}

.mark {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: clamp(0.7rem, 1.6vw, 0.85rem);
  color: var(--gold-soft);
  opacity: 0.85;
  margin-bottom: clamp(1.5rem, 5vh, 3rem);
  position: relative;
  z-index: 1;
}

.mark::before,
.mark::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 0.75em;
  opacity: 0.6;
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--parchment);
  position: relative;
  z-index: 1;
}

h1 em {
  font-style: italic;
  color: var(--gold-soft);
}

.subtitle {
  margin-top: 1.1rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.notice {
  margin-top: clamp(2rem, 6vh, 3.2rem);
  max-width: 30em;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  line-height: 1.9;
  color: var(--muted);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.notice strong {
  display: block;
  color: var(--gold-soft);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
}

.gate-actions,
.links {
  margin-top: clamp(2.5rem, 7vh, 4rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 360px;
  position: relative;
  z-index: 1;
}

.btn {
  display: block;
  padding: 1rem 1.5rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(201, 162, 80, 0.55);
  color: var(--parchment);
  background: transparent;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

.btn-primary {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.btn-exit {
  opacity: 0.7;
}

footer {
  margin-top: clamp(3rem, 8vh, 5rem);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(168, 154, 140, 0.5);
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
