/* ---------------------------------------------------
   Advitiyah — Coming Soon
   Palette sampled from the brand mark:
   deep forest background, warm engraved gold, soft cream
--------------------------------------------------- */

:root {
  --bg: #0e1912;
  --bg-deep: #09120c;
  --panel: #142219;
  --line: #33463a;
  --gold: #c6a15a;
  --gold-bright: #e8c878;
  --cream: #ece4d3;
  --cream-muted: #9fa79a;

  --serif-display: "Cinzel", "Times New Roman", serif;
  --serif-body: "Cormorant Garamond", "Iowan Old Style", "Georgia", serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: radial-gradient(ellipse 120% 90% at 50% 30%, var(--bg) 0%, var(--bg-deep) 100%);
  color: var(--cream);
  font-family: var(--serif-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle paper-grain texture, echoing the canvas background of the mark */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  z-index: 2;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.stage {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8vh 6vw 4vh;
  text-align: center;
  isolation: isolate;
}

/* Ambient glow behind the mark — one deliberate atmospheric moment */
.glow {
  position: absolute;
  top: 18%;
  left: 50%;
  width: min(60vw, 640px);
  height: min(60vw, 640px);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(198, 161, 90, 0.16) 0%, rgba(198, 161, 90, 0) 68%);
  z-index: 0;
  animation: breathe 9s var(--ease) infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.08); }
}

.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 560px;
}

.logo-wrap {
  display: block;
  width: min(280px, 62vw);
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
  opacity: 0;
  transform: scale(0.96);
  animation: rise 1.1s var(--ease) forwards;
}

.logo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.subhead {
  margin: 0;
  font-family: var(--serif-body);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  color: var(--gold-bright);
  letter-spacing: 0.01em;
  opacity: 0;
  animation: rise 1s var(--ease) 0.35s forwards;
}

.divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: clamp(1.25rem, 3vw, 1.75rem) 0;
  width: 100%;
  max-width: 220px;
  opacity: 0;
  animation: rise 1s var(--ease) 0.55s forwards;
}

.divider span {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.divider i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  display: block;
}

.body-copy {
  margin: 0 0 clamp(2rem, 5vw, 2.75rem);
  font-size: clamp(1.05rem, 2.1vw, 1.2rem);
  line-height: 1.65;
  color: var(--cream);
  max-width: 46ch;
  opacity: 0;
  animation: rise 1s var(--ease) 0.75s forwards;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  animation: rise 1s var(--ease) 0.95s forwards;
}

.contact-label {
  font-family: var(--serif-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--cream-muted);
  text-transform: uppercase;
}

.contact-link {
  font-family: var(--serif-body);
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  color: var(--gold-bright);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.15rem;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}

.contact-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}

.foot {
  position: relative;
  z-index: 1;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  opacity: 0;
  animation: rise 1s var(--ease) 1.15s forwards;
}

.foot p {
  margin: 0;
  font-family: var(--serif-body);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--cream-muted);
}

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

@media (prefers-reduced-motion: reduce) {
  .logo-wrap, .subhead, .divider, .body-copy, .contact, .foot {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .glow {
    animation: none !important;
  }
}

@media (max-width: 420px) {
  .stage { padding: 10vh 7vw 5vh; }
}
