/* ==========================================================
   ПИККОЛО — семейное кафе
   Палитра взята из фирменного стиля (визитка, паттерны, наклейки)
   ========================================================== */
:root {
  --cream: #F9F6F1;
  --paper: #F2ECE3;
  --sand: #E6DCCD;
  --olive: #8F917A;
  --olive-2: #A6A794;
  --olive-dark: #55584A;
  --forest: #3E4137;
  --terra: #A7613F;
  --coral: #CD6E62;
  --ink: #26241F;
  --muted: #7D776D;
  --line: rgba(38, 36, 31, .14);

  --f-display: "Oswald", "Arial Narrow", sans-serif;
  --f-body: "Montserrat", system-ui, sans-serif;
  --f-serif: "Cormorant Garamond", Georgia, serif;
  --f-type: "Courier New", Courier, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --house: polygon(50% 0, 100% 30%, 100% 100%, 0 100%, 0 30%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--coral); color: var(--cream); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(96px, 13vw, 180px) 0; }

/* ---------- Типографика ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-type);
  font-size: 13px; letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 28px;
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .6; }
.h-display {
  font-family: var(--f-display);
  font-weight: 300;
  text-transform: uppercase;
  line-height: .98;
  letter-spacing: .02em;
  font-size: clamp(40px, 5.4vw, 88px);
  margin: 0;
}
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; font-weight: 300; }
.muted { color: var(--muted); }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 300; }

/* строки заголовков раскрываются снизу */
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.in .line > span, .line.in > span { transform: none; }
.in .line:nth-child(2) > span { transition-delay: .09s; }
.in .line:nth-child(3) > span { transition-delay: .18s; }

[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-delay="1"] { transition-delay: .12s; } [data-delay="2"] { transition-delay: .24s; } [data-delay="3"] { transition-delay: .36s; }

/* раскрытие фото шторкой */
.reveal-img { position: relative; overflow: hidden; }
.reveal-img img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
.reveal-img::after {
  content: ""; position: absolute; inset: 0; background: var(--paper);
  transform-origin: top; transition: transform 1.3s var(--ease-in-out);
}
.reveal-img.in img { transform: scale(1); }
.reveal-img.in::after { transform: scaleY(0); }

/* мягкое появление фото после загрузки */
img[data-img] { opacity: 0; transition: opacity .9s ease, transform 1.8s var(--ease); }
img[data-img].is-loaded { opacity: 1; }

