:root {
  --bg: #0d1117;
  --ink: #e7edf1;
  --muted: #abb6c2;
  --accent: #9d93c9;
  --accent-ink: #0d1117;
  --support: #151d28;
  --line: #394451;
  --font-display: "Oranienbaum", "Times New Roman", serif;
  --font-text: "Manrope", sans-serif;
  --fs-h1: clamp(3rem, 8vw, 7rem);
  --fs-h2: clamp(2.375rem, 4.5vw, 4rem);
  --fs-body: 17px;
  --radius: 2px;
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@view-transition { navigation: auto; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--fs-body)/1.6 var(--font-text);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-wrap: balance;
  letter-spacing: -.025em;
}
h1 { font-size: var(--fs-h1); line-height: .95; }
h2 { font-size: var(--fs-h2); line-height: 1.06; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
button, input { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
a, button, summary { touch-action: manipulation; }
a, button {
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
a:hover { text-decoration-color: var(--ink); }
a:active, button:active { transform: translateY(1px); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.button:focus-visible, .nav-button:focus-visible { outline-color: var(--accent); }
::selection { background: var(--ink); color: var(--bg); }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; flex-shrink: 0; }
[hidden] { display: none !important; }
section[id], footer[id], details[id] { scroll-margin-top: 92px; }
.container { width: min(var(--container), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section-space { padding-block: clamp(88px, 10vw, 144px); }
.muted { color: var(--muted); }
.price { color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.skip-link {
  position: fixed; left: 20px; top: -90px; z-index: 100;
  padding: 12px 20px; color: var(--bg); background: var(--ink);
}
.skip-link:focus { top: 12px; }
.site-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 30;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  pointer-events: none;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), backdrop-filter .25s var(--ease), -webkit-backdrop-filter .25s var(--ease);
}
.site-header.scrolled {
  background: rgba(13, 17, 23, .86);
  border-bottom-color: var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto; min-height: 96px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-header a { pointer-events: auto; }
.wordmark { font: 400 42px/1 var(--font-display); text-decoration: none; letter-spacing: -.035em; }
.wordmark:hover { color: var(--muted); }
.site-header nav { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.nav-link:hover, .nav-link:focus-visible { text-decoration: underline; text-underline-offset: 7px; }
.nav-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 9px 22px;
  border: 1px solid #a4aeb9; border-radius: var(--radius);
  background: rgb(13 17 23 / .35); text-decoration: none;
  font-size: 15px;
}
.nav-button:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.button {
  display: inline-flex; justify-content: center; align-items: center;
  min-height: 54px; max-width: 100%; padding: 15px 23px;
  border: 1px solid var(--accent); border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink);
  font-size: 15px; font-weight: 700; line-height: 1.45;
  text-align: center; text-decoration: none; cursor: pointer;
}
.button:hover { background: #b1a8d8; border-color: #b1a8d8; transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button:disabled { cursor: wait; opacity: .75; transform: none; }

/* Сцена остаётся читаемой с постером до подключения кадров. */
.film { position: relative; background: var(--bg); }
.film-stage {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: grid; gap: 35px;
  align-content: center; padding: 132px var(--gutter) 64px;
}
.film-poster {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: auto; min-height: 100%;
  aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% center;
}
.film-stage::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgb(13 17 23 / .9), rgb(13 17 23 / .66) 26%, transparent 57%);
}
.beat {
  position: relative; z-index: 2;
  width: min(450px, 40vw);
  margin-left: max(0px, calc((100vw - var(--container)) / 2 - var(--gutter)));
}
.film:has(canvas) .film-stage { display: block; height: 100svh; padding: 0; }
.film:has(canvas) .beat {
  position: absolute;
  left: max(var(--gutter), calc((100vw - var(--container)) / 2));
  bottom: 19%; margin: 0;
  transform: translateY(calc((1 - var(--nb-at, 1)) * 16px));
}
.film:has(canvas) .film-poster {
  z-index: 0; width: 100%; height: auto; min-height: 100%;
  aspect-ratio: auto; object-fit: cover;
}
.film-subtitle { font-size: clamp(18px, 1.65vw, 23px); margin-top: 23px; }
.scroll-hint { display: block; margin-top: 38px; font-size: 14px; color: #c3cdd7; }
.film-heading { font-size: clamp(35px, 3.6vw, 54px); line-height: 1.08; }
.film-offer { font-family: var(--font-display); font-size: clamp(27px, 2.7vw, 39px); line-height: 1.2; }
.offer-divider { display: inline-block; margin-inline: 4px; color: var(--muted); font-size: .8em; }
.beat-order .button { margin-top: 30px; }
.film-footnote { margin-top: 17px; color: var(--muted); font-size: 13px; }

.section-intro { display: grid; grid-template-columns: 7fr 5fr; gap: 65px; align-items: start; }
.section-intro p { max-width: 47ch; }
.intro-copy { padding-top: 5px; }
.intro-copy p + p { margin-top: 22px; }
.trio-figure { margin-top: clamp(44px, 6vw, 80px); }
.trio-figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 40%; }
.trio-figure figcaption {
  display: flex; justify-content: space-between; gap: 20px;
  padding-block: 22px; color: var(--muted); font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.fragrance-spread {
  display: grid; grid-template-columns: 1.25fr 1fr 1fr;
  padding-top: 70px; gap: 0;
}
.fragrance { min-width: 0; padding: 0 32px; }
.fragrance-main { padding-left: 0; padding-right: 52px; }
.fragrance + .fragrance { border-left: 1px solid var(--line); }
.fragrance:last-child { padding-right: 0; }
.fragrance-title { display: flex; flex-direction: column; gap: 13px; min-height: 133px; }
.fragrance-number { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.fragrance h3 { font-size: clamp(40px, 4.5vw, 65px); line-height: 1; }
.fragrance-main h3 { font-size: clamp(65px, 7vw, 100px); line-height: .84; }
.mood { margin-block: 22px 37px; min-height: 59px; font-size: 15px; color: var(--muted); }
.notes { margin: 0; font-size: 14px; }
.notes > div { display: grid; grid-template-columns: 65px 1fr; gap: 14px; padding-block: 11px; border-bottom: 1px solid var(--line); }
.notes dt { color: var(--muted); }
.notes dd { margin: 0; }
.fragrance-bottom { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 24px; font-size: 14px; }
.fragrance-bottom .price { font-size: 20px; }
.collection-end { margin-top: 70px; display: flex; justify-content: space-between; gap: 25px; align-items: baseline; }
.collection-end p { color: var(--muted); font-size: 14px; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; text-decoration-color: var(--muted); }
.text-link:hover { color: var(--muted); }

.workshop { padding-top: 35px; }
.workshop-intro { border-top: 1px solid var(--line); padding-top: 72px; }
.workshop-intro > p { color: var(--muted); padding-top: 7px; }
.process {
  list-style: none; padding: 0; margin: 70px 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.process li { position: relative; padding: 0 38px 0 0; }
.process li + li { padding-left: 38px; }
.process li:last-child { padding-right: 0; }
.process-top { display: flex; align-items: center; justify-content: space-between; min-height: 78px; margin-bottom: 28px; position: relative; }
.process-top::after { content: ""; position: absolute; bottom: 0; left: 0; width: calc(100% + 76px); height: 1px; background: var(--line); }
.process li:last-child .process-top::after { width: 100%; }
.process-index { color: var(--muted); font-size: 14px; }
.process-measure { font: 400 clamp(52px, 5vw, 72px)/1.1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.process-measure span { font: 400 15px/1.4 var(--font-text); letter-spacing: 0; display: inline-block; }
.process-word { font-size: clamp(44px, 4.6vw, 66px); }
.process h3 { font-family: var(--font-text); font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin-top: 24px; }
.process li > p:last-child { margin-top: 12px; color: var(--muted); font-size: 15px; max-width: 33ch; }
.workshop-bottom { display: flex; align-items: center; gap: 24px; margin-top: 67px; color: var(--muted); font-size: 14px; }
.fine-rule { width: 80px; height: 1px; background: var(--line); position: relative; flex-shrink: 0; }
.fine-rule::after { content: ""; width: 7px; height: 7px; border: 1px solid var(--muted); background: var(--bg); position: absolute; right: 0; top: -4px; transform: rotate(45deg); }

.samples { background: var(--support); padding-block: clamp(80px, 9vw, 126px); }
.samples-layout { display: grid; grid-template-columns: 7fr 5fr; gap: 80px; }
.sample-volume { margin-top: 34px; color: var(--muted); font-size: 16px; }
.sample-price { font: 400 clamp(62px, 6.7vw, 96px)/1.1 var(--font-display); margin-top: 25px; letter-spacing: -.04em; }
.sample-credit { margin-top: 18px; font-size: 16px; }
.delivery { display: flex; gap: 20px; align-items: center; color: var(--muted); margin-top: 51px; }
.delivery p { font-size: 14px; }
.form-panel { padding-top: 4px; min-width: 0; }
.form-panel h3 { font-size: 32px; line-height: 1.15; }
.form-lead { margin-top: 17px; margin-bottom: 29px; font-size: 14px; color: var(--muted); }
.field { margin-bottom: 21px; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; }
.field input {
  display: block; width: 100%; min-height: 52px;
  border: 1px solid #566272; border-radius: var(--radius);
  padding: 12px 14px; background: transparent; color: var(--ink);
  font-size: 16px; transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field input::placeholder { color: var(--muted); opacity: 1; }
.field input:hover { border-color: var(--muted); }
.field input:focus { background: var(--bg); border-color: var(--ink); }
.field input:user-invalid { border-color: #e1b9bb; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 13px; align-items: start; margin-top: 28px; cursor: pointer; }
.consent input { width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--ink); }
.consent span { font-size: 14px; line-height: 1.7; color: var(--muted); }
.consent a:hover { color: var(--ink); }
.submit-button { width: 100%; margin-top: 21px; }
.form-error { font-size: 14px; color: #f1c7c9; }
.form-error:not(:empty) { margin-top: 15px; }
.response-time { margin-top: 13px; text-align: center; font-size: 14px; color: var(--muted); }
.form-success { margin-top: 24px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 16px; }
.demo-form-note { margin-top: 25px; color: var(--muted); font-size: 14px; line-height: 1.7; }

.practical { padding-block: clamp(80px, 10vw, 140px); }
.practical-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 75px; align-items: start; }
.practical h2 { font-size: clamp(36px, 3.6vw, 52px); }
.questions details { border-bottom: 1px solid var(--line); }
.questions details:first-child { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
.questions summary { padding: 23px 37px 23px 0; font-size: 16px; min-height: 64px; }
summary:hover { color: var(--muted); }
summary:active { transform: translateY(1px); }
.detail-sign { position: absolute; right: 2px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); }
.detail-sign::before, .detail-sign::after { content: ""; position: absolute; background: currentColor; top: 6px; left: 0; width: 14px; height: 1px; }
.detail-sign::after { transform: rotate(90deg); transition: transform .2s var(--ease); }
details[open] > summary .detail-sign::after { transform: rotate(0); }
.questions details > p { padding: 0 35px 25px 0; color: var(--muted); font-size: 14px; max-width: 60ch; }

.site-footer { padding-block: 65px 32px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 3fr 4fr 5fr; gap: 45px; }
.footer-wordmark { font-size: 75px; align-self: start; }
.footer-address p, .footer-contact p { font-size: 14px; }
.footer-address .muted { margin-top: 9px; font-size: 11px; }
.phone-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 19px; text-decoration: none; margin-top: -9px; font-variant-numeric: tabular-nums; }
.phone-link:hover { text-decoration: underline; }
.footer-contact .muted { font-size: 11px; margin-top: 3px; }
.footer-bottom { display: flex; gap: 30px; flex-wrap: wrap; align-items: center; margin-top: 60px; padding-block: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer-bottom a { display: inline-flex; min-height: 44px; align-items: center; }
.footer-bottom a:last-child { margin-left: auto; }
.demo-line { font-size: 14px; margin-top: 10px; }
.legal-line { margin-top: 10px; font-size: 14px; color: var(--muted); }
.privacy { margin-top: 30px; color: var(--muted); border-top: 1px solid var(--line); }
.privacy summary { padding: 20px 35px 20px 0; font-size: 14px; min-height: 48px; }
.privacy-copy { max-width: 80ch; padding-block: 5px 20px; font-size: 14px; }
.privacy-copy p + p { margin-top: 15px; }

@media (min-width: 1500px) {
  .trio-figure img { max-height: 840px; object-fit: cover; }
}
@media (min-width: 901px) {
  .film-stage::after {
    background: linear-gradient(90deg, rgba(13,17,23,.78) 0%, rgba(13,17,23,.35) 32%, transparent 48%);
  }
}

@media (max-width: 900px) {
  .section-intro { gap: 35px; grid-template-columns: 1.1fr 1fr; }
  .fragrance { padding-inline: 20px; }
  .fragrance-main { padding-left: 0; padding-right: 25px; }
  .fragrance-title { min-height: 108px; }
  .fragrance h3 { font-size: 39px; }
  .fragrance-main h3 { font-size: 68px; }
  .notes > div { grid-template-columns: 1fr; gap: 1px; }
  .notes dt { font-size: 11px; }
  .process li { padding-right: 20px; }
  .process li + li { padding-left: 20px; }
  .process-top::after { width: calc(100% + 40px); }
  .process-measure span { display: block; margin-top: 6px; }
  .samples-layout { gap: 40px; grid-template-columns: 1fr 1fr; }
  .practical-layout { gap: 35px; grid-template-columns: 1fr 1.35fr; }
  .footer-top { gap: 30px; grid-template-columns: 2fr 3fr 3fr; }
  .footer-wordmark { font-size: 60px; }
  .phone-link { font-size: 16px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --fs-h1: 48px; --fs-h2: 38px; --fs-body: 16px; }
  html { scroll-padding-top: 82px; }
  .header-inner { min-height: 80px; gap: 15px; }
  .wordmark { font-size: 34px; }
  .site-header nav { gap: 18px; font-size: 12px; }
  .nav-button { padding: 9px 15px; }
  .film-stage { min-height: 100svh; padding: 48svh 20px 35px; gap: 25px; }
  .film-poster { width: 100%; height: auto; min-height: 100%; aspect-ratio: 9 / 16; object-position: 50% center; }
  .film-stage::after {
    background: linear-gradient(0deg, rgb(13 17 23 / .97) 0%, rgb(13 17 23 / .79) 23%, rgb(13 17 23 / .25) 43%, transparent 60%);
  }
  .beat { width: 100%; max-width: 350px; margin: 0; }
  .film:has(canvas) .beat { left: 20px; bottom: max(48px, env(safe-area-inset-bottom)); width: calc(100% - 40px); max-width: 390px; }
  .film-heading { font-size: clamp(35px, 9.8vw, 41px); line-height: 1.05; }
  .film-subtitle { font-size: 17px; margin-top: 16px; }
  .scroll-hint { margin-top: 25px; font-size: 11px; }
  .film-offer { font-size: 30px; }
  .beat-order .button { width: 100%; margin-top: 23px; font-size: 16px; }
  .film-footnote { margin-top: 15px; font-size: 12px; }
  .section-space { padding-block: 78px; }
  .section-intro { grid-template-columns: 1fr; gap: 27px; }
  .intro-copy { padding: 0; }
  .intro-copy p { font-size: 15px; }
  .intro-copy p + p { margin-top: 16px; }
  .trio-figure { margin-top: 37px; }
  .trio-figure img { aspect-ratio: 16 / 9; height: auto; object-fit: contain; }
  .trio-figure figcaption { display: block; padding-block: 15px; font-size: 10px; }
  .trio-figure figcaption span:last-child { display: none; }
  .fragrance-spread { display: block; padding-top: 42px; }
  .fragrance, .fragrance-main, .fragrance:last-child { padding: 30px 0; }
  .fragrance:first-child { padding-top: 0; }
  .fragrance + .fragrance { border-left: 0; border-top: 1px solid var(--line); }
  .fragrance-title { flex-direction: row-reverse; justify-content: space-between; align-items: center; min-height: 0; }
  .fragrance h3 { font-size: 51px; }
  .fragrance-main h3 { font-size: 74px; }
  .mood { min-height: 0; margin-block: 21px 23px; font-size: 15px; }
  .mood br { display: none; }
  .notes > div { grid-template-columns: 83px 1fr; gap: 15px; padding-block: 9px; }
  .notes dt { font-size: 13px; }
  .fragrance-bottom { margin-top: 21px; }
  .collection-end { margin-top: 18px; display: block; }
  .collection-end p { font-size: 14px; }
  .text-link { margin-top: 12px; font-size: 14px; }
  .workshop { padding-top: 0; }
  .workshop-intro { padding-top: 54px; }
  .workshop-intro > p { padding: 0; font-size: 15px; }
  .process { display: block; margin-top: 45px; padding-left: 20px; border-left: 1px solid var(--line); }
  .process li, .process li + li { padding: 0 0 42px 14px; }
  .process li:last-child { padding-bottom: 0; }
  .process li::before { content: ""; position: absolute; left: -25px; top: 19px; width: 7px; height: 7px; background: var(--bg); border: 1px solid var(--muted); transform: rotate(45deg); }
  .process-top { min-height: 52px; margin-bottom: 16px; }
  .process-top::after { display: none; }
  .process-top svg { width: 42px; height: 42px; }
  .process-measure { font-size: 61px; }
  .process-measure span { display: inline-block; margin: 0 0 0 4px; }
  .process h3 { margin-top: 17px; }
  .process li > p:last-child { max-width: 36ch; }
  .workshop-bottom { gap: 15px; margin-top: 42px; font-size: 14px; }
  .fine-rule { width: 37px; }
  .samples { padding-block: 68px; }
  .samples-layout { grid-template-columns: 1fr; gap: 48px; }
  .samples h2 { font-size: 44px; }
  .sample-volume { margin-top: 25px; }
  .sample-price { font-size: 78px; margin-top: 23px; }
  .sample-credit { margin-top: 15px; }
  .delivery { margin-top: 30px; gap: 15px; }
  .delivery p { font-size: 14px; }
  .form-panel { border-top: 1px solid var(--line); padding-top: 33px; }
  .form-panel h3 { font-size: 30px; }
  .form-lead { font-size: 14px; }
  .practical { padding-block: 75px; }
  .practical-layout { grid-template-columns: 1fr; gap: 32px; }
  .questions summary { font-size: 15px; }
  .questions details > p { padding-right: 10px; }
  .site-footer { padding-top: 44px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-wordmark { font-size: 70px; }
  .footer-address p, .footer-contact p { font-size: 14px; }
  .footer-address .muted, .footer-contact .muted { font-size: 14px; }
  .phone-link { font-size: 20px; margin-top: 0; }
  .footer-bottom { margin-top: 30px; gap: 0 20px; }
  .footer-bottom span { width: 100%; margin-bottom: 8px; }
  .footer-bottom a:last-child { margin-left: 0; }
  .demo-line { font-size: 14px; }
  .legal-line { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .film:has(canvas) .beat { transform: none; }
}