/* Flowerina — light editorial layout, brand bottle green + champagne gold */
:root {
  --paper: #f3f4f0;   /* green pearl page: the brand green, very light */
  --card: #fafbf8;    /* stationery: menu card, invitation */
  --ink: #152927;
  --ink-2: #4d5a54;
  --stone: #e9ece6;   /* pearl band */
  --gold: #c2b38c; --gold-ink: #6f6140;
  --gold-line: rgba(194, 179, 140, .55);
  --cream: #e8ece6;   /* light text on green */
  --foot-muted: #a9b5ad;

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

  --m: clamp(16px, 1.4vw, 24px);
  --wrap: min(1144px, calc(100vw - 2 * var(--m)));
  --head: 56px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; color: inherit; }
a, button, select, input, label { touch-action: manipulation; }
.btn-gold:active, .btn-ink:active, .wa-float:active, .gal-nav:active { transform: scale(.97); }
.btn-gold, .btn-ink, .gal-nav { transition-property: background-color, color, transform; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.head:not(.solid) :focus-visible, .hero :focus-visible, .split :focus-visible, .foot :focus-visible, .gal :focus-visible, .card :focus-visible, .pair-photo:focus-visible, .wa-float:focus-visible { outline-color: var(--gold); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: 8px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--paper); clip-path: inset(50%); }
.skip:focus { clip-path: none; }

/* ---------- Header ---------- */
.head {
  position: sticky; top: 0; z-index: 40; height: var(--head);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--m); color: #fff;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.head.solid { background: var(--paper); color: var(--ink); box-shadow: inset 0 -1px var(--gold-line); }
