/* ============================================================
   VALER-STYLE SITE — DESIGN SYSTEM
   Palette, typography and layout patterns extracted from
   the reference design (Showit / valerphotos.com structure).
   ============================================================ */

:root {
  /* --- Цветовая система --- */
  --cream:      #EDDFBE;  /* основной фон страницы */
  --cream-2:    #EFE4CE;  /* фон светлых секций */
  --cream-3:    #F4ECDF;  /* самый светлый фон */
  --beige:      #E8D5AA;  /* тёмно-бежевая полоса (Featured in) */
  --ink:        #3B2C24;  /* тёмно-коричневый текст */
  --maroon:     #7F2424;  /* бордовый акцент */
  --maroon-dark:#6E1F1F;
  --on-dark:    #F2E7CE;  /* текст на тёмном/бордовом */
  --line:       rgba(59,44,36,.55);

  /* --- Шрифтовая система --- */
  /* Гравированные заглавные (логотип): аналог OL Engravers Classic Roman */
  --font-display: 'Cinzel','Playfair Display SC','Playfair Display',serif;
  /* Классическая антиква (заголовки капсом + наборный текст) */
  --font-serif: 'Baskervville','Playfair Display',serif;
  /* Рукописный акцент: аналог Morello Pen */
  --font-script: 'Mrs Saint Delafield','Marck Script',cursive;
  /* Гротеск для строчек-ярлыков в разрядку */
  --font-sans: 'Work Sans','Inter',sans-serif;

  --pad-x: clamp(16px, 4vw, 56px);
  --frame: 14px; /* кремовая рамка вокруг полноширинных фото */
}

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

body {
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* фоновая бумажная текстура всего сайта: фикс к вьюпорту, всегда резкая */
body::before {
  content: '';
  position: fixed; inset: 0;
  z-index: -1;
  background: url('../assets/bg/paper.webp') center / cover no-repeat;
}
/* если через конструктор задан свой фон страницы — штатная текстура уступает место */
body.has-custom-pagebg::before { display: none; }

/* бумажная фактура (зерно поверх) */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.29 0 0 0 0 0.23 0 0 0 0 0.16 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; }

/* ============ ТИПОГРАФИЧЕСКИЕ РОЛИ ============ */

.t-script {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.25;
  color: var(--maroon);
}
.t-script--sm { font-size: clamp(20px, 1.8vw, 24px); }

.t-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.t-h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.18;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.t-h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(26px, 2.9vw, 38px);
  line-height: 1.22;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.t-h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(19px, 1.6vw, 22px);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.t-body { font-size: 15px; line-height: 1.8; }
.t-body p + p { margin-top: 1.1em; }

.t-mono-num { /* римские нумерации "I. Weddings" */
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: .06em;
}

.u-link {
  font-family: var(--font-serif);
  font-size: 13.5px;
  letter-spacing: .08em;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: .5px;
  transition: opacity .25s;
  cursor: pointer;
  background: none; border: 0;
}
.u-link:hover { opacity: .6; }

.t-maroon { color: var(--maroon); }
.t-center { text-align: center; }

.monogram {
  font-family: var(--font-script);
  font-size: 34px;
  line-height: 1;
}

/* овальная кнопка-капсула ("View The Menu") */
.btn-oval {
  font-family: var(--font-serif);
  font-size: 13.5px;
  letter-spacing: .04em;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 50%;
  padding: 9px 22px;
  cursor: pointer;
  transition: background .3s, color .3s;
  white-space: nowrap;
}
.btn-oval:hover { background: var(--ink); color: var(--cream); }

/* ============ ШАПКА ============ */

.site-header {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 26px var(--pad-x) 22px;
  z-index: 20;
}
.site-header .spacer { }
.wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 36px);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--maroon);
  text-decoration: none;
  text-align: center;
}
.wordmark--script {
  font-family: var(--font-script);
  text-transform: none;
  letter-spacing: 0;
  font-size: clamp(34px, 3.4vw, 46px);
}
.site-header .menu-btn { justify-self: end; }

/* ============ МЕНЮ-ОВЕРЛЕЙ ============ */

.menu-overlay {
  position: fixed; inset: 0;
  background: var(--cream);
  z-index: 60;
  display: none;
  overflow: hidden;
}
.menu-overlay.open { display: block; }
.menu-overlay .close-wrap {
  position: absolute; top: 148px; right: var(--pad-x);
}
@media (max-width: 900px) { .menu-overlay .close-wrap { top: 26px; } }
.menu-cols {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -58%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  width: min(1000px, 92vw);
}
.menu-col-left  { text-align: right; padding-top: 6px; }
.menu-col-right { text-align: left;  padding-top: 6px; }
.menu-cols .t-script { margin-bottom: 18px; display: block; }
.menu-list { list-style: none; }
.menu-list li { margin: 13px 0; }
.menu-list a {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: .04em;
  text-decoration: none;
  transition: opacity .25s;
}
.menu-list a:hover { opacity: .55; }
.menu-photo { width: clamp(200px, 22vw, 315px); }
.menu-photo .ph { aspect-ratio: 315/390; }
.menu-big-wordmark {
  position: absolute;
  left: 50%; bottom: -2%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(64px, 8.5vw, 124px);
  letter-spacing: .06em;
  color: var(--cream-3);
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(59,44,36,.12);
}
@media (max-width: 900px) {
  .menu-cols { grid-template-columns: 1fr; text-align: center; transform: translate(-50%,-50%); }
  .menu-col-left, .menu-col-right { text-align: center; }
  .menu-photo { display: none; }
}

/* ============ СЕКЦИИ-ОБЁРТКИ ============ */

.section { position: relative; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* HERO с фото в кремовой рамке */
.hero-frame { padding: clamp(36px, 4.8vw, 88px) var(--frame) var(--frame); }
.hero-frame .hero-media {
  position: relative;
  aspect-ratio: 2.4 / 1;   /* переопределяется на страницах точным значением */
  max-height: 86vh;
  overflow: hidden;
}
@media (max-width: 760px) {
  .hero-frame .hero-media { aspect-ratio: 3 / 4 !important; max-height: none; }
}
.hero-media .ph, .hero-media .ph img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-caption {
  position: absolute;
  left: 50%; bottom: 14%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--on-dark);
  width: min(90%, 900px);
  z-index: 2;
  text-shadow: 0 1px 22px rgba(28,18,10,.45), 0 1px 4px rgba(28,18,10,.25);
}
.hero-caption .t-script { color: var(--on-dark); opacity: .92; margin-bottom: 2px; }
.hero-caption .t-label { margin-top: 18px; font-size: 10.5px; opacity: .95; }
.hero-caption .hero-sub2 { margin-top: 34px; font-size: 9.5px; opacity: .95; }

/* ============ ФОТО-СЛОТЫ / ПЛЕЙСХОЛДЕРЫ ============ */

.ph {
  position: relative;
  background:
    linear-gradient(160deg, rgba(59,44,36,.10), rgba(59,44,36,.045) 55%, rgba(127,36,36,.08)),
    var(--cream-2);
  overflow: hidden;
}
.ph img.ph-img { width: 100%; height: 100%; object-fit: cover; }
.ph.empty img.ph-img { display: none; }

.ph .ph-ui {
  position: absolute; inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 12px;
  border: 1px dashed rgba(59,44,36,.4);
  z-index: 3;
}
.ph.empty .ph-ui { display: flex; }
.ph .ph-ui .ph-ico { opacity: .55; width: 34px; height: 34px; }
.ph .ph-ui .ph-btn {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream-3);
  background: var(--maroon);
  border: 0;
  padding: 9px 16px;
  cursor: pointer;
  transition: background .25s;
}
.ph .ph-ui .ph-btn:hover { background: var(--maroon-dark); }
.ph .ph-ui .ph-note {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .5;
}
/* маленькие слоты: компактный плейсхолдер */
.ph[data-small] .ph-ui .ph-note, .ph[data-small] .ph-ui .ph-ico { display: none; }
.ph[data-small] .ph-ui .ph-btn { padding: 6px 10px; font-size: 9px; }

