/* nfunds · Кадифе и перла — системата на бранда */

:root {
  /* перла — хартията на сайта */
  --pearl: #F6EFE6;
  --pearl-2: #EFE5D8;
  --pearl-3: #E6D8C6;
  --line: #DCCBB5;
  /* мастило */
  --ink: #22160F;
  --ink-2: #463629;
  --muted: #6B5849;
  /* злато */
  --gold: #C9A462;
  --gold-2: #E9CF93;
  --gold-deep: #8C6A2E;
  /* текст върху кадифе */
  --cream: #F8F1E4;
  --cream-2: rgba(248, 241, 228, 0.78);
  --cream-3: rgba(248, 241, 228, 0.56);

  /* трите кутии */
  --mp: #4A1D2F;  --mp-l: #E7A8B8;  --mp-blush: #F3DDE3;  --mp-ink: #5A2238;
  --so: #1F2B49;  --so-l: #A9BBE2;  --so-blush: #E1E6F1;  --so-ink: #243357;
  --pr: #173A2E;  --pr-l: #97CDB6;  --pr-blush: #DCEDE4;  --pr-ink: #1D4638;

  /* шрифтове */
  --display: 'Yeseva One', 'Georgia', serif;
  --sans: 'Onest', 'Segoe UI', sans-serif;
  --hand: 'Caveat', cursive;

  /* движение — токени */
  --dur-fast: 180ms;
  --dur-base: 260ms;
  --dur-slow: 450ms;
  --dur-slower: 750ms;
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-emph: cubic-bezier(0.2, 0, 0, 1);

  /* ритъм */
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #1C120D;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--gold-2); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* коприната — фиксирана зад всичко */
#silk {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; display: block;
}
.no-silk #silk { display: none; }
.no-silk body { background: radial-gradient(120% 90% at 70% 20%, #5B3321 0%, #2A1810 55%, #150C08 100%); }

/* зърно — фина текстура върху всичко */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.3  0 0 0 0 0.22  0 0 0 0 0.15  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

main, header, footer { position: relative; z-index: 1; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ——— раздели: кадифе (прозрачни, коприната се вижда) и хартия ——— */
.velvet { color: var(--cream); }
.paper { background: var(--pearl); color: var(--ink); }
.paper--dots {
  background-color: var(--pearl);
  background-image: radial-gradient(circle, rgba(140, 106, 46, 0.22) 1.1px, transparent 1.3px);
  background-size: 26px 26px;
}
.paper + .paper { border-top: 1px solid var(--line); }

/* ——— типография ——— */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
}
.kicker::before { content: ''; width: 34px; height: 1px; background: currentColor; opacity: 0.6; }
.velvet .kicker { color: var(--gold-2); }
.paper .kicker { color: var(--gold-deep); }
.display { font-family: var(--display); font-weight: 400; letter-spacing: -0.005em; line-height: 0.98; margin: 0; text-wrap: balance; }
.hand { font-family: var(--hand); font-weight: 600; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; }

/* ——— навигация ——— */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), color var(--dur-base);
  color: var(--cream);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.nav.is-paper { background: rgba(246, 239, 230, 0.97); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(34, 22, 15, 0.35); }
.nav.is-scrolled:not(.is-paper) { background: rgba(28, 18, 13, 0.42); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); }
.brand span { font-family: var(--display); font-size: 27px; letter-spacing: 0.01em; line-height: 1; }
.nav__links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav__links a { text-decoration: none; opacity: 0.86; transition: opacity var(--dur-fast); display: inline-flex; align-items: center; gap: 8px; }
.nav__links a:hover { opacity: 1; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--mp { background: #C9728A; } .dot--so { background: #6E86C2; } .dot--pr { background: #5FA487; } .dot--ad { background: var(--gold); }
.nav__links a[aria-current="page"] { opacity: 1; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 7px; }
.btn-ghost {
  border: 1px solid currentColor; border-radius: 999px; padding: 10px 20px; opacity: 1 !important;
}
.nav__menu { display: none; background: none; border: 0; color: inherit; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav__menu span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast); }

/* ——— бутони ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: 0.01em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), background var(--dur-base);
}
.btn:hover { transform: translateY(-2px); }
.btn--gold {
  color: #2A1A0E;
  background: linear-gradient(160deg, #F5E3B0 0%, #D9B670 42%, #B98C3E 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 10px 26px -10px rgba(201, 164, 98, 0.75);
}
.btn--gold:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 16px 34px -12px rgba(201, 164, 98, 0.9); }
.btn--line { color: inherit; border-color: currentColor; background: transparent; }
.btn--ink { color: var(--pearl); background: var(--ink); }
.arrow { transition: transform var(--dur-base) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* ——— първият екран ——— */
.hero::before, .chapter::before, .story::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(90% 70% at 25% 55%, rgba(18, 10, 6, 0.55), rgba(18, 10, 6, 0) 70%);
}
.hero, .chapter, .story { position: relative; z-index: 1; }
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 110px 0 40px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr); gap: 48px; align-items: end; }
.hero h1 { font-size: clamp(46px, 5.7vw, 96px); margin-top: 22px; }
.hero h1 .g {
  display: block;
  background: linear-gradient(100deg, #F6E3B4 0%, #D8B26A 38%, #F3DCA0 55%, #B8873A 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__side { display: flex; flex-direction: column; gap: 26px; padding-bottom: 12px; }
.flip {
  font-size: clamp(22px, 2.3vw, 30px); line-height: 1.25; font-weight: 400; color: var(--cream);
  min-height: 2.6em;
}
.flip__slot { display: inline-block; position: relative; perspective: 900px; vertical-align: bottom; transition: width var(--dur-slow) var(--ease-emph); }
.flip__w {
  position: absolute; left: 0; bottom: 0; white-space: nowrap; font-family: var(--hand); font-weight: 700; font-size: 1.28em;
  backface-visibility: hidden; transform-origin: 50% 50% -0.5em;
  transition: transform var(--dur-slower) var(--ease-emph), opacity var(--dur-slower) var(--ease-emph);
}
.flip__w.is-out { transform: rotateX(90deg); opacity: 0; }
.flip__w.is-in-from { transform: rotateX(-90deg); opacity: 0; transition: none; }
.flip__w[data-p="mp"] { color: var(--mp-l); }
.flip__w[data-p="so"] { color: var(--so-l); }
.flip__w[data-p="pr"] { color: var(--pr-l); }
.hero__sub { color: var(--cream-2); max-width: 30em; margin: 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* трите бижута */
.jewels { margin-top: clamp(34px, 5vh, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.jewel {
  position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center;
  padding: 16px 20px 16px 16px; border-radius: 28px; text-decoration: none; color: var(--cream);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(233, 207, 147, 0.22);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base), background var(--dur-base), box-shadow var(--dur-slow) var(--ease-out);
  transform-style: preserve-3d;
}
.jewel img { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.7); transition: transform var(--dur-slow) var(--ease-emph); }
.jewel__name { font-family: var(--display); font-size: 26px; line-height: 1.05; }
.jewel__what { font-size: 14px; color: var(--cream-2); line-height: 1.4; margin-top: 4px; }
.jewel__price { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--gold-2); margin-top: 8px; }
.jewel:hover, .jewel.is-lit {
  transform: translateY(-6px); border-color: rgba(233, 207, 147, 0.6);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: 0 26px 50px -26px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(233, 207, 147, 0.12);
}
.jewel:hover img, .jewel.is-lit img { transform: rotate(-4deg) scale(1.04); }
.hero__foot { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: var(--cream-3); }
.hero__foot span::before { content: '✦'; color: var(--gold); margin-right: 8px; font-size: 11px; }

/* ——— първият екран на компютър: ателието ———
   Три парчета кадифе (слива, нощно синьо, зелено), съшити с два шева, и перлен етикет по средата.
   Парчетата и процепите рисува коприната (js/silk.js); тук са бодовете, етикетът и бележките с креда. */
.atelier { display: none; }
@media (min-width: 1041px) {
  .hero__mob { display: none; }
  .hero { padding: 0; justify-content: flex-start; }
  .hero::before { background: linear-gradient(180deg, rgba(14, 9, 6, 0.3) 0%, rgba(14, 9, 6, 0) 20%, rgba(14, 9, 6, 0) 60%, rgba(14, 9, 6, 0.22) 84%, rgba(14, 9, 6, 0) 100%); }
  .no-silk .hero { background: linear-gradient(90deg, var(--mp) 0 33.33%, var(--so) 33.33% 66.67%, var(--pr) 66.67%); }

  .atelier {
    position: relative; flex: 1; width: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: calc(76px + clamp(8px, 2.2vh, 28px)) 0 clamp(28px, 5.5vh, 64px);
  }
  .atelier__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 1; }

  /* бодовете по шева */
  .seams { opacity: var(--split, 1); }
  .seam { fill: none; stroke: #EBD196; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 10 7; }
  .seam--sh { stroke: rgba(0, 0, 0, 0.5); transform: translate(0.8px, 1.4px); }

  /* перленият етикет */
  .label {
    position: relative; z-index: 2; width: min(680px, 48vw); text-align: center; color: var(--ink);
    padding: clamp(22px, 3.8vh, 40px) clamp(30px, 3.4vw, 54px) clamp(18px, 2.8vh, 28px);
    border-radius: 13px;
    background:
      repeating-linear-gradient(0deg, rgba(140, 106, 46, 0.035) 0 1px, transparent 1px 3px),
      repeating-linear-gradient(90deg, rgba(140, 106, 46, 0.03) 0 1px, transparent 1px 3px),
      linear-gradient(128deg, #FCF8F1 0%, #F4EADC 42%, #FBF5EB 58%, #EFE3D1 100%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 -1px 0 rgba(140, 106, 46, 0.18) inset,
      0 46px 80px -40px rgba(0, 0, 0, 0.8), 0 10px 22px -12px rgba(0, 0, 0, 0.55);
  }
  .label__stitch { position: absolute; left: 11px; top: 11px; width: calc(100% - 22px); height: calc(100% - 22px); overflow: visible; pointer-events: none; }
  .label__stitch rect { fill: none; stroke: rgba(168, 128, 62, 0.7); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 9 6.5; }
  .label__kicker {
    display: inline-flex; align-items: center; gap: 14px;
    font-size: 12.5px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-deep);
  }
  .label__kicker::before, .label__kicker::after { content: ''; width: 44px; height: 1px; background: currentColor; opacity: 0.55; }
  .label h1 { font-size: clamp(36px, min(4.2vw, 7.4vh), 68px); line-height: 1; margin: 0.26em 0 0; color: var(--ink); }
  .label h1 .g { background: linear-gradient(100deg, #8C6A2E 0%, #B98C3E 40%, #9A7430 62%, #6F5222 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.08em; }
  .label__foot {
    display: flex; align-items: center; gap: 28px; text-align: left;
    margin-top: clamp(14px, 2.4vh, 24px); padding-top: clamp(12px, 2vh, 18px); gap: 22px;
    background: repeating-linear-gradient(90deg, rgba(168, 128, 62, 0.55) 0 9px, transparent 9px 15.5px) top / 100% 1.5px no-repeat;
  }
  .label__foot p { flex: 1; margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); text-wrap: balance; }
  .label__foot .btn { flex: none; min-height: 42px; padding: 0 20px; font-size: 14.5px; }

  /* бележките с креда */
  .chalk { font-family: var(--hand); font-weight: 700; line-height: 1; }
  .chalk--red { position: relative; z-index: 2; margin: clamp(14px, 2.6vh, 26px) 0 0; font-size: clamp(30px, min(2.6vw, 4.6vh), 42px); color: var(--cream); }
  .chalkline { fill: none; stroke: rgba(248, 241, 228, 0.82); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

  /* трите парчета */
  .pieces { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(30px, 6vh, 64px); }
  .piece { justify-self: center; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 2.4vh, 24px); text-decoration: none; color: var(--cream); padding: 6px 18px; border-radius: 22px; }
  .piece__where { font-size: clamp(34px, min(3.2vw, 5.6vh), 54px); }
  .piece[data-p="mp"] .piece__where { color: var(--mp-l); }
  .piece[data-p="so"] .piece__where { color: var(--so-l); }
  .piece[data-p="pr"] .piece__where { color: var(--pr-l); }
  .piece__card { display: flex; align-items: center; gap: clamp(16px, 1.6vw, 24px); text-align: left; transition: transform var(--dur-base) var(--ease-out); }
  .piece__card img { flex: none; width: clamp(96px, min(9.6vw, 17vh), 164px); height: auto; aspect-ratio: 1; border-radius: 24%; box-shadow: 0 26px 44px -18px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(233, 207, 147, 0.24); transition: transform var(--dur-slow) var(--ease-emph); }
  .piece__txt { display: flex; flex-direction: column; min-width: 0; }
  .piece__name { font-family: var(--display); font-size: clamp(30px, 2.5vw, 46px); line-height: 1.05; }
  .piece__what { font-size: clamp(15px, 1.15vw, 18px); line-height: 1.35; color: var(--cream-2); margin-top: 6px; max-width: 18em; text-wrap: balance; }
  .piece__price { font-size: clamp(13px, 1vw, 15.5px); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-2); margin-top: 10px; }
  .piece:hover .piece__card, .piece:focus-visible .piece__card { transform: translateY(-4px); }
  .piece:hover .piece__card img, .piece:focus-visible .piece__card img { transform: rotate(-4deg) scale(1.05); }

  /* зашиването при зареждане: шевовете → етикетът → кредата → продуктите */
  .js .atelier:not(.is-on) .label, .js .atelier:not(.is-on) .chalk, .js .atelier:not(.is-on) .piece__card, .js .atelier:not(.is-on) .chalkline { opacity: 0; }
  .atelier.is-on:not(.is-done) .label { animation: nf-label 1100ms var(--ease-emph) 550ms both; }
  .atelier.is-on:not(.is-done) .chalk--red { animation: nf-fade 600ms var(--ease-out) 1200ms both; }
  .atelier.is-on:not(.is-done) .chalkline { stroke-dasharray: 1; animation: nf-draw 750ms var(--ease-emph) 1350ms both; }
  .atelier.is-on:not(.is-done) .chalkline[data-k="1"] { animation-delay: 1450ms; }
  .atelier.is-on:not(.is-done) .chalkline[data-k="2"] { animation-delay: 1550ms; }
  .atelier.is-on:not(.is-done) .chalkline--head { stroke-dasharray: none; animation: nf-fade 300ms var(--ease-out) 2050ms both; }
  .atelier.is-on:not(.is-done) .piece__where { animation: nf-fade 600ms var(--ease-out) 1800ms both; }
  .atelier.is-on:not(.is-done) .piece__card { animation: nf-fade 700ms var(--ease-out) 1950ms both; }
  .atelier.is-on:not(.is-done) .piece:nth-child(2) .piece__where { animation-delay: 1900ms; }
  .atelier.is-on:not(.is-done) .piece:nth-child(2) .piece__card { animation-delay: 2050ms; }
  .atelier.is-on:not(.is-done) .piece:nth-child(3) .piece__where { animation-delay: 2000ms; }
  .atelier.is-on:not(.is-done) .piece:nth-child(3) .piece__card { animation-delay: 2150ms; }
}
@keyframes nf-label { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes nf-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nf-draw { from { stroke-dashoffset: 1; opacity: 1; } to { stroke-dashoffset: 0; opacity: 1; } }

/* ——— главите на продуктите ——— */
.chapter { padding: clamp(96px, 12vw, 170px) 0; }
.chapter__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.chapter--flip .chapter__art { order: 2; }
.chapter__art { position: relative; display: grid; place-items: center; }
.chapter__art img {
  width: min(440px, 80vw); height: auto; aspect-ratio: 1; border-radius: 22%;
  box-shadow: 0 60px 90px -40px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(233, 207, 147, 0.18);
  animation: float 9s var(--ease-out) infinite alternate;
}
.chapter__art::after {
  content: ''; position: absolute; left: 50%; bottom: -36px; width: 60%; height: 36px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.45), transparent); filter: blur(6px);
  animation: shadow 9s var(--ease-out) infinite alternate;
}
.chapter__num {
  position: absolute; top: -16%; left: -4%; z-index: 0; font-family: var(--display); font-size: clamp(130px, 16vw, 240px);
  line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(233, 207, 147, 0.42);
  pointer-events: none; user-select: none;
}
.chapter--flip .chapter__num { left: auto; right: -4%; }
.chapter__art img { position: relative; z-index: 1; }
.chapter h2 { font-size: clamp(56px, 7vw, 104px); margin: 18px 0 14px; }
.chapter .lead { color: var(--cream-2); max-width: 30em; margin: 0 0 30px; }
.feats { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 14px; }
.feats li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; color: var(--cream); font-size: 16.5px; line-height: 1.5; }
.feats li::before {
  content: '✦'; color: var(--gold-2); font-size: 13px; line-height: 1.9; text-align: center;
}
.feats b { font-weight: 600; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; margin-bottom: 26px; }
.price__main { font-family: var(--display); font-size: 48px; line-height: 1; }
.price__main small { font-family: var(--sans); font-size: 16px; color: var(--cream-2); margin-left: 6px; }
.price__founders {
  font-size: 14px; font-weight: 600; color: #2A1A0E; padding: 7px 14px; border-radius: 999px;
  background: linear-gradient(160deg, #F5E3B0, #D9B670);
}
.honest { font-size: 14px; color: var(--cream-3); max-width: 34em; margin: 22px 0 0; }
.addons { margin-top: 38px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.addon { border: 1px solid rgba(233, 207, 147, 0.25); border-radius: 18px; padding: 18px; background: rgba(255, 255, 255, 0.04); }
.addon__n { font-family: var(--display); font-size: 22px; }
.addon__p { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--gold-2); margin: 2px 0 8px; }
.addon p { margin: 0; font-size: 14px; color: var(--cream-2); line-height: 1.45; }
.addon s { opacity: 0.6; }

/* ——— манифестът ——— */
.manifest { height: 260vh; position: relative; }
.manifest__stick { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; }
.manifest__words { font-family: var(--display); font-size: clamp(60px, 10.6vw, 168px); line-height: 0.94; margin: 0; }
.manifest__words span { display: block; opacity: 0.08; transition: opacity 0.3s linear, transform 0.6s var(--ease-emph); transform: translateY(18px); }
.manifest__words span.on { opacity: 1; transform: none; }
.manifest__words span:nth-child(3) { color: var(--gold-deep); }
.manifest__text { max-width: 26em; font-size: clamp(18px, 1.7vw, 22px); color: var(--ink-2); margin: 36px 0 0; opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.manifest__text.on { opacity: 1; transform: none; }
.manifest__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: 40px; align-items: end; width: 100%; }
.manifest__note { font-family: var(--hand); font-size: 30px; line-height: 1.15; color: var(--gold-deep); transform: rotate(-3deg); opacity: 0; transition: opacity 0.6s var(--ease-out) 0.2s; }
.manifest__note.on { opacity: 1; }

/* ——— Какебо ——— */
.section { padding: clamp(90px, 11vw, 150px) 0; }
.section h2 { font-size: clamp(38px, 4.3vw, 64px); margin: 18px 0 20px; }
.kakebo__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.kanji { font-family: var(--sans); font-weight: 300; letter-spacing: 0.3em; opacity: 0.6; }
.card {
  background: #FBF7F1; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 1px 0 #fff inset, 0 24px 50px -34px rgba(60, 40, 20, 0.45);
}
.q { padding: 30px 32px; }
.q h3 { font-family: var(--display); font-weight: 400; font-size: 28px; margin: 0 0 18px; }
.q ol { list-style: none; counter-reset: q; margin: 0; padding: 0; display: grid; gap: 4px; }
.q li {
  counter-increment: q; display: grid; grid-template-columns: 44px 1fr; align-items: baseline; gap: 10px;
  padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 18px;
}
.q li:last-child { border-bottom: 0; }
.q li::before { content: counter(q); font-family: var(--hand); font-weight: 700; font-size: 34px; color: var(--mp-ink); line-height: 1; }
.cats { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.cats li { padding: 8px 16px; border-radius: 999px; background: var(--mp-blush); color: var(--mp-ink); font-size: 14px; font-weight: 600; }

.rule { margin-top: 26px; padding: 30px 32px; }
.rule__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
.rule__head h3 { font-family: var(--display); font-weight: 400; font-size: 28px; margin: 0; }
.rule__head .hand { font-size: 24px; color: var(--mp-ink); white-space: nowrap; }
.pearls { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 10px; margin: 22px 0 16px; }
.pearl {
  aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #FFFFFF 0%, #F4E7E9 45%, #D9C3C7 100%);
  box-shadow: 0 2px 4px rgba(90, 34, 56, 0.18);
  transform: scale(0.4); opacity: 0.25;
  transition: transform var(--dur-slow) var(--ease-emph), opacity var(--dur-slow);
}
.pearl.on { transform: scale(1); opacity: 1; }
.pearl--gold { background: radial-gradient(circle at 36% 30%, #FFF4C8, #E2B95C 55%, #A97A2C); box-shadow: 0 0 0 3px #FBF7F1, 0 0 0 4px var(--gold), 0 6px 14px -4px rgba(169, 122, 44, 0.7); }
.rule__labels { display: flex; justify-content: space-between; font-family: var(--hand); font-size: 24px; color: var(--muted); }
.rule p { margin: 18px 0 0; font-size: 17px; color: var(--ink-2); }
.rule p em { font-style: normal; background: linear-gradient(transparent 58%, #F6D9E0 58%); padding: 0 2px; }

/* ——— числата (барабани) ——— */
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.num { padding: 20px 26px; border-left: 1px solid var(--line); }
.num:first-child { border-left: 0; padding-left: 0; }
.num__v { font-family: var(--display); font-size: clamp(48px, 5.4vw, 80px); line-height: 1; display: flex; align-items: baseline; gap: 4px; color: var(--ink); }
.odo { display: inline-flex; overflow: hidden; height: 1em; line-height: 1; }
.odo__col { display: inline-block; height: 1em; overflow: hidden; }
.odo__strip { display: flex; flex-direction: column; will-change: transform; }
.odo__strip span { height: 1em; line-height: 1; text-align: center; }
.odo__gap { display: inline-block; width: 0.18em; }
.num__u { font-size: 0.45em; color: var(--gold-deep); }
.num__l { margin-top: 14px; font-size: 15px; color: var(--muted); max-width: 16em; line-height: 1.45; }

/* ——— как става ——— */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: s; margin-top: 44px; }
.step { padding: 30px; position: relative; }
.step::before {
  counter-increment: s; content: counter(s);
  font-family: var(--display); font-size: 64px; line-height: 1; color: var(--gold); display: block; margin-bottom: 16px;
}
.step h3 { font-family: var(--display); font-weight: 400; font-size: 26px; margin: 0 0 10px; }
.step p { margin: 0; color: var(--ink-2); font-size: 16px; }
.step .hand { position: absolute; right: 22px; top: 26px; font-size: 22px; color: var(--gold-deep); transform: rotate(-4deg); }

/* ——— основателки ——— */
.found { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.seats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; max-width: 420px; }
.seat {
  aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-size: 20px; color: var(--gold-deep);
  background: radial-gradient(circle at 34% 30%, #FFFFFF 0%, #F6EDE4 45%, #DCCDBE 100%);
  box-shadow: 0 0 0 1px rgba(201, 164, 98, 0.55), 0 8px 16px -8px rgba(90, 60, 30, 0.45), inset 0 -4px 8px rgba(160, 130, 100, 0.18);
}
.prices { width: 100%; border-collapse: collapse; margin: 26px 0 22px; font-size: 17px; }
.prices td { padding: 14px 0; border-bottom: 1px solid var(--line); }
.prices td:nth-child(2) { text-align: right; color: var(--muted); }
.prices td:nth-child(3) { text-align: right; width: 90px; font-family: var(--display); font-size: 24px; color: var(--ink); }
.prices s { opacity: 0.7; }
.perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.perks li { padding-left: 28px; position: relative; color: var(--ink-2); }
.perks li::before { content: '✦'; position: absolute; left: 4px; color: var(--gold); font-size: 13px; top: 3px; }

/* ——— въпроси ——— */
.faq { max-width: 860px; margin-top: 30px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-family: var(--display); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 300; font-size: 34px; color: var(--gold-deep); transition: transform var(--dur-base) var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { margin: 0 0 26px; max-width: 42em; color: var(--ink-2); font-size: 17px; }

/* ——— историята и контактът ——— */
.story { padding: clamp(110px, 13vw, 180px) 0 clamp(80px, 9vw, 120px); }
.quote { font-family: var(--display); font-size: clamp(34px, 4.6vw, 64px); line-height: 1.12; margin: 26px 0 26px; max-width: 18em; }
.quote::before { content: '„'; color: var(--gold-2); }
.quote::after { content: '“'; color: var(--gold-2); }
.sign { display: flex; align-items: center; gap: 16px; color: var(--cream-2); }
.sign .hand { font-size: 38px; color: var(--gold-2); }
.story__text { color: var(--cream-2); max-width: 34em; margin: 30px 0 0; font-size: 18px; }
.contact { margin-top: 80px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact__card {
  border: 1px solid rgba(233, 207, 147, 0.3); border-radius: 26px; padding: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
}
.contact__card h3 { font-family: var(--display); font-weight: 400; font-size: 28px; margin: 0 0 6px; }
.contact__card p { color: var(--cream-2); margin: 0 0 20px; font-size: 16px; }
.mail { font-size: clamp(18px, 2vw, 22px); font-weight: 600; color: var(--gold-2); word-break: break-all; }
.tg { display: block; margin-top: 10px; font-size: clamp(18px, 2vw, 22px); font-weight: 600; color: var(--gold-2); white-space: nowrap; }
.copy { margin-left: 10px; font: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; background: none; border: 1px solid rgba(233, 207, 147, 0.5); color: var(--cream); border-radius: 999px; padding: 6px 12px; cursor: pointer; min-height: 32px; }

/* ——— подножие ——— */
.foot { position: relative; z-index: 1; background: #140D09; color: var(--cream-3); font-size: 14px; padding: 46px 0 56px; }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; }
.foot a { color: var(--cream-2); }
.foot p { margin: 0; max-width: 40em; }

/* ——— появяване при скрол ——— */
.rv { opacity: 0; transform: translateY(22px); transition: opacity var(--dur-slower) var(--ease-out), transform var(--dur-slower) var(--ease-emph); }
.rv.in { opacity: 1; transform: none; }
.rv[data-d="1"] { transition-delay: 80ms; } .rv[data-d="2"] { transition-delay: 160ms; }
.rv[data-d="3"] { transition-delay: 240ms; } .rv[data-d="4"] { transition-delay: 320ms; }

@keyframes float { from { transform: translateY(0) rotate(-1.2deg); } to { transform: translateY(-16px) rotate(1.2deg); } }
@keyframes shadow { from { transform: translateX(-50%) scale(1); opacity: 1; } to { transform: translateX(-50%) scale(0.86); opacity: 0.7; } }

/* ——— телефон и таблет ——— */
@media (max-width: 1040px) {
  .hero__grid, .chapter__grid, .kakebo__grid, .found { grid-template-columns: minmax(0, 1fr); }
  .chapter--flip .chapter__art { order: 0; }
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .num:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps, .addons, .contact { grid-template-columns: minmax(0, 1fr); }
  .manifest__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .nav__links { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; padding: 10px var(--gutter) 24px; background: rgba(246, 239, 230, 0.99); color: var(--ink); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, 0.4); }
  .nav__links a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav__links .btn-ghost { border: 0; border-radius: 0; padding: 14px 0; }
  .nav.is-open .nav__links { display: flex; }
  .nav__menu { display: block; }
  .nav.is-open .nav__menu span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav.is-open .nav__menu span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__menu span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  body { font-size: 16px; }
  .hero { padding-top: 104px; }
  .pearls { gap: 7px; }
  .q, .rule, .step { padding: 24px 22px; }
  .manifest { height: 200vh; }
  .hero { justify-content: flex-start; padding-top: 96px; }
  .hero h1 { font-size: clamp(36px, 10.2vw, 60px); }
  .hero__side { gap: 16px; }
  .flip { min-height: 2.5em; }
  .hero__cta .btn { min-height: 48px; padding: 0 22px; font-size: 15px; }
  .jewels { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
  .jewel { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 8px; padding: 14px 6px 12px; border-radius: 20px; }
  .jewel img { width: 68px; height: 68px; border-radius: 16px; }
  .jewel__name { font-size: 18px; }
  .jewel__what { display: none; }
  .jewel__price { font-size: 11px; letter-spacing: 0.04em; margin-top: 4px; }
  .hero__foot { font-size: 13px; gap: 6px 16px; }
  .chapter__num { top: -8%; font-size: 120px; }
}
@media (max-width: 480px) {
  .nums { grid-template-columns: minmax(0, 1fr); }
  .num { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 22px; }
  .num:first-child { border-top: 0; }
  .seats { gap: 10px; }
}

/* ——— намалено движение ——— */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .rv { opacity: 1; transform: none; }
  .manifest { height: auto; }
  .manifest__stick { position: static; height: auto; padding: 110px 0; }
  .manifest__words span, .manifest__text, .manifest__note { opacity: 1; transform: none; }
  .pearl { transform: none; opacity: 1; }
}
