/* ============================================================
   Corporate Concierge — Coming Soon
   Palette: warm near-black, champagne gold, warm ivory
   Type:    Cormorant Garamond (display) · Jost (body/labels)
   ============================================================ */

:root {
  --ink:            #0c0a08;
  --ink-raised:     #161310;
  --gold:           #c9a24b;
  --gold-pale:      #e8ce8c;
  --gold-deep:      #8f6f2e;
  --ivory:          #efe7d7;
  --ivory-muted:    rgba(239, 231, 215, 0.62);
  --hairline:       rgba(201, 162, 75, 0.35);

  --font-display: "Cormorant Garamond", "Playfair Display", Didot, Georgia, serif;
  --font-body:    "Jost", "Century Gothic", "Segoe UI", Futura, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { height: 100%; }

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    radial-gradient(115% 90% at 50% 0%, #1a150e 0%, var(--ink) 58%);
  background-color: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
}

/* ---------- Ambient layers ---------- */

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

.glow {
  position: fixed;
  top: 6%;
  left: 50%;
  width: min(120vmin, 900px);
  height: min(90vmin, 680px);
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(201, 162, 75, 0.14) 0%,
    rgba(201, 162, 75, 0.05) 42%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* ---------- Stage ---------- */

.stage {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 640px;
  padding: clamp(2.5rem, 6vh, 4.5rem) 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.55em;
  text-indent: 0.55em; /* optically re-center letterspaced caps */
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Logo ---------- */

.logo-wrap {
  margin-top: clamp(0.5rem, 2vh, 1.5rem);
}

.logo {
  display: block;
  width: min(78vw, 420px);
  height: auto;
  filter: drop-shadow(0 0 46px rgba(201, 162, 75, 0.22));
}

/* ---------- Diamond hairline rule ---------- */

.rule {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: min(100%, 380px);
  margin-top: clamp(0.75rem, 2vh, 1.5rem);
}

.rule-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline));
}

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

.rule-diamond {
  color: var(--gold);
  font-size: 0.85rem;
  line-height: 1;
}

/* ---------- Tagline ---------- */

.tagline {
  margin-top: clamp(1.25rem, 3vh, 2rem);
  max-width: 34em;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  line-height: 1.65;
  color: var(--ivory-muted);
  text-wrap: balance;
}

/* ---------- Countdown ---------- */

.countdown {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 3.5vw, 1.75rem);
  margin-top: clamp(1.75rem, 4vh, 2.75rem);
}

.count-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: 3.2em;
}

.count-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 6vw, 2.9rem);
  line-height: 1;
  color: var(--gold-pale);
  font-variant-numeric: tabular-nums;
}

.count-label {
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-transform: uppercase;
  color: var(--ivory-muted);
}

.count-sep {
  width: 1px;
  height: 2.4rem;
  background: var(--hairline);
}

/* ---------- Notify form ---------- */

.notify {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  width: min(100%, 460px);
  margin-top: clamp(2rem, 4.5vh, 3rem);
  padding-bottom: 2rem; /* room for the status message */
}

.notify-input {
  flex: 1 1 240px;
  padding: 0.85rem 1rem;
  background: rgba(239, 231, 215, 0.04);
  border: 1px solid var(--hairline);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.notify-input::placeholder {
  color: rgba(239, 231, 215, 0.38);
}

.notify-input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(239, 231, 215, 0.07);
}

.notify-button {
  padding: 0.85rem 1.9rem;
  background: linear-gradient(180deg, var(--gold-pale), var(--gold) 55%, var(--gold-deep));
  border: none;
  color: #1a1206;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 0.25s ease, transform 0.15s ease;
}

.notify-button:hover  { filter: brightness(1.1); }
.notify-button:active { transform: translateY(1px); }

.notify-button:focus-visible,
.notify-input:focus-visible {
  outline: 2px solid var(--gold-pale);
  outline-offset: 2px;
}

.notify-message {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--gold-pale);
  min-height: 1.2em;
}

.notify-message.is-error { color: #d98f6a; }

/* ---------- Footer ---------- */

.footer {
  position: relative;
  z-index: 1;
  padding: 1.25rem 1.5rem 1.75rem;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(239, 231, 215, 0.4);
  text-align: center;
}

/* ---------- Entrance reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 1s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

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

/* ---------- Utilities ---------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
  #particles { display: none; }
}
