/* ============================================
   VASTRA — Design tokens
   Palette: near-black espresso ground, ivory type,
   antique-gold accent, deep burgundy secondary accent.
   Type: Fraunces (display, optical serif) + Manrope (body/UI)
   ============================================ */

:root {
  --bg:        #0B0908;
  --bg-soft:   #14100D;
  --bg-card:   #17130F;
  --line:      rgba(243, 236, 224, 0.10);
  --line-soft: rgba(243, 236, 224, 0.06);

  --ivory:     #F3ECE0;
  --ivory-dim: rgba(243, 236, 224, 0.62);
  --ivory-mute:rgba(243, 236, 224, 0.38);

  --gold:      #C6A15B;
  --gold-soft: #E4C98A;
  --burgundy:  #6B1E23;
  --burgundy-soft: #8C2A30;

  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, sans-serif;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;

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

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 450;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; color: var(--ivory-dim); }

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

img, svg { display: block; max-width: 100%; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 14px;
}

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

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 64px);
  backdrop-filter: blur(14px) saturate(140%);
  background: linear-gradient(to bottom, rgba(11,9,8,0.82), rgba(11,9,8,0));
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(11,9,8,0.86);
  border-bottom: 1px solid var(--line-soft);
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav__mark {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.14em;
  font-weight: 500;
}

.nav__links {
  display: flex;
  gap: 34px;
  font-size: 13.5px;
  color: var(--ivory-dim);
}
.nav__links a { transition: color 0.25s; position: relative; }
.nav__links a:hover { color: var(--gold-soft); }

.nav__wa {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ivory);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.nav__wa:hover { border-color: var(--gold); background: rgba(198,161,91,0.08); transform: translateY(-1px); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__burger span { width: 20px; height: 1.5px; background: var(--ivory); transition: transform 0.3s, opacity 0.3s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-family: var(--font-display);
  font-size: 28px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu a { color: var(--ivory); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, border-color .3s;
}
.btn--gold {
  background: linear-gradient(155deg, var(--gold-soft), var(--gold) 60%, #a8823f);
  color: #16110a;
  box-shadow: 0 8px 24px -8px rgba(198,161,91,0.55);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(198,161,91,0.65); }
.btn--ghost {
  border-color: var(--line);
  color: var(--ivory);
  background: rgba(255,255,255,0.02);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }
.btn--wide { width: 100%; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px clamp(20px, 5vw, 64px) 80px;
  background:
    radial-gradient(60% 50% at 82% 18%, rgba(198,161,91,0.14), transparent 60%),
    radial-gradient(50% 40% at 10% 90%, rgba(107,30,35,0.20), transparent 60%),
    var(--bg);
  overflow: hidden;
}

.hero__particles { position: absolute; inset: 0; pointer-events: none; }
.hero__particles span {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold-soft);
  opacity: 0.5;
  animation: drift linear infinite;
}
@keyframes drift {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-120vh) translateX(30px); opacity: 0; }
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}

.hero__title {
  font-size: clamp(46px, 6.2vw, 84px);
  line-height: 0.98;
  font-weight: 420;
  color: var(--ivory);
}
.hero__title em {
  font-style: italic;
  color: var(--gold-soft);
}

.hero__sub {
  margin-top: 24px;
  max-width: 460px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ivory-dim);
}

.hero__cta { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }

.hero__meta {
  display: flex;
  gap: clamp(24px, 4vw, 44px);
  margin-top: 58px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero__meta span {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--gold-soft);
}
.hero__meta small {
  display: block;
  font-size: 12px;
  color: var(--ivory-mute);
  margin-top: 4px;
  max-width: 110px;
  line-height: 1.4;
}

/* --- The Vitrine: signature 3D element --- */
.hero__stage { perspective: 1400px; display: flex; justify-content: center; }

.vitrine {
  position: relative;
  width: min(400px, 88vw);
  aspect-ratio: 3.2 / 4;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  transform: rotateX(6deg) rotateY(-10deg);
}

.vitrine__glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(198,161,91,0.25), transparent 65%);
  filter: blur(10px);
  z-index: 0;
}