.shape-house { clip-path: var(--house); }
.shape-arch { border-radius: 999px 999px 0 0; }
.shape-round { border-radius: 50%; }
.cover { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Кнопки ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 58px; padding: 0 32px; border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: none; }
.btn svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--solid { background: var(--coral); color: var(--cream); }
.btn--solid::before { background: var(--terra); }
.btn--ghost { border: 1px solid currentColor; }
.btn--ghost::before { background: var(--cream); }
.btn--ghost:hover { color: var(--ink); border-color: var(--cream); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark::before { background: var(--coral); }

/* ---------- Прелоадер ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-content: center; justify-items: center; gap: 28px;
  background: var(--cream); color: var(--terra);
  transition: clip-path 1.1s var(--ease-in-out), visibility 0s 1.1s;
  clip-path: inset(0 0 0 0);
}
.loader__boat { width: 140px; }
.loader__boat path { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 2.2s var(--ease) forwards; }
.loader__boat path:nth-child(2) { animation-delay: .35s; }
.loader__boat path:nth-child(3) { animation-delay: .6s; }
.loader__boat path:nth-child(4) { animation-delay: .9s; }
.loader__bar { width: 140px; height: 1px; background: var(--sand); overflow: hidden; }
.loader__bar span { display: block; height: 100%; background: var(--terra); width: 0; transition: width .6s var(--ease); }
body.is-ready .loader { clip-path: inset(0 0 100% 0); visibility: hidden; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; background: var(--coral); transform-origin: left; transform: scaleX(0); }

/* ---------- Курсор ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none; display: none; }
.cursor span {
  position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--coral); display: grid; place-items: center;
  font-family: var(--f-type); font-size: 11px; color: var(--cream); white-space: nowrap; overflow: hidden;
  transition: width .45s var(--ease), height .45s var(--ease), left .45s var(--ease), top .45s var(--ease), background .3s;
}
.cursor.is-link span { width: 44px; height: 44px; left: -22px; top: -22px; background: rgba(205, 110, 98, .25); }
.cursor.is-view span { width: 96px; height: 96px; left: -48px; top: -48px; background: var(--coral); }
@media (pointer: fine) { .cursor { display: block; } }

/* ---------- Шапка ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  color: var(--cream);
  transition: background .6s var(--ease), color .6s var(--ease), transform .6s var(--ease), box-shadow .6s;
}
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 92px; transition: height .6s var(--ease); }
.header.is-solid { background: rgba(249, 246, 241, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header.is-solid .header__in { height: 72px; }
.header.is-hidden { transform: translateY(-100%); }
.logo { display: inline-flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--f-display); font-weight: 300; text-transform: uppercase; letter-spacing: .32em; font-size: 26px; margin-right: -.32em; }
.logo__sub { font-size: 11.5px; letter-spacing: .06em; margin-top: 5px; opacity: .85; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 40px); }
.nav a { position: relative; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__right { display: flex; align-items: center; gap: 24px; }
.header__phone { font-family: var(--f-display); font-weight: 300; font-size: 19px; letter-spacing: .06em; white-space: nowrap; }
.header .btn { height: 46px; padding: 0 22px; font-size: 12px; }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--olive-dark); color: var(--cream);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .9s var(--ease-in-out);
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); }
.menu-open .header { color: var(--cream); background: transparent; box-shadow: none; backdrop-filter: none; }
.mobile-menu a.mm-link { font-family: var(--f-display); font-weight: 200; text-transform: uppercase; font-size: clamp(38px, 10vw, 64px); line-height: 1.2; opacity: 0; transform: translateY(30px); transition: .7s var(--ease); }
.menu-open .mobile-menu a.mm-link { opacity: 1; transform: none; }
.mobile-menu__foot { margin-top: 40px; font-family: var(--f-type); font-size: 14px; opacity: .8; }

/* ---------- Главный экран ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; color: var(--cream); background: var(--forest); }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.hero__slide.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20, 19, 16, .55) 0%, rgba(20, 19, 16, 0) 28%),
    linear-gradient(0deg, rgba(20, 19, 16, .78) 0%, rgba(20, 19, 16, .15) 55%, rgba(20, 19, 16, 0) 75%);
}
.hero__content { position: absolute; inset: auto 0 0 0; z-index: 2; padding-bottom: clamp(36px, 6vh, 72px); }
.hero__eyebrow { font-family: var(--f-type); font-size: 13px; letter-spacing: .08em; opacity: .9; display: flex; align-items: center; gap: 14px; }
.hero__eyebrow svg { width: 26px; color: var(--cream); }
.hero__title {
  font-family: var(--f-display); font-weight: 200; text-transform: uppercase;
  font-size: clamp(76px, 17vw, 270px); line-height: .9; letter-spacing: .2em; margin: 18px 0 0 -.04em;
  display: flex; overflow: hidden;
}
.hero__title .ch { display: inline-block; transform: translateY(110%); transition: transform 1.4s var(--ease); }
.is-ready .hero__title .ch { transform: none; }
.hero__row { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-top: 10px; }
.hero__sub { font-size: clamp(20px, 2.4vw, 34px); font-weight: 300; letter-spacing: .02em; margin: 0; }
.hero__text { max-width: 440px; font-size: 15px; line-height: 1.7; opacity: .88; margin: 18px 0 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: clamp(28px, 5vh, 56px); padding-top: 22px; border-top: 1px solid rgba(249, 246, 241, .25); font-size: 13px; }
.status { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-type); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #9CC78B; box-shadow: 0 0 0 0 rgba(156, 199, 139, .7); animation: pulse 2s infinite; }
.status.is-closed i { background: var(--coral); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(156, 199, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(156, 199, 139, 0); } }
.hero__dots { display: flex; gap: 10px; align-items: center; font-family: var(--f-type); }
.hero__dots button { width: 46px; height: 20px; position: relative; }
.hero__dots button::before, .hero__dots button::after { content: ""; position: absolute; left: 0; top: 50%; height: 1px; width: 100%; background: rgba(249, 246, 241, .35); }
.hero__dots button::after { background: var(--cream); transform: scaleX(0); transform-origin: left; }
.hero__dots button.is-active::after { animation: fill 7s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-type); }
.hero__scroll i { width: 1px; height: 36px; background: rgba(249, 246, 241, .35); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--cream); animation: drip 2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- Бегущая строка ---------- */
.marquee { background: var(--olive); color: var(--cream); overflow: hidden; padding: 26px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__item { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; font-family: var(--f-display); font-weight: 300; text-transform: uppercase; font-size: clamp(24px, 3vw, 40px); letter-spacing: .08em; white-space: nowrap; }
.marquee__item svg { width: 34px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- О нас ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.about__text p { max-width: 540px; }
.about__text .lead { margin: 36px 0 22px; }
.signature { display: inline-flex; align-items: center; gap: 14px; margin-top: 18px; font-family: var(--f-serif); font-style: italic; font-size: 26px; color: var(--terra); }
.signature svg { width: 50px; }
.about__media { position: relative; aspect-ratio: 4 / 5; }
.about__main { position: absolute; left: 12%; right: 0; top: 0; bottom: 8%; }
.about__main .frame { position: absolute; inset: 0; clip-path: var(--house); background: var(--terra); }
.about__main .frame > div { position: absolute; inset: 7px; clip-path: var(--house); overflow: hidden; }
.about__small { position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 8px solid var(--cream); z-index: 2; }
.about__tag { position: absolute; right: -2%; bottom: 14%; z-index: 3; width: 38%; aspect-ratio: 4 / 3; overflow: hidden; border: 8px solid var(--cream); }
.about__sun { position: absolute; right: 6%; top: -6%; width: 70px; color: var(--olive); animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line); }
.fact { padding: 36px 32px 0 0; }
.fact + .fact { padding-left: 32px; border-left: 1px solid var(--line); }
.fact__value { font-family: var(--f-display); font-weight: 200; font-size: clamp(44px, 5vw, 76px); line-height: 1; text-transform: uppercase; color: var(--terra); }
.fact__label { margin-top: 14px; color: var(--muted); font-size: 14px; max-width: 240px; }

/* ---------- Меню ---------- */
.menu { background: var(--paper); overflow: hidden; }
.menu__wave { position: absolute; top: 0; left: 0; right: 0; height: 60px; color: var(--coral); opacity: .55; }
.menu__wave svg, .footer__waves svg, .kids__pattern svg { display: block; width: 100%; height: 100%; }
.menu__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(48px, 6vw, 80px); flex-wrap: wrap; }
.note { position: relative; max-width: 300px; padding: 26px 34px; font-family: var(--f-type); font-size: 13px; line-height: 1.55; text-align: center; color: var(--ink); }
.note svg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--terra); overflow: visible; }
.scribble path { stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2s var(--ease) .3s; }
.in .scribble path, .scribble.in path { stroke-dashoffset: 0; }
.menu__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.menu__visual { position: sticky; top: 110px; aspect-ratio: 4 / 5; }
.menu__photo { position: absolute; inset: 0; border-radius: 999px 999px 0 0; overflow: hidden; opacity: 0; transform: scale(1.05); transition: opacity 1s ease, transform 1.4s var(--ease); }
.menu__photo.is-active { opacity: 1; transform: none; }
.menu__badge { position: absolute; left: -24px; bottom: 40px; z-index: 2; width: 128px; height: 128px; border-radius: 50%; background: var(--coral); color: var(--cream); display: grid; place-items: center; text-align: center; font-family: var(--f-display); font-weight: 300; text-transform: uppercase; line-height: 1.1; font-size: 17px; letter-spacing: .06em; padding: 16px; }
.tabs { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.tab { position: relative; z-index: 1; height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; transition: color .4s, border-color .4s, background .4s; }
.tab:hover { border-color: var(--ink); }
.tab.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.cat__head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 18px; }
.cat__name { font-family: var(--f-display); font-weight: 300; text-transform: uppercase; font-size: clamp(30px, 3vw, 44px); letter-spacing: .03em; margin: 0; }
.cat__hint { font-family: var(--f-type); font-size: 13px; color: var(--terra); }
.cat { display: none; }
.cat.is-active { display: block; }
.dish { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(16px); }
.cat.is-active .dish { animation: dishIn .8s var(--ease) forwards; }
@keyframes dishIn { to { opacity: 1; transform: none; } }
.dish__name { font-size: 16px; font-weight: 500; letter-spacing: .01em; }
.dish__desc { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.dish__dots { border-bottom: 1px dotted rgba(38, 36, 31, .3); transform: translateY(-5px); }
.dish__price { font-family: var(--f-display); font-weight: 300; font-size: 22px; white-space: nowrap; }
.dish__price small { font-family: var(--f-body); font-size: 13px; color: var(--muted); margin-left: 4px; }
.menu__cta { margin-top: 44px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-family: var(--f-serif); font-style: italic; font-size: 24px; color: var(--terra); }

/* ---------- Цитата ---------- */
.quote { position: relative; height: 100vh; min-height: 560px; overflow: hidden; display: grid; place-items: center; color: var(--cream); text-align: center; }
.quote__bg { position: absolute; inset: -12% 0; }
.quote__bg img { width: 100%; height: 100%; object-fit: cover; }
.quote::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(28, 27, 22, .52); }
.quote__in { position: relative; z-index: 2; max-width: 1100px; padding: 0 var(--gutter); }
.quote__text { font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: clamp(36px, 5.6vw, 88px); line-height: 1.08; margin: 0; }
.quote__text .w { display: inline-block; opacity: .15; transition: opacity .4s; }
.quote__author { margin-top: 36px; font-family: var(--f-type); font-size: 14px; letter-spacing: .1em; opacity: .85; }

