/* ---------- Tokens ---------- */
:root {
  --bg: #F7F4EF;
  --surface: #EEEAE3;
  --surface-2: #E6E1D9;
  --stone: #DAD6CF;
  --ink: #2B2824;
  --ink-soft: #5A554E;
  --muted: #8C857B;
  --line: #DFD9CF;
  --light: #FBF9F5;
  --sage: #9BA78B;
  --sage-pale: #E4E8DC;
  --sage-mist: #EEF0E8;
  --olive: #5E6B4D;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Lexend", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 64px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: italic; font-weight: 300; }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--light { color: rgba(251, 249, 245, .85); }
.eyebrow::before, .leaf {
  content: ""; display: inline-block; width: 12px; height: 6px; margin: 0 12px 1px 0;
  border-radius: 0 100% 0 100%; background: var(--sage); transform: rotate(-28deg);
}

/* ---------- Leaf shadow (animated, see leaf-shadow.js) ---------- */
.leaf-shadow {
  position: absolute; top: 0; right: 0; width: 78%; height: 100%; z-index: 1; pointer-events: none;
  color: #3f3423; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 42%, transparent 88%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 42%, transparent 88%);
}
.leaf-shadow__svg { display: block; width: 100%; height: 100%; }
/* Тёплое солнечное пятно на стене — свет, сквозь который падает тень */
.vb__sun {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(ellipse 45% 55% at 78% 22%, rgba(255, 236, 200, .75), rgba(255, 236, 200, 0) 70%);
}
.leaf-shadow--section {
  width: 60%; color: #2f3a22;
  -webkit-mask-image: linear-gradient(to left, #000 20%, transparent 95%);
  mask-image: linear-gradient(to left, #000 20%, transparent 95%);
}
.title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(38px, 4.4vw, 68px); line-height: 1.02; letter-spacing: -.01em;
  margin: 18px 0 28px;
}
.title em, .accent { color: var(--olive); }
.caps {
  font-family: var(--serif); font-weight: 300; text-transform: uppercase;
  font-size: clamp(28px, 2.6vw, 40px); letter-spacing: .08em; line-height: 1.1;
}
.caps--sm { font-family: var(--sans); font-size: 11px; letter-spacing: .22em; font-weight: 400; }

/* ---------- Pills & links ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  border: 1px solid currentColor; border-radius: 999px;
  padding: 14px 28px;
  font-family: var(--sans); font-size: 11px; font-weight: 400;
  letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
  transition: background .35s, color .35s, border-color .35s;
}
.pill:hover { background: var(--olive); color: var(--light); border-color: var(--olive); }
.pill--light { color: var(--light); }
.pill--light:hover { background: var(--light); color: var(--ink); border-color: var(--light); }
.pill--solid { background: var(--olive); color: var(--light); border-color: var(--olive); }
.pill--solid:hover { background: var(--ink); border-color: var(--ink); color: var(--light); }
.pill--sm { padding: 9px 20px; }
.pill--tag { width: min(240px, 100%); padding: 6px 16px; pointer-events: none; }
.arrow { position: relative; width: 30px; height: 1px; background: currentColor; transition: width .35s var(--ease); }
.arrow::after {
  content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg);
}
.pill:hover .arrow { width: 40px; }
.link { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link:hover { color: var(--muted); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 30;
  color: var(--light);
  transition: background .4s, color .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header--ink { color: var(--ink); }
.header.is-solid {
  background: rgba(247, 244, 239, .9); backdrop-filter: blur(14px);
  color: var(--ink); border-color: var(--line);
}
.header__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: 76px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.logo {
  font-family: var(--serif); font-size: 24px; letter-spacing: .34em; padding-left: .34em; line-height: 1;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
/* Эмблема — разрез раковины наутилуса (img/emblem.svg), цвет задаётся через currentColor */
.emblem {
  display: block; width: 30px; aspect-ratio: 1; background: currentColor;
  -webkit-mask: url(img/emblem.svg) center / contain no-repeat; mask: url(img/emblem.svg) center / contain no-repeat;
}
.logo .emblem { color: var(--olive); margin-right: .34em; }
.footer__mark { position: relative; display: grid; place-items: center; margin: 56px 0 40px; padding: clamp(70px, 11vw, 170px) 0; }
.footer__mark .emblem {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(56vw, 760px); color: var(--olive); opacity: .3;
  -webkit-mask-image: url(img/emblem-thin.svg); mask-image: url(img/emblem-thin.svg);
}
.footer__mark .footer__word { position: relative; }
/* бледный аммонит (снимок 3D-скана) за словом LINNEA */
.footer__fossil {
  position: absolute; left: 56%; top: 50%; transform: translate(-50%, -36%) rotate(-6deg);
  height: 80%; width: auto; opacity: .3; mix-blend-mode: multiply; pointer-events: none;
}
.nav { display: flex; align-items: center; gap: 34px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.nav--right { justify-content: flex-end; }
.nav > a:not(.pill) { position: relative; }
.nav > a:not(.pill)::after {
  content: ""; position: absolute; left: 0; bottom: -5px; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav > a:not(.pill):hover::after { transform: scaleX(1); }
.header .pill:hover { background: currentColor; }
.header .pill:hover { color: inherit; background: transparent; opacity: .7; }
.menu-btn { display: none; width: 28px; height: 20px; position: relative; }
.menu-btn span { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .3s; }
.menu-btn span:first-child { top: 6px; }
.menu-btn span:last-child { bottom: 6px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu {
  display: none; flex-direction: column; gap: 20px; padding: 28px var(--gutter) 40px;
  background: var(--bg); color: var(--ink); border-top: 1px solid var(--line);
  font-family: var(--serif); font-size: 30px; font-weight: 300;
}
.mobile-menu.is-open { display: flex; }

/* ---------- Hero (still life) & philosophy (editorial) ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; }
.marquee__track {
  display: flex; gap: 36px; width: max-content; align-items: center;
  animation: marquee 38s linear infinite;
  font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink-soft); white-space: nowrap;
}
.marquee__track i { width: 12px; height: 6px; border-radius: 0 100% 0 100%; background: var(--sage); transform: rotate(-28deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- A · Editorial ---------- */
.va {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(96px, 10vw, 150px) var(--gutter) clamp(64px, 7vw, 96px);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-content: space-between;
}
.va__text { grid-column: 1 / 8; align-self: center; }
.va__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(64px, 8.6vw, 140px); line-height: .92; letter-spacing: -.025em;
  margin: 28px 0 36px;
}
.va__title em { color: var(--olive); }
.va__lead { max-width: 420px; color: var(--ink-soft); font-size: 16px; margin-bottom: 12px; }
.va .actions { display: flex; align-items: center; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.va__media { grid-column: 8 / 13; position: relative; align-self: center; }
.va__arch { height: min(640px, calc(100vh - 220px)); min-height: 460px; border-radius: 999px 999px 0 0; }
.va__stage { position: relative; overflow: hidden; width: 100%; }
.va__stage img { object-position: 50% 100%; }
/* 3D-аммонит над ладонью (shell3d.js) */
.shell3d { position: absolute; left: 30%; top: 9.5%; width: 56%; aspect-ratio: 1; pointer-events: none; }
.shell3d canvas { width: 100% !important; height: 100% !important; display: block; }
/* плёночное зерно поверх фото и 3D, чтобы раковина «сидела» в снимке */
.va__stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.shell-shadow {
  position: absolute; left: 63%; top: 61%; width: 22%; height: 3%; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(closest-side, rgba(70, 55, 40, .35), rgba(70, 55, 40, 0));
  filter: blur(6px); pointer-events: none;
}
.va__circle {
  position: absolute; left: -22%; bottom: 8%; width: 44%; aspect-ratio: 1; height: auto;
  border-radius: 50%; border: 10px solid var(--bg);
}
.va__vertical {
  position: absolute; right: -36px; top: 50%; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}
.va__facts {
  grid-column: 1 / -1; margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line);
}
.va__facts div { padding: 22px 24px 0 0; display: flex; align-items: baseline; gap: 16px; }
.va__facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.va__facts b { font-family: var(--serif); font-weight: 300; font-size: 40px; line-height: 1; }
.va__facts span { font-size: 12px; color: var(--muted); letter-spacing: .06em; }

/* ---------- B · Still life ---------- */
.vb { position: relative; height: clamp(640px, 100vh, 1000px); overflow: hidden; }
/* Фото прижато к низу и вписано целиком, чтобы высокий флакон не упирался в шапку;
   фон повторяет цвет стены на снимке, а верхний и левый края фото растворяются в нём */
.vb { background: linear-gradient(90deg, #eee6db 0%, #d8cdbf 30%, #c6b8a5 58%, #b4a592 100%); }
.vb__img {
  /* Ширина: не выше блока и не заходит на колонку текста (30% кадра слева — пустая стена) */
  --off: max(0px, (100vw - var(--max)) / 2);
  position: absolute; bottom: 0; right: 0; height: auto; aspect-ratio: 3 / 2;
  width: min(calc((clamp(640px, 100vh, 1000px) - 64px) * 1.5), calc((100vw - 2 * var(--off) - var(--gutter) - 460px) / .7));
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 110px), linear-gradient(to right, transparent 0, #000 160px);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0, #000 110px), linear-gradient(to right, transparent 0, #000 160px);
  mask-composite: intersect; transform: scale(1.04); animation: settle 2.4s var(--ease) forwards; }
@keyframes settle { to { transform: none; } }
.vb::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(247, 244, 239, .96) 0%, rgba(247, 244, 239, .78) 20%, rgba(247, 244, 239, .3) 33%, rgba(247, 244, 239, 0) 42%);
}
.vb__content {
  position: relative; z-index: 2; height: 100%; max-width: var(--max); margin: 0 auto;
  padding: 140px var(--gutter) 0; display: flex; flex-direction: column; justify-content: center;
}
.vb__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(72px, 10vw, 168px); line-height: .88; letter-spacing: -.03em; margin: 24px 0 32px;
}
.vb__title em { color: var(--olive); }
.vb__lead { max-width: 360px; color: var(--ink-soft); font-size: 16px; margin-bottom: 40px; }
.vb__list {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(247, 244, 239, .78); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
}
.vb__list a { padding: 20px var(--gutter) 22px; font-size: 13px; display: flex; gap: 12px; align-items: baseline; transition: background .3s; }
.vb__list a + a { border-left: 1px solid var(--line); }
.vb__list a:hover { background: var(--sage-pale); }
.vb__list b { font-weight: 400; font-size: 11px; color: var(--olive); letter-spacing: .1em; }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(96px, 11vw, 160px); }
.marquee + .section { padding-top: clamp(80px, 9vw, 140px); }
.section__bar .caps { white-space: nowrap; }
.section__bar { flex-wrap: wrap; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 36px; }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.product__media {
  position: relative; aspect-ratio: 3 / 4; background: var(--surface);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  transition: background .5s;
}
.product:hover .product__media { background: var(--surface-2); }
.product__add {
  position: absolute; top: 10px; right: 14px; font-size: 22px; font-weight: 200; line-height: 1;
  width: 28px; height: 28px; transition: transform .4s var(--ease);
}
.product__add:hover { transform: rotate(90deg); }
.product__media img { transition: transform 1s var(--ease); }
.product:hover .product__media img { transform: scale(1.04); }
.product__add { z-index: 1; }
.product h3 { margin-top: 16px; font-size: 12px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; }
.product p { font-size: 13px; color: var(--muted); }
.tag { display: block; color: var(--olive); font-size: 12px; }
.progress { height: 1px; background: var(--line); margin-top: 32px; position: relative; display: none; }
.progress span { position: absolute; left: 0; top: -.5px; height: 2px; width: 20%; background: var(--olive); transition: transform .15s linear; }

/* ---------- Textures ---------- */
.textures { background: var(--surface); padding: clamp(80px, 9vw, 140px) var(--gutter); overflow: hidden; }
.textures__text { max-width: 760px; margin: 0 auto; text-align: center; }
.textures__text > p:not(.eyebrow) { max-width: 520px; margin: 0 auto; }
.textures__text > p:not(.eyebrow) { color: var(--ink-soft); }
.textures__media { --out: min(300px, 24vw); position: relative; width: min(500px, 38vw); margin: 64px auto 0; aspect-ratio: 1024 / 1536; }

.callout { position: absolute; top: var(--y); height: 1px; background: rgba(43, 40, 36, .4); transition: background .3s; }
.callout--l { left: calc(-1 * var(--out)); width: calc(var(--out) + var(--x)); }
.callout--r { left: var(--x); right: calc(-1 * var(--out)); }
.callout::after {
  content: ""; position: absolute; top: -4px; width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid var(--olive); background: var(--sage-pale);
  transition: background .3s, transform .3s var(--ease);
}
.callout--l::after { right: -4px; }
.callout--r::after { left: -4px; }
.callout__text { position: absolute; bottom: 10px; display: grid; gap: 2px; white-space: nowrap; }
.callout--l .callout__text { left: 0; text-align: left; }
.callout--r .callout__text { right: 0; text-align: right; }
.callout b { font-weight: 400; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.callout em { font-family: var(--serif); font-size: 18px; color: var(--muted); }
.callout.is-active { background: var(--olive); }
.callout.is-active::after { background: var(--olive); transform: scale(1.3); }
.callout.is-active em { color: var(--olive); }

/* Мобильная версия: номера на фото + список под ним */
.spot, .textures__list { display: none; }
.spot {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 28px; height: 28px; border-radius: 50%; place-items: center;
  font-size: 10px; color: var(--olive); background: rgba(247, 244, 239, .85); border: 1px solid rgba(94, 107, 77, .5);
}
.textures__list { list-style: none; margin: 32px 0 0; border-top: 1px solid var(--line); }
.textures__list li { display: flex; gap: 20px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.textures__list span { color: var(--olive); font-size: 12px; letter-spacing: .1em; }
.textures__list em { margin-left: auto; font-family: var(--serif); font-size: 17px; color: var(--muted); }

/* ---------- Effects ---------- */
.effects { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--bg); }
.effect { position: relative; aspect-ratio: 3 / 5; overflow: hidden; color: var(--light); }
.effect img { transition: transform 1.4s var(--ease); }
.effect:hover img { transform: scale(1.05); }
.effect::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(43, 40, 36, .62) 0%, rgba(43, 40, 36, .12) 55%, rgba(43, 40, 36, .05) 100%);
}
.effect__body { position: absolute; inset: auto 0 0; z-index: 2; padding: 0 28px 36px; display: grid; gap: 14px; justify-items: start; }
.effect h3 { font-family: var(--serif); font-weight: 300; text-transform: uppercase; font-size: clamp(28px, 2.6vw, 40px); letter-spacing: .06em; line-height: 1; }
.effect p { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-style: italic; max-width: 260px; line-height: 1.6; opacity: .92; }

/* ---------- Essentiel ---------- */
.essence { position: relative; overflow: hidden; padding: clamp(100px, 12vw, 180px) var(--gutter); }
.essence__word {
  position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%);
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(120px, 22vw, 340px); line-height: 1; color: var(--sage-pale);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.essence__grid {
  position: relative; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 20px; row-gap: 0;
}
.essence__head { grid-column: 1 / 6; grid-row: 1; align-self: center; }
.essence__head p { color: var(--ink-soft); max-width: 380px; }
.essence__a { grid-column: 7 / 12; grid-row: 1 / 3; aspect-ratio: 4 / 5; height: auto; }
.essence__b { grid-column: 2 / 6; grid-row: 3; aspect-ratio: 1; height: auto; margin-top: -6vw; }
.essence__note { grid-column: 7 / 11; grid-row: 3; align-self: center; padding-top: 56px; color: var(--ink-soft); }
.essence__note .pill { margin-top: 28px; color: var(--ink); }

/* ---------- Mood ---------- */
.mood {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: min(24vw, 360px); gap: 2px; background: var(--bg);
}
.m1 { grid-column: 1; grid-row: 1; }
.m2 { grid-column: 2; grid-row: 1 / 3; }
.m3 { grid-column: 3 / 5; grid-row: 1; }
.m4 { grid-column: 1; grid-row: 2 / 4; }
.m5 { grid-column: 3; grid-row: 2; }
.m6 { grid-column: 4; grid-row: 2 / 4; }
.m7 { grid-column: 2 / 4; grid-row: 3; }
.mood__tile { background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.mood__script { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(32px, 3vw, 48px); color: var(--olive); }
.mood__stack { font-family: var(--serif); font-weight: 300; font-size: clamp(56px, 6vw, 96px); line-height: 1.05; letter-spacing: .02em; }
.mood__tile--text { background: var(--sage-pale); gap: 16px; }
.mood__tile--text .caps { color: var(--olive); }
.mood__tile--text p:last-child { font-size: 13px; color: var(--ink-soft); max-width: 220px; }

/* ---------- FAQ ---------- */
.faq {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(96px, 11vw, 160px) var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: stretch;
}
.faq__list { align-self: center; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 52px 22px 0; position: relative; font-size: 15px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 30px; height: 30px; margin-top: -15px;
  border: 1px solid var(--muted); border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 9px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1px 9px no-repeat;
  transition: transform .35s var(--ease), background-color .35s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--sage-pale); border-color: var(--sage); }
.faq details p { padding: 0 52px 24px 0; color: var(--ink-soft); font-size: 14px; }
.faq__media { min-height: 520px; }

/* ---------- Access ---------- */
.access > :not(.leaf-shadow) { position: relative; z-index: 2; }
.access { position: relative; overflow: hidden; background: var(--sage-mist); text-align: center; padding: clamp(96px, 10vw, 150px) var(--gutter); }
.access__note { color: var(--ink-soft); max-width: 420px; margin: 0 auto; }
.form {
  display: flex; align-items: center; max-width: 520px; margin: 44px auto 0;
  border: 1px solid var(--ink); border-radius: 999px; padding: 5px 5px 5px 26px;
}
.form input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--ink); outline: none; padding: 10px 0; }
.form input::placeholder { color: var(--muted); }
.form__ok { display: none; flex: 1; font-family: var(--serif); font-style: italic; font-size: 22px; padding: 6px 0; }
.form.is-sent input, .form.is-sent button { display: none; }
.form.is-sent .form__ok { display: block; }