.vitrine__frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(230, 202, 138, 0.35);
  background: linear-gradient(155deg, #1d1712, #0d0a08 65%);
  box-shadow:
    0 40px 80px -30px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
  z-index: 1;
}

.vitrine__fabric {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  mix-blend-mode: screen;
  opacity: 0.85;
  animation: sway 9s ease-in-out infinite;
}
.vitrine__fabric--1 {
  width: 260px; height: 340px; left: -60px; top: 20px;
  background: conic-gradient(from 120deg, var(--burgundy), transparent 60%, var(--gold) 90%);
  animation-delay: 0s;
}
.vitrine__fabric--2 {
  width: 220px; height: 300px; right: -70px; top: 60px;
  background: conic-gradient(from 250deg, var(--gold-soft), transparent 55%, var(--burgundy-soft) 85%);
  animation-delay: -3s;
}
.vitrine__fabric--3 {
  width: 180px; height: 240px; left: 40%; bottom: -40px;
  background: conic-gradient(from 30deg, #8c2a30, transparent 60%, #C6A15B 88%);
  animation-delay: -6s;
}
@keyframes sway {
  0%, 100% { transform: translate(0,0) rotate(0deg) scale(1); }
  50% { transform: translate(10px,-14px) rotate(8deg) scale(1.05); }
}

.vitrine__sheen {
  position: absolute;
  top: -50%; left: -20%;
  width: 60%; height: 200%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.14), transparent);
  transform: rotate(20deg);
  animation: sheen 6s ease-in-out infinite;
}
@keyframes sheen {
  0%, 100% { left: -30%; }
  50% { left: 120%; }
}

.vitrine__tag {
  position: absolute;
  left: 22px; bottom: 20px;
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  color: var(--ivory);
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.vitrine__tag small {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory-mute);
  margin-top: 4px;
}

.vitrine__shadow {
  position: absolute;
  bottom: -46px; left: 8%;
  width: 84%; height: 34px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.55), transparent 70%);
  filter: blur(4px);
  z-index: 0;
}

.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-mute);
}
.scroll-cue span {
  width: 1px; height: 26px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
  padding: 16px 0;
}
.marquee__track {
  display: flex;
  gap: 18px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 26s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--ivory-mute);
}
.marquee__track span:nth-child(2n) { color: var(--gold-soft); font-style: normal; font-family: var(--font-body); font-size: 12px; letter-spacing: 0.1em; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   SECTION shell
   ============================================ */
.section {
  padding: 120px clamp(20px, 5vw, 64px);
  max-width: 1320px;
  margin: 0 auto;
}
.section__head { max-width: 620px; margin-bottom: 56px; }
.section__head h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 440;
}
.section__sub { margin-top: 14px; font-size: 15.5px; }

/* ============================================
   COLLECTIONS cards
   ============================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  perspective: 1200px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
  transform-style: preserve-3d;
  will-change: transform;
}
.card:hover {
  border-color: rgba(198,161,91,0.4);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}

.card__visual {
  height: 220px;
  border-radius: var(--radius-md);
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
  background: #100c09;
}
.card__visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35), transparent 50%);
}
.card__visual--bridal { background: radial-gradient(120% 100% at 20% 0%, #8c2a30, #2a0e10 70%), conic-gradient(from 200deg at 80% 90%, #C6A15B, transparent 50%); background-blend-mode: screen; }
.card__visual--festive { background: radial-gradient(120% 100% at 80% 0%, #C6A15B, #2a1c0a 70%), conic-gradient(from 40deg at 15% 85%, #6B1E23, transparent 55%); background-blend-mode: screen; }
.card__visual--custom { background: radial-gradient(120% 100% at 50% 100%, #4a3a20, #0d0a08 70%), conic-gradient(from 300deg at 70% 20%, #8C2A30, transparent 50%); background-blend-mode: screen; }

.card h3 { font-size: 21px; margin-bottom: 10px; color: var(--ivory); }
.card p { font-size: 14.5px; line-height: 1.6; margin-bottom: 20px; }
.card__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-soft);
  display: inline-block;
  transition: gap 0.25s, opacity 0.25s;
}
.card__link:hover { opacity: 0.75; }

/* ============================================
   ATELIER split
   ============================================ */