/* ---------- Интерьер: горизонтальная лента ---------- */
.interior { background: var(--cream); padding: 0; }
.interior__pin { position: relative; }
.interior__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.interior__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(28px, 4vh, 56px); }
.interior__head p { max-width: 460px; margin: 0; color: var(--muted); }
.track { display: flex; gap: clamp(20px, 2.4vw, 40px); padding: 0 var(--gutter); will-change: transform; }
.card { flex: none; width: clamp(260px, 26vw, 400px); }
.card:nth-child(3n+2) { width: clamp(300px, 34vw, 520px); }
.card__img { height: clamp(320px, 52vh, 560px); overflow: hidden; background: var(--sand); }
.card:nth-child(3n+1) .card__img { border-radius: 999px 999px 0 0; }
.card:nth-child(3n) .card__img { clip-path: var(--house); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.card:hover .card__img img { transform: scale(1.06); }
.card__cap { display: flex; gap: 14px; margin-top: 16px; font-family: var(--f-type); font-size: 13px; color: var(--muted); }
.card__cap b { color: var(--terra); font-weight: 400; }
.interior__bar { margin: 36px var(--gutter) 0; height: 1px; background: var(--line); position: relative; }
.interior__bar span { position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* ---------- Детям ---------- */
.kids { background: var(--olive); color: var(--cream); overflow: hidden; }
.kids .eyebrow { color: rgba(249, 246, 241, .8); }
.kids__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.kids__text p { max-width: 520px; opacity: .92; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 48px; border-top: 1px solid rgba(249, 246, 241, .3); }
.feature { padding: 26px 24px 26px 0; border-bottom: 1px solid rgba(249, 246, 241, .3); }
.feature:nth-child(even) { padding-left: 24px; border-left: 1px solid rgba(249, 246, 241, .3); }
.feature__title { font-family: var(--f-display); font-weight: 300; text-transform: uppercase; font-size: 22px; letter-spacing: .04em; display: flex; gap: 10px; align-items: center; }
.feature__title span { font-family: var(--f-type); font-size: 12px; opacity: .7; }
.feature p { margin: 8px 0 0; font-size: 14px; opacity: .85; }
.kids__mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(60px, 7vw, 110px); gap: 14px; }
.kids__mosaic .m { overflow: hidden; background: var(--olive-2); }
.kids__mosaic .m img { width: 100%; height: 100%; object-fit: cover; }
.kids__mosaic .m1 { grid-column: 1 / 5; grid-row: 1 / 5; clip-path: var(--house); }
.kids__mosaic .m2 { grid-column: 5 / 7; grid-row: 2 / 4; border-radius: 999px 999px 0 0; }
.kids__mosaic .m3 { grid-column: 1 / 3; grid-row: 5 / 7; }
.kids__mosaic .m4 { grid-column: 3 / 5; grid-row: 5 / 7; border-radius: 50%; }
.kids__mosaic .m5 { grid-column: 5 / 7; grid-row: 4 / 7; }
.kids__pattern { position: absolute; right: -60px; top: 60px; width: 300px; height: 300px; opacity: .18; color: var(--cream); }

/* ---------- Терраса ---------- */
.terrace { padding-top: clamp(96px, 13vw, 180px); padding-bottom: 0; }
.terrace__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.terrace__head p { max-width: 460px; justify-self: end; margin: 0; color: var(--muted); }
.terrace__stage { position: relative; height: 160vh; }
.terrace__frame { position: sticky; top: 0; height: 100vh; overflow: hidden; clip-path: inset(12% 14% 12% 14% round 24px); will-change: clip-path; }
.terrace__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); will-change: transform; }
.terrace__badge { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); width: clamp(160px, 16vw, 240px); aspect-ratio: 1; color: var(--cream); }
.terrace__badge svg { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.terrace__badge text { font-family: var(--f-type); font-size: 11.5px; letter-spacing: .22em; fill: currentColor; text-transform: uppercase; }
.terrace__badge .sun { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; animation: none; }
.terrace__pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(96px, 13vw, 180px); }
.terrace__pair .p { aspect-ratio: 4 / 3; overflow: hidden; }
.terrace__pair .p:last-child { margin-top: 120px; border-radius: 999px 999px 0 0; aspect-ratio: 3 / 4; width: 70%; justify-self: end; }
.terrace__pair img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Кофе ---------- */
.coffee { background: var(--paper); }
.coffee__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.coffee__media { position: relative; }
.coffee__main { aspect-ratio: 4 / 5; overflow: hidden; clip-path: var(--house); }
.coffee__main img, .coffee__second img { width: 100%; height: 100%; object-fit: cover; }
.coffee__second { position: absolute; right: -8%; bottom: -8%; width: 44%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 8px solid var(--paper); }
.coffee__list { list-style: none; padding: 0; margin: 40px 0 0; counter-reset: c; }
.coffee__list li { counter-increment: c; display: flex; gap: 22px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-weight: 300; text-transform: uppercase; font-size: clamp(20px, 2vw, 28px); letter-spacing: .03em; transition: padding .5s var(--ease), color .4s; }
.coffee__list li::before { content: "0" counter(c); font-family: var(--f-type); font-size: 12px; color: var(--terra); }
.coffee__list li:hover { padding-left: 14px; color: var(--terra); }

