/* =========================================================
   THE STRELLA — styles
   ========================================================= */

:root{
  --bg:#090909;
  --gold:#D6B36A;
  --accent-gold:#F7D98A;
  --white:#FAFAFA;
  --muted:#B8B8B8;

  --serif:"Cormorant Garamond", Georgia, serif;
  --sans:"Inter", system-ui, -apple-system, sans-serif;

  --ease:cubic-bezier(.22,.61,.36,1);
}

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

html{ scroll-behavior:smooth; }

body{
  background:var(--bg);
  color:var(--white);
  font-family:var(--sans);
  font-weight:300;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
  position:relative;
}

::selection{ background:rgba(214,179,106,.25); color:var(--accent-gold); }

a{ color:inherit; text-decoration:none; }

/* =========================================================
   ATMOSPHERE
   ========================================================= */
.atmosphere{
  position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden;
}
#starfield{ position:absolute; inset:0; width:100%; height:100%; display:block; }

.galaxy{
  position:absolute; border-radius:50%;
  filter:blur(90px); opacity:.5; mix-blend-mode:screen;
  will-change:transform;
}
.galaxy--one{
  width:60vw; height:60vw; top:-12vw; left:-8vw;
  background:radial-gradient(circle at 50% 50%,
              rgba(214,179,106,.16), rgba(214,179,106,.05) 45%, transparent 70%);
  animation:drift-a 46s var(--ease) infinite alternate;
}
.galaxy--two{
  width:55vw; height:55vw; bottom:-18vw; right:-10vw;
  background:radial-gradient(circle at 50% 50%,
              rgba(120,140,200,.12), rgba(120,140,200,.04) 45%, transparent 70%);
  animation:drift-b 58s var(--ease) infinite alternate;
}
@keyframes drift-a{ to{ transform:translate3d(5vw,4vw,0) scale(1.1); } }
@keyframes drift-b{ to{ transform:translate3d(-5vw,-3vw,0) scale(1.12); } }

