/* Oratio Console splash — brand-aligned glassmorphism, self-contained */

:root {
  --gold: #C7A14A;
  --gold-deep: #B08332;
  --charcoal: #2A1F1A;
  --warm-brown: #5B3F2F;
  --ivory: #FBF5EE;
  --blush-soft: #F8DCC2;
  --peach-soft: #F8C9A4;
  --rose: #E8BEB3;
  --rose-deep: #B4654E;
  --glass-bg: rgba(255, 248, 240, 0.55);
  --glass-bg-strong: rgba(255, 248, 240, 0.72);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px rgba(90, 60, 40, 0.08);
  --r-md: 14px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: linear-gradient(135deg, #FBF5EE 0%, #F4E3D1 50%, #E8BEB3 100%);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ----- Atmospheric layers (mirrored from main site) ----- */
.bg-stage { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(circle at 20% 30%, var(--blush-soft) 0%, transparent 50%), radial-gradient(circle at 80% 70%, var(--peach-soft) 0%, transparent 50%); opacity: 0.5; }
.bg-grain, .bg-grain-soft, .bg-grain-pastel, .bg-glint, .bg-sparkles { position: fixed; inset: 0; pointer-events: none; }
.bg-glint { background: linear-gradient(125deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%); mix-blend-mode: overlay; }
.blob { position: fixed; width: 480px; height: 480px; border-radius: 50%; filter: blur(80px); opacity: 0.35; pointer-events: none; }
.blob-1 { top: -120px; right: -120px; background: var(--rose); }

/* ----- Glass primitive (matches site) ----- */
.glass-strong {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* ----- Splash layout ----- */
.splash {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  position: relative;
  z-index: 1;
}

.card {
  width: 100%;
  max-width: 460px;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--r-xl);
  text-align: center;
}

.logo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: block;
  background: var(--ivory);
  box-shadow: 0 4px 16px rgba(176, 131, 50, 0.15);
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin: 0 0 0.5rem;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--charcoal);
}

.lede {
  color: var(--warm-brown);
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0 0 2rem;
  max-width: 36ch;
  margin-inline: auto;
}

/* CTA */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--r-pill);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  font-family: var(--font-body);
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--ivory);
  box-shadow: 0 4px 14px rgba(176, 131, 50, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(176, 131, 50, 0.45);
}
.enter {
  width: 100%;
  padding: 1.05rem 1.8rem;
  font-size: 1rem;
}
.arrow { transition: transform 0.25s ease; }
.btn-primary:hover .arrow { transform: translateX(4px); }

/* Meta */
.meta {
  margin: 1.5rem 0 0;
  font-size: 0.82rem;
  color: var(--warm-brown);
  opacity: 0.85;
}

/* Help accordion */
.help {
  margin-top: 2rem;
  text-align: left;
  font-size: 0.88rem;
  color: var(--warm-brown);
  border-top: 1px solid rgba(176, 131, 50, 0.18);
  padding-top: 1.25rem;
}
.help summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--gold-deep);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.help summary::-webkit-details-marker { display: none; }
.help summary::after {
  content: "+";
  font-size: 1.2rem;
  line-height: 1;
  color: var(--gold-deep);
  transition: transform 0.25s;
}
.help[open] summary::after { content: "−"; }
.help ul {
  margin: 0.85rem 0 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  line-height: 1.5;
}
.help a {
  color: var(--rose-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn-primary:hover { transform: none; }
}

/* Mobile tweaks */
@media (max-width: 480px) {
  .card { padding: 2rem 1.25rem; }
  .logo { width: 72px; height: 72px; }
  h1 { font-size: 1.85rem; }
}