/* заполненный слот: при наведении появляются «заменить» / «удалить» */
.ph .ph-tools {
  position: absolute; right: 10px; bottom: 10px;
  z-index: 3;
  display: none;
  gap: 6px;
}
.ph:not(.empty):hover .ph-tools { display: flex; }
.ph .ph-tools button {
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cream-3);
  background: rgba(59,44,36,.85);
  border: 0;
  padding: 7px 12px;
  cursor: pointer;
  transition: background .2s;
}
.ph .ph-tools button:hover { background: rgba(59,44,36,1); }
.ph .ph-tools .ph-del { background: rgba(127,36,36,.9); }
.ph .ph-tools .ph-del:hover { background: var(--maroon-dark); }

/* ============ ДОМАШНЯЯ: ИНТРО ============ */

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(64px, 9vw, 130px) var(--pad-x);
  max-width: min(1400px, 88vw);
  margin: 0 auto;
}
.intro-collage { position: relative; }
.intro-collage .ph-main { aspect-ratio: 433/532; width: 66%; margin-left: auto; }
.intro-collage .ph-small {
  position: absolute;
  left: 0; bottom: 0;
  width: 30%;
  aspect-ratio: 196/248;
  z-index: 2;
}
.intro-text .t-script { display: block; margin-bottom: 6px; }
.intro-text .t-h2 { margin-bottom: 14px; }
.intro-text .t-label { color: var(--maroon); margin-bottom: 22px; }
.intro-text .t-body { max-width: 42ch; }
.intro-text .u-link { display: inline-block; margin-top: 26px; }

/* ============ FEATURED IN ============ */

.featured {
  position: relative;
  background: var(--beige);
  padding: clamp(48px, 6vw, 84px) var(--pad-x) clamp(56px, 7vw, 96px);
  margin-top: clamp(48px, 6vw, 80px);
}
.featured .tab {
  position: absolute;
  top: 0; left: 0;
  transform: translateY(-55%);
  background: var(--beige);
  border-radius: 0 0 999px 0;
  padding: 20px 64px 20px var(--pad-x);
}
.featured-list { text-align: center; }
.featured-list .item {
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--maroon);
  font-size: clamp(13px, 1.25vw, 16px);
  letter-spacing: .3em;
  text-transform: uppercase;
  line-height: 2.2;
}

/* ============ ДВА ФОТО РЯДОМ ============ */

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--frame);
  padding: var(--frame);
}
.duo .ph { aspect-ratio: 834/779; }

/* ============ УСЛУГИ (3 колонки) ============ */

.services { padding: clamp(64px, 8vw, 110px) var(--pad-x) clamp(56px, 7vw, 90px); }
.services .head { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.services .head .t-script { display: block; margin-bottom: 4px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 36px);
  max-width: min(58vw, 980px);
  margin: 0 auto;
}
@media (max-width: 900px) { .services-grid { max-width: 420px; } }
.service { display: block; text-decoration: none; color: var(--ink); }
.service .t-mono-num { color: var(--maroon); margin-bottom: 10px; display: block; }
.service .hub-media { position: relative; display: block; overflow: hidden; }
.service .ph { aspect-ratio: 243/303; transition: transform .5s ease; }
.service:hover .ph { transform: scale(1.035); }
.service:hover .hub-veil { opacity: 1; background: rgba(46, 26, 20, .42); }
.services .foot { text-align: center; margin-top: clamp(36px, 4vw, 56px); }

/* ============ ПОЛНОЭКРАННОЕ ФОТО С ПОДПИСЬЮ ============ */

.fullbleed {
  position: relative;
  min-height: clamp(400px, 37vw, 660px);
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}
.fullbleed .ph, .fullbleed .ph { position: absolute; inset: 0; }
.fullbleed .ph img { width: 100%; height: 100%; object-fit: cover; }
.fullbleed .caption {
  position: relative;
  z-index: 2;
  color: var(--on-dark);
  text-shadow: 0 1px 18px rgba(28,18,10,.5), 0 1px 3px rgba(28,18,10,.3);
  padding: clamp(28px, 4vw, 48px) var(--pad-x);
  max-width: 420px;
}
.fullbleed .caption .monogram { color: var(--on-dark); display: block; margin-bottom: 14px; }
.fullbleed .caption .t-label { margin-bottom: 12px; display: block; }
.fullbleed .caption p { font-size: 14px; line-height: 1.8; }
.fullbleed .caption .u-link { margin-top: 16px; display: inline-block; color: var(--on-dark); }
.fullbleed .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(30,22,16,.42), rgba(30,22,16,.05) 55%);
  z-index: 1;
}

/* ============ КОЛЛАЖ ============ */

.collage {
  position: relative;
  height: clamp(860px, 98vw, 1720px);
}
.collage .c-item { position: absolute; }
.collage .c-quote {
  position: absolute;
  font-family: var(--font-script);
  font-size: clamp(20px, 1.9vw, 26px);
  color: var(--maroon);
  line-height: 1.4;
  max-width: 240px;
}
.collage .c-outline {
  position: absolute;
  border: 1px solid var(--maroon);
  opacity: .75;
}
@media (max-width: 760px) {
  .collage { height: auto; display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: dense; gap: 14px; padding: 0 var(--pad-x); }
  .collage .c-item { position: static !important; width: auto !important; }
  .collage .c-outline { display: none; }
  .collage .c-quote { position: static; max-width: none; grid-column: 1 / -1; text-align: center; padding: 10px 0; }
}

/* ============ ОТЗЫВЫ (бордовая полоса) ============ */

.testimonials {
  position: relative;
  background: #6E1120; /* глубокий винный */
  color: var(--on-dark);
  padding: clamp(72px, 10vw, 130px) var(--pad-x);
  text-align: center;
  overflow: hidden;
}
.testimonials::before {
  content: '';
  position: absolute; inset: 0;
  /* плотное плёночное зерно: тёмные + светлые крапинки, без размытых пятен */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='gd' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.02 0 0 0 0 0.06 0.9 0.9 0.9 0 -1.15'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23gd)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='gl' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' seed='23' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 0.9 0 0 0 0 0.82 0.5 0.5 0.5 0 -0.82'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23gl)'/%3E%3C/svg%3E");
  opacity: .8;
}
.testimonials .deco, .testimonials .inner { position: relative; z-index: 2; }
.testimonials .deco {
  position: absolute;
  font-family: var(--font-script);
  font-size: 23px;
  line-height: 1.7;
  color: var(--on-dark);
  opacity: .34;
  max-width: 420px;
  text-align: left;
  pointer-events: none;
}
.testimonials .deco--tr { top: 7%; right: 3%; }
.testimonials .deco--bl { bottom: 9%; left: 3%; }
.testimonials .inner { position: relative; max-width: 720px; margin: 0 auto; }
.testimonials .t-script { color: var(--on-dark); display: block; margin-bottom: 0; }
.testimonials .t-h2 { margin-bottom: 26px; }
.testimonials .monogram { display: block; margin: 0 auto 34px; opacity: .9; }
.testi-slide { display: none; }
.testi-slide.active { display: block; }
.testi-slide .quote { font-size: 14.5px; line-height: 1.95; }
.testi-slide .who {
  font-family: var(--font-script);
  font-size: 26px;
  margin-top: 40px;
}
.testimonials .next {
  margin-top: 22px;
  color: var(--on-dark);
  font-size: 12.5px;
}

