:root {
  --black: #000;
  --ink: #0b0b0b;
  --gold: #d4af6a;
  --gold-light: #f3dfa6;
  --gold-deep: #9c7a3c;
  --silver: #c9c9c9;
  --text: #e8e6e1;
  --muted: #9a978f;
  --line: rgba(212, 175, 106, 0.28);
  --gold-grad: linear-gradient(110deg, var(--gold-deep) 0%, var(--gold-light) 45%, var(--gold) 60%, var(--gold-deep) 100%);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--black);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Background */
.bg-glow {
  position: fixed;
  inset: -20% -10% auto;
  height: 90vh;
  background: radial-gradient(ellipse at 50% 30%, rgba(212, 175, 106, 0.16), transparent 60%);
  pointer-events: none;
  z-index: -1;
  animation: breathe 9s ease-in-out infinite;
}

.bg-skyline {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 38vh;
  pointer-events: none;
  z-index: -1;
  opacity: 0.06;
  background:
    linear-gradient(to top, var(--gold) 0 100%) 4% 100% / 5% 40% no-repeat,
    linear-gradient(to top, var(--gold) 0 100%) 10% 100% / 4% 65% no-repeat,
    linear-gradient(to top, var(--gold) 0 100%) 15% 100% / 6% 30% no-repeat,
    linear-gradient(to top, var(--gold) 0 100%) 23% 100% / 3% 80% no-repeat,
    linear-gradient(to top, var(--gold) 0 100%) 28% 100% / 7% 50% no-repeat,
    linear-gradient(to top, var(--gold) 0 100%) 37% 100% / 4% 70% no-repeat,
    linear-gradient(to top, var(--gold) 0 100%) 43% 100% / 5% 35% no-repeat,
    linear-gradient(to top, var(--gold) 0 100%) 50% 100% / 3% 95% no-repeat,
    linear-gradient(to top, var(--gold) 0 100%) 55% 100% / 6% 55% no-repeat,
    linear-gradient(to top, var(--gold) 0 100%) 63% 100% / 4% 75% no-repeat,
    linear-gradient(to top, var(--gold) 0 100%) 69% 100% / 6% 40% no-repeat,
    linear-gradient(to top, var(--gold) 0 100%) 77% 100% / 3% 85% no-repeat,
    linear-gradient(to top, var(--gold) 0 100%) 83% 100% / 6% 45% no-repeat,
    linear-gradient(to top, var(--gold) 0 100%) 91% 100% / 4% 60% no-repeat,
    linear-gradient(to top, var(--gold) 0 100%) 97% 100% / 5% 30% no-repeat;
  mask-image: linear-gradient(to top, #000 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 100%);
}

@keyframes breathe {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

/* Top bar */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem clamp(1rem, 4vw, 3rem);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gold);
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(212, 175, 106, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 106, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(212, 175, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 106, 0); }
}

.topbar-link {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.topbar-link:hover { color: var(--gold-light); border-color: var(--gold); }


/* Hero */
.hero {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(1rem, 4vh, 3rem) 1rem 4rem;
  text-align: center;
}

.logo {
  width: min(440px, 80vw);
  height: auto;
  margin: 0 auto;
  mix-blend-mode: lighten;
}

.rule {
  width: min(520px, 80%);
  height: 1px;
  margin: 1.75rem auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.tagline {
  margin: 0 0 1.75rem;
  font-size: clamp(0.85rem, 2.4vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
}

.lead {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  line-height: 1.55;
  color: var(--text);
}

.lead em {
  font-style: italic;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Form */
.notify {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  max-width: 480px;
  margin: 0 auto 2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s;
}
.notify:focus-within { border-color: var(--gold); }

.notify input {
  flex: 1 1 200px;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  padding: 0.8rem 1.25rem;
  outline: none;
}
.notify input::placeholder { color: var(--muted); }

.notify button {
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.75rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #111;
  background: var(--gold-grad);
  background-size: 200% 100%;
  cursor: pointer;
  transition: background-position 0.6s, transform 0.2s;
}
.notify button:hover { background-position: 100% 0; }
.notify button:active { transform: scale(0.97); }
.notify button:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

.form-msg {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0; right: 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--gold-light);
}
.form-msg.error { color: #e9a48f; }

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.pillar {
  position: relative;
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--line);
  transition: background 0.4s;
}
.pillar:hover { background: rgba(212, 175, 106, 0.04); }

.pillar + .pillar { border-left: 1px solid var(--line); }

.num {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--gold);
}

.pillar h2 {
  margin: 0.5rem 0 0.75rem;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
}

.pillar p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Contact */
.contact {
  max-width: 700px;
  margin: 0 auto;
  padding: 5rem 1rem 4rem;
  text-align: center;
}

.contact h2 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 500;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact p { margin: 0 0 1.75rem; color: var(--muted); }

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
}

.contact-links a {
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: color 0.3s, border-color 0.3s;
}
.contact-links a:hover { color: var(--gold-light); border-color: var(--gold); }

.footer {
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer p { margin: 0; }

/* Reveal */
.reveal {
  animation: rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.logo.reveal { animation-delay: 0.1s; }
.rule.reveal { animation-delay: 0.35s; }
.tagline.reveal { animation-delay: 0.5s; }
.lead.reveal { animation-delay: 0.65s; }
.notify.reveal { animation-delay: 0.8s; }
.pillar.reveal:nth-child(1) { animation-delay: 0.95s; }
.pillar.reveal:nth-child(2) { animation-delay: 1.05s; }
.pillar.reveal:nth-child(3) { animation-delay: 1.15s; }
.contact.reveal { animation-delay: 1.25s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; }
  .pillar { padding: 2rem 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
  .topbar { font-size: 0.62rem; letter-spacing: 0.16em; }
  .notify { border-radius: 18px; }
  .notify button { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .bg-glow, .dot { animation: none; }
  .reveal { animation: none; }
}
