/* ============================================================
   VERONIKA — Russian floral luxury atelier
   Palette: porcelain white, floral rose, gold, leaf green
   ============================================================ */

:root {
  --porcelain: #f9f2df;   /* warm butter cream (banner tint) */
  --cream:      #fffdf6;   /* card near-white */
  --cream2:     #f1e6c6;
  --ink:        #3a2712;   /* chocolate brown (logo text) */
  --ink-soft:   #6b5030;
  --rose:       #a3282a;   /* scarf crimson */
  --rose-deep:  #7c1d1f;
  --green:      #5f6b39;   /* olive leaf */
  --gold:       #bd932f;
  --gold-soft:  #e0bb52;   /* banner gold */
  --line:       #e7d9b8;
  --muted:      #9c8a63;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1240px;
  --shadow: 0 18px 50px rgba(120, 80, 40, .10);
}

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

body {
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
/* faint floral wash */
body::before {
  content:""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background:
    radial-gradient(60% 45% at 85% 0%, rgba(163,40,42,.05), transparent 60%),
    radial-gradient(55% 40% at 0% 100%, rgba(95,107,57,.06), transparent 60%);
}
header.nav, section, footer, .modal-bg { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

h1, h2, h3, .display { font-family: var(--serif); font-weight: 500; letter-spacing: 0.01em; color: var(--ink); }

.eyebrow {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--rose); margin-bottom: 16px;
}

.btn {
  display: inline-block; font-family: var(--sans); font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; padding: 15px 34px; border: 1px solid var(--rose);
  color: var(--rose); background: transparent; cursor: pointer; transition: all .35s ease;
}
.btn:hover { background: var(--rose); color: #fff; }
.btn-solid { background: var(--rose); color: #fff; border-color: var(--rose); }
.btn-solid:hover { background: var(--rose-deep); border-color: var(--rose-deep); }
.btn-gold { border-color: var(--gold); color: var(--gold); }
.btn-gold:hover { background: var(--gold); color: #fff; }

/* ---------- Header ---------- */
header.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 40px; transition: background .4s ease, padding .4s ease, box-shadow .4s;
}
header.nav.scrolled {
  background: rgba(250,246,239,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); padding: 14px 40px; box-shadow: 0 6px 24px rgba(120,80,40,.06);
}
.brand {
  font-family: var(--serif); font-size: 25px; letter-spacing: 0.2em; color: var(--ink); padding-left: 0.2em;
}
.brand::after {
  content: "ВЕРОНУШКА"; display: block; font-family: var(--sans);
  font-size: 8px; letter-spacing: 0.44em; color: var(--rose); margin-top: 3px; padding-left: 0.1em;
}
.brand small { display: none; }
nav.links { display: flex; gap: 32px; align-items: center; }
nav.links a { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); transition: color .3s; }
nav.links a:hover { color: var(--rose); }
.nav-toggle { display: none; background: none; border: none; color: var(--ink); font-size: 22px; cursor: pointer; }

/* ---------- Hero (split: text + floral photo) ---------- */
.hero {
  min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center;
  gap: 40px; padding: 130px 6vw 70px;
  background:
    radial-gradient(80% 60% at 20% 20%, rgba(202,162,75,.08), transparent 60%),
    var(--porcelain);
  position: relative; overflow: hidden;
}
.hero .inner { position: relative; z-index: 2; max-width: 560px; }
.hero .garland-top { width: 340px; max-width: 78%; height: auto; margin-bottom: 4px; display: block; }
.hero h1 { font-size: clamp(48px, 6.4vw, 92px); line-height: 0.98; margin: 6px 0 8px; }
.hero h1 em { font-style: italic; color: var(--rose); }
.hero p.lede { font-family: var(--serif); font-size: clamp(18px,2.2vw,24px); font-style: italic; color: var(--ink-soft); margin: 20px 0 22px; max-width: 500px; }
.hero .cyr { font-family: var(--serif); font-style: italic; font-size: 15px; letter-spacing: 0.26em; color: var(--rose); margin-bottom: 34px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
/* fashion hero — clean cutout of her, emblem ring + soft glow */
.hero-portrait {
  position: relative; z-index: 2; justify-self: center;
  width: 100%; max-width: 460px; aspect-ratio: 844 / 956;
  display: flex; align-items: flex-end; justify-content: center;
  perspective: 1200px;
}
.hero-portrait .glow {
  position: absolute; z-index: 1; left: 50%; top: 44%; transform: translate(-50%,-50%);
  width: 96%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(224,187,82,.42), rgba(178,58,86,.12) 55%, transparent 72%);
  filter: blur(38px);
  animation: auraPulse 8s ease-in-out infinite;
}
.hero-portrait .emblem-ring {
  position: absolute; z-index: 1; left: 50%; top: 40%; transform: translate(-50%,-50%);
  width: 86%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(184,145,47,.55);
  box-shadow: 0 0 0 7px rgba(184,145,47,.08);
  animation: ringPulse 7s ease-in-out infinite;
}
.hero-portrait .emblem-ring.ring2 {
  width: 74%; top: 39%; border-color: rgba(184,145,47,.30); box-shadow: none;
  animation-duration: 9s; animation-direction: reverse;
}
.hero-portrait .tilt {
  position: relative; z-index: 3; width: 100%;
  transform-style: preserve-3d; transition: transform .3s ease-out; will-change: transform;
}
.hero-portrait .cutout {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 20px 30px rgba(120,60,30,.34));
  animation: floaty 8s ease-in-out infinite;
}

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes auraPulse { 0%,100% { opacity: .5; transform: translate(-50%,-50%) scale(1); } 50% { opacity: .9; transform: translate(-50%,-50%) scale(1.08); } }
@keyframes ringPulse { 0%,100% { opacity: .5; transform: translate(-50%,-50%) scale(1); } 50% { opacity: .85; transform: translate(-50%,-50%) scale(1.03); } }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-cue { position: absolute; bottom: 24px; left: 6vw; font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); z-index: 3; }