/* ============ ПОРТФОЛИО-ТАЙМЛАЙН (главная) ============ */

.portfolio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(64px, 9vw, 120px) var(--pad-x);
  max-width: min(1400px, 88vw);
  margin: 0 auto;
}
.portfolio .head .t-label { color: var(--ink); opacity: .8; margin-bottom: 10px; }
.portfolio .head .t-h2 { color: var(--maroon); margin-bottom: 34px; }
.timeline { position: relative; padding-left: 0; list-style: none; }
.timeline .rail {
  position: absolute;
  left: 50%; top: 6px; bottom: 6px;
  width: 1px;
  background: var(--ink);
  opacity: .6;
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  margin: 26px 0;
  align-items: center;
}
.timeline li .dot {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--maroon);
}
.timeline li:nth-child(even) .dot { background: var(--ink); }
.timeline .num { font-family: var(--font-serif); font-size: 13px; letter-spacing: .08em; }
.timeline .name { font-family: var(--font-script); font-size: 24px; color: var(--ink); }
.timeline li.right .cell-l { text-align: right; }
.timeline li.left .cell-l { text-align: right; }
.timeline li .cell-l { justify-self: end; display: flex; gap: 14px; align-items: baseline; }
.timeline li .cell-r { justify-self: start; display: flex; gap: 14px; align-items: baseline; }
.portfolio .side-photo { position: relative; }
.portfolio .side-photo.moments-stack { aspect-ratio: 544/701; width: 82%; margin: 0 auto; }
.moments-stack .moment-ph {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
}
.moments-stack .moment-ph.active { opacity: 1; pointer-events: auto; }
.timeline li { cursor: default; }
.timeline li .name { transition: color .25s; }
.timeline li:hover .name { color: var(--maroon); }
.portfolio .foot { grid-column: 1 / -1; text-align: center; }

/* ============ CTA ============ */

.cta {
  position: relative;
  min-height: clamp(360px, 30vw, 540px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--on-dark);
  overflow: hidden;
}
.cta .ph { position: absolute; inset: 0; }
.cta .ph img { width: 100%; height: 100%; object-fit: cover; }
.cta .scrim { position: absolute; inset: 0; background: rgba(30,20,12,.34); }
.cta .inner { position: relative; z-index: 2; padding: 40px var(--pad-x); text-shadow: 0 1px 22px rgba(28,18,10,.45), 0 1px 4px rgba(28,18,10,.25); }
.cta .t-script { color: var(--on-dark); display: block; margin-bottom: 4px; }
.cta .t-h1 { margin-bottom: 20px; }
.cta .u-link { color: var(--on-dark); }

/* ============ ФУТЕР ============ */

.site-footer {
  position: relative;
  padding: clamp(48px, 6vw, 80px) var(--pad-x) 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
  padding-bottom: clamp(40px, 5vw, 70px);
}
.footer-grid .t-script { display: block; margin-bottom: 14px; font-size: 24px; color: var(--ink); }
.footer-toc { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; max-width: 320px; }
.footer-toc a {
  font-size: 13.5px;
  letter-spacing: .03em;
  text-decoration: none;
  line-height: 2.1;
  transition: opacity .25s;
}
.footer-toc a:hover { opacity: .55; }
.footer-toc a.current { color: var(--maroon); font-family: var(--font-script); font-size: 19px; letter-spacing: 0; }
.footer-center { text-align: center; }
.footer-center .wordmark { display: block; font-size: 27px; margin-bottom: 4px; }
.footer-center .t-script { font-size: 22px; color: var(--maroon); margin-bottom: 0; }
.footer-center .t-label { font-size: 9.5px; color: var(--maroon); letter-spacing: .18em; margin-top: 4px; }
.footer-right { display: grid; grid-template-columns: 1fr auto; gap: 20px; text-align: right; }
.footer-right .loc p { font-size: 13px; line-height: 1.9; }
.footer-right .connect ul { list-style: none; }
.footer-right .connect a {
  font-size: 13.5px;
  text-decoration: none;
  line-height: 2.1;
  transition: opacity .25s;
}
.footer-right .connect a:hover { opacity: .55; }
.footer-bar {
  position: relative;
  background-color: #6E1120; /* глубокий винный */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='gd' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.23 0 0 0 0 0.04 0 0 0 0 0.09 0.7 0.7 0.7 0 -0.9'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23gd)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='gl' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' seed='23' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 0.9 0 0 0 0 0.82 0.4 0.4 0.4 0 -0.72'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23gl)'/%3E%3C/svg%3E");
  color: var(--on-dark);
  text-align: center;
  padding: 13px var(--pad-x);
  margin: 0 calc(-1 * var(--pad-x));
}
.footer-bar .t-label { font-size: 9.5px; letter-spacing: .26em; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-toc { margin: 0 auto; }
  .footer-right { grid-template-columns: 1fr; text-align: center; }
}

/* ============ ABOUT ============ */

.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(40px, 6vw, 90px) var(--pad-x) clamp(56px, 8vw, 110px);
  max-width: min(1400px, 88vw);
  margin: 0 auto;
}
.about-hero .ph { aspect-ratio: 451/489; width: min(100%, 460px); justify-self: center; }
.about-hero .txt { text-align: center; }
.about-hero .txt .t-script { display: block; margin-bottom: 6px; }
.about-hero .txt .t-h1 { margin-bottom: 16px; }

.chapter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 8vw, 110px) var(--pad-x);
  max-width: min(1400px, 88vw);
  margin: 0 auto;
}
.chapter.alt { display: block; background: var(--cream-2); max-width: none; }
.chapter.alt > .in {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  max-width: min(1400px, 88vw); margin: 0 auto;
}
.chapter .txt .t-script { display: block; margin-bottom: 4px; }
.chapter .txt .t-h2 { margin-bottom: 22px; }
.chapter .txt .t-body { text-align: justify; }
.chapter .txt .u-link { margin-top: 24px; display: inline-block; }
.chapter .collage2 { position: relative; }
.chapter .collage2 .ph-a { aspect-ratio: 356/455; width: 54%; margin-left: auto; }
.chapter .collage2 .ph-b { position: absolute; left: 0; bottom: 0; width: 35%; aspect-ratio: 199/228; z-index: 2; }

/* MY STORY — секция в бордовой раме */
.story {
  border: clamp(10px, 1.4vw, 18px) solid var(--maroon);
  padding: clamp(48px, 7vw, 96px) var(--pad-x) clamp(56px, 8vw, 104px);
  position: relative;
  overflow: hidden;
}
.story .head { text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }
.story .head .t-script { display: block; margin-bottom: 4px; }
.story-line {
  position: relative;
  height: 1px;
  background: var(--ink);
  max-width: 980px;
  margin: 0 auto clamp(36px, 5vw, 56px);
}
.story-line i {
  position: absolute;
  top: 50%;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ink);
  transform: translate(-50%,-50%);
}
.story-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  max-width: 1020px;
  margin: 0 auto;
}
.story-cols .t-label { color: var(--ink); margin-bottom: 16px; display: block; }
.story-cols .col:nth-child(2) { text-align: center; }
.story-cols .col:nth-child(3) { text-align: right; }
.story-cols.story-cols--bio .col { text-align: left; }
.story .foot { text-align: center; margin-top: clamp(40px, 6vw, 64px); }
.story .deco {
  position: absolute;
  font-family: var(--font-script);
  font-size: 21px;
  line-height: 1.7;
  color: var(--maroon);
  opacity: .26;
  max-width: 380px;
  pointer-events: none;
}
.story .deco--tr { top: 4%; right: 2%; }
.story .deco--bl { bottom: 5%; left: 2%; }

.howiwork .txt { text-align: center; max-width: 560px; margin: 0 auto; }
.howiwork .txt .monogram { color: var(--maroon); display: block; margin: 18px 0 22px; }
.howiwork .txt .t-label { color: var(--ink); display: block; margin-bottom: 16px; }
.howiwork .ph { aspect-ratio: 657/565; }

/* ============ COLLECTION ============ */

.coll-head { text-align: center; padding: clamp(64px, 9vw, 120px) var(--pad-x) clamp(40px, 6vw, 72px); }
.coll-head .monogram { color: var(--maroon); display: block; margin-bottom: 22px; }
.coll-head .t-label { color: var(--maroon); display: block; margin-bottom: 10px; }
.coll-head .t-script { display: block; margin-top: 2px; font-size: clamp(28px, 3vw, 40px); }

.masonry {
  columns: 3;
  column-gap: 14px;
  padding: 0 var(--frame) var(--frame);
}
.masonry .m-item {
  break-inside: avoid;
  margin-bottom: 14px;
}
.masonry .m-item .ph.r-34 { aspect-ratio: 3/4; }
.masonry .m-item .ph.r-45 { aspect-ratio: 4/5; }
.masonry .m-item .ph.r-11 { aspect-ratio: 1/1; }
.masonry .m-item .ph.r-32 { aspect-ratio: 3/2; }
.masonry .m-item .ph.r-23 { aspect-ratio: 2/3; }
@media (max-width: 900px) { .masonry { columns: 2; } }
@media (max-width: 540px) { .masonry { columns: 1; } }

/* ============ INFORMATION ============ */

.process {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 8vw, 110px) var(--pad-x);
  max-width: min(1400px, 88vw);
  margin: 0 auto;
}
.process .ph { aspect-ratio: 413/525; width: min(100%, 440px); justify-self: center; }
.process .txt .t-script { display: block; margin-bottom: 6px; }
.process .txt .t-h2 { color: var(--maroon); margin-bottom: 18px; }
.process .txt .t-label { display: block; margin-bottom: 14px; }
.process-steps { margin-top: 28px; display: grid; gap: 10px; }
.process-steps .step {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
}
.process-steps .step b { color: var(--maroon); font-weight: 500; margin-right: 10px; }

.offer { background: var(--cream-2); padding: clamp(56px, 8vw, 100px) var(--pad-x); }
.offer .head { max-width: 1060px; margin: 0 auto clamp(36px, 5vw, 56px); }
.offer .head .t-script { display: block; margin-bottom: 2px; }
.offer .head .t-h2 { margin-bottom: 26px; }
.offer-line { position: relative; height: 1px; background: var(--ink); max-width: 1060px; margin: 0 auto clamp(32px,4vw,48px); }
.offer-line i { position: absolute; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); transform: translate(-50%,-50%); }
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  max-width: 1060px;
  margin: 0 auto;
}
.offer-grid .t-label { display: block; margin-bottom: 14px; }
.offer-grid .col:nth-child(2) { text-align: center; }
.offer-grid .col:nth-child(3) { text-align: right; }
.offer-grid .price {
  display: block;
  margin-top: 18px;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--maroon);
  line-height: 2;
}

.film {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 8vw, 110px) var(--pad-x);
  max-width: min(1400px, 88vw);
  margin: 0 auto;
}
.film .txt { text-align: right; }
.film .txt .t-script { display: block; margin-bottom: 2px; }
.film .txt .t-h2 { margin-bottom: 22px; }
.film .txt .t-body { max-width: 40ch; margin-left: auto; }
.film .txt .u-link { margin-top: 22px; display: inline-block; }
.embed-slot { position: relative; aspect-ratio: 620/355; width: 88%; }
.embed-slot iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.travel { padding: clamp(56px, 8vw, 100px) var(--pad-x); max-width: 900px; margin: 0 auto; }
.travel .t-h2 { text-align: center; color: var(--maroon); margin-bottom: clamp(36px, 5vw, 56px); }
.travel-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  padding: 18px 6px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.travel-row:first-of-type { border-top: 1px solid var(--line); }
.travel-row .month { font-family: var(--font-script); font-size: 26px; color: var(--maroon); }
.travel-row .places {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-align: right;
  line-height: 2.2;
}

.faqs {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(64px, 9vw, 120px) var(--pad-x);
  max-width: min(1400px, 88vw);
  margin: 0 auto;
}
.faqs .head .t-label { display: block; margin-bottom: 10px; }
.faqs .head .t-h2 { margin-bottom: 34px; }
.faq-item { margin-bottom: 34px; }
.faq-item .q {
  font-family: var(--font-script);
  font-size: 26px;
  color: var(--maroon);
  text-align: center;
  margin-bottom: 14px;
}
.faq-item .a { text-align: justify; font-size: 14.5px; }
.faqs .side { position: relative; display: grid; gap: 44px; align-content: start; padding-top: 30px; }
.faqs .side .ph-1 { aspect-ratio: 315/384; width: 54%; }
.faqs .side .ph-2 { aspect-ratio: 290/240; width: 50%; justify-self: end; margin-top: -14%; }
.faqs .side .ph-3 { aspect-ratio: 273/252; width: 47%; margin-left: 10%; margin-top: -10%; }
.faqs .side .ph-4 { aspect-ratio: 197/231; width: 34%; justify-self: end; margin-top: -4%; }
.faqs .foot { grid-column: 1 / -1; text-align: center; }

/* ============ INQUIRE ============ */

.inquire-intro {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 8vw, 100px) var(--pad-x) clamp(24px, 3vw, 40px);
  max-width: 1140px;
  margin: 0 auto;
}
.inquire-intro .ph { aspect-ratio: 392/479; width: min(100%, 420px); justify-self: center; filter: grayscale(1); }
.inquire-intro .txt { text-align: center; }
.inquire-intro .txt .t-script { display: block; margin-bottom: 6px; }
.inquire-intro .txt .t-h2 { margin-bottom: 18px; }
.inquire-intro .txt .t-body { max-width: 46ch; margin: 0 auto; }
.inquire-intro .txt .monogram { color: var(--maroon); display: block; margin-top: 26px; }

.inq-form { max-width: 640px; margin: 0 auto; padding: clamp(24px, 4vw, 48px) var(--pad-x) clamp(72px, 9vw, 120px); }
.field { margin-bottom: 34px; }
.field label {
  display: block;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 4px;
}
.field .hint { font-size: 13px; opacity: .8; margin-bottom: 4px; }
.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  font-family: var(--font-script);
  font-size: 22px;
  color: var(--maroon);
  padding: 8px 2px 10px;
  outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--maroon); opacity: .75; }
.field textarea { min-height: 170px; resize: vertical; }
.inq-form .send { text-align: center; margin-top: 46px; }

/* ============ РЕДАКТОР ============ */

body.editing [data-t] { outline: 1px dashed transparent; transition: outline-color .2s; min-height: 1em; }
body.editing [data-t]:hover { outline-color: rgba(127,36,36,.55); cursor: text; }
body.editing [data-t]:focus { outline: 1.5px solid var(--maroon); background: rgba(244,236,223,.5); }
body.editing .ph { cursor: pointer; }