.nav { display: flex; align-items: center; gap: 22px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.nav-r { justify-content: flex-end; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.head-logo { display: block; padding: 8px 4px; }
.head-logo svg { display: block; height: 24px; width: calc(24px * 4527 / 752); }
.js-wm .head-logo { opacity: 0; }
.sheet-open .wordmark { visibility: hidden; }
.js-wm.sheet-open .head-logo { opacity: 1; }
.lang { display: flex; gap: 2px; }
.lang button { min-width: 44px; min-height: 44px; padding: 0 6px; border: 0; background: none; cursor: pointer; font-size: 13px; font-weight: 600; letter-spacing: .06em; opacity: .6; transition: opacity .2s; }
.lang button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.lang button[aria-disabled="true"] { cursor: not-allowed; opacity: .55; }
.lang-soon { align-self: center; margin-left: 10px; font: italic 500 17px/1 var(--serif); color: var(--ink-2); }
.sheet-contact { display: grid; gap: 14px; justify-items: start; }
.sheet-tel { font-size: 15px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.menu-btn { display: none; border: 0; background: none; cursor: pointer; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; min-height: 44px; padding: 0; justify-self: start; }

.sheet { position: fixed; inset: var(--head) 0 0 0; z-index: 39; background: var(--paper); color: var(--ink); padding: 32px var(--m); display: flex; flex-direction: column; gap: 40px; }
.sheet[hidden] { display: none; }
.sheet nav { display: flex; flex-direction: column; gap: 6px; }
.sheet nav a { font: 400 34px/1.2 var(--serif); text-transform: uppercase; letter-spacing: .02em; }
.lang-sheet button { font-size: 15px; min-width: 48px; min-height: 48px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; margin-top: calc(-1 * var(--head)); overflow: hidden; background: var(--ink); color: #fff; }
.slides, .slide { position: absolute; inset: 0; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s var(--ease); }
.slide.is-on { opacity: 1; animation: drift 14s ease-out both; }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,20,18,.5) 0, rgba(10,20,18,0) 30%, rgba(10,20,18,0) 70%, rgba(10,20,18,.5) 100%), linear-gradient(180deg, rgba(10,20,18,.42) 0, rgba(10,20,18,0) 22%, rgba(10,20,18,0) 50%, rgba(10,20,18,.6) 100%); }

.wordmark { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; text-align: center; z-index: 45; pointer-events: none; }
.wm-text { display: block; width: calc(100% - 12px); margin: 0 auto 6px; color: #fff; }
.wm-text svg { display: block; width: 100%; height: auto; aspect-ratio: 4527 / 752; }
.js-wm .wordmark { position: fixed; top: 0; bottom: auto; }
.js-wm .wm-text { transition: color .35s var(--ease); will-change: transform; }
.wordmark.dark .wm-text { color: var(--ink); }

/* ---------- Shared headings ---------- */
.label-h { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.serif-h { margin: 0; font: 400 clamp(28px, 2.6vw, 40px)/1.1 var(--serif); text-transform: uppercase; letter-spacing: .02em; }

/* ---------- Split: weddings, dark spread ---------- */
.split { margin-top: clamp(96px, 10vw, 150px); background: var(--ink); color: var(--cream); display: grid; grid-template-columns: 52fr 48fr; align-items: stretch; }
.split-photos { position: relative; }
.split-big { margin: 0; height: 100%; }
.split-big img { width: 100%; height: 100%; min-height: 640px; object-fit: cover; display: block; }
.split-side { padding: clamp(56px, 7vw, 112px) max(var(--m), calc((100vw - 1180px) / 2)) clamp(56px, 7vw, 112px) clamp(56px, 6vw, 104px); align-self: center; }
.split-h { margin: 14px 0 0; font: 400 clamp(36px, 3.6vw, 56px)/1.02 var(--serif); text-transform: uppercase; letter-spacing: .01em; }
.split-lead { margin: 22px 0 0; font-size: 16px; line-height: 1.65; max-width: 52ch; color: var(--cream); }
.split-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 22px; max-width: 520px; }
.split-steps li { display: grid; grid-template-columns: minmax(130px, 34%) 1fr; gap: 20px; align-items: baseline; }
.split-steps span { font: italic 500 21px/1.1 var(--serif); color: var(--gold); }
.split-steps p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--cream); }
.split-side .btn-gold { margin-top: 44px; }
.btn-gold { display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 10px 0 26px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; transition: background-color .3s var(--ease); }
.btn-gold .btn-dot { background: var(--ink); color: var(--gold); }
.btn-gold:hover { background: #d4c7a3; }
.btn-gold:hover .btn-dot { transform: rotate(45deg); }
.btn-gold:active { transform: scale(.98); }

/* ---------- Pair: menu card between two tables ---------- */
.pair { margin-top: clamp(96px, 10vw, 150px); display: grid; grid-template-columns: 1fr minmax(340px, 30vw) 1fr; align-items: stretch; }
.pair-photo { position: relative; display: block; width: 100%; border: 0; padding: 0; margin: 0; cursor: zoom-in; font: inherit; text-align: left; overflow: hidden; min-height: clamp(560px, 52vw, 820px); background: var(--ink); color: #fff; }
.pair-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pair-photo:hover img { transform: scale(1.03); }
.pair-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 20, 18, .6), rgba(10, 20, 18, 0) 32%); }
.pair-cap { position: absolute; z-index: 2; left: clamp(18px, 2vw, 32px); right: clamp(18px, 2vw, 32px); bottom: clamp(18px, 2vw, 28px); font: 500 clamp(20px, 1.6vw, 26px)/1.15 var(--serif); }
.pair-cap em { display: block; margin-bottom: 4px; font-size: max(.72em, 15px); color: var(--gold); }
.pair-photo:focus-visible { outline: 2px solid var(--gold); outline-offset: -6px; }
.menu-card { position: relative; background: var(--card); color: var(--ink); text-align: center; padding: clamp(48px, 5vw, 80px) clamp(28px, 3vw, 52px); display: flex; flex-direction: column; justify-content: center; align-items: center; }
.menu-card::before, .menu-card::after { content: ""; position: absolute; pointer-events: none; border: 1px solid var(--gold-ink); }
.menu-card::before { inset: 14px; }
.menu-card::after { inset: 19px; opacity: .45; }
.menu-tulip { display: block; height: 58px; width: calc(58px * 245 / 752); color: var(--gold-ink); }
.menu-h { margin: 14px 0 0; font: 400 clamp(32px, 2.8vw, 46px)/1.02 var(--serif); text-transform: uppercase; letter-spacing: .01em; }
.menu-list { margin: clamp(26px, 2.6vw, 38px) 0 0; display: grid; width: 100%; max-width: 300px; }
.menu-list div { display: grid; gap: 4px; padding: 12px 0; }
.menu-list div + div::before { content: "·"; display: block; margin: -12px 0 6px; font: 400 18px/1 var(--serif); color: var(--gold-ink); }
.menu-list dt { font: 600 12px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.menu-list dd { margin: 0; font: italic 500 19px/1.25 var(--serif); color: var(--ink-2); }
.menu-sign { margin: clamp(22px, 2.4vw, 32px) 0 0; font: italic 500 16px/1 var(--serif); color: var(--gold-ink); }
.menu-link, .card-link { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; display: inline-flex; gap: 8px; min-height: 44px; align-items: center; }
.menu-link { margin-top: 10px; }
.menu-link i { font-style: normal; transition: transform .35s var(--ease); }
.menu-link:hover i { transform: translateX(6px); }

/* ---------- Instagram edit ---------- */
.edit { margin-top: clamp(96px, 10vw, 150px); padding-bottom: clamp(96px, 10vw, 150px); }
.edit-top { display: flex; justify-content: space-between; align-items: center; padding: 0 var(--m) 14px; }
.edit-ctrl { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.edit-ctrl a { margin-right: 10px; }
.edit-ctrl a:hover { text-decoration: underline; text-underline-offset: 4px; }
.edit-count { margin-left: 10px; font-weight: 600; color: var(--gold-ink); }
.edit-ctrl button { border: 0; background: none; cursor: pointer; min-width: 44px; min-height: 44px; font-size: 16px; }
.edit-ctrl button:hover { color: var(--ink-2); }
.edit-row { display: grid; grid-auto-flow: column; grid-auto-columns: 25%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.edit-row::-webkit-scrollbar { display: none; }
.post { scroll-snap-align: start; padding-right: 2px; }
.post-img { display: block; aspect-ratio: 1 / 1.06; overflow: hidden; background: var(--stone); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post:hover .post-img img { transform: scale(1.04); }
.post-meta { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 14px var(--m) 0; font-size: 13px; letter-spacing: .04em; padding-right: var(--m); text-transform: uppercase; }
.post-meta time { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.post-meta b { font-weight: 700; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--cream); padding: clamp(72px, 8vw, 120px) var(--m) 16px; }
.enquiry { position: relative; max-width: 600px; margin: 0 auto; padding: clamp(48px, 5vw, 72px) clamp(24px, 4vw, 56px); background: var(--card); color: var(--ink); text-align: center; display: flex; flex-direction: column; align-items: center; }
.enquiry::before, .enquiry::after { content: ""; position: absolute; pointer-events: none; border: 1px solid var(--gold-ink); }
.enquiry::before { inset: 14px; }
.enquiry::after { inset: 19px; opacity: .45; }
.enquiry :focus-visible { outline-color: var(--ink); }
.invite-h { margin: 14px 0 0; font: 400 clamp(32px, 3vw, 46px)/1.05 var(--serif); text-transform: uppercase; letter-spacing: .01em; text-wrap: balance; }
.invite-lead { margin: 12px 0 0; font: italic 500 19px/1.35 var(--serif); color: var(--ink-2); text-wrap: balance; }
.enq-form { margin-top: 32px; width: 100%; max-width: 440px; display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; text-align: left; }
.enq-field { display: grid; gap: 6px; }
.enq-field span, .enq-field > label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.enq-form input[type=date] { width: 100%; min-height: 48px; padding: 0 2px; border: 0; border-bottom: 1px solid var(--ink-2); border-radius: 0; background: transparent; color: var(--ink); font-size: 16px; color-scheme: light; cursor: pointer; }
.enq-opt { font-style: normal; font-weight: 500; letter-spacing: .04em; text-transform: none; }
.enq-err { min-height: 0; font: italic 500 15px/1.3 var(--serif); color: #8a3b2e; }
.enq-err:empty { display: none; }
.enq-occ { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 10px; }
.enq-occ legend { padding: 0; margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.enq-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.enq-chip { position: relative; cursor: pointer; }
.enq-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.enq-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--gold-line); border-radius: 999px; font: italic 500 18px/1 var(--serif); color: var(--ink); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.enq-chip:hover span { border-color: var(--gold-ink); }
.enq-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.enq-chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.enq-occ.invalid .enq-chip span { border-color: #8a3b2e; }
.enq-status { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--ink); text-align: center; }
.enq-status:empty { display: none; }
.enq-status a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.enq-send { grid-column: 1 / -1; justify-content: space-between; margin-top: 8px; border: 0; cursor: pointer; }
.enq-note { margin: 18px 0 0; font-size: 14px; color: var(--ink-2); }
.enq-proof { margin: 14px 0 0; font: italic 500 18px/1.3 var(--serif); color: var(--ink-2); }
.enq-proof b { font-style: normal; font-variant-numeric: lining-nums; color: var(--ink); }
.enq-proof a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold-ink); text-underline-offset: 4px; }
.enq-call { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); }
.enq-call a { color: var(--ink); font-weight: 600; }
.enq-call a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-cols { margin-top: clamp(72px, 8vw, 112px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.foot-cols h3 { margin: 0 0 14px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; line-height: 1.5; display: grid; gap: 8px; }
.foot-cols a:hover { color: var(--gold); }
.muted { color: var(--foot-muted); }
.foot-tel { color: var(--cream); font-weight: 600; }
.foot-tel:hover { color: var(--gold); }
.foot-logo { display: block; width: min(640px, 100%); height: auto; aspect-ratio: 4527 / 1081; margin: clamp(96px, 10vw, 150px) auto 0; color: var(--gold); }
.copy { margin: 72px 0 0; font-size: 13px; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .slide, .slide.is-on { animation: none; transition: opacity .3s linear; }
  .js .reveal { transform: none; transition: opacity .4s linear; }
  .card-img img, .post-img img { transition: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .pair { grid-template-columns: 1fr 1fr; }
  .menu-card { grid-column: 1 / -1; grid-row: 1; }
  .pair-photo { min-height: 520px; }
  .nav { display: none; }
  .menu-btn { display: block; grid-column: 3; grid-row: 1; justify-self: end; }
  .head-logo { grid-column: 2; grid-row: 1; }
  .split-side { padding-left: clamp(40px, 5vw, 64px); }
  .edit-row { grid-auto-columns: 40%; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  .pair-photo { min-height: 0; aspect-ratio: 3 / 4; }
  .pair-cap { font-size: 17px; }
  .head-logo svg { height: 20px; width: calc(20px * 4527 / 752); }
  .split { display: flex; flex-direction: column; }
  .split-side { order: -1; } /* 22.11.2026: на телефоне текст над фото */
  .split-big img { min-height: 0; aspect-ratio: 4 / 5; }
  .split-side { padding: 48px var(--m) 64px; }
  .split-steps li { grid-template-columns: 1fr; gap: 4px; }
  .edit-row { grid-auto-columns: 78%; }
  .foot-cols { grid-template-columns: 1fr 1fr; row-gap: 48px; }
}

/* ---------- Hero corners ---------- */
.corner { position: absolute; top: 50%; translate: 0 -50%; display: flex; flex-direction: column; gap: 10px; padding: 8px 0; color: #fff; }
.corner strong { font: 500 clamp(24px, 2.2vw, 34px)/1.05 var(--serif); letter-spacing: .01em; }
.corner-l strong { max-width: 15ch; text-wrap: balance; }
.corner-sub { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.corner-dot { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--ink); transition: transform .4s var(--ease), background-color .3s var(--ease); }
.corner-dot svg { width: 14px; height: 14px; }
.corner:hover .corner-dot { background: #fff; transform: rotate(45deg); }
.corner-r:hover .corner-dot { transform: translateY(3px); }
.corner-l { left: var(--m); }
.corner-r { right: var(--m); align-items: flex-end; text-align: right; }

/* ---------- Slider UI ---------- */
.slider-ui { position: absolute; left: var(--m); right: var(--m); bottom: calc(var(--wm-h, 9vw) + 34px); display: flex; align-items: center; gap: 18px; color: #fff; }
.slide-num { margin: 0; font: 600 13px/1 var(--sans); letter-spacing: .08em; font-variant-numeric: lining-nums tabular-nums; display: flex; align-items: center; gap: 8px; min-width: 44px; }
.slide-num span { opacity: .65; font-weight: 500; }
.bars { display: flex; gap: 6px; }
.slide-pause { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 -8px 0 -12px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
.slide-pause svg { width: 16px; height: 16px; }
.slide-pause .i-play, .slide-pause[aria-pressed="true"] .i-pause { display: none; }
.slide-pause[aria-pressed="true"] .i-play { display: block; }
.bars button { position: relative; width: 56px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.bars button::before, .bars .fill { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; }
.bars button::before { background: rgba(255,255,255,.35); }
.bars .fill { background: var(--gold); transform: scaleX(0); transform-origin: left; }
.bars button.done .fill { transform: scaleX(1); }
.bars button[aria-current="true"] .fill { animation: fill 6s linear forwards; }
.slider-ui.paused .bars .fill { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.slide-cap { margin: 0 0 0 auto; font: italic 500 18px/1.2 var(--serif); opacity: .9; }

/* ---------- Cards ---------- */
.cards { margin: clamp(96px, 10vw, 150px) 0 0; }
.cards-top { width: var(--wrap); margin: 0 auto 48px; display: grid; grid-template-columns: auto minmax(0, 44ch); justify-content: start; gap: clamp(32px, 6vw, 96px); align-items: last baseline; }
.cards-top p { margin: 0; justify-self: start; max-width: 42ch; font-size: 16px; }
.cards-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.card { position: relative; display: block; color: #fff; overflow: hidden; }
.card-img { position: relative; display: block; border: 0; padding: 0; margin: 0; cursor: zoom-in; font: inherit; color: inherit; aspect-ratio: 3 / 4; max-height: 88svh; width: 100%; overflow: hidden; background: var(--ink); isolation: isolate; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity .8s var(--ease); }
.card-img::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(10, 20, 18, .86) 0%, rgba(10, 20, 18, .35) 34%, rgba(10, 20, 18, 0) 58%); }
.card-alt { opacity: 0; }
.card:hover .card-img img { transform: scale(1.04); }
.card:hover .card-alt, .card:focus-visible .card-alt { opacity: 1; }
.card-copy { pointer-events: none; position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: grid; gap: 8px; padding: clamp(20px, 2.4vw, 36px); }
.card-meta { margin: 0; font: italic 500 17px/1.2 var(--serif); color: rgba(255, 255, 255, .85); }
.card-copy h3 { margin: 0; font-weight: 500; font: 500 clamp(30px, 2.8vw, 44px)/1 var(--serif); }
.card-what { margin: 0; font-size: 15px; color: rgba(255, 255, 255, .85); }
.card .card-link { color: var(--cream); pointer-events: auto; min-height: 44px; align-items: center; margin-top: 0; }
.card .card-link i { color: var(--gold); }
.card-link i { font-style: normal; transition: transform .35s var(--ease); }
.card:hover .card-link i { transform: translateX(6px); }
.card:focus-visible { outline: 2px solid var(--gold); outline-offset: -6px; }
@media (prefers-reduced-motion: reduce) {
  .bars button[aria-current="true"] .fill { animation: none; transform: scaleX(1); }
  .card-img img { transition: opacity .3s linear; }
}
@media (max-width: 1100px) {
  .cards-row { grid-template-columns: 1fr 1fr; }
  .card:nth-child(1) { grid-column: 1 / -1; }
  .card:nth-child(1) .card-img { aspect-ratio: 16 / 10; }
  .slide-cap { display: none; }
}
@media (max-width: 760px) {
  .corner { top: auto; translate: none; bottom: calc(var(--wm-h, 9vw) + 34px); }
  .corner-r { display: none; }
  .corner strong { font-size: 22px; }
  .corner-sub { font-size: 13px; gap: 8px; }
  .corner-dot { width: 28px; height: 28px; }
  .slider-ui { bottom: calc(var(--wm-h, 9vw) + 22px); gap: 12px; }
  .corner { bottom: calc(var(--wm-h, 9vw) + 84px); }
  .corner-l { right: var(--m); gap: 16px; }
  .corner-l .corner-sub { flex-direction: row-reverse; justify-content: space-between; align-self: flex-start; gap: 12px; min-height: 44px; padding: 0 5px 0 18px; font-size: 12px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 700; letter-spacing: .05em; }
  .corner-l .corner-dot { width: 34px; height: 34px; background: var(--ink); color: var(--gold); }
  .corner-l:hover .corner-dot { background: var(--ink); }
  .hero-shade { background: linear-gradient(180deg, rgba(10,20,18,.62) 0, rgba(10,20,18,0) 24%, rgba(10,20,18,0) 42%, rgba(10,20,18,.78) 100%); }
  .bars button { width: 40px; }
  .cards-top { grid-template-columns: 1fr; gap: 14px; margin-bottom: 36px; }
  .cards-top p { justify-self: start; }
  .cards-row { grid-template-columns: 1fr; }
  .card:nth-child(1) .card-img, .card-img { aspect-ratio: 4 / 5; }
}
.bars button::before, .bars .fill { height: 3px; margin-top: -1.5px; }
.bars button::before { background: rgba(255,255,255,.5); }
.slide-num b { font-weight: 700; }

/* ---------- Band ---------- */
.band { margin-top: clamp(96px, 10vw, 150px); background: var(--stone); padding: clamp(40px, 4vw, 64px) max(var(--m), calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px clamp(32px, 4vw, 64px); align-items: center; position: relative; overflow: hidden; }
.band-show { position: relative; grid-row: 1 / span 2; align-self: stretch; display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 4px; min-height: 440px; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.band-show img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.band-show:hover img { transform: scale(1.03); }
.band-show:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.band-proof { margin: 10px 0 0 !important; font: italic 500 19px/1.3 var(--serif) !important; color: var(--ink-2); }
.band-proof b { font: 500 30px/1 var(--serif); font-variant-numeric: lining-nums; font-style: normal; color: var(--ink); margin-right: 4px; }
.band-proof a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold-ink); text-underline-offset: 4px; }
.band-h { margin: 0; font: 500 clamp(32px, 3.4vw, 52px)/1 var(--serif); }
.band-copy p { margin: 14px 0 0; font-size: 16px; max-width: 58ch; }
.band-tags { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font: italic 500 20px/1.3 var(--serif); color: var(--ink); }
.band-tags li:not(:last-child)::after { content: "·"; margin: 0 12px; color: var(--gold-ink); font-style: normal; }
.band-more { margin-top: 14px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; display: inline-flex; gap: 8px; min-height: 44px; align-items: center; }
.band-more i { font-style: normal; color: var(--gold-ink); transition: transform .35s var(--ease); }
.band-more:hover i { transform: translateX(6px); }
.band-act { display: grid; gap: 14px; justify-items: start; }
.btn-ink { display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 10px 0 26px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 14px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; transition: background-color .3s var(--ease); }
.btn-dot { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--ink); transition: transform .4s var(--ease); }
.btn-dot svg { width: 16px; height: 16px; }
.btn-ink:hover { background: #22403b; }
.btn-ink:hover .btn-dot { transform: rotate(45deg); }
.btn-ink:active { transform: scale(.98); }
.band-call { font-size: 14px; color: var(--ink-2); padding-left: 26px; }
.band-note { margin: 0; padding-left: 26px; font-size: 13px; color: var(--ink-2); }
.band-call b { color: var(--ink); font-weight: 600; }
.band-call:hover b { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1100px) {
  .band { grid-template-columns: 1fr; }
  .band-show { grid-row: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .band-act { grid-column: 1; }
}
@media (max-width: 760px) {
  .band { grid-template-columns: 1fr; gap: 24px; }
  .band-copy { grid-column: 1; grid-row: auto; }
  .band-show { aspect-ratio: 4 / 3; }
  .band-act { grid-column: 1 / -1; justify-items: stretch; }
  .btn-ink { justify-content: space-between; }
  .band-call { padding-left: 0; }
}

/* ---------- Floating WhatsApp (phone) ---------- */
.wa-float { display: none; }
@media (max-width: 760px) {
  .wa-float { position: fixed; z-index: 35; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 10px; width: 56px; height: 56px; justify-content: center; padding: 0; border-radius: 50%; background: var(--ink); color: var(--cream); font-size: 14px; font-weight: 700; letter-spacing: .04em; box-shadow: 0 0 0 1px rgba(194, 179, 140, .55), 0 10px 28px -10px rgba(10, 20, 18, .55); opacity: 0; translate: 0 16px; pointer-events: none; transition: opacity .35s var(--ease), translate .35s var(--ease); }
  .wa-float svg { width: 22px; height: 22px; color: var(--gold); }
  .wa-float.show { opacity: 1; translate: 0 0; pointer-events: auto; }
}

/* ---------- Gallery ---------- */
.gal { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: clamp(16px, 2vw, 28px) var(--m); border: 0; background: var(--ink); color: var(--cream); }
.gal[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 16px; }
.gal::backdrop { background: rgba(10, 20, 18, .85); }
.gal-top { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 20px; }
.gal-h { margin: 0; font: 400 clamp(24px, 2.4vw, 34px)/1.1 var(--serif); }
.gal-count { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .08em; font-variant-numeric: tabular-nums; color: var(--foot-muted); }
.gal-close { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--cream); cursor: pointer; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.gal-close:hover { color: var(--gold); }
.gal-fig { margin: 0; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; justify-items: center; }
.gal-fig img { width: 100%; height: 100%; object-fit: contain; }
.gal-fig figcaption { font: italic 500 18px/1.3 var(--serif); color: var(--cream); text-align: center; }
.gal-bottom { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 3vw, 40px); }
.gal-nav { width: 52px; height: 52px; border: 1px solid var(--gold-line); border-radius: 50%; background: none; color: var(--cream); cursor: pointer; font-size: 18px; transition: background-color .25s var(--ease), color .25s var(--ease); }
.gal-nav:hover { background: var(--cream); color: var(--ink); }
@media (max-width: 760px) {
  .gal-bottom .btn-gold { padding-left: 18px; font-size: 13px; }
}

@media (max-width: 760px) {
  .edit-top { flex-wrap: wrap; row-gap: 4px; }
  .edit-top .label-h { flex: 1 0 100%; }
  .edit-ctrl button { display: none; }
  .band-note { padding-left: 0; }
}
@media (max-width: 760px) {
  .slide:nth-child(1) img { object-position: 50% 35%; }
}

/* ---------- Gallery chip on photos that open a gallery ---------- */
.gal-chip { position: absolute; z-index: 4; top: clamp(14px, 1.6vw, 22px); right: clamp(14px, 1.6vw, 22px); display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(10, 20, 18, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--cream); font: 600 13px/1 var(--sans); letter-spacing: .04em; pointer-events: none; transition: background-color .3s var(--ease); }
.gal-chip svg { width: 15px; height: 15px; color: var(--gold); }
.card-img:hover .gal-chip, .pair-photo:hover .gal-chip { background: rgba(10, 20, 18, .85); }

@media (max-width: 760px) {
  .enquiry { padding-left: 40px; padding-right: 40px; }
  .enq-send { white-space: nowrap; padding-left: 20px; font-size: 13px; gap: 10px; }
  .gal-fig { grid-template-rows: auto auto; align-content: center; }
  .gal-fig img { height: auto; max-height: calc(100dvh - 210px); }
  .gal-nav { width: 44px; height: 44px; }
  .gal-bottom { gap: 8px; }
  .gal-bottom .btn-gold { white-space: nowrap; gap: 10px; }
}

@media (max-width: 760px) {
  .pair { grid-template-columns: 1fr; }
  .pair-photo { aspect-ratio: 4 / 5; }
}

@media (prefers-reduced-motion: no-preference) {
  .gal[open] { animation: gal-in .32s cubic-bezier(.2, .8, .2, 1); }
  .gal[open]::backdrop { animation: gal-fade .32s ease-out; }
}
@keyframes gal-in { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
@keyframes gal-fade { from { opacity: 0; } to { opacity: 1; } }

.edit-ctrl a, .band-call { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 760px) {
  .foot-cols ul { gap: 0; }
  .foot-cols ul a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot-cols ul li:has(br) { padding: 6px 0; }
  .band-note, .enq-note, .enq-call { font-size: 15px; }
}

.enq-note, .enq-proof, .band-note { text-wrap: balance; }

/* ---------- Повод: на телефоне — раскрывающийся список (22.11.2026) ---------- */
.enq-pick { display: none; }
@media (max-width: 760px) {
  .enq-occ { gap: 0; }
  .enq-pick { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 0 18px 0 20px; border: 1px solid var(--gold-line); border-radius: 26px; background: transparent; color: var(--ink); font: italic 500 19px/1 var(--serif); text-align: left; cursor: pointer; transition: border-color .25s var(--ease), border-radius .25s var(--ease); }
  .enq-pick.empty span { color: var(--ink-2); }
  .enq-pick svg { flex: none; width: 18px; height: 18px; color: var(--gold-ink); transition: transform .35s var(--ease); }
  .enq-pick:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
  .enq-occ.open .enq-pick { border-color: var(--gold-ink); border-bottom-color: var(--gold-line); border-radius: 26px 26px 0 0; }
  .enq-occ.open .enq-pick svg { transform: rotate(180deg); }
  .enq-occ.invalid .enq-pick { border-color: #8a3b2e; }
  .enq-occ.invalid .enq-chip span { border-color: transparent; }
  .enq-occ:not(.open) .enq-chips { display: none; }
  .enq-chips { flex-direction: column; flex-wrap: nowrap; gap: 2px; padding: 6px; border: 1px solid var(--gold-ink); border-top: 0; border-radius: 0 0 26px 26px; animation: enq-drop .3s var(--ease); }
  .enq-chip span { display: flex; justify-content: space-between; width: 100%; min-height: 48px; padding: 0 16px; border: 0; border-radius: 20px; font-size: 19px; }
  .enq-chip span::after { content: ""; width: 7px; height: 12px; margin-right: 4px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; rotate: 45deg; translate: 0 -2px; opacity: 0; transition: opacity .2s; }
  .enq-chip input:checked + span::after { opacity: 1; }
  .enq-chip input:focus-visible + span { outline-offset: -2px; }
  .enq-err { margin-top: 10px; }
}
@keyframes enq-drop { from { opacity: 0; translate: 0 -6px; } }
@media (prefers-reduced-motion: reduce) { .enq-chips { animation: none; } }

/* 22.11.2026: логотип съезжает в шапку анимацией, привязанной к прокрутке, —
   браузер ведёт её синхронно со страницей. Значения считает measure() в main.js. */
@keyframes wm-dock { from { transform: translateY(var(--wm-y0)) scale(1); } to { transform: translateY(var(--wm-y1)) scale(var(--wm-s1)); } }
@supports (animation-timeline: scroll()) {
  .js-wm.wm-sda .wm-text { animation: wm-dock linear both; animation-timeline: scroll(root block); animation-range: 0px var(--wm-range, 1px); }
  /* подписи и переключатель слайдов гаснут за первые 30% экрана — тоже без скрипта */
  .js-wm.wm-sda :is(.corner, .slider-ui) { animation: hero-fade linear both; animation-timeline: scroll(root block); animation-range: 0px 30vh; }
}
@keyframes hero-fade { to { opacity: 0; visibility: hidden; } }