/* ---------- Праздники ---------- */
.events { background: var(--terra); color: var(--cream); overflow: hidden; }
.events .eyebrow { color: rgba(249, 246, 241, .8); }
.events__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.events__media { aspect-ratio: 5 / 4; overflow: hidden; border-radius: 999px 999px 0 0; }
.events__media img { width: 100%; height: 100%; object-fit: cover; }
.events p { max-width: 480px; opacity: .92; margin: 32px 0 40px; }
.events .btn--ghost:hover { color: var(--terra); }

/* ---------- Галерея ---------- */
.gallery__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; gap: 24px; }
.masonry { columns: 3; column-gap: clamp(14px, 2vw, 28px); }
.masonry figure { margin: 0 0 clamp(14px, 2vw, 28px); break-inside: avoid; overflow: hidden; position: relative; cursor: zoom-in; background: var(--sand); }
.masonry figure img { width: 100%; transition: transform 1.2s var(--ease), opacity .9s; }
.masonry figure:hover img { transform: scale(1.05); }
.masonry figcaption { position: absolute; left: 16px; bottom: 14px; font-family: var(--f-type); font-size: 12px; color: var(--cream); opacity: 0; transform: translateY(8px); transition: .5s var(--ease); text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.masonry figure:hover figcaption { opacity: 1; transform: none; }

/* ---------- Контакты ---------- */
.contacts { background: var(--cream); padding-bottom: clamp(60px, 8vw, 120px); }
.contacts__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: stretch; }
.contacts__list { margin-top: 48px; display: grid; gap: 0; }
.cblock { padding: 26px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 140px 1fr; gap: 20px; }
.cblock__label { font-family: var(--f-type); font-size: 13px; color: var(--muted); padding-top: 6px; }
.cblock__value { font-family: var(--f-display); font-weight: 300; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; text-transform: uppercase; letter-spacing: .02em; }
.phone-big { position: relative; display: inline-block; padding: 10px 24px; margin: -10px -24px; }
.phone-big svg { position: absolute; inset: -8px -6px; width: calc(100% + 12px); height: calc(100% + 16px); color: var(--terra); pointer-events: none; overflow: visible; }
.contacts__map { position: relative; min-height: 520px; overflow: hidden; background: var(--sand); }
.contacts__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) sepia(.15) contrast(.95); transition: filter .8s; }
.contacts__map:hover iframe { filter: none; }
.contacts__photo { position: absolute; right: 22px; bottom: 22px; width: 150px; aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; overflow: hidden; border: 6px solid var(--cream); z-index: 2; pointer-events: none; }
.contacts__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Подвал ---------- */
.footer { background: var(--olive-dark); color: var(--cream); padding: 0 0 28px; position: relative; overflow: hidden; }
.footer__waves { height: 44px; margin-bottom: clamp(56px, 7vw, 96px); color: var(--coral); opacity: .75; }
.footer .wrap { container-type: inline-size; }
.footer__top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; align-items: start; }
.footer__nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 48px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; justify-self: center; }
.footer__nav a { opacity: .8; transition: opacity .3s; } .footer__nav a:hover { opacity: 1; }
.footer__contact { font-family: var(--f-type); font-size: 14px; line-height: 1.8; opacity: .85; justify-self: end; text-align: right; }
.footer__word {
  display: block; text-align: center; white-space: nowrap;
  font-family: var(--f-display); font-weight: 200; text-transform: uppercase;
  letter-spacing: .3em; margin-right: -.3em; /* убираем «хвост» после последней буквы */
  font-size: 18.4cqw; line-height: .82;
  margin-top: clamp(48px, 6vw, 90px); padding-bottom: clamp(20px, 2.5vw, 36px);
  color: rgba(249, 246, 241, .92);
}
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; opacity: .65; padding-top: 22px; border-top: 1px solid rgba(249, 246, 241, .2); }
.footer__copy { user-select: none; }