/* ---------- Section framing ---------- */
section { padding: 108px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(34px, 5vw, 56px); }
.section-head .rule { width: 300px; max-width: 80%; height: auto; margin: 12px auto 0; display: block; }

/* ---------- Product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card {
  background: var(--cream); border: 1px solid var(--line); border-radius: 3px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform .4s ease, box-shadow .4s ease; cursor: pointer;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(120,80,40,.16); }
.card .ph {
  aspect-ratio: 3/4; position: relative; overflow: hidden;
  background: linear-gradient(150deg, #f3ead9, #efe3cf);
  border-top-left-radius: 46% 40px; border-top-right-radius: 46% 40px;
  display: flex; align-items: center; justify-content: center;
}
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .ph.contain { background: #f4ecdb; border-top-left-radius: 46% 40px; border-top-right-radius: 46% 40px; }
.card .ph.contain img { object-fit: contain; padding: 16px; }
.gallery.contain { background: #f4ecdb; }
.gallery.contain #galMain { object-fit: contain; padding: 20px; }
.card .ph .ph-label { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--rose); opacity: .6; text-align: center; padding: 0 20px; }
.card .ph .ribbon {
  position: absolute; top: 14px; left: 14px; font-size: 9px; letter-spacing: 0.16em;
  text-transform: uppercase; color: #fff; background: var(--rose); padding: 5px 11px; z-index: 3; border-radius: 2px;
}
.card .meta { padding: 20px 22px 24px; text-align: center; }
.card .meta h3 { font-size: 23px; margin-bottom: 4px; }
.card .meta .fabric { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.card .meta .price { margin-top: 12px; font-family: var(--serif); font-size: 19px; color: var(--gold); font-style: italic; }

/* ---------- Filters ---------- */
.filters { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.chip {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 9px 20px; background: transparent; color: var(--ink-soft); border: 1px solid var(--line);
  cursor: pointer; transition: all .3s; border-radius: 2px;
}
.chip:hover { color: var(--rose); border-color: var(--rose); }
.chip.on { background: var(--rose); color: #fff; border-color: var(--rose); }

/* ---------- Story ---------- */
.story-sec { background: linear-gradient(180deg, var(--porcelain), var(--cream2)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .visual {
  aspect-ratio: 4/5; overflow: hidden; border: 1px solid var(--gold); border-radius: 4px;
  box-shadow: var(--shadow); background: #f3ead9; display: flex; align-items: center; justify-content: center; position: relative;
}
.split .visual img { width: 100%; height: 100%; object-fit: cover; }
.split .visual .ph-label { font-family: var(--serif); font-style: italic; color: var(--rose); opacity: .5; }
.split h2 { font-size: clamp(30px,4vw,46px); margin-bottom: 22px; }
.split p { color: var(--ink-soft); margin-bottom: 18px; }
.split .signature { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--rose); margin-top: 12px; }
.split .rosette { width: 92px; height: auto; margin-bottom: 12px; display: block; }

/* ---------- Try-on band ---------- */
.band {
  text-align: center; position: relative;
  background: linear-gradient(180deg, var(--cream2), #efe2c2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.band { overflow: hidden; }
.band-corner { position: absolute; width: 210px; height: auto; opacity: .55; pointer-events: none; z-index: 0; }
.band-corner.tl { left: -14px; top: -14px; }
.band-corner.br { right: -14px; bottom: -14px; transform: scale(-1); }
.band .wrap { position: relative; z-index: 1; }
.band h2 { font-size: clamp(32px,5vw,54px); margin-bottom: 16px; }
.band p { color: var(--ink-soft); max-width: 560px; margin: 0 auto 32px; font-family: var(--serif); font-style: italic; font-size: 20px; }

/* ---------- Contact ---------- */
.enquiry { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.enquiry .frow { display: flex; gap: 16px; }
.enquiry input, .enquiry textarea {
  width: 100%; background: var(--cream); border: 1px solid var(--line); color: var(--ink);
  font-family: var(--sans); font-weight: 300; font-size: 14px; letter-spacing: 0.03em;
  padding: 15px 18px; transition: border-color .3s; border-radius: 2px;
}
.enquiry input:focus, .enquiry textarea:focus { outline: none; border-color: var(--rose); }
.enquiry input::placeholder, .enquiry textarea::placeholder { color: #b8a894; }
.enquiry button { align-self: center; margin-top: 6px; }
.form-note { text-align: center; color: var(--rose); font-family: var(--serif); font-style: italic; font-size: 16px; min-height: 20px; opacity: 0; transition: opacity .4s; }
.form-note.show { opacity: 1; }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: #e9ddcb; padding: 66px 0 40px; text-align: center; }
footer .brand { font-size: 30px; color: #fff; }
footer .brand::after { color: var(--gold-soft); }
footer .garland-foot { width: 300px; max-width: 80%; height: auto; margin: 0 auto 22px; display: block; }
footer .social { display: flex; gap: 26px; justify-content: center; margin: 22px 0; }
footer .social a { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #d8c7b0; }
footer .social a:hover { color: var(--gold-soft); }
footer .fine { font-size: 11px; color: #9a8975; letter-spacing: 0.08em; margin-top: 18px; }

/* ---------- Modal ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(58,43,35,.55); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; z-index: 100; padding: 24px; }
.modal-bg.open { display: flex; }
.modal { background: var(--cream); border: 1px solid var(--gold); border-radius: 4px; max-width: 900px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; max-height: 88vh; overflow: hidden; box-shadow: 0 40px 90px rgba(58,43,35,.35); position: relative; }
.modal .m-visual { background: #f3ead9; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.modal .m-visual .ph-label { font-family: var(--serif); font-style: italic; color: var(--rose); opacity: .5; padding: 40px; }
.modal .m-body { padding: 44px 40px; overflow-y: auto; }
.modal .m-body .eyebrow { margin-bottom: 10px; }
.modal .m-body h3 { font-size: 34px; margin-bottom: 8px; }
.modal .m-body .fabric { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.modal .m-body .price { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--gold); margin: 10px 0 22px; }
.modal .m-body p.desc { color: var(--ink-soft); margin-bottom: 26px; }
.modal .m-body .row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.modal .close { position: absolute; top: 16px; right: 22px; font-size: 26px; color: var(--ink); background: none; border: none; cursor: pointer; z-index: 110; }

/* gallery */
.gallery { width: 100%; height: 100%; display: flex; flex-direction: column; }
#galMain { width: 100%; flex: 1; object-fit: cover; min-height: 0; }
.thumbs { display: flex; gap: 6px; padding: 8px; background: #efe3cf; }
.thumbs img { width: 52px; height: 66px; object-fit: cover; opacity: .55; cursor: pointer; border: 1px solid transparent; transition: .25s; }
.thumbs img.on, .thumbs img:hover { opacity: 1; border-color: var(--rose); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   MOTION LAYER
   ============================================================ */

/* drifting petals in the hero */
.petal-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.petal { position: absolute; top: -6%; width: 20px; height: auto; opacity: 0; will-change: transform, opacity; filter: drop-shadow(0 3px 4px rgba(120,30,30,.15)); }
@keyframes petalfall {
  0%   { transform: translate3d(0,-10%,0) rotate(0deg);   opacity: 0; }
  8%   { opacity: .9; }
  92%  { opacity: .9; }
  100% { transform: translate3d(var(--drift,40px),112vh,0) rotate(var(--spin,420deg)); opacity: 0; }
}

/* blooming ornaments on reveal */
.reveal .rule, .reveal .rosette {
  opacity: 0; transform: scale(.35) rotate(-22deg); transform-origin: center;
  transition: opacity 1s ease .1s, transform 1.1s cubic-bezier(.2,.8,.2,1) .1s;
}
.reveal.in .rule, .reveal.in .rosette { opacity: 1; transform: none; }

/* card motion */
.card { position: relative; }
.card .ph img { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.card:hover .ph img { transform: scale(1.06); }
.card::after {
  content: ""; position: absolute; right: 6px; bottom: 74px; width: 104px; height: 52px;
  background: url("../assets/ornament/sprig.svg") center/contain no-repeat;
  opacity: 0; transform: translateY(12px) scale(.9); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1);
  pointer-events: none; z-index: 4;
}
.card:hover::after { opacity: .96; transform: none; }

/* gold-rose shimmer on the accent word */
.hero h1 em {
  background: linear-gradient(100deg, var(--rose) 18%, #d64b63 38%, var(--gold-soft) 52%, #d64b63 66%, var(--rose) 84%);
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: 220% center; } }

@media (prefers-reduced-motion: reduce) {
  .petal-layer { display: none; }
  .hero-portrait .cutout, .hero-portrait .glow, .hero-portrait .emblem-ring, .hero h1 em { animation: none !important; }
  .hero h1 em { -webkit-text-fill-color: var(--rose); color: var(--rose); }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 120px; }
  .hero .inner { max-width: 640px; margin: 0 auto; }
  .hero .garland-top { margin: 0 auto 8px; }
  .hero .cta-row { justify-content: center; }
  .hero-portrait { max-width: 340px; margin-top: 16px; }
  .scroll-cue { display: none; }
}
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .modal { grid-template-columns: 1fr; }
  .modal .m-visual { aspect-ratio: 3/4; }
  nav.links { display: none; position: absolute; top: 100%; right: 0; left: 0; flex-direction: column; background: rgba(250,246,239,.98); padding: 24px 40px; gap: 20px; border-bottom: 1px solid var(--line); }
  nav.links.open { display: flex; }
  .nav-toggle { display: block; }
  header.nav { padding: 16px 24px; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
  .wrap { padding: 0 20px; }
  .enquiry .frow { flex-direction: column; }
}

/* ============================================================
   CART + SHOP CONTROLS
   ============================================================ */
.nav-right { display: flex; align-items: center; gap: 22px; }
.cart-btn {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft); background: none; border: none; cursor: pointer; position: relative; padding: 4px 2px;
  transition: color .3s;
}
.cart-btn:hover { color: var(--rose); }
.cart-count { background: var(--rose); color: #fff; border-radius: 11px; font-size: 10px; padding: 1px 7px; margin-left: 7px; vertical-align: middle; }
.cart-btn.pop { animation: cartPop .4s ease; }
@keyframes cartPop { 0%,100% { transform: scale(1); } 40% { transform: scale(1.18); } }

.card .meta .add-btn { margin-top: 14px; width: 100%; padding: 11px 0; font-size: 11px; }
.load-more { display: block; margin: 44px auto 0; }

/* drawer */
.cart-backdrop { position: fixed; inset: 0; background: rgba(58,43,35,.5); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 200; }
.cart-drawer { position: fixed; top: 0; right: 0; height: 100%; width: 400px; max-width: 92vw;
  background: var(--porcelain); box-shadow: -20px 0 60px rgba(58,39,18,.28); z-index: 201;
  transform: translateX(100%); transition: transform .38s cubic-bezier(.4,.1,.2,1);
  display: flex; flex-direction: column; }
body.cart-on .cart-backdrop { opacity: 1; visibility: visible; }
body.cart-on .cart-drawer { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 26px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-family: var(--serif); font-size: 26px; }
.cart-x { background: none; border: none; font-size: 28px; color: var(--ink); cursor: pointer; line-height: 1; }
.cart-body { flex: 1; overflow-y: auto; padding: 14px 26px; }
.cart-empty { color: var(--muted); font-family: var(--serif); font-style: italic; font-size: 18px; text-align: center; margin-top: 40px; }
.cart-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ci-thumb { width: 72px; height: 90px; background: #f3ead9; border-radius: 3px; overflow: hidden; flex: none; }
.ci-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ci-name { font-family: var(--serif); font-size: 18px; line-height: 1.2; }
.ci-price { color: var(--gold); font-family: var(--serif); font-style: italic; margin: 3px 0 10px; }
.ci-qty { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.ci-qty button { width: 26px; height: 26px; border: 1px solid var(--line); background: #fff; cursor: pointer; border-radius: 3px; color: var(--ink); }
.ci-qty .ci-rm { width: auto; padding: 0 8px; margin-left: auto; border: none; color: var(--muted); text-decoration: underline; font-size: 11px; }
.cart-foot { padding: 20px 26px 26px; border-top: 1px solid var(--line); }
.cart-subtotal { display: flex; justify-content: space-between; font-family: var(--serif); font-size: 20px; margin-bottom: 16px; }
.cart-checkout { width: 100%; }
.cart-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }
.cart-toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 14px 24px; border-radius: 4px; font-size: 13px; letter-spacing: .04em;
  opacity: 0; transition: opacity .3s, transform .3s; z-index: 300; box-shadow: 0 14px 40px rgba(0,0,0,.25); }
.cart-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 900px) {
  .nav-right { gap: 14px; }
  .cart-btn { order: -1; }
}

/* ============================================================
   MAIN LOGO SHOWPIECE
   ============================================================ */
:root { --logo-gold: #b77b30; --logo-gold-lt: #e9c27a; }

/* nav brand = the logo */
.brand { display: flex; align-items: center; gap: 12px; padding-left: 0;
  font-family: "Cinzel", Georgia, serif; font-weight: 500; font-size: 21px; letter-spacing: .16em; color: var(--logo-gold); }
.brand::after { content: none; }
.brand .brand-mark { height: 42px; width: auto; transition: transform .4s ease, height .4s ease; }
.brand:hover .brand-mark { transform: rotate(-4deg) scale(1.06); }
header.nav.scrolled .brand .brand-mark { height: 34px; }

/* stage */
.logo-stage { position: relative; z-index: 2; justify-self: center; width: 100%; max-width: 470px; perspective: 1200px; }
.logo-stage .dust { position: absolute; left: -25%; top: -15%; width: 150%; height: 130%; pointer-events: none; z-index: 0; }
.logo-stage .halo {
  position: absolute; z-index: 1; left: 50%; top: 40%; width: 110%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  transform: translate(-50%,-50%);
  background: radial-gradient(closest-side, rgba(233,194,122,.55), rgba(233,194,122,.18) 45%, transparent 72%);
  filter: blur(30px); opacity: 0;
  animation: haloIn 1.6s ease .1s forwards, haloPulse 7s ease-in-out 1.7s infinite;
}
.logo-stage .rays {
  position: absolute; z-index: 1; left: 50%; top: 40%; width: 150%; aspect-ratio: 1; pointer-events: none; opacity: 0;
  transform: translate(-50%,-50%) rotate(0deg);
  background: repeating-conic-gradient(from 0deg, rgba(212,160,80,.17) 0deg 3.5deg, transparent 3.5deg 17deg);
  -webkit-mask: radial-gradient(closest-side, #000 8%, transparent 68%);
          mask: radial-gradient(closest-side, #000 8%, transparent 68%);
  animation: raysIn 2.6s ease .5s forwards, raysSpin 90s linear infinite;
}
.logo-stage .tilt { position: relative; z-index: 3; transform-style: preserve-3d; transition: transform .35s ease-out; will-change: transform; }

/* the mark */
.mark-wrap { position: relative; width: 100%; aspect-ratio: 848 / 1018; animation: floaty 9s ease-in-out 3s infinite; }
.mark-wrap .mark {
  display: block; width: 100%; height: auto; opacity: 0;
  clip-path: circle(0% at 30.7% 34.8%);
  animation: bloom 2.6s cubic-bezier(.22,.8,.2,1) .35s forwards;
}
.mark-wrap .sheen, .word-wrap .word-sheen {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background: linear-gradient(115deg, transparent 40%, rgba(255,246,220,.95) 50%, transparent 60%);
  background-size: 320% 100%; background-position: 130% 0;
}
.mark-wrap .sheen {
  -webkit-mask: url("../assets/brand/logo-mark.png") center / 100% 100% no-repeat;
          mask: url("../assets/brand/logo-mark.png") center / 100% 100% no-repeat;
  animation: sheen 6.5s ease-in-out 3s infinite;
}
.glint {
  position: absolute; z-index: 3; width: 34px; height: 34px; pointer-events: none; opacity: 0;
  transform: translate(-50%,-50%) scale(0) rotate(0deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C12.8 8.6 15.4 11.2 24 12C15.4 12.8 12.8 15.4 12 24C11.2 15.4 8.6 12.8 0 12C8.6 11.2 11.2 8.6 12 0Z' fill='%23fff6dc'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 0 6px rgba(255,214,140,.95)) drop-shadow(0 0 14px rgba(255,200,110,.6));
  animation: glint 5.5s ease-in-out infinite;
}
.glint.g1 { left: 30.7%; top: 34.8%; animation-delay: 3.1s; }
.glint.g2 { left: 32.4%; top: 52.5%; width: 26px; height: 26px; animation-delay: 4.5s; }
.glint.g3 { left: 80.8%; top: 14.1%; width: 22px; height: 22px; animation-delay: 5.7s; }

/* the name, written by light */
.word-wrap { position: relative; width: 92%; margin: 4% auto 0; aspect-ratio: 1038 / 101; }
.word-wrap .word {
  display: block; width: 100%; height: auto; opacity: 0;
  clip-path: inset(0 100% 0 0); filter: blur(6px);
  animation: write 1.8s cubic-bezier(.5,.1,.2,1) 2s forwards;
}
.word-wrap .word-sheen {
  -webkit-mask: url("../assets/brand/logo-word.png") center / 100% 100% no-repeat;
          mask: url("../assets/brand/logo-word.png") center / 100% 100% no-repeat;
  animation: sheen 6.5s ease-in-out 3.7s infinite;
}
.word-edge {
  position: absolute; top: -35%; bottom: -35%; left: 0; width: 3px; z-index: 3; pointer-events: none; opacity: 0;
  background: linear-gradient(transparent, rgba(255,240,200,.95), transparent);
  box-shadow: 0 0 14px 4px rgba(255,210,130,.8);
  animation: edge 1.8s cubic-bezier(.5,.1,.2,1) 2s forwards;
}

@keyframes bloom {
  0%   { clip-path: circle(0% at 30.7% 34.8%);   opacity: 0; transform: scale(.94); filter: blur(10px); }
  18%  { opacity: 1; }
  100% { clip-path: circle(150% at 30.7% 34.8%); opacity: 1; transform: scale(1);   filter: blur(0); }
}
@keyframes sheen {
  0%       { background-position: 130% 0; opacity: 1; }
  55%      { background-position: -30% 0; opacity: 1; }
  56%,100% { background-position: -30% 0; opacity: 0; }
}
@keyframes glint {
  0%, 70%, 100% { transform: translate(-50%,-50%) scale(0) rotate(0deg);   opacity: 0; }
  78%           { transform: translate(-50%,-50%) scale(1) rotate(45deg);  opacity: 1; }
  88%           { transform: translate(-50%,-50%) scale(.2) rotate(90deg); opacity: 0; }
}
@keyframes write { 0% { clip-path: inset(0 100% 0 0); filter: blur(6px); opacity: 1; } 100% { clip-path: inset(0 0 0 0); filter: blur(0); opacity: 1; } }
@keyframes edge  { 0% { left: 0; opacity: 1; } 92% { left: 100%; opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes haloIn    { to { opacity: .9; } }
@keyframes haloPulse { 0%,100% { opacity: .75; transform: translate(-50%,-50%) scale(1); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.08); } }
@keyframes raysIn    { to { opacity: 1; } }
@keyframes raysSpin  { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(360deg); } }

/* her cutout now lives in the Atelier story */
.split .visual.cutout-visual { border: none; box-shadow: none; background: transparent; overflow: visible; aspect-ratio: 844 / 956; }
.split .visual.cutout-visual img { object-fit: contain; filter: drop-shadow(0 20px 30px rgba(120,60,30,.25)); }

/* footer wordmark */
footer .foot-word { display: block; width: 260px; max-width: 70%; height: auto; margin: 0 auto; filter: brightness(1.25); }

@media (max-width: 960px) {
  .logo-stage { max-width: 340px; margin-top: 18px; }
  .brand { font-size: 17px; }
  .brand .brand-mark { height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .mark-wrap, .mark-wrap .mark, .word-wrap .word, .word-edge, .sheen, .word-sheen, .glint,
  .logo-stage .rays, .logo-stage .halo { animation: none !important; }
  .mark-wrap .mark, .word-wrap .word { clip-path: none; opacity: 1; filter: none; }
  .logo-stage .halo { opacity: .8; }
}

/* ============================================================
   THEME v2 — gold, cream silk & dusty blue (from the V scarf)
   ============================================================ */
:root {
  --porcelain: #f6eedd;
  --cream:     #fffaf0;
  --cream2:    #efe3c8;
  --ink:       #3a2a14;
  --ink-soft:  #6b5431;
  --rose:      #a8761f;   /* primary accent is now bronze-gold */
  --rose-deep: #85591a;
  --gold:      #b8862b;
  --gold-soft: #e2bd62;
  --line:      #e6d7b5;
  --muted:     #9a8663;
  --blue:      #7f97b8;   /* dusty blue from the silk */
  --blue-deep: #566f93;
  --navy:      #1f2b42;
  --paper:     #fefefc;   /* the logo's own paper colour */
}

/* faint silk watermark behind the whole site */
body::before {
  opacity: 1;
  background:
    linear-gradient(rgba(246,238,221,.9), rgba(246,238,221,.9)),
    url("../assets/brand/silk-pattern.jpg") center / cover no-repeat;
}

.eyebrow { color: var(--blue-deep); }
.hero .cyr { color: var(--blue-deep); }
.hero h1 em {
  background: linear-gradient(100deg, #9c6b1f 15%, #d9a441 35%, #fff0c8 50%, #d9a441 65%, #9c6b1f 85%);
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* hero: silk drape, veiled for text, luminous clearing behind the logo */
.hero {
  background:
    radial-gradient(ellipse 34% 60% at 75% 50%, var(--paper) 0%, rgba(254,254,252,.95) 48%, rgba(254,254,252,0) 100%),
    linear-gradient(90deg, rgba(246,238,221,.95) 0%, rgba(246,238,221,.86) 42%, rgba(246,238,221,.5) 100%),
    url("../assets/brand/silk-pattern.jpg") center / cover no-repeat,
    var(--porcelain);
}
.logo-stage .halo { background: radial-gradient(closest-side, rgba(233,194,122,.34), rgba(233,194,122,.1) 50%, transparent 74%); }

/* new main logo geometry + animation origins (flower 33.2/41.2, V 18.4/47.4, hair 73.6/7) */
.mark-wrap { aspect-ratio: 779 / 1015; }
.mark-wrap .mark { clip-path: circle(0% at 33.2% 41.2%); filter: drop-shadow(0 18px 34px rgba(150,100,30,.22)); }
.mark-wrap .sheen {
  -webkit-mask: url("../assets/brand/logo2-mark-ink.png") center / 100% 100% no-repeat;
          mask: url("../assets/brand/logo2-mark-ink.png") center / 100% 100% no-repeat;
}
.word-wrap { aspect-ratio: 987 / 105; }
.word-wrap .word-sheen {
  -webkit-mask: url("../assets/brand/logo2-word-ink.png") center / 100% 100% no-repeat;
          mask: url("../assets/brand/logo2-word-ink.png") center / 100% 100% no-repeat;
}
.glint.g1 { left: 33.2%; top: 41.2%; }
.glint.g2 { left: 18.4%; top: 47.4%; }
.glint.g3 { left: 73.6%; top: 7%; }
@keyframes bloom {
  0%   { clip-path: circle(0% at 33.2% 41.2%);   opacity: 0; transform: scale(.94); filter: blur(10px); }
  18%  { opacity: 1; }
  100% { clip-path: circle(150% at 33.2% 41.2%); opacity: 1; transform: scale(1);   filter: blur(0) drop-shadow(0 18px 34px rgba(150,100,30,.22)); }
}

/* nav + footer use the V monogram */
.brand .brand-mark { height: 38px; }
header.nav.scrolled .brand .brand-mark { height: 32px; }
footer { background: var(--navy); }
footer .foot-v { display: block; width: 74px; height: auto; margin: 0 auto 16px; filter: drop-shadow(0 4px 14px rgba(0,0,0,.35)); }
footer .foot-word { filter: none; }
footer .social a { color: #c9d3e3; }
footer .social a:hover { color: var(--gold-soft); }
footer .fine { color: #8d9ab2; }

/* the silk scarf image in the Atelier story */
.split .visual { border-color: var(--gold); }
.split .visual img.silk { object-fit: cover; }
.split .rosette.v { width: 70px; }

/* try-on band on silk */
.band {
  background:
    linear-gradient(rgba(239,227,200,.84), rgba(239,227,200,.84)),
    url("../assets/brand/silk-pattern.jpg") center / cover no-repeat;
}

@media (max-width: 960px) {
  .hero {
    background:
      radial-gradient(ellipse 60% 30% at 50% 74%, var(--paper) 0%, rgba(254,254,252,.95) 45%, rgba(254,254,252,0) 100%),
      linear-gradient(rgba(246,238,221,.9), rgba(246,238,221,.82)),
      url("../assets/brand/silk-pattern.jpg") center / cover no-repeat,
      var(--porcelain);
  }
}
/* keep the whole lockup above the fold */
.logo-stage { max-width: min(440px, calc((100vh - 170px) * 0.69)); }
.hero { padding-top: 112px; padding-bottom: 48px; }
@media (max-width: 960px) { .logo-stage { max-width: 330px; } }
/* Russian title under the English name */
.name-ru { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--blue-deep); margin: -2px 0 6px; letter-spacing: .02em; }
.modal .m-body .name-ru { font-size: 18px; margin: -4px 0 10px; }
/* colourway line with swatch */
.colorway { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 2px 0 4px;
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.colorway .swatch { width: 13px; height: 13px; border-radius: 50%; flex: none;
  border: 1px solid rgba(58,42,20,.25); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.modal .m-body .colorway { justify-content: flex-start; font-size: 12.5px; margin: 0 0 6px; }
.modal .m-body .colorway .swatch { width: 16px; height: 16px; }

/* ---------- shop controls at catalogue scale ---------- */
.filters { display: block; margin-bottom: 40px; }
.filters .chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.shop-tools { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }
.shop-tools input[type=search], .shop-tools select {
  font-family: var(--sans); font-size: 13px; letter-spacing: .03em; color: var(--ink);
  background: rgba(255,250,240,.92); border: 1px solid var(--line); border-radius: 3px; padding: 11px 14px;
}
.shop-tools input[type=search] { width: min(340px, 100%); }
.shop-tools input:focus, .shop-tools select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,134,43,.12); }
.shop-count { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); min-width: 110px; }

.specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 4px 0 24px; font-size: 13.5px; }
.specs dt { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.specs dd { color: var(--ink-soft); }
@media (max-width: 560px) { .shop-tools select { flex: 1; } .shop-count { width: 100%; text-align: center; } }

/* size / option picker */
.opt-label { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 4px 0 8px; }
.opt-label span { text-transform: none; letter-spacing: .02em; font-style: italic; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.opt { font-family: var(--sans); font-size: 12.5px; padding: 9px 14px; min-width: 52px; background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: 3px; cursor: pointer; transition: all .2s; }
.opt:hover { border-color: var(--gold); }
.opt.on { background: var(--rose); border-color: var(--rose); color: #fff; }
#mAdd:disabled { opacity: .55; cursor: not-allowed; }

/* ============================================================
   COLOUR FILTER · CARD BACK VIEW · AUTO GALLERY
   ============================================================ */
.color-filter { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.cf { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 7px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.6); font: 400 11px/1 var(--sans, "Jost", sans-serif); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); cursor: pointer; transition: .25s; }
.cf:hover { border-color: var(--gold); color: var(--ink); }
.cf.on { border-color: var(--rose); color: var(--rose); background: #fff; box-shadow: 0 0 0 2px rgba(168,118,31,.15); }
.cf-dot { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); flex: none; }
.cf-dot.all { background: conic-gradient(#b3262e, #e0782e, #d9a62c, #3f7a4a, #4a6fb0, #7d5aa6, #e48aa8, #b3262e); }
@media (max-width: 560px) { .color-filter { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; -webkit-overflow-scrolling: touch; } .cf { flex: none; } }

/* card: the back of the shawl fades in on hover */
.card .ph img.alt { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) { .card:hover .ph img.alt { opacity: 1; } }

/* gallery: photos cross-fade by themselves */
.modal .m-visual { background: #fff; }
.gallery .slides { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #fff; }
.gallery .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(1.02); transition: opacity .9s ease, transform 3.4s ease; }
.gallery .slide.on { opacity: 1; transform: scale(1); }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,.85); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .3s; z-index: 2; }
.gal-nav.prev { left: 10px; } .gal-nav.next { right: 10px; }
.gallery:hover .gal-nav, .gal-nav:focus-visible { opacity: 1; }
@media (hover: none) { .gal-nav { opacity: .8; } }
.thumbs .th { position: relative; padding: 0; border: 1px solid transparent; background: none; cursor: pointer; opacity: .6; transition: .25s; }
.thumbs .th img { width: 56px; height: 70px; object-fit: cover; display: block; background: #fff; opacity: 1; border: 0; }
.thumbs .th span { position: absolute; left: 0; right: 0; bottom: 0; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; text-align: center; color: #fff; background: rgba(31,43,66,.55); padding: 2px 0; }
.thumbs .th.on, .thumbs .th:hover { opacity: 1; border-color: var(--rose); }
.thumbs { justify-content: center; }
@media (prefers-reduced-motion: reduce) { .gallery .slide { transition: none; transform: none; } }