#editor-panel {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 90;
  background: #2E2119;
  color: #F4ECDF;
  font-family: var(--font-sans);
  font-size: 12px;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(20,12,6,.4);
  width: 250px;
  overflow: hidden;
}
#editor-panel .ep-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  background: #241912;
  cursor: pointer;
  user-select: none;
}
#editor-panel .ep-head b { font-weight: 500; letter-spacing: .08em; font-size: 11px; text-transform: uppercase; }
#editor-panel .ep-body { padding: 12px 14px 14px; display: grid; gap: 9px; }
#editor-panel.min .ep-body { display: none; }
#editor-panel button.ep-btn {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  padding: 9px 10px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  background: #4A382C;
  color: #F4ECDF;
  transition: background .2s;
  text-align: left;
}
#editor-panel button.ep-btn:hover { background: #5C4636; }
#editor-panel button.ep-btn.primary { background: var(--maroon); }
#editor-panel button.ep-btn.primary:hover { background: #952D2D; }
#editor-panel button.ep-btn.danger { background: #3A2A21; color: #E8B9A9; }
#editor-panel .ep-note { font-size: 10px; line-height: 1.5; opacity: .55; }
#editor-panel .ep-status { font-size: 10.5px; line-height: 1.5; opacity: .85; min-height: 14px; }
#editor-panel .switch { display: flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
#editor-panel .switch .track {
  width: 34px; height: 18px;
  border-radius: 99px;
  background: #4A382C;
  position: relative;
  transition: background .2s;
  flex: 0 0 auto;
}
#editor-panel .switch .track::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #F4ECDF;
  transition: left .2s;
}
#editor-panel .switch.on .track { background: var(--maroon); }
#editor-panel .switch.on .track::after { left: 18px; }

/* видео-слот: форма вставки ссылки */
.embed-slot .ph-ui .ph-input {
  width: 84%;
  font-family: var(--font-sans);
  font-size: 11px;
  padding: 8px 10px;
  border: 1px solid rgba(59,44,36,.4);
  background: var(--cream-3);
  color: var(--ink);
  outline: none;
}

/* ============ АДАПТИВ ============ */

@media (max-width: 900px) {
  .intro-grid, .chapter, .chapter.alt > .in, .process, .film, .faqs,
  .inquire-intro, .about-hero, .portfolio { grid-template-columns: 1fr; }
  .film .txt { text-align: center; }
  .film .txt .t-body { margin: 0 auto; }
  .story-cols { grid-template-columns: 1fr; text-align: center !important; }
  .story-cols .col:nth-child(3) { text-align: center; }
  .services-grid { grid-template-columns: 1fr; max-width: 420px; }
  .offer-grid { grid-template-columns: 1fr; text-align: center !important; }
  .offer-grid .col:nth-child(3) { text-align: center; }
  .footer-right { text-align: center; }
}

/* ============ ИНСПЕКТОР КОНСТРУКТОРА ============ */

.hero-media .scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.fullbleed .scrim, .cta .scrim { pointer-events: none; }

#editor-inspector {
  position: fixed;
  right: 18px; top: 18px;
  z-index: 95;
  width: 268px;
  max-height: calc(100vh - 220px);
  overflow-y: auto;
  background: #2E2119;
  color: #F4ECDF;
  font-family: var(--font-sans);
  font-size: 12px;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(20,12,6,.45);
}
#editor-inspector .ei-head {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px;
  background: #241912;
  position: sticky; top: 0;
}
#editor-inspector .ei-head b { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
#editor-inspector .ei-key { flex: 1; font-size: 9.5px; opacity: .5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#editor-inspector .ei-x { background: none; border: 0; color: #F4ECDF; font-size: 16px; cursor: pointer; opacity: .7; }
#editor-inspector .ei-x:hover { opacity: 1; }
#editor-inspector .ei-body { padding: 10px 14px 4px; }
#editor-inspector .ei-row { margin-bottom: 12px; }
#editor-inspector .ei-label { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; opacity: .6; margin-bottom: 6px; }
#editor-inspector .ei-sub { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #E8B9A9; margin: 14px 0 10px; padding-top: 10px; border-top: 1px solid #4A382C; }
#editor-inspector .ei-note { font-size: 10px; opacity: .5; line-height: 1.5; margin-bottom: 10px; }
#editor-inspector .ei-swatches { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
#editor-inspector .ei-sw {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(244,236,223,.25);
  cursor: pointer;
  padding: 0;
}
#editor-inspector .ei-sw.on { outline: 2px solid #E8B9A9; outline-offset: 1px; }
#editor-inspector .ei-color { width: 26px; height: 22px; border: 0; background: none; padding: 0; cursor: pointer; }
#editor-inspector .ei-clear {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #4A382C; color: #F4ECDF;
  border: 0; cursor: pointer; font-size: 12px; line-height: 1;
}
#editor-inspector .ei-clear:hover { background: #5C4636; }
#editor-inspector .ei-line { display: flex; align-items: center; gap: 8px; }
#editor-inspector .ei-line input[type=range] { flex: 1; accent-color: #7F2424; }
#editor-inspector .ei-val { min-width: 42px; text-align: right; font-size: 10.5px; opacity: .8; }
#editor-inspector .ei-seg { display: flex; flex-wrap: wrap; gap: 4px; }
#editor-inspector .ei-seg-b {
  flex: 1 0 auto;
  padding: 6px 8px;
  font-family: var(--font-sans);
  font-size: 10.5px;
  background: #4A382C; color: #F4ECDF;
  border: 0; border-radius: 5px; cursor: pointer;
}
#editor-inspector .ei-seg-b.on { background: #7F2424; }
#editor-inspector .ei-toggle-row { display: flex; align-items: center; justify-content: space-between; }
#editor-inspector .ei-toggle-row .ei-label { margin-bottom: 0; }
#editor-inspector .ei-toggle { width: 34px; height: 18px; border-radius: 99px; background: #4A382C; border: 0; position: relative; cursor: pointer; }
#editor-inspector .ei-toggle span { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #F4ECDF; transition: left .2s; }
#editor-inspector .ei-toggle.on { background: #7F2424; }
#editor-inspector .ei-toggle.on span { left: 18px; }
#editor-inspector .ei-foot { padding: 10px 14px 14px; }
#editor-inspector .ei-reset {
  width: 100%;
  padding: 8px;
  font-family: var(--font-sans); font-size: 10.5px;
  background: #3A2A21; color: #E8B9A9;
  border: 0; border-radius: 6px; cursor: pointer;
}
#editor-inspector .ei-reset:hover { background: #4A382C; }

/* хэндлы секций */
.sec-handle {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 40;
  display: none;
  align-items: center; gap: 6px;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: .04em;
  background: rgba(46,33,25,.92);
  color: #F4ECDF;
  border: 0; border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  opacity: .45;
  transition: opacity .2s;
}
.sec-handle i { font-style: normal; opacity: .6; font-size: 9px; }
body.editing .sec-handle { display: inline-flex; }
.sec-handle:hover { opacity: 1; }
footer .sec-handle { top: 8px; }

/* подсветка выбранного элемента */
.ei-selected { outline: 2px solid rgba(127,36,36,.8) !important; outline-offset: 2px; }
body.editing .ph:hover { outline: 1px dashed rgba(127,36,36,.5); }


/* ============================================================
   АДАПТИВНЫЙ СЛОЙ (mobile-first приоритет: телефон → планшет →
   ноутбук → широкие). Десктоп 1440–1710 не трогаем: пропорции
   откалиброваны по оригиналу.
   ============================================================ */

/* ---------- Планшет и большие телефоны (561–900) ---------- */
@media (min-width: 561px) and (max-width: 900px) {
  .hero-frame .hero-media { aspect-ratio: 4 / 3 !important; max-height: none; }
  .duo { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(3, 1fr); max-width: 92vw; }
  .intro-grid { max-width: 560px; }
  .chapter, .chapter.alt > .in, .process, .film, .faqs { max-width: 640px; }
}

