:root {
  --gold: #c99739;
  --gold-light: #f1d58a;
  --gold-dark: #7a4f14;
  --black: #030303;
  --white: #f7f3eb;
  --muted: rgba(255,255,255,.66);
  --line: rgba(217,170,75,.34);
}

* { box-sizing: border-box; }

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(201,151,57,.35);
  color: var(--white);
}

a:focus-visible,
.status span:focus-visible {
  outline: 1px solid var(--gold-light);
  outline-offset: 4px;
  border-radius: 1px;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: rgba(201,151,57,.45);
  border-radius: 4px;
}

.hero {
  position: relative;
  height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
  display: grid;
  place-items: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% -12%, rgba(201,151,57,.14), transparent 32%),
    radial-gradient(circle at 50% 110%, rgba(201,151,57,.07), transparent 38%),
    linear-gradient(180deg, #090909 0%, #030303 60%, #010101 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .34;
  background-image:
    linear-gradient(rgba(255,255,255,.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.36)),
    radial-gradient(circle at center, transparent 0%, rgba(0,0,0,.25) 58%, rgba(0,0,0,.74) 100%);
  pointer-events: none;
}

#gold-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  top: -180px;
  left: 50%;
  width: min(1000px, 120vw);
  height: 430px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(222,171,70,.16), transparent 68%);
  filter: blur(32px);
  pointer-events: none;
}

.hero__frame {
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(201,151,57,.16);
  pointer-events: none;
}

.hero__frame::before,
.hero__frame::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
}

.hero__frame::before {
  top: -1px;
  left: -1px;
  border-top: 1px solid rgba(241,213,138,.65);
  border-left: 1px solid rgba(241,213,138,.65);
}

.hero__frame::after {
  right: -1px;
  bottom: -1px;
  border-right: 1px solid rgba(241,213,138,.65);
  border-bottom: 1px solid rgba(241,213,138,.65);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(920px, 92vw);
  max-height: 100%;
  padding: clamp(14px, 4svh, 40px) 24px clamp(12px, 3svh, 32px);
  text-align: center;
  animation: reveal 1.25s cubic-bezier(.2,.75,.2,1) both;
}

.eyebrow,
.status span,
.status small,
.links a {
  text-transform: uppercase;
  letter-spacing: .3em;
  font-weight: 600;
}

.eyebrow {
  margin: 0;
  color: var(--gold-light);
  font-size: clamp(9px, .8vw, 12px);
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: clamp(6px, 1.4svh, 12px) auto clamp(8px, 1.6svh, 14px);
  color: var(--gold);
}

.ornament span {
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line));
}

.ornament span:last-child {
  background: linear-gradient(90deg, var(--line), transparent);
}

.ornament b {
  font-size: 11px;
  text-shadow: 0 0 14px rgba(201,151,57,.85);
}

.ornament--small {
  margin: clamp(8px, 1.8svh, 14px) auto;
}

.ornament--small span {
  width: 56px;
}

.logo {
  display: block;
  width: clamp(320px, min(62vw, 52svh), 820px);
  max-width: 92vw;
  height: auto;
  margin: 0 auto clamp(14px, 3svh, 28px);
  filter:
    drop-shadow(0 14px 34px rgba(0,0,0,.85))
    drop-shadow(0 0 18px rgba(201,151,57,.10));
}

h1 {
  margin: 0;
  font-family: "Playfair Display", "Manrope", serif;
  font-size: clamp(20px, min(3.4vw, 4.2svh), 42px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: .015em;
  text-transform: none;
  color: #f7f3eb;
}

h1 span {
  display: block;
  margin-bottom: clamp(5px, 1svh, 9px);
  color: var(--gold-light);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(9px, 1vw, 15px);
  font-weight: 500;
  letter-spacing: .38em;
  text-transform: uppercase;
}

.lead {
  margin: 0 auto clamp(8px, 2svh, 18px);
  color: var(--muted);
  font-family: "Manrope", sans-serif;
  font-size: clamp(11px, min(1.1vw, 1.6svh), 15px);
  line-height: 1.5;
  font-weight: 300;
  letter-spacing: .01em;
}

.status {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(4px, .9svh, 8px);
  margin-bottom: clamp(8px, 2svh, 18px);
}

.status span {
  position: relative;
  display: inline-block;
  padding: clamp(8px, 1.6svh, 13px) clamp(16px, 3vw, 26px);
  border: 1px solid rgba(201,151,57,.72);
  background: rgba(7,7,7,.58);
  box-shadow:
    inset 0 0 24px rgba(201,151,57,.04),
    0 0 30px rgba(201,151,57,.05);
  backdrop-filter: blur(9px);
  color: var(--gold-light);
  font-size: 11px;
}

.status span::before,
.status span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--gold);
}

.status span::before { left: -3px; }
.status span::after { right: -3px; }

.status small {
  color: rgba(255,255,255,.48);
  font-size: 9px;
}

.links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.links a {
  position: relative;
  color: rgba(255,255,255,.62);
  text-decoration: none;
  font-size: 9px;
  transition: color .25s ease, transform .25s ease;
}

.links a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -8px;
  height: 1px;
  background: var(--gold);
  transition: left .25s ease, right .25s ease;
}

.links a:hover {
  color: var(--gold-light);
  transform: translateY(-2px);
}

.links a:hover::after {
  left: 0;
  right: 0;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  .hero__frame { inset: 10px; }
  .hero__content { padding: clamp(10px, 3svh, 30px) 16px clamp(10px, 2.4svh, 24px); }
  .logo { width: clamp(280px, 78vw, 560px); }
  h1 { letter-spacing: .04em; }
  h1 span { letter-spacing: .22em; }
  .lead br { display: none; }
  .links { gap: 8px 14px; }
}

@media (max-height: 640px) {
  .logo { width: clamp(260px, 46svh, 620px); margin-bottom: 8px; }
  .ornament { margin: 4px auto 6px; }
  .ornament--small { margin: 6px auto; }
  .status span { padding: 6px 18px; }
  .status small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__content { animation: none; }
}
