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

:root {
  --midnight: #080F0A;
  --deep-plum: #0F1F14;
  --velvet: #1A2E1E;
  --gold: #C9A96E;
  --gold-light: #E8C98A;
  --gold-bright: #FBEAB8;
  --ivory: #F5F0E8;
  --ivory-dim: #C8C0B0;
}

html, body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 40%, #12221A 0%, var(--deep-plum) 40%, var(--midnight) 100%);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}

/* Subtle film grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.4;
  mix-blend-mode: screen;
}

/* Soft warm glow behind the mark */
body::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translate(-50%, -55%);
  background: radial-gradient(ellipse, rgba(201,169,110,0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ———— Logo container ———— */
.logo {
  position: relative;
  z-index: 1;
  width: min(620px, 86vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mark {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* ———— Circles ———— */
.ring {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.2;
  opacity: 0.95;
}

/* ———— Base horizontal line ———— */
.hline {
  stroke: var(--gold);
  stroke-width: 1.8;
  opacity: 0.75;
}

/* ———— Glowing pulse (left → right) ———— */
.pulse {
  stroke: url(#pulseGradient);
  stroke-width: 5;
  stroke-linecap: round;
  fill: none;
  filter: url(#pulseGlow);
  stroke-dasharray: 160 1400;
  stroke-dashoffset: 160;
  animation: sweep 2.8s cubic-bezier(.55, .05, .35, 1) infinite;
}

.pulse-2 {
  animation-delay: 1.4s;
}

@keyframes sweep {
  0%   { stroke-dashoffset: 160;  opacity: 0; }
  6%   { opacity: 1; }
  94%  { opacity: 1; }
  100% { stroke-dashoffset: -680; opacity: 0; }
}

/* ———— Glowing dot ———— */
.dot {
  fill: url(#dotFill);
  filter: url(#dotGlow);
  transform-box: fill-box;
  transform-origin: center;
  animation: breathe 2.8s ease-in-out infinite;
}

.dot-core {
  fill: var(--ivory);
  transform-box: fill-box;
  transform-origin: center;
  animation: core 2.8s ease-in-out infinite;
}

.halo {
  fill: url(#haloFill);
  transform-box: fill-box;
  transform-origin: center;
  animation: halo 2.8s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1);    opacity: 0.95; }
  50%       { transform: scale(1.18); opacity: 1; }
}

@keyframes core {
  0%, 100% { transform: scale(1);   opacity: 0.9; }
  50%       { transform: scale(1.4); opacity: 1; }
}

@keyframes halo {
  0%, 100% { transform: scale(1);    opacity: 0.3; }
  50%       { transform: scale(1.35); opacity: 0.75; }
}

/* ———— Wordmark ———— */
.wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(48px, 8vw, 84px);
  color: var(--ivory);
  letter-spacing: 0.1em;
  line-height: 1;
  opacity: 0;
  transform: translateY(10px);
  animation: rise 1.4s ease-out 0.4s forwards;
}

.tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(13px, 2vw, 17px);
  color: var(--gold);
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(10px);
  animation: rise 1.4s ease-out 0.7s forwards;
  margin-top: -12px;
}

.coming-soon {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: clamp(10px, 1.4vw, 12px);
  color: var(--ivory-dim);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  animation: rise 1.4s ease-out 1s forwards;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Thin gold accent lines on either side of "Coming Soon" */
.coming-soon::before,
.coming-soon::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

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

/* ———— Reduced motion ———— */
@media (prefers-reduced-motion: reduce) {
  .pulse, .dot, .dot-core, .halo, .wordmark, .tagline, .coming-soon {
    animation: none;
  }
  .pulse {
    opacity: 0;
  }
  .wordmark, .tagline, .coming-soon {
    opacity: 1;
    transform: none;
  }
}