/* ---------- Всё, что уже 900 и меньше ---------- */
@media (max-width: 900px) {
  .duo { grid-template-columns: 1fr; gap: var(--frame); }
  .testimonials .deco { display: none; }
  .menu-list a { font-size: 17px; }
  .menu-list li { margin: 16px 0; }
  .menu-cols .t-script { font-size: 26px; }
  .menu-big-wordmark { font-size: clamp(40px, 11vw, 84px); bottom: 3%; }
  .story .deco { display: none; }
  #editor-inspector { width: min(268px, calc(100vw - 24px)); right: 12px; top: 12px; }
  #editor-panel { width: min(250px, calc(100vw - 24px)); right: 12px; bottom: 12px; }
}
@media (min-width: 561px) and (max-width: 900px) { .duo { grid-template-columns: 1fr 1fr; } }

/* ---------- Телефон (≤560) ---------- */
@media (max-width: 560px) {
  :root { --pad-x: 20px; --frame: 10px; }

  /* типографика */
  .t-h1 { font-size: 27px; letter-spacing: .06em; }
  .t-h2 { font-size: 24px; }
  .t-script { font-size: 22px; }
  .t-script--sm { font-size: 19px; }
  .t-body, .t-body p { font-size: 14.5px; }
  .t-label { font-size: 10px; letter-spacing: .18em; }
  .monogram { font-size: 28px; }

  /* шапка: волмарк по центру, кнопка ниже */
  .site-header { grid-template-columns: 1fr; gap: 10px; padding: 18px 16px 14px; }
  .site-header .spacer { display: none; }
  .wordmark { font-size: 21px; }
  .wordmark--script { font-size: 32px; }
  .site-header .menu-btn { justify-self: center; padding: 7px 18px; font-size: 12px; }

  /* hero: вертикальный кадр */
  .hero-frame { padding-top: 10px; }
  .hero-frame .hero-media { aspect-ratio: 3 / 4 !important; max-height: none; }
  .hero-caption { bottom: 9%; width: 92%; }
  .hero-caption .t-label { margin-top: 12px; font-size: 9.5px; letter-spacing: .16em; }
  .hero-caption .hero-sub2 { margin-top: 18px; font-size: 8.5px; }

  /* интро-коллаж: вертикально с лёгким наложением */
  .intro-grid { padding: 56px var(--pad-x) 64px; gap: 34px; }
  .intro-collage { padding-bottom: 13%; }
  .intro-collage .ph-main { width: 88%; }
  .intro-collage .ph-small { width: 44%; bottom: 0; }
  .intro-text { text-align: center; }
  .intro-text .t-body { max-width: none; }

  /* featured */
  .featured { padding: 44px var(--pad-x) 52px; margin-top: 40px; }
  .featured .tab { padding: 12px 30px 12px var(--pad-x); }
  .featured-list .item { font-size: 12px; letter-spacing: .24em; line-height: 2.4; }

  /* услуги */
  .services { padding: 56px var(--pad-x) 48px; }
  .services-grid { grid-template-columns: 1fr; max-width: 300px; gap: 28px; }
  .service { text-align: center; }
  .service .t-mono-num { margin-bottom: 8px; }

  /* полноэкранные полосы */
  .fullbleed { min-height: min(124vw, 540px); }
  .fullbleed .caption { padding: 22px var(--pad-x); max-width: 100%; }
  .cta { min-height: 68vw; }
  .cta .t-h1 { font-size: 24px; }

  /* коллаж: 2 колонки, широкие кадры на всю ширину */
  .collage { gap: 12px; }
  .collage .c-item { aspect-ratio: 4 / 5 !important; }
  figure.c-item:nth-of-type(1),
  figure.c-item:nth-of-type(5),
  figure.c-item:nth-of-type(8) { grid-column: 1 / -1; aspect-ratio: 3 / 2 !important; }
  .collage .c-quote { font-size: 21px; padding: 14px 8%; }

  /* отзывы */
  .testimonials { padding: 60px var(--pad-x); }
  .testi-slide .quote { font-size: 14px; }
  .testi-slide .who { font-size: 22px; margin-top: 28px; }

  /* портфолио-таймлайн: простой список с осью слева */
  .portfolio { padding: 56px var(--pad-x); gap: 36px; }
  .portfolio .head .t-h2 { margin-bottom: 24px; }
  .timeline { border-left: 1px solid var(--line); padding-left: 20px; }
  .timeline .rail, .timeline li .dot { display: none; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; margin: 14px 0; }
  .timeline li .cell-l, .timeline li .cell-r { justify-self: start; text-align: left; }
  .timeline .name { font-size: 22px; }
  .portfolio .side-photo .ph { width: 100%; }

  /* about */
  .about-hero { padding: 32px var(--pad-x) 56px; gap: 30px; }
  .about-hero .ph { width: 100%; }
  .chapter { padding: 52px var(--pad-x); gap: 32px; }
  .chapter .collage2 { padding-bottom: 13%; }
  .chapter .collage2 .ph-a { width: 78%; }
  .chapter .collage2 .ph-b { width: 44%; }
  .chapter .txt .t-body { text-align: left; }
  .story { border-width: 7px; padding: 40px 18px 48px; }
  .story-line { display: none; }
  .story-cols { gap: 26px; }
  .howiwork .txt { max-width: none; }

  /* collection */
  .coll-head { padding: 52px var(--pad-x) 32px; }
  .masonry { columns: 1; column-gap: 10px; padding: 0 var(--frame) var(--frame); }
  .masonry .m-item { margin-bottom: 10px; }

  /* information */
  .process { padding: 48px var(--pad-x); gap: 30px; }
  .process .ph { width: 100%; }
  .offer { padding: 48px var(--pad-x); }
  .offer-grid { gap: 34px; }
  .offer-grid .price { margin-top: 12px; }
  .film { padding: 48px var(--pad-x); gap: 26px; }
  .embed-slot { width: 100%; }
  .travel { padding: 48px var(--pad-x); }
  .travel-row { grid-template-columns: 1fr 1.3fr; gap: 12px; padding: 14px 2px; }
  .travel-row .month { font-size: 22px; }
  .travel-row .places { font-size: 9.5px; letter-spacing: .14em; line-height: 2; }
  .faqs { padding: 52px var(--pad-x); gap: 40px; }
  .faq-item .q { font-size: 22px; }
  .faq-item .a { text-align: left; }
  .faqs .side { grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 0; }
  .faqs .side .ph-1, .faqs .side .ph-2, .faqs .side .ph-3, .faqs .side .ph-4 {
    width: 100%; margin: 0; justify-self: stretch;
  }

  /* inquire: форма с крупными тач-таргетами */
  .inquire-intro { padding: 44px var(--pad-x) 8px; gap: 28px; }
  .inquire-intro .ph { width: 100%; }
  .inq-form { padding: 20px var(--pad-x) 64px; }
  .field { margin-bottom: 26px; }
  .field input, .field textarea { font-size: 19px; min-height: 44px; padding: 8px 2px 10px; }
  .field textarea { min-height: 150px; }
  .inq-form .send .btn-oval { padding: 12px 28px; font-size: 14px; }

  /* футер */
  .site-footer { padding-top: 44px; }
  .footer-grid { gap: 28px; padding-bottom: 40px; }
  .footer-toc { max-width: 300px; }
  .footer-center .wordmark { font-size: 22px; }
  .footer-bar .t-label { font-size: 8.5px; letter-spacing: .2em; }

  /* меню-оверлей */
  .menu-overlay .close-wrap { top: 18px; right: 16px; }
  .menu-overlay .close-wrap .btn-oval { padding: 7px 16px; font-size: 12px; }

  /* хэндлы секций компактнее */
  .sec-handle i { display: none; }
}

