@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=Inter:wght@300;400;600&display=swap");

:root {
  --bg: #0d0d0a;
  --ink: #e2ded0;

  --muted: rgba(226, 222, 208, 0.82);
  --soft: rgba(226, 222, 208, 0.68);

  --gold: #c1b409;
  --blue: #4a6981;

  --maxw: 820px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Background image + strong readability layers */
  background:
    radial-gradient(circle at 50% 18%, rgba(0,0,0,0.35), rgba(0,0,0,0.82) 60%, rgba(0,0,0,0.92) 100%),
    linear-gradient(to bottom, rgba(13,13,10,0.88), rgba(13,13,10,0.94)),
    url("Assets/background.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.page {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 6.5rem 1.25rem;
}

/* Card is now deliberate */
.hero {
  width: min(var(--maxw), 100%);
  text-align: center;

  background: rgba(10, 10, 9, 0.68);
  border: 1px solid rgba(226, 222, 208, 0.12);
  border-radius: 22px;

  padding: 3.75rem 2.75rem;

  backdrop-filter: blur(10px);
  box-shadow:
    0 24px 60px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(226,222,208,0.06);
}

/* Logo becomes a “seal”, not a heavy square */
.logo {
  display: block;
  margin: 0 auto 1.9rem auto;

  width: min(520px, 82vw);
  height: auto;

  /* Remove the hard edge feel */
  border-radius: 18px;
  box-shadow:
    0 18px 42px rgba(0,0,0,0.62),
    inset 0 0 0 1px rgba(226,222,208,0.08);

  /* Lift it off the card */
  filter: saturate(1.05) contrast(1.04);
  opacity: 0.995;
}

/* Optional: if the square edge is still visually annoying, enable this */
/*
.logo {
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 58%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 50%, #000 58%, transparent 78%);
}
*/

.tagline {
  margin: 0 0 2.2rem 0;
  font-size: 0.98rem;
  letter-spacing: 0.10em;
  color: var(--gold);
  text-transform: lowercase;
}

/* Body copy: higher contrast, better rhythm */
.copy {
  text-align: left;
  margin: 0 auto 2.35rem auto;
  max-width: 64ch;
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--muted);
}

.copy p { margin: 0 0 1.1rem 0; }
.copy p:last-child { margin-bottom: 0; }

.copy strong {
  color: var(--ink);
  font-weight: 600;
}

/* Stanza: keep centered, but readable */
.stanza {
  margin: 0 auto 2.1rem auto;
  max-width: 58ch;
  font-size: 1.04rem;
  line-height: 1.75;
  color: rgba(226,222,208,0.78);
}

.stanza p { margin: 0.22rem 0; }

.sigil {
  margin: 0 0 3.2rem 0;
  font-size: 0.96rem;
  letter-spacing: 0.16em;
  color: rgba(74, 105, 129, 0.98);
}

/* Footer */
.footer {
  margin-top: 1.15rem;
  padding-top: 1.65rem;
  border-top: 1px solid rgba(226, 222, 208, 0.14);
}

.location {
  margin: 0 0 0.95rem 0;
  font-size: 0.92rem;
  color: rgba(226, 222, 208, 0.76);
}

.links {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.links a {
  color: rgba(226, 222, 208, 0.82);
  text-decoration: none;
  font-size: 0.94rem;
  padding: 0.25rem 0.2rem;
  border-bottom: 1px solid rgba(226, 222, 208, 0.0);
  transition: border-color 160ms ease, color 160ms ease;
}

.links a:hover {
  color: rgba(226, 222, 208, 0.98);
  border-bottom-color: rgba(193, 180, 9, 0.60);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .page { padding: 4.25rem 1rem; }
  .hero { padding: 2.7rem 1.35rem; }
  .copy { font-size: 1.01rem; }
}