.section--split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.atelier__visual { display: flex; justify-content: center; }
.atelier__frame {
  position: relative;
  width: min(340px, 80vw);
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.atelier__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(198,161,91,0.25);
  animation: spin linear infinite;
}
.atelier__ring--1 { inset: 0; animation-duration: 40s; border-style: dashed; }
.atelier__ring--2 { inset: 15%; animation-duration: 30s; animation-direction: reverse; border-color: rgba(139,42,48,0.35); }
.atelier__ring--3 { inset: 30%; animation-duration: 50s; }
@keyframes spin { to { transform: rotate(360deg); } }

.atelier__core {
  width: 32%; height: 32%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-soft), var(--burgundy) 75%);
  box-shadow: 0 0 60px rgba(198,161,91,0.35);
}

.atelier__copy h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 18px; max-width: 540px; }
.atelier__lede { font-size: 15.5px; max-width: 520px; margin-bottom: 40px; }

.atelier__points { display: grid; gap: 22px; }
.atelier__points h4 { font-family: var(--font-body); font-size: 14.5px; color: var(--ivory); margin-bottom: 6px; font-weight: 700; }
.atelier__points p { font-size: 14px; }

/* ============================================
   VISIT
   ============================================ */
.visit {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: stretch;
}

.visit__map {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
  min-height: 340px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.visit__map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black, transparent 75%);
          mask-image: radial-gradient(circle at 50% 50%, black, transparent 75%);
}
.visit__pin { position: relative; }
.visit__pin-dot {
  display: block;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(198,161,91,0.18);
}
.visit__pin-ring {
  position: absolute; inset: -20px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0.5;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.5); opacity: 0.6; }
  100% { transform: scale(2.4); opacity: 0; }
}
.visit__map-label {
  position: absolute; bottom: 18px; left: 22px;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ivory-mute);
}

.visit__details { display: flex; flex-direction: column; gap: 22px; }
.visit__row h4 { font-family: var(--font-body); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-soft); font-weight: 700; margin-bottom: 8px; }
.visit__row p { font-size: 15px; color: var(--ivory); line-height: 1.6; }

/* ============================================
   ENQUIRE / FORM
   ============================================ */
.section--enquire { padding-bottom: 160px; }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 26px;
  max-width: 760px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
}

.form__row { display: flex; flex-direction: column; gap: 8px; }
.form__row--full { grid-column: 1 / -1; }

.form label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ivory-mute);
  font-weight: 700;
}

.form input,
.form select,
.form textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: border-color 0.25s, background 0.25s;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) center, calc(100% - 13px) center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.form textarea { resize: vertical; min-height: 100px; }

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(198,161,91,0.05);
}
.form input.is-invalid,
.form textarea.is-invalid {
  border-color: var(--burgundy-soft);
}

.form__error {
  min-height: 14px;
  font-size: 12px;
  color: #E08A8A;
}

.form__submit { grid-column: 1 / -1; margin-top: 8px; }

.form__note {
  grid-column: 1 / -1;
  font-size: 13.5px;
  text-align: center;
  min-height: 18px;
  color: var(--gold-soft);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 46px clamp(20px, 5vw, 64px) 34px;
  border-top: 1px solid var(--line);
  max-width: 1320px;
  margin: 0 auto;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 26px;
}
.footer__links { display: flex; gap: 26px; font-size: 13.5px; color: var(--ivory-dim); }
.footer__links a:hover { color: var(--gold-soft); }
.footer__bottom { font-size: 12.5px; color: var(--ivory-mute); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__stage { order: -1; margin-bottom: 20px; }
  .vitrine { width: min(320px, 70vw); }
  .cards { grid-template-columns: 1fr; }
  .section--split { grid-template-columns: 1fr; }
  .atelier__visual { order: -1; }
  .visit { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav__wa span { display: none; }
  .form { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero__meta { gap: 20px; }
  .section { padding: 88px 20px; }
}
