:root {
  --bg: #0a0a0a;
  --bg-elevated: #121212;
  --ink: #f5f2eb;
  --ink-muted: rgba(245, 242, 235, 0.62);
  --gold: #c9a227;
  --gold-soft: #e0c56e;
  --gold-deep: #8a7018;
  --line: rgba(201, 162, 39, 0.35);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Atmosphere — vignette + soft gold fields */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(201, 162, 39, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(201, 162, 39, 0.08), transparent 50%),
    radial-gradient(ellipse 40% 35% at 0% 80%, rgba(245, 242, 235, 0.04), transparent 45%),
    linear-gradient(180deg, #0c0c0c 0%, #070707 100%);
  z-index: -2;
  pointer-events: none;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glow {
  position: fixed;
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
  pointer-events: none;
  z-index: -1;
  animation: drift 14s ease-in-out infinite alternate;
}

.glow--left {
  top: 18%;
  left: -8%;
  background: var(--gold-deep);
}

.glow--right {
  bottom: 8%;
  right: -6%;
  background: var(--gold);
  animation-delay: -6s;
  opacity: 0.12;
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(24px, -18px) scale(1.08);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Top bar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
  position: relative;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand__mark {
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep));
  transform: rotate(45deg);
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.status__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.55);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(201, 162, 39, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(201, 162, 39, 0);
  }
}

/* Hero — one composition */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem clamp(1.25rem, 5vw, 3.5rem) 3.5rem;
  position: relative;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: 50%;
  width: min(18vw, 140px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  pointer-events: none;
}

.hero::before {
  left: max(1rem, 6vw);
  transform: translateY(-120%);
}

.hero::after {
  right: max(1rem, 6vw);
  transform: translateY(-120%);
}

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.brand-hero {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.4rem, 11vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.45);
  position: relative;
}

.brand-hero::after {
  content: "";
  display: block;
  width: min(120px, 28%);
  height: 1px;
  margin: 1.1rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: lineGrow 1.4s ease 0.9s both;
}

@keyframes lineGrow {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

.tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.65rem, 4.2vw, 2.75rem);
  color: var(--gold-soft);
  margin-top: 1.35rem;
  letter-spacing: 0.06em;
}

.lead {
  max-width: 28rem;
  margin-top: 1.15rem;
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

/* Notify form — interaction container, not a card */
.notify {
  margin-top: 2.5rem;
  width: min(100%, 420px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  position: relative;
}

.notify input {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(18, 18, 18, 0.75);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 0.95rem 1.1rem;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.notify input::placeholder {
  color: rgba(245, 242, 235, 0.38);
}

.notify input:focus {
  border-color: var(--gold);
  background: rgba(18, 18, 18, 0.95);
}

.notify button {
  appearance: none;
  border: 1px solid var(--gold);
  background: linear-gradient(180deg, var(--gold-soft) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  color: #0a0a0a;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.95rem 1.35rem;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.notify button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.notify button:active {
  transform: translateY(0);
}

.form-msg {
  grid-column: 1 / -1;
  min-height: 1.25rem;
  font-size: 0.8rem;
  color: var(--gold-soft);
  letter-spacing: 0.04em;
  text-align: left;
}

.form-msg.is-error {
  color: #e8b4b4;
}

.contact {
  margin-top: 1.75rem;
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.contact:hover {
  color: var(--ink);
  border-bottom-color: var(--line);
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
.footer {
  padding: 0 clamp(1.25rem, 4vw, 3rem) 1.75rem;
  text-align: center;
}

.rule {
  width: min(280px, 60%);
  height: 1px;
  margin: 0 auto 1.15rem;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.footer p {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 242, 235, 0.35);
}

.footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer a:hover {
  color: var(--gold-soft);
}

@media (max-width: 560px) {
  .topbar {
    padding-top: 1.15rem;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .notify {
    grid-template-columns: 1fr;
  }

  .notify button {
    width: 100%;
  }

  .brand__name {
    letter-spacing: 0.12em;
  }

  .status {
    letter-spacing: 0.1em;
    font-size: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .glow,
  .status__dot,
  .brand-hero::after {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