.noise{
  position:absolute; inset:0; opacity:.045; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.vignette{
  position:absolute; inset:0;
  background:radial-gradient(ellipse 90% 80% at 50% 42%,
              transparent 30%, rgba(0,0,0,.55) 78%, rgba(0,0,0,.85) 100%);
}

/* =========================================================
   FLOATING JEWELRY
   ========================================================= */
.jewelry-field{
  position:fixed; inset:0; z-index:1; pointer-events:none;
}
.jewel{
  position:absolute; will-change:transform;
  transform:translate3d(0,0,0);
  pointer-events:auto;
  transition:filter .6s var(--ease);
}
.jewel-svg{
  display:block;
  filter:drop-shadow(0 14px 30px rgba(0,0,0,.55)) drop-shadow(0 0 12px rgba(214,179,106,.12));
  transition:transform .7s var(--ease), filter .7s var(--ease);
}
.jewel:hover .jewel-svg{
  transform:scale(1.12);
  filter:drop-shadow(0 18px 40px rgba(0,0,0,.6)) drop-shadow(0 0 22px rgba(247,217,138,.4));
}

/* sizes per piece */
.jewel--earring  { width:54px;  animation:bob 11s ease-in-out infinite; }
.jewel--rings    { width:150px; animation:bob 14s ease-in-out infinite .6s; }
.jewel--pendant  { width:180px; animation:bob 13s ease-in-out infinite 1.2s; }
.jewel--bangle   { width:160px; animation:bob 15s ease-in-out infinite .3s; }
.jewel--solitaire{ width:128px; animation:bob 12s ease-in-out infinite .9s; }
.jewel--stud     { width:44px;  animation:bob 10s ease-in-out infinite 1.5s; }

@keyframes bob{
  0%,100%{ transform:translate3d(0,0,0) rotate(0deg); }
  50%    { transform:translate3d(0,-16px,0) rotate(1.5deg); }
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative; z-index:2;
  min-height:100svh;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center;
  padding:clamp(2rem,6vh,5rem) 1.5rem;
}
.hero__inner{
  display:flex; flex-direction:column; align-items:center;
  width:100%; max-width:1280px;
}

.brand{
  font-family:var(--serif);
  font-weight:500;
  font-size:clamp(1.1rem,2vw,1.5rem);
  letter-spacing:.62em;
  text-indent:.62em;
  color:var(--white);
  text-shadow:0 0 18px rgba(214,179,106,.25);
  animation:logo-glow 6s ease-in-out infinite;
}
@keyframes logo-glow{
  0%,100%{ text-shadow:0 0 16px rgba(214,179,106,.18); }
  50%    { text-shadow:0 0 26px rgba(247,217,138,.4); }
}

.tagline{
  margin-top:1.5rem;
  font-family:var(--serif);
  font-style:italic;
  font-weight:300;
  font-size:clamp(1rem,1.7vw,1.45rem);
  letter-spacing:.04em;
  color:var(--muted);
}

/* centerpiece necklace */
.centerpiece{
  position:relative;
  width:clamp(220px,30vw,360px);
  margin:clamp(1rem,3.5vh,2.6rem) 0 clamp(.5rem,2vh,1.4rem);
}
.centerpiece__glow{
  position:absolute; left:50%; top:58%; transform:translate(-50%,-50%);
  width:70%; height:70%;
  background:radial-gradient(circle, rgba(247,217,138,.22), transparent 70%);
  filter:blur(22px);
  animation:pulse-glow 7s ease-in-out infinite;
}
@keyframes pulse-glow{
  0%,100%{ opacity:.55; transform:translate(-50%,-50%) scale(1); }
  50%    { opacity:.9;  transform:translate(-50%,-50%) scale(1.08); }
}
.centerpiece__svg{
  position:relative; width:100%; height:auto; display:block;
  transform-origin:50% 30%;
  filter:drop-shadow(0 0 16px rgba(214,179,106,.25));
  animation:sway 16s ease-in-out infinite;
}
@keyframes sway{
  0%,100%{ transform:rotate(-2.2deg); }
  50%    { transform:rotate(2.2deg); }
}
.cp-stone{ animation:stone-shimmer 5.5s ease-in-out infinite; }
@keyframes stone-shimmer{
  0%,100%{ stroke:var(--accent-gold); opacity:.85; }
  50%    { stroke:#fff6e0; opacity:1; }
}

/* MASSIVE HEADLINE — the signature */
.coming-soon{
  position:relative;
  margin-top:clamp(.5rem,2vh,1.5rem);
  font-family:var(--serif);
  font-weight:300;
  font-size:clamp(2.75rem,11.3vw,12rem);
  line-height:.95;
  letter-spacing:.08em;
  text-indent:.08em;
  white-space:nowrap;
}
.cs-text{
  background:linear-gradient(100deg,
      #9c7f44 0%,
      #D6B36A 22%,
      #c9a55f 40%,
      #F7D98A 48%,
      #fff6e0 50%,
      #F7D98A 52%,
      #c9a55f 60%,
      #D6B36A 78%,
      #9c7f44 100%);
  background-size:220% 100%;
  background-position:140% 0;
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:transparent;
  filter:drop-shadow(0 2px 24px rgba(214,179,106,.18));
  animation:shimmer 6s ease-in-out infinite;
}
@keyframes shimmer{
  0%   { background-position:140% 0; }
  60%  { background-position:-40% 0; }
  100% { background-position:-40% 0; }
}

/* sparkle dots placed by JS over the headline */
.sparkle{
  position:absolute; width:10px; height:10px; pointer-events:none;
  transform:translate(-50%,-50%) scale(0); opacity:0;
  animation:sparkle-pop 1.4s var(--ease) forwards;
  z-index:3;
}
.sparkle::before,.sparkle::after{
  content:""; position:absolute; inset:0; margin:auto;
  background:linear-gradient(var(--accent-gold),var(--accent-gold));
}
.sparkle::before{ width:100%; height:1.2px; box-shadow:0 0 6px rgba(247,217,138,.9); }
.sparkle::after { width:1.2px; height:100%; box-shadow:0 0 6px rgba(247,217,138,.9); }
@keyframes sparkle-pop{
  0%  { opacity:0; transform:translate(-50%,-50%) scale(0) rotate(0deg); }
  40% { opacity:1; transform:translate(-50%,-50%) scale(1) rotate(45deg); }
  100%{ opacity:0; transform:translate(-50%,-50%) scale(.2) rotate(90deg); }
}

/* scroll cue */
.scroll-cue{
  position:absolute; bottom:clamp(1.2rem,4vh,2.4rem); left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:.7rem;
  font-size:.62rem; letter-spacing:.4em; text-indent:.4em;
  color:var(--muted); text-transform:uppercase;
}
.scroll-cue__line{
  width:1px; height:46px;
  background:linear-gradient(var(--gold),transparent);
  animation:cue 2.6s ease-in-out infinite;
  transform-origin:top;
}
@keyframes cue{
  0%,100%{ transform:scaleY(.4); opacity:.4; }
  50%    { transform:scaleY(1); opacity:1; }
}

/* =========================================================
   LAUNCH CARD
   ========================================================= */
.launch{
  position:relative; z-index:2;
  display:flex; justify-content:center;
  padding:clamp(3rem,12vh,9rem) 1.5rem clamp(2rem,6vh,4rem);
}
.glass-card{
  width:100%; max-width:620px;
  padding:clamp(2.2rem,5vw,3.6rem) clamp(1.6rem,4vw,3.2rem);
  text-align:center;
  background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  border:1px solid rgba(214,179,106,.28);
  border-radius:22px;
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  box-shadow:0 30px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06);
  position:relative; overflow:hidden;
}
.glass-card::before{
  content:""; position:absolute; top:0; left:-30%; width:60%; height:100%;
  background:linear-gradient(110deg,transparent, rgba(247,217,138,.06), transparent);
  animation:card-sheen 9s ease-in-out infinite;
}
@keyframes card-sheen{ 0%{ left:-40%; } 55%,100%{ left:120%; } }

.glass-card__eyebrow{
  font-family:var(--sans); font-weight:400;
  font-size:.66rem; letter-spacing:.42em; text-indent:.42em;
  text-transform:uppercase; color:var(--gold);
}
.glass-card__title{
  margin-top:1.3rem;
  font-family:var(--serif); font-weight:300;
  font-size:clamp(1.4rem,2.6vw,2.1rem); line-height:1.28;
  letter-spacing:.01em; color:var(--white);
}

/* notify form */
.notify{ margin-top:clamp(1.8rem,4.5vh,2.8rem); }
.notify__row{
  display:flex; gap:.6rem; align-items:stretch;
  max-width:440px; margin:0 auto;
}
.notify__input{
  flex:1; min-width:0;
  padding:.95rem 1.3rem;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(214,179,106,.35);
  border-radius:100px;
  color:var(--white); font-family:var(--sans); font-size:.92rem; font-weight:300;
  letter-spacing:.02em;
  outline:none; transition:border-color .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease);
}
.notify__input::placeholder{ color:#7d7d7d; }
.notify__input:focus{
  border-color:var(--accent-gold);
  background:rgba(255,255,255,.05);
  box-shadow:0 0 0 3px rgba(247,217,138,.1), 0 0 22px rgba(247,217,138,.18);
}
.notify__input.is-error{
  border-color:#c98a8a;
  box-shadow:0 0 0 3px rgba(201,138,138,.12);
}

.btn-notify{
  flex-shrink:0;
  padding:.95rem 1.9rem;
  background:transparent;
  border:1px solid var(--gold);
  border-radius:100px;
  color:var(--accent-gold);
  font-family:var(--sans); font-size:.78rem; font-weight:400;
  letter-spacing:.18em; text-indent:.18em; text-transform:uppercase;
  cursor:pointer; position:relative; overflow:hidden;
  transition:color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.btn-notify::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(100deg,var(--gold),var(--accent-gold));
  transform:translateX(-101%); transition:transform .5s var(--ease);
}
.btn-notify:hover{
  color:#0a0a0a; border-color:var(--accent-gold);
  box-shadow:0 0 26px rgba(247,217,138,.35);
}
.btn-notify:hover::before{ transform:translateX(0); }
.btn-notify:active{ transform:translateY(1px); }

.notify__msg{
  min-height:1.2rem; margin-top:1rem;
  font-size:.82rem; letter-spacing:.04em; color:var(--accent-gold);
  opacity:0; transform:translateY(4px);
  transition:opacity .5s var(--ease), transform .5s var(--ease);
}
.notify__msg.show{ opacity:1; transform:translateY(0); }
.notify__msg.error{ color:#dca0a0; }

.notify__check{
  display:inline-block; width:15px; height:15px; margin-right:.5rem;
  vertical-align:-2px;
}
.notify__check circle{
  stroke-dasharray:90; stroke-dashoffset:90;
  animation:draw .5s var(--ease) forwards;
}
.notify__check path{
  stroke-dasharray:24; stroke-dashoffset:24;
  animation:draw .4s var(--ease) .35s forwards;
}
@keyframes draw{ to{ stroke-dashoffset:0; } }

/* =========================================================
   SOCIAL
   ========================================================= */
.social{
  position:relative; z-index:2;
  display:flex; justify-content:center; gap:clamp(1.2rem,3vw,2rem);
  padding:clamp(1rem,4vh,2.4rem) 1.5rem;
}
.social__link{
  width:46px; height:46px; display:grid; place-items:center;
  border:1px solid rgba(214,179,106,.25); border-radius:50%;
  color:var(--gold);
  transition:color .4s var(--ease), border-color .4s var(--ease),
             box-shadow .4s var(--ease), transform .4s var(--ease);
}
.social__link svg{ width:20px; height:20px; }
.social__link:hover{
  color:var(--accent-gold);
  border-color:var(--accent-gold);
  box-shadow:0 0 22px rgba(247,217,138,.3);
  transform:translateY(-3px);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer{
  position:relative; z-index:2;
  text-align:center;
  padding:clamp(2.5rem,8vh,5rem) 1.5rem clamp(2rem,5vh,3.2rem);
  border-top:1px solid rgba(214,179,106,.1);
  margin-top:clamp(2rem,6vh,4rem);
}
.footer__brand{
  font-family:var(--serif); font-weight:500;
  font-size:1.15rem; letter-spacing:.5em; text-indent:.5em;
  color:var(--white);
}
.footer__line{
  margin-top:.9rem; font-family:var(--serif); font-style:italic;
  font-size:.98rem; color:var(--muted);
}
.footer__nav{
  display:flex; align-items:center; justify-content:center; gap:1rem;
  margin-top:1.8rem; font-size:.74rem; letter-spacing:.18em; text-transform:uppercase;
  color:var(--muted);
}
.footer__nav a{ transition:color .35s var(--ease); }
.footer__nav a:hover{ color:var(--accent-gold); }
.footer__dot{ color:rgba(214,179,106,.4); }
.footer__copy{
  margin-top:1.8rem; font-size:.68rem; letter-spacing:.22em;
  color:#6a6a6a; text-transform:uppercase;
}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.js [data-reveal]{
  opacity:0; transform:translateY(26px);
  transition:opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.js [data-reveal].in{ opacity:1; transform:translateY(0); }

/* staggered hero reveals on load */
.hero .brand[data-reveal]      { transition-delay:.15s; }
.hero .tagline[data-reveal]    { transition-delay:.35s; }
.hero .centerpiece[data-reveal]{ transition-delay:.55s; }
.hero .coming-soon[data-reveal]{ transition-delay:.75s; }
.hero .scroll-cue[data-reveal] { transition-delay:1.1s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:900px){
  .jewel--earring{ top:9% !important; left:6% !important; width:46px; }
  .jewel--rings  { top:11% !important; right:5% !important; width:118px; }
  .jewel--stud   { top:23% !important; right:14% !important; }
  .jewel--pendant{ bottom:21% !important; top:auto !important; left:4% !important; width:138px; }
  .jewel--bangle { top:auto !important; left:auto !important; bottom:9% !important; right:5% !important; width:128px; }
  .jewel--solitaire{ top:auto !important; right:auto !important; bottom:10% !important; left:8% !important; width:104px; }
}

@media (max-width:620px){
  .coming-soon{ letter-spacing:.05em; text-indent:.05em; }
  .notify__row{ flex-direction:column; }
  .btn-notify{ width:100%; padding:1rem; }

  /* keep only a few pieces so headline stays dominant */
  .jewel--earring, .jewel--stud{ display:none; }
  .jewel--rings  { top:8% !important; right:4% !important; width:96px; opacity:.85; }
  .jewel--pendant{ display:none; }
  .jewel--bangle { bottom:7% !important; right:4% !important; width:104px; opacity:.85; }
  .jewel--solitaire{ bottom:8% !important; left:5% !important; width:88px; opacity:.85; }
}

@media (max-width:400px){
  .brand{ letter-spacing:.42em; text-indent:.42em; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.2s !important;
  }
  .cs-text{ background-position:50% 0; }
  [data-reveal]{ opacity:1; transform:none; }
}