/* ---------- Широкие экраны (≥1920) ---------- */
@media (min-width: 1920px) {
  :root { --frame: 20px; }
  .hero-caption { bottom: 16%; }
  .featured-list .item { font-size: 17px; }
  .menu-cols { width: min(1120px, 80vw); }
}


/* ============ ХАБ КОЛЛЕКЦИЙ (Collection of work) ============ */

.hub { padding-bottom: clamp(56px, 8vw, 100px); }
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 44px);
  max-width: min(1400px, 88vw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.hub-card {
  display: block;
  text-decoration: none;
  text-align: center;
  color: var(--ink);
}
.hub-card .hub-media {
  position: relative;
  display: block;
  overflow: hidden;
  margin-bottom: 20px;
}
.hub-card .ph {
  aspect-ratio: 3/4;
  transition: transform .5s ease;
}
.hub-card:hover .ph { transform: scale(1.035); }
.hub-veil {
  position: absolute; inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 26, 20, 0);
  opacity: 0;
  transition: opacity .35s ease, background .35s ease;
  pointer-events: none;
}
.hub-card:hover .hub-veil {
  opacity: 1;
  background: rgba(46, 26, 20, .42);
}
.hub-veil .t-script { color: var(--on-dark); }
.hub-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: .08em;
  color: var(--maroon);
  margin-bottom: 6px;
}
.hub-title {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  transition: color .3s;
}
.hub-card:hover .hub-title { color: var(--maroon); }
.hub-sub { opacity: .75; }
@media (max-width: 900px) {
  .hub-grid { grid-template-columns: 1fr; max-width: 440px; gap: 40px; }
}


/* ============ ЭКРАН БЛАГОДАРНОСТИ (после отправки формы) ============ */
.form-success {
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 90px) var(--pad-x) clamp(72px, 9vw, 120px);
  text-align: center;
}
.form-success .t-script { display: block; margin-bottom: 6px; }
.form-success .t-h2 { margin-bottom: 20px; }
.form-success .t-body { max-width: 44ch; margin: 0 auto; }
.form-success .monogram { color: var(--maroon); display: block; margin-top: 28px; }


/* ============ ВИННЫЕ ПОЛОСЫ (переиспользуемые) ============ */
.wine {
  position: relative;
  background-color: #6E1120;
  color: var(--on-dark);
}
.wine::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='gd' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.02 0 0 0 0 0.06 0.9 0.9 0.9 0 -1.15'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23gd)'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='gl' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' seed='23' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 0.9 0 0 0 0 0.82 0.5 0.5 0.5 0 -0.82'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23gl)'/%3E%3C/svg%3E");
  opacity: .8;
  pointer-events: none;
}
.wine-in { position: relative; z-index: 1; }
.wine .t-script { color: var(--on-dark); }

/* ============ СТРАНИЦА PRICING ============ */
.pricing-hero {
  text-align: center;
  padding: 64px var(--pad-x) 68px;
}
.pricing-hero .t-script { display: block; margin-bottom: 4px; }
.pricing-hero .t-label {
  max-width: 32ch;
  margin: 18px auto 0;
  line-height: 1.65;
  opacity: .85;
}

/* Mobile-first: one readable column is the default. */
.pricing-types,
.wedding-collections {
  padding: 64px var(--pad-x);
}
.wedding-collections {
  background: var(--cream-2);
  scroll-margin-top: 24px;
}
.pricing-section-head {
  max-width: 620px;
  margin: 0 auto 36px;
  text-align: center;
}
.pricing-section-head .t-script { display: block; margin-bottom: 3px; }
.pricing-section-copy {
  max-width: 48ch;
  margin: 14px auto 0;
  font-size: 14.5px;
  line-height: 1.75;
  opacity: .84;
}
.pricing-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}
.pricing-card-grid--types { max-width: 820px; }
.pricing-card-grid--weddings { gap: 28px; }
.pricing-card {
  position: relative;
  min-width: 0;
  background: var(--cream-3);
  border: 1px solid rgba(127, 36, 36, .3);
}
.pricing-card__inner {
  position: relative;
  min-width: 0;
  min-height: 100%;
  padding: 26px 20px 22px;
  display: flex;
  flex-direction: column;
  text-align: center;
  overflow-wrap: anywhere;
}
.pricing-card__topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.pricing-card__number {
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--maroon);
}
.pricing-card__duration {
  max-width: 72%;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .14em;
  text-align: right;
  text-transform: uppercase;
  opacity: .78;
}
.pricing-card__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.22;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.pricing-card__script {
  display: block;
  margin: 3px 0 16px;
  color: var(--maroon);
}
.pricing-card__description {
  max-width: 38ch;
  margin: 0 auto 18px;
  font-size: 14px;
  line-height: 1.7;
  opacity: .86;
}
.pricing-card__price {
  font-family: var(--font-serif);
  font-size: 25px;
  letter-spacing: .04em;
  color: var(--maroon);
  margin-bottom: 20px;
}
.pricing-card__features {
  list-style: none;
  margin-bottom: 24px;
  text-align: left;
}
.pricing-card__features li {
  position: relative;
  min-width: 0;
  padding: 10px 0 10px 17px;
  border-top: 1px dashed rgba(59, 44, 36, .3);
  font-size: 13.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.pricing-card__features li::before {
  content: '·';
  position: absolute;
  left: 3px;
  top: 9px;
  color: var(--maroon);
  font-size: 18px;
  line-height: 1;
}
.pricing-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: .06em;
  text-align: center;
  text-decoration: none;
  transition: background .25s, color .25s;
}
.pricing-card__link:hover { background: var(--ink); color: var(--cream-3); }
.pricing-card__link:focus-visible {
  outline: 2px solid var(--maroon);
  outline-offset: 3px;
}
.pricing-card--featured {
  background-color: #6E1120;
  border-color: #4C0A16;
  color: var(--on-dark);
}
.pricing-card--featured .pricing-card__inner { padding-top: 32px; }
.pricing-card--featured .pricing-card__number,
.pricing-card--featured .pricing-card__price,
.pricing-card--featured .pricing-card__script,
.pricing-card--featured .pricing-card__features li::before { color: var(--on-dark); }
.pricing-card--featured .pricing-card__features li {
  border-top-color: rgba(244, 236, 223, .3);
}
.pricing-card--featured .pricing-card__link { color: var(--on-dark); }
.pricing-card--featured .pricing-card__link:hover {
  background: var(--cream-3);
  color: var(--ink);
}
.pricing-card--featured .pricing-card__link:focus-visible { outline-color: var(--cream-3); }
.pricing-card__tag {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--maroon);
  background: var(--cream-3);
  border: 1px solid var(--maroon);
  padding: 6px 16px;
  white-space: nowrap;
}

.includes {
  background: var(--cream-3);
  padding: 56px var(--pad-x);
  text-align: center;
}
.inc-label { color: var(--maroon); margin-bottom: 26px; }
.inc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1100px;
  margin: 0 auto;
}
.inc {
  min-width: 0;
  padding: 22px 8px;
  border-top: 1px solid rgba(59, 44, 36, .18);
  overflow-wrap: anywhere;
}
.inc:last-child { border-bottom: 1px solid rgba(59, 44, 36, .18); }
.inc .t-script--sm { display: block; margin-bottom: 7px; }
.inc p { font-size: 13.5px; line-height: 1.65; opacity: .85; }