/* ---------- Footer ---------- */
.footer { max-width: var(--max); margin: 0 auto; padding: 80px var(--gutter) 28px; overflow: hidden; }
.footer__cols { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 40px; }
.footer__cols div { display: grid; gap: 8px; align-content: start; font-size: 14px; }
.footer__cols .caps { margin-bottom: 8px; color: var(--muted); }
.footer__cols a:hover { color: var(--muted); }
.footer__word {
  font-family: var(--serif); font-weight: 300; text-align: center;
  font-size: min(21vw, 300px); line-height: .8; letter-spacing: -.01em;
}
.footer__copy { font-size: 12px; color: var(--muted); text-align: center; }
.footer__credit { font-size: 11px; color: var(--muted); text-align: center; margin-top: 8px; opacity: .8; }
.footer__credit a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Product page ---------- */
.product { display: block; }
.page-product { padding-top: 76px; }
.crumbs { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 0; font-size: 12px; color: var(--muted); display: flex; gap: 10px; }
.crumbs a:hover { color: var(--ink); }
.crumbs b { font-weight: 400; color: var(--ink); }
.pdp__grid {
  max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) clamp(80px, 9vw, 140px);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start;
}
.pdp__main { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.pdp__texture { position: absolute; inset: 0; background-size: 260% auto; background-repeat: no-repeat; background-color: var(--surface); }
.pdp__texture[hidden] { display: none; }

.leaf-shadow--card { width: 100%; z-index: 2; }
.pdp__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.pdp__thumbs button { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--surface); outline: 1px solid transparent; outline-offset: 3px; transition: outline-color .3s; }
.pdp__thumbs button.is-active { outline-color: var(--olive); }
.pdp__thumbs em { position: absolute; left: 10px; bottom: 8px; font-family: var(--serif); font-size: 15px; color: var(--ink); }
.pdp__swatch { position: absolute; inset: 0; background-size: 300% auto; background-repeat: no-repeat; }
.pdp__info { position: sticky; top: 110px; max-width: 520px; }
.pdp__title { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 5.4vw, 84px); line-height: 1; letter-spacing: -.02em; margin: 18px 0 12px; }
.pdp__tagline { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--olive); line-height: 1.3; }
.pdp__price { display: flex; align-items: baseline; gap: 16px; margin: 28px 0 20px; padding: 18px 0; border-block: 1px solid var(--line); font-size: 22px; font-weight: 400; }
.pdp__size { font-size: 13px; color: var(--muted); font-weight: 300; }
.pdp__desc { color: var(--ink-soft); }
.pdp__key { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 32px; }
.pdp__key li { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; background: var(--sage-mist); font-size: 12px; letter-spacing: .04em; }
.pdp__key .leaf { margin-right: 10px; }
.pdp__buy { display: flex; gap: 12px; align-items: stretch; }
.qty { display: flex; align-items: center; border: 1px solid var(--ink); border-radius: 999px; }
.qty button { width: 42px; height: 100%; font-size: 18px; font-weight: 200; }
.qty span { min-width: 18px; text-align: center; }
.pdp__add { flex: 1; }
.pdp__note { margin-top: 16px; font-size: 12px; color: var(--muted); }
.pdp__more { margin-top: 40px; }
.pdp__more details { border-top: 1px solid var(--line); }
.pdp__more details:last-child { border-bottom: 1px solid var(--line); }
.pdp__more summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.pdp__more summary::-webkit-details-marker { display: none; }
.pdp__more summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 20px; font-weight: 200; transition: transform .3s var(--ease); }
.pdp__more details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.pdp__more details p { padding: 0 0 20px; color: var(--ink-soft); font-size: 14px; }
.ritual { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(80px, 9vw, 140px); }
.products--4 { grid-template-columns: repeat(4, 1fr); }
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 50; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--olive); color: var(--light); padding: 14px 24px; border-radius: 999px; font-size: 13px;
  transition: opacity .4s, transform .4s var(--ease);
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 860px) {
  .pdp__grid { grid-template-columns: 1fr; }
  .pdp__info { position: static; }
  .products--4 { grid-template-columns: 1fr 1fr; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s ease, transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .vb__img { animation: none; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .products { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .products::-webkit-scrollbar { display: none; }
  .product { flex: 0 0 min(42vw, 300px); scroll-snap-align: start; }
  .progress { display: block; }
  .effects { grid-template-columns: repeat(2, 1fr); }
  .effect { aspect-ratio: 4 / 5; }
}
@media (max-width: 860px) {
  .va { grid-template-columns: 1fr; padding-top: 100px; row-gap: 48px; }
  .va__text, .va__media, .va__facts { grid-column: 1; }
  .va__media { width: 78%; justify-self: end; }
  .va__vertical { display: none; }
  .va__facts { grid-template-columns: 1fr; }
  .va__facts div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
  .vb__img { left: 0; right: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 60% center; -webkit-mask-image: none; mask-image: none; }
  .vb::before { background: linear-gradient(180deg, rgba(247, 244, 239, .94) 0%, rgba(247, 244, 239, .6) 45%, rgba(247, 244, 239, 0) 75%); }
  .vb__content { justify-content: flex-start; padding-top: 110px; }
  .vb__list { display: flex; overflow-x: auto; scrollbar-width: none; }
  .vb__list::-webkit-scrollbar { display: none; }
  .vb__list a { flex: 0 0 auto; padding: 18px 20px; }
  .nav--left, .nav--right a { display: none; }
  .header__inner { grid-template-columns: 1fr auto; height: 64px; }
  .logo { flex-direction: row; gap: 10px; font-size: 22px; }
  .logo .emblem { width: 28px; margin-right: 0; }
  .logo { justify-self: start; padding-left: 0; }
  .menu-btn { display: block; }
  .header:has(.mobile-menu.is-open) { background: var(--bg); color: var(--ink); }
  .faq { grid-template-columns: 1fr; }
  .textures__media { width: 100%; margin-top: 40px; }
  .callout { display: none; }
  .spot { display: grid; }
  .textures__list { display: block; }
  .textures__list li { display: flex; }
  .essence__grid { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .essence__head { grid-column: 1 / -1; grid-row: auto; }
  .essence__a { grid-column: 1 / 2; grid-row: auto; }
  .essence__b { grid-column: 2 / 3; grid-row: auto; margin-top: 30%; }
  .essence__note { grid-column: 1 / -1; grid-row: auto; padding-top: 16px; }
  .mood { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 46vw; }
  .m1 { grid-column: 1; grid-row: 1; }
  .m2 { grid-column: 2; grid-row: 1 / 3; }
  .m3 { grid-column: 1; grid-row: 2; }
  .m4 { grid-column: 1; grid-row: 3 / 5; }
  .m5 { grid-column: 2; grid-row: 3; }
  .m6 { grid-column: 2; grid-row: 4 / 6; }
  .m7 { grid-column: 1; grid-row: 5; }
  .faq__media { min-height: 0; aspect-ratio: 1; order: -1; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .effects { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .effects::-webkit-scrollbar { display: none; }
  .effect { flex: 0 0 82vw; aspect-ratio: 3 / 4.4; scroll-snap-align: start; }
  .product { flex-basis: 64vw; }
  .form { flex-wrap: wrap; border-radius: 28px; padding: 6px 6px 6px 20px; }
  .form .pill { padding: 12px 18px; }
}

/* ---------- Footer brand: LINNEA · аммонит в вращающемся кольце · подпись ---------- */
.footer__brand {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(24px, 4vw, 64px);
  margin: 72px 0 48px; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.footer__brand .footer__word { font-size: clamp(56px, 7.5vw, 112px); line-height: .8; letter-spacing: .02em; margin: 0; text-align: left; }
.footer__seal { position: relative; width: clamp(200px, 22vw, 300px); aspect-ratio: 1; }
.footer__seal svg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--olive); overflow: visible; }
.footer__ring { transform-origin: 100px 100px; animation: seal-spin 40s linear infinite; }
@keyframes seal-spin { to { transform: rotate(360deg); } }
.footer__seal img {
  position: absolute; left: 50%; top: 50%; height: 66%; width: auto;
  transform: translate(-50%, -50%) rotate(-8deg); opacity: .6; mix-blend-mode: multiply;
}
.footer__tagline { justify-self: end; text-align: right; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.35; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .footer__ring { animation: none; } }
@media (max-width: 860px) {
  .footer__brand { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer__brand .footer__word { text-align: center; }
  .footer__tagline { justify-self: center; text-align: center; }
}