/* ---------- Лайтбокс ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(24, 23, 19, .94); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .5s; }
.lightbox img { max-width: 90vw; max-height: 84vh; object-fit: contain; transform: scale(.96); transition: transform .6s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox__cap { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: var(--cream); font-family: var(--f-type); font-size: 13px; opacity: .8; }
.lightbox button { position: absolute; color: var(--cream); width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(249, 246, 241, .3); transition: background .3s; }
.lightbox button:hover { background: rgba(249, 246, 241, .12); }
.lb-close { top: 20px; right: 20px; } .lb-prev { left: 20px; top: 50%; } .lb-next { right: 20px; top: 50%; }
.lightbox svg { width: 20px; height: 20px; }

.about__main .reveal-img { position: absolute; inset: 0; }
.kids .reveal-img::after { background: var(--olive); }
.events .reveal-img::after { background: var(--terra); }
.coffee .reveal-img::after { background: var(--paper); }
.about .reveal-img::after, .terrace .reveal-img::after { background: var(--cream); }
.dish__desc:empty { display: none; }

/* без JavaScript (и для поисковых роботов) всё видно сразу */
.no-js .loader, .no-js .cursor { display: none; }
.no-js body { overflow: auto; }
.no-js [data-reveal], .no-js img[data-img] { opacity: 1; transform: none; }
.no-js .line > span, .no-js .hero__title .ch { transform: none; }
.no-js .reveal-img::after { display: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .nav, .header__phone { display: none; }
  .burger { display: block; }
}
@media (max-width: 900px) {
  .about__grid, .menu__grid, .kids__grid, .coffee__grid, .events__grid, .contacts__grid, .terrace__head { grid-template-columns: 1fr; }
  .terrace__head p { justify-self: start; }
  .menu__visual { position: relative; top: 0; aspect-ratio: 16 / 11; max-width: 560px; }
  .menu__photo { border-radius: 200px 200px 0 0; }
  .menu__badge { left: auto; right: 12px; bottom: -30px; width: 110px; height: 110px; font-size: 15px; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .hero__row { grid-template-columns: 1fr; gap: 26px; }
  .masonry { columns: 2; }
  .coffee__second { right: 0; }
  .events__media { order: -1; }
  .contacts__map { min-height: 380px; }
  .interior__sticky { position: relative; height: auto; padding: clamp(96px, 13vw, 180px) 0; }
  .interior__pin { height: auto !important; }
  .track { overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 6px; }
  .track::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: start; }
  .card__img { height: 420px; }
  .interior__head { flex-direction: column; align-items: flex-start; }
  .terrace__stage { height: auto; }
  .terrace__frame { position: relative; height: 70vh; clip-path: none !important; }
  .terrace__frame img { transform: none !important; }
}
@media (max-width: 600px) {
  .header .btn { display: none; }
  .header__in { height: 72px; }
  .logo__name { font-size: 22px; }
  .hero__title { letter-spacing: .12em; }
  .hero__meta .hero__scroll { display: none; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .features { grid-template-columns: 1fr; }
  .feature:nth-child(even) { padding-left: 0; border-left: 0; }
  .masonry { columns: 1; }
  .cblock { grid-template-columns: 1fr; gap: 6px; }
  .terrace__pair { grid-template-columns: 1fr; }
  .terrace__pair .p:last-child { margin-top: 0; width: 80%; }
  .kids__mosaic { grid-auto-rows: 64px; gap: 8px; }
  .about__tag { display: none; }
  .card, .card:nth-child(3n+2) { width: 78vw; }
  .card__img { height: 360px; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer__nav, .footer__contact { justify-self: start; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
