/* -------------------------------------------------- */
/*  Reset & base                                       */
/* -------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0b0b0d;
  --bg-alt: #16141a;
  --gold: #caa968;
  --gold-soft: #e9d5ab;
  --text: #f5f1ea;
  --text-muted: #b8b2a7;
  --serif: 'Cormorant Garamond', serif;
  --sans: 'Poppins', sans-serif;
}

html, body {
  height: 100%;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* -------------------------------------------------- */
/*  Animated background                                */
/* -------------------------------------------------- */
.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 20% 20%, rgba(202, 169, 104, 0.12), transparent 45%),
              radial-gradient(circle at 80% 30%, rgba(202, 169, 104, 0.08), transparent 40%),
              radial-gradient(circle at 50% 90%, rgba(202, 169, 104, 0.1), transparent 50%),
              linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
  background-size: 200% 200%;
  animation: drift 18s ease-in-out infinite;
}

@keyframes drift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Mild drifting glow behind the hero text (replaces floating icons) */
.glow-orbs {
  position: absolute;
  inset: -15% -10%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.glow-orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.32;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  animation: orb-float 18s ease-in-out infinite;
}

.glow-orbs span:nth-child(1) {
  width: 260px;
  height: 260px;
  top: 8%;
  left: 10%;
  animation-duration: 16s;
}

.glow-orbs span:nth-child(2) {
  width: 220px;
  height: 220px;
  top: 35%;
  right: 6%;
  background: radial-gradient(circle, var(--gold-soft) 0%, transparent 70%);
  animation-duration: 21s;
  animation-delay: -5s;
}

.glow-orbs span:nth-child(3) {
  width: 200px;
  height: 200px;
  bottom: 4%;
  left: 32%;
  animation-duration: 19s;
  animation-delay: -9s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(22px, -26px) scale(1.15); }
  66%      { transform: translate(-18px, 16px) scale(0.9); }
}

/* -------------------------------------------------- */
/*  Layout                                             */
/* -------------------------------------------------- */
.wrapper {
  width: 100%;
  max-width: 760px;
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  animation: fade-down 1s ease both;
}

.brand-mark {
  color: var(--gold);
  font-size: 0.9rem;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* -------------------------------------------------- */
/*  Fashion tag: hanging rope + hover flip ("NotEnough")*/
/* -------------------------------------------------- */
.price-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
  outline: none;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.25s ease-out;
}

.price-tag:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
  border-radius: 4px;
}

/* The rope the tag hangs from — always visible, never clipped */
.tag-string {
  position: relative;
  width: 3px;
  height: 42px;
  border-radius: 2px;
  background: repeating-linear-gradient(
    to bottom,
    var(--gold) 0px, var(--gold) 5px,
    var(--gold-soft) 5px, var(--gold-soft) 10px
  );
  opacity: 0;
  animation: rope-fade-in 0.6s ease forwards;
}

.tag-string::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--bg);
}

@keyframes rope-fade-in {
  to { opacity: 1; }
}

/* Continuous gentle pendulum swing — always active, independent of the flip */
.tag-swing {
  display: inline-block;
  transform-origin: top center;
  perspective: 700px;
  opacity: 0;
  animation: tag-drop-in 0.7s ease 0.3s forwards,
             tag-swing 4.5s ease-in-out 0.9s infinite;
}

@keyframes tag-drop-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes tag-swing {
  0%, 100% { transform: rotate(0deg); }
  25%      { transform: rotate(2deg); }
  75%      { transform: rotate(-2deg); }
}

/* The tag card itself — only this flips, on hover/focus, via a transition
   (kept separate from .tag-swing so the swing animation never fights it) */
.tag-shape {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.7rem 0.85rem 2.3rem;
  background: linear-gradient(135deg, #1d1a21, #24202a);
  border: 1px solid rgba(202, 169, 104, 0.45);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  clip-path: polygon(12% 0%, 100% 0%, 100% 100%, 12% 100%, 0% 50%);
  cursor: pointer;
  transform: rotateY(0deg);
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1), box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.price-tag.flip-right:hover .tag-shape,
.price-tag.flip-right:focus-within .tag-shape {
  transform: rotateY(180deg);
}

.price-tag.flip-left:hover .tag-shape,
.price-tag.flip-left:focus-within .tag-shape {
  transform: rotateY(-180deg);
}

.price-tag:hover .tag-shape,
.price-tag:focus-within .tag-shape {
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 22px 4px rgba(202, 169, 104, 0.55),
    inset 0 0 14px rgba(202, 169, 104, 0.2);
}

.tag-hole {
  position: absolute;
  left: 15px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px rgba(202, 169, 104, 0.65);
}

.tag-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fdfcfa;
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.tag-logo {
  display: block;
  height: clamp(1.9rem, 6vw, 2.9rem);
  width: auto;
}

/* -------------------------------------------------- */
/*  Hero / Title                                       */
/* -------------------------------------------------- */
.hero {
  position: relative;
  perspective: 900px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.title {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 0.95;
  margin-bottom: 1.75rem;
}

.title .line {
  display: block;
  overflow: hidden;
}

.title .letters {
  display: inline-block;
  font-size: clamp(3.2rem, 12vw, 7.5rem);
  color: var(--gold-soft);
  letter-spacing: 0.05em;
}

/* Gradient applied directly on each leaf character (not the parent) so
   background-clip:text renders reliably across all browsers/engines.
   background-size/position (set inline via JS) keep the gradient sweeping
   smoothly across the whole word instead of repeating per letter. */
.title .letters .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%) rotate(6deg);
  animation: letter-in 0.7s cubic-bezier(.2,.9,.25,1) forwards;
  color: var(--gold-soft);
  background-image: linear-gradient(120deg, var(--gold-soft), var(--gold) 45%, var(--gold-soft));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes letter-in {
  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

.tagline {
  max-width: 480px;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
  font-size: 1rem;
}

/* -------------------------------------------------- */
/*  Notify form                                        */
/* -------------------------------------------------- */
.notify-form {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.notify-form input {
  flex: 1 1 240px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 241, 234, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: var(--sans);
  /* 16px prevents iOS Safari from auto-zooming the page on focus, which is
     what made the field look "bigger" on mobile after tapping it */
  font-size: 16px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.notify-form input::placeholder {
  color: var(--text-muted);
}

.notify-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(202, 169, 104, 0.18);
}

.notify-form button {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(120deg, var(--gold), var(--gold-soft));
  color: #1a1a1a;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.notify-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(202, 169, 104, 0.35);
}

/* Ink ripple burst on click, positioned via JS at the click point */
.notify-form button .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.35);
  transform: scale(0);
  opacity: 0.6;
  pointer-events: none;
  animation: ripple-out 0.6s ease-out forwards;
}

@keyframes ripple-out {
  to {
    transform: scale(2.6);
    opacity: 0;
  }
}

.form-message {
  margin-top: 0.9rem;
  min-height: 1.2rem;
  font-size: 0.85rem;
  color: var(--gold-soft);
}

/* -------------------------------------------------- */
/*  Divider threads                                    */
/* -------------------------------------------------- */
.divider {
  position: relative;
  width: 0%;
  max-width: 220px;
  height: 1px;
  margin: 1.75rem auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  animation: divider-draw 1.4s ease forwards;
}

.divider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
  filter: blur(4px);
  opacity: 0.7;
}

