/* B «Пудра»: светлый журнальный стиль. Cormorant Garamond — высококонтрастная антиква с курсивом для акцентов, Jost — геометрический гротеск. Акцент — винный. */
:root { --f-display: 'Cormorant Garamond', serif; --f-text: 'Jost', sans-serif; --w-text: 300; --w-display: 500; --radius-pill: 999px; --radius-arch: 999px 999px 0 0; }
:root[data-theme="light"] {
  --bg: #f7f1ec; --surface: #efe4dc; --fg: #2a1e1c; --muted: #8a7670; --accent: #7a1f2b; --on-accent: #fff;
  --line: rgba(42,30,28,.12); --line-strong: rgba(42,30,28,.28);
  --w-bg: #f7f1ec; --w-fg: #2a1e1c; --panel: #f7f1ec;
}
:root[data-theme="dark"] {
  --bg: #171112; --surface: #201819; --fg: #f2e6e1; --muted: #a8968f; --accent: #d79aa2; --on-accent: #171112;
  --line: rgba(242,230,225,.12); --line-strong: rgba(242,230,225,.28);
  --w-bg: #171112; --w-fg: #f2e6e1; --panel: #171112; --map-filter: grayscale(1) invert(.92) contrast(.9);
}

/* Приветствие: разворот — фото слева, страница справа */
.welcome { display: grid; grid-template-columns: 1.1fr 1fr; }
.w-photo { overflow: hidden; } .w-photo img { width: 100%; height: 100%; object-fit: cover; }
.w-panel { background: var(--panel); display: grid; grid-template-rows: auto 1fr auto; padding: clamp(18px, 4vw, 48px); }
.w-top { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.w-body { align-self: center; justify-self: center; text-align: center; display: grid; justify-items: center; gap: 26px; }
.w-hint { margin: 0; font-family: var(--f-display); font-style: italic; font-size: clamp(22px, 2.6vw, 32px); color: var(--accent); }
.w-logo { margin: 0; } .w-logo .logo { width: clamp(240px, 30vw, 440px); }
.w-enter { min-width: 220px; border-radius: 999px; }
.w-bottom { display: grid; gap: 6px; text-align: center; font-size: 13px; letter-spacing: .06em; color: var(--muted); }
.w-social { display: flex; gap: 18px; justify-content: center; margin-top: 6px; }
@media (max-width: 760px) {
  .welcome { grid-template-columns: 1fr; grid-template-rows: 42svh 1fr; }
  .w-panel { padding-top: 14px; } .w-top { position: absolute; top: 12px; right: 12px; background: var(--panel); border-radius: 999px; padding: 0 6px; }
}

/* Переход: разворот раскрывается — фото уезжает вверх, панель вниз */
body.entering .w-photo { transform: translateY(-100%); transition: transform 1.1s cubic-bezier(.7,0,.2,1); }
body.entering .w-panel { transform: translateY(100%); transition: transform 1.1s .08s cubic-bezier(.7,0,.2,1); }
body.entering .welcome { background: transparent; }
body.entering .site { transition: opacity .6s .2s; }
body.entering .hero-media .hm { animation: unveil 1.2s .3s cubic-bezier(.7,0,.2,1) both; }
@keyframes unveil { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }

/* Сайт */
.hdr .logo { width: 104px; height: 40px; }
.hero { padding: clamp(36px, 7vw, 90px) 0 30px; }
.hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.hero-h { font-family: var(--f-display); font-weight: 500; font-size: clamp(52px, 8vw, 112px); line-height: .92; margin: 0 0 24px; }
.hero-p { max-width: 42ch; font-size: 17px; color: var(--muted); margin: 0 0 32px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; } .btn { border-radius: 999px; }
.hero-rating { margin-top: 28px; font-size: 13px; color: var(--muted); } .hero-rating b { font-family: var(--f-display); font-size: 26px; color: var(--accent); }
.hero-media { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: end; }
.hm { overflow: hidden; } .hm img { width: 100%; height: 100%; object-fit: cover; }
.hm1 { aspect-ratio: 3/4.3; border-radius: 999px 999px 0 0; } .hm2 { aspect-ratio: 3/4; margin-bottom: 40px; }
@media (max-width: 860px) { .hero-in { grid-template-columns: 1fr; } }
.h2 em, .hero-h em { font-style: italic; color: var(--accent); }
.svc-price { font-weight: 500; font-size: 22px; }
.work { border-radius: 4px; } .work:nth-child(3n+1) { border-radius: 999px 999px 4px 4px; }
.blk-alt { background: var(--surface); }
dialog#book { border-radius: 18px; }