.addons { padding: 64px var(--pad-x); text-align: center; }
.addons .t-script { display: block; margin-bottom: 2px; }
.addons .t-h2 { margin-bottom: 30px; }
.addon-rows { max-width: 680px; margin: 0 auto; }
.addon-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 16px 2px;
  border-bottom: 1px solid rgba(244, 236, 223, .3);
  text-align: left;
}
.addon-row:first-child { border-top: 1px solid rgba(244, 236, 223, .3); }
.addon-name {
  min-width: 0;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: .04em;
  overflow-wrap: anywhere;
}
.addon-price {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.pricing-note {
  text-align: center;
  padding: 56px var(--pad-x) 64px;
  max-width: 620px;
  margin: 0 auto;
}
.pricing-note__text {
  max-width: 48ch;
  margin: 0 auto;
  font-size: 14.5px;
  line-height: 1.75;
}
.pricing-note__link {
  width: auto;
  min-width: min(100%, 250px);
  margin-top: 22px;
}

@media (min-width: 480px) {
  .addon-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 24px;
  }
  .addon-price { text-align: right; }
}

@media (min-width: 700px) {
  .pricing-hero { padding: 88px var(--pad-x) 94px; }
  .pricing-types,
  .wedding-collections { padding: 84px var(--pad-x); }
  .pricing-section-head { margin-bottom: 46px; }
  .pricing-card-grid { gap: 22px; }
  .pricing-card-grid--types,
  .pricing-card-grid--weddings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-card-grid--weddings > :last-child {
    grid-column: 1 / -1;
    width: calc((100% - 22px) / 2);
    justify-self: center;
  }
  .pricing-card__inner { padding: 30px 26px 26px; }
  .pricing-card__title { font-size: 25px; }
  .inc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 34px; }
  .inc:last-child { border-bottom: 0; }
  .includes { padding: 68px var(--pad-x); }
  .addons { padding: 82px var(--pad-x); }
  .pricing-note { padding-top: 70px; padding-bottom: 78px; }
}

@media (min-width: 1024px) {
  .pricing-hero { padding: 116px var(--pad-x) 124px; }
  .pricing-types,
  .wedding-collections { padding: 102px var(--pad-x); }
  .pricing-card-grid--types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing-card-grid--weddings { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pricing-card-grid--weddings > :last-child {
    grid-column: auto;
    width: auto;
  }
  .pricing-card__inner { padding: 34px 30px 30px; }
  .pricing-card__title { font-size: 26px; }
  .pricing-card__description { font-size: 14.5px; }
  .pricing-card__features li { font-size: 14px; }
  .inc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 38px; }
  .inc { border-bottom: 0; }
  .includes { padding: 78px var(--pad-x); }
  .addons { padding: 96px var(--pad-x); }
}

/* ============ БЛОК-ПРИГЛАШЕНИЕ НА ГЛАВНОЙ ============ */
.pricing-invite { text-align: center; padding: clamp(64px, 9vw, 120px) var(--pad-x); }
.pricing-invite .t-script { display: block; margin-bottom: 2px; }
.pricing-invite .t-h2 { margin-bottom: 14px; }
.pricing-invite p {
  font-size: 14.5px;
  line-height: 1.8;
  opacity: .9;
  max-width: 46ch;
  margin: 0 auto 28px;
}
.btn-oval--cream {
  color: var(--on-dark);
  border-color: rgba(244, 236, 223, .75);
  text-decoration: none;
  display: inline-block;
}
.btn-oval--cream:hover { background: var(--cream-3); color: var(--ink); }

/* ============ STYLE GUIDE (What to wear) ============ */

.sg-intro {
  max-width: 520px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--pad-x) 0;
  text-align: center;
}
.sg-head { text-align: center; margin-bottom: clamp(24px, 4vw, 40px); }
.sg-head .t-script { display: block; margin-bottom: 2px; }
.sg-note { font-size: 14px; opacity: .8; max-width: 44ch; margin: 10px auto 0; }

.sg-picker { padding: clamp(48px, 7vw, 90px) var(--pad-x); }
.sg-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 14px 10px;
  max-width: 720px;
  margin: 0 auto;
}
.sg-swatch {
  background: none; border: 0; padding: 6px 2px;
  cursor: pointer;
  text-align: center;
  min-height: 44px;
}
.sg-dot {
  display: block;
  width: 52px; height: 52px;
  border-radius: 50%;
  margin: 0 auto 7px;
  border: 1px solid rgba(59, 44, 36, .25);
  transition: transform .2s, box-shadow .2s;
}
.sg-swatch:hover .sg-dot { transform: scale(1.08); }
.sg-swatch.on .sg-dot {
  box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px var(--maroon);
}
.sg-name {
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: .75;
}
.sg-combo {
  max-width: 640px;
  margin: clamp(28px, 4vw, 44px) auto 0;
  text-align: center;
}
.sg-combo-strip {
  display: flex;
  border: 1px solid rgba(59, 44, 36, .3);
  overflow: hidden;
}
.sg-band {
  flex: 1;
  height: clamp(84px, 14vw, 120px);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
}
.sg-band.base { flex: 1.6; }
.sg-band i {
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}
.sg-combo-tip {
  font-size: 15px;
  line-height: 1.75;
  margin: 18px auto 10px;
  max-width: 48ch;
}
.sg-combo-save { color: var(--maroon); opacity: .8; }

.sg-locations { padding: clamp(48px, 7vw, 90px) var(--pad-x); background: var(--cream-2); }
.sg-segments {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: clamp(24px, 4vw, 40px);
  flex-wrap: wrap;
}
.sg-seg {
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: .05em;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 11px 22px;
  min-height: 44px;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.sg-seg.on, .sg-seg:hover { background: var(--ink); color: var(--cream); }
.sg-loc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  max-width: min(1000px, 92vw);
  margin: 0 auto;
  align-items: center;
}
.sg-loc-grid .ph { aspect-ratio: 4/5; }
.sg-mini { display: flex; gap: 8px; margin-bottom: 18px; }
.sg-mini-dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(59, 44, 36, .25);
}
.sg-list { list-style: none; }
.sg-list li {
  font-size: 14.5px;
  line-height: 1.7;
  padding: 10px 0;
  border-top: 1px dashed rgba(59, 44, 36, .3);
}
.sg-list li:first-child { border-top: 0; }

.sg-doskip { padding: clamp(48px, 7vw, 90px) var(--pad-x); }
.sg-ds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  max-width: min(920px, 92vw);
  margin: 0 auto;
}
.sg-ds-col .t-script { display: block; margin-bottom: 12px; }
.sg-list--rule li { border-top: 1px solid rgba(59, 44, 36, .18); }
.sg-list--rule li:first-child { border-top: 0; }

.sg-cta {
  text-align: center;
  padding: clamp(56px, 8vw, 100px) var(--pad-x);
  max-width: 560px;
  margin: 0 auto;
}
.sg-cta .t-script { display: block; margin-bottom: 4px; }
.sg-cta .t-h2 { margin-bottom: 14px; }
.sg-cta .btn-oval { display: inline-block; margin-top: 22px; text-decoration: none; }

@media (max-width: 760px) {
  .sg-loc-grid { grid-template-columns: 1fr; }
  .sg-ds-grid { grid-template-columns: 1fr; gap: 32px; }
  .sg-band i { font-size: 7.5px; letter-spacing: .04em; }
}


/* ============ КНОПКА «НАВЕРХ» ============ */
#to-top {
  position: fixed;
  left: 18px; bottom: 18px;
  z-index: 55;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: rgba(244, 236, 223, .9);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s, background .25s, color .25s;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
#to-top.show { opacity: 1; visibility: visible; transform: none; }
#to-top:hover { background: var(--ink); color: var(--cream-3); }
#to-top svg { width: 16px; height: 16px; display: block; }
@media (max-width: 560px) {
  #to-top {
    left: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: 44px; height: 44px;
  }
}

/* Responsive: contain the wide wordmark sub-pixel overflow within header/footer (clips exactly where body overflow-x already clips; zero visual change; removes latent 23px root overflow) */
.site-header, .site-footer { overflow-x: clip; }