.divider--tagline { animation-delay: 0.85s; }
.divider--footer { animation-delay: 1.5s; }

@keyframes divider-draw {
  from { width: 0%; opacity: 0; }
  to   { width: 100%; opacity: 1; }
}

/* -------------------------------------------------- */
/*  Marquee ("interesting element")                    */
/* -------------------------------------------------- */
.marquee {
  overflow: hidden;
  margin: 0 auto 2.25rem;
  max-width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0.9rem;
  align-items: center;
  animation: marquee-scroll 16s linear infinite;
}

.marquee-track span {
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.marquee-track span.dot {
  color: var(--gold);
  font-size: 0.7rem;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* -------------------------------------------------- */
/*  Socials                                            */
/* -------------------------------------------------- */
.socials {
  display: flex;
  gap: 1.1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(202, 169, 104, 0.3);
  color: var(--gold-soft);
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.social-link:hover {
  background: var(--gold);
  color: #1a1a1a;
  transform: translateY(-3px);
}

/* -------------------------------------------------- */
/*  Footer                                             */
/* -------------------------------------------------- */
.site-footer {
  margin-top: 3rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* -------------------------------------------------- */
/*  Generic reveal (fade/slide in on load)             */
/* -------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal-in 0.9s ease forwards;
}

@keyframes reveal-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow.reveal { animation-delay: 0.1s; }
.tagline.reveal { animation-delay: 0.9s; }
.marquee.reveal { animation-delay: 1.05s; }
.notify-form.reveal { animation-delay: 1.25s; }
.socials.reveal { animation-delay: 1.45s; }
.site-footer.reveal { animation-delay: 1.6s; }

/* -------------------------------------------------- */
/*  Responsive                                         */
/* -------------------------------------------------- */
@media (max-width: 700px) {
  .wrapper { padding: 2.75rem 1.25rem 2rem; }
  .brand { margin-bottom: 2.25rem; }
  .glow-orbs span { filter: blur(40px); }
}

@media (max-width: 480px) {
  .wrapper { padding: 2.25rem 1rem 1.75rem; }
  .brand { gap: 0.5rem; margin-bottom: 1.75rem; }
  .brand-name { font-size: 1.05rem; letter-spacing: 0.25em; }
  .price-tag { margin-top: 0.5rem; margin-bottom: 2rem; }
  .tag-string { height: 30px; }
  .tag-shape { padding: 0.7rem 1.3rem 0.7rem 1.9rem; gap: 0.45rem; }
  .tag-hole { left: 12px; }
  .title { margin-bottom: 1.25rem; }
  .eyebrow { letter-spacing: 0.22em; margin-bottom: 1rem; }
  .tagline { font-size: 0.9rem; margin-bottom: 1.75rem; }
  .marquee { margin-bottom: 1.75rem; }
  .marquee-track { gap: 0.6rem; animation-duration: 13s; }
  .marquee-track span { font-size: 0.8rem; }
  .notify-form {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    gap: 0.85rem;
  }
  /* Reset the row-layout flex-basis (240px) — in column direction that
     basis is read as a *height*, which combined with border-radius:999px
     was stretching the field into a huge oval/circle. Switch to a
     rectangular field for mobile instead of the desktop pill shape. */
  .notify-form input {
    flex: 0 1 auto;
    width: 100%;
    height: auto;
    padding: 0.9rem 1.1rem;
    border-radius: 14px;
    text-align: left;
  }
  .notify-form button {
    flex: 0 1 auto;
    width: 100%;
    border-radius: 14px;
  }
  .socials { margin-top: 1.75rem; }
  .divider { max-width: 160px; margin: 1.25rem auto; }
}

@media (max-width: 360px) {
  .tag-shape { padding: 0.6rem 1.05rem 0.6rem 1.6rem; }
  .tag-text { font-size: 1.45rem; }
  .brand-name { font-size: 0.9rem; letter-spacing: 0.18em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
