/* Elefterri — главная страница (редизайн 05.11.2026).
   Направление: фотографии разного размера, как отпечатки на стене шоурума.
   Палитра взята у самих вещей: лён, чёрное кимоно, золото меандра. */

body.home {
  --bg: #e6e3dd;
  --surface: #d9d5cd;
  --ink: #1e1b17;
  --muted: #4d483f;
  --accent: #7a5a22;
  --accent-hover: #634819;
  --accent-ink: #ffffff;
  --field: #1e1b17;
  --field-ink: #eceae6;
  --field-gold: #d2b47a;

  --fs-small: 14px;
  --fs-body: 17px;
  --fs-lead: 22px;
  --fs-head: clamp(32px, 3.4vw, 50px);
  --fs-display: clamp(48px, 7vw, 104px);

  --m: clamp(16px, 5vw, 72px);
  --gap: clamp(12px, 1.6vw, 24px);
  --sec: clamp(48px, 5vw, 72px);
  --ease: cubic-bezier(.2, .7, .2, 1);

  background: var(--bg);
  color: var(--ink);
  font-size: var(--fs-body);
}

:where(body.home) h1, :where(body.home) h2, :where(body.home) h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.04;
  text-align: left;
}
:where(body.home) p { color: var(--ink); font-size: var(--fs-body); line-height: 1.55; font-weight: 400; }
:where(body.home) a { color: inherit; }
body.home img, body.home video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- шапка: простая полоса ---------- */
body.home .header {
  background: var(--bg);
  -webkit-backdrop-filter: none; backdrop-filter: none; /* taste-skill-ignore: снимаем стекло общей шапки */
  border: 0; box-shadow: none; /* taste-skill-ignore */
}
body.home .header__inner { max-width: none; padding: 0 var(--m); min-height: 72px; }
body.home .header__logo { font-size: var(--fs-lead); color: var(--ink); }
body.home .header__logo span { font-size: var(--fs-small); letter-spacing: .12em; color: var(--muted); }
body.home .nav a { font-size: var(--fs-small); color: var(--ink); font-weight: 500; }
body.home .nav a:hover { color: var(--accent); }
body.home .nav .nav__more { display: none; }
body.home .nav__cta {
  background: var(--accent); color: var(--accent-ink) !important;
  border-radius: 0; box-shadow: none; /* taste-skill-ignore */ min-width: 0; padding: 0 22px; min-height: 44px;
}
body.home .nav__cta:hover { background: var(--accent-hover); }
@media (max-width: 1023px) {
  body.home .nav { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; border: 0; } /* taste-skill-ignore */
  body.home .nav .nav__more { display: inline-flex; }
  body.home .nav.active { top: 72px; bottom: auto; height: calc(100svh - 72px); padding: 24px 20px; gap: 6px; }
}

/* ---------- общие ---------- */
.h-wrap { padding: 0 var(--m); }
.h-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.h-sec { margin-top: var(--sec); }
.h-head { font-size: var(--fs-head); }
.h-cap { font-size: var(--fs-small); color: var(--muted); margin-top: 10px; line-height: 1.4; }
.h-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; background: var(--accent); color: var(--accent-ink) !important;
  font-size: var(--fs-body); font-weight: 500; text-decoration: none; border-radius: 0;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.h-btn:hover { background: var(--accent-hover); transform: translateY(-2px); }
.h-btn:active { transform: translateY(0) scale(.98); }
.h-link {
  font-size: var(--fs-body); font-weight: 500; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; text-decoration-thickness: 2px;
  transition: color .2s var(--ease), text-underline-offset .2s var(--ease);
}
.h-link:hover { color: var(--accent); text-underline-offset: 8px; }
.h-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 26px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.h-frame { overflow: hidden; background: var(--surface); }
.h-frame img { transition: transform .9s var(--ease); }
.h-frame:hover img { transform: scale(1.03); }

/* ---------- первый экран: три отпечатка на одной линии ---------- */
.h-hero { padding-top: calc(72px + 32px); align-items: start; }
.h-hero__sq { grid-column: 1 / 4; aspect-ratio: 1 / 1; }
.h-hero__text { grid-column: 1 / 5; margin-top: 28px; padding-right: 12px; }
.h-hero__text h1 { font-size: var(--fs-head); }
.h-hero__text p { margin-top: 16px; max-width: 32ch; }
.h-hero__tall { grid-column: 5 / 11; grid-row: 1 / span 2; }
.h-hero__tall .h-frame { height: calc(100svh - 72px - 32px - 44px); min-height: 520px; }
.h-hero__wide { grid-column: 11 / 13; grid-row: 1 / span 2; align-self: start; }
.h-hero__wide2 { margin-top: 20px; }
.h-hero__wide2 .h-frame { aspect-ratio: 3 / 4; }
.h-hero__more { margin-top: 36px; padding-top: 20px; background: none; }
.h-hero__more p { font-size: var(--fs-body); }
.h-hero__more b { display: block; font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: var(--fs-lead); line-height: 1.25; margin-bottom: 8px; }
.h-hero__wide .h-frame { aspect-ratio: 3 / 5; }

.h-hero__sq { grid-row: 1; }
.h-hero__text { grid-row: 2; }

/* шторка на главном фото */
.h-shutter { clip-path: inset(0 0 100% 0); }
.h-shutter img { transform: scale(1.12); }
.is-ready .h-shutter { clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease); }
.is-ready .h-shutter img { transform: scale(1); transition: transform 1.4s var(--ease); }

/* ---------- витрина: полоса неравных панелей ---------- */
.h-show__title { grid-column: 1 / 9; margin-bottom: 24px; }
.h-show__title p { margin-top: 12px; max-width: 52ch; }
.h-band { display: flex; height: 62svh; min-height: 420px; }
.h-panel {
  position: relative; flex: 2 1 0; min-width: 0; overflow: hidden; border: 0; padding: 0; margin: 0;
  background: var(--surface); cursor: pointer; text-align: left; font: inherit; color: inherit;
  transition: flex-grow .5s var(--ease);
}
.h-panel:nth-child(1) { flex-grow: 5; }
.h-panel:nth-child(3) { flex-grow: 3; }
.h-band.is-live .h-panel { flex-grow: 2; }
.h-band.is-live .h-panel[aria-pressed="true"] { flex-grow: 6; }
.h-panel img { transition: transform .8s var(--ease); }
.h-panel:hover img { transform: scale(1.04); }
.h-panel__name {
  position: absolute; left: 0; top: 0; padding: 22px 24px 40px 24px; max-width: 100%;
  font-family: 'Cormorant Garamond', serif; font-size: var(--fs-lead); line-height: 1.15; color: #fff;
  background: radial-gradient(120% 120% at 0 0, rgba(20,17,13,.62) 0%, rgba(20,17,13,0) 70%); /* taste-skill-ignore: нейтральная подложка под текст на фото */
}
.h-show__detail { margin-top: 28px; }
.h-item { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.h-item + .h-item { margin-top: 32px; }
.h-item h3 { grid-column: 1 / 5; font-size: var(--fs-head); }
.h-item__text { grid-column: 5 / 10; }
.h-item__text ul { list-style: none; margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.h-item__text li { font-size: var(--fs-small); background: var(--surface); padding: 6px 12px; }
.h-item__act { grid-column: 10 / 13; justify-self: end; }
.js .h-item[hidden] { display: none; }
.js .h-item.is-in { animation: h-in .5s var(--ease) both; }
@keyframes h-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.h-show__more { margin-top: 20px; }

/* ---------- архив: поднимающийся триптих ---------- */
.h-tri { position: relative; height: 165svh; }
.h-tri__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.h-tri__head { position: absolute; left: 0; right: 0; top: calc(72px + 16px); text-align: center; padding: 0 var(--m); z-index: 2; }
.h-tri__head h2 { font-size: var(--fs-head); text-align: center; }
.h-tri__head p { margin: 14px auto 0; max-width: 46ch; }
.h-tri__head .h-actions { justify-content: center; margin-top: 18px; }
.h-tri__row { position: absolute; left: 50%; top: 100%; display: flex; gap: 10px; align-items: flex-start; transform: translate(-50%, 0); will-change: transform; }
.h-tri__c { width: var(--cw, 620px); aspect-ratio: 4 / 5; flex: none; transform-origin: 50% 0; }
.h-tri__s { width: 360px; height: 530px; flex: none; margin-top: 55px; }
.h-tri__row .h-frame:hover img { transform: none; }

/* ---------- почему Elefterri: тёмное поле с утверждениями ---------- */
.h-why { background: var(--field); color: var(--field-ink); padding: var(--sec) var(--m); margin-top: var(--sec); }
.h-why h2 { color: var(--field-ink); font-size: var(--fs-head); grid-column: 1 / 5; }
.h-why__pic { grid-column: 1 / 5; margin-top: 24px; aspect-ratio: 4 / 3; }
.h-why__list { grid-column: 6 / 13; grid-row: 1 / span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 32px var(--gap); align-content: start; list-style: none; }
.h-why__list b { display: block; font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: var(--fs-head); line-height: 1.05; color: var(--field-gold); margin-bottom: 12px; }
.h-why__list p { color: var(--field-ink); max-width: 34ch; }
.h-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 14px; }
.h-chips li { font-size: var(--fs-small); background: var(--surface); padding: 6px 12px; }

/* ---------- как появляется вещь: фото по диагонали ---------- */
.h-how { row-gap: 0; align-items: start; }
.h-how__img1 { grid-column: 1 / 5; grid-row: 1 / span 3; aspect-ratio: 3 / 4; }
.h-how__head { grid-column: 7 / 13; grid-row: 1; }
.h-how__t1 { grid-column: 6 / 10; grid-row: 2; margin-top: 28px; }
.h-how__img2 { grid-column: 5 / 9; grid-row: 3 / span 2; aspect-ratio: 1 / 1; margin-top: 24px; }
.h-how__t2 { grid-column: 9 / 13; grid-row: 3; margin-top: 24px; padding-left: 8px; }
.h-how__img3 { grid-column: 7 / 13; grid-row: 5; aspect-ratio: 16 / 10; margin-top: 32px; }
.h-how__t3 { grid-column: 2 / 7; grid-row: 5; margin-top: 32px; }
.h-how p { max-width: 38ch; }
.h-how p b { font-weight: 600; }
.h-how .h-actions { margin-top: 20px; }

/* ---------- о бренде: широкое фото, цветная плитка, факты ---------- */
.h-about__head { grid-column: 1 / 8; }
.h-about__head p { font-size: var(--fs-lead); line-height: 1.4; margin-top: 20px; max-width: 40ch; }
.h-about__photo { grid-column: 1 / 9; position: relative; margin-top: 28px; aspect-ratio: 16 / 10; }
.h-about__note { position: absolute; top: 0; right: 0; width: 340px; background: var(--bg); padding: 22px 24px; }
.h-about__note p { font-size: var(--fs-body); }
.h-about__side { grid-column: 9 / 13; margin-top: 28px; }
.h-tile { background: var(--field); color: var(--field-ink); aspect-ratio: 4 / 3; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; }
.h-tile__word { font-family: 'Cormorant Garamond', serif; font-size: var(--fs-head); line-height: 1; color: var(--field-gold); }
.h-tile p { color: var(--field-ink); margin-top: 10px; }
.h-facts { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 26px; }
.h-fact { display: flex; align-items: baseline; gap: 16px; font-size: var(--fs-lead); color: var(--ink); line-height: 1.35; }
.h-fact b { flex: 0 0 4.2ch; font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: var(--fs-lead); line-height: 1.35; color: var(--accent); }
.h-about .h-actions { grid-column: 1 / 9; }

/* ---------- призыв ---------- */
.h-cta { padding-top: var(--sec); padding-bottom: var(--sec); align-items: center; }
.h-cta__text { grid-column: 1 / 6; align-self: center; }
.h-cta__text p { font-size: var(--fs-lead); line-height: 1.4; max-width: 34ch; }
.h-cta__pics { grid-column: 6 / 13; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--gap); align-items: end; }
.h-cta__pics .h-frame:nth-child(1) { aspect-ratio: 3 / 4; }
.h-cta__pics .h-frame:nth-child(2) { aspect-ratio: 1 / 1; }
.h-cta__pics .h-frame:nth-child(3) { aspect-ratio: 4 / 5; }

/* ---------- подвал: имя первым ---------- */
.h-foot { background: var(--field); color: var(--field-ink); padding: 32px var(--m) 20px; overflow: hidden; }
.h-foot__name { font-family: 'Cormorant Garamond', serif; font-size: var(--fs-display); line-height: .9; color: var(--field-ink); white-space: nowrap; letter-spacing: -0.02em; }
.h-foot__row { margin-top: 24px; align-items: start; }
.h-foot__places { grid-column: 1 / 6; list-style: none; }
.h-foot__places li + li { margin-top: 4px; }
.h-foot__places a, .h-foot__places span { font-family: 'Cormorant Garamond', serif; font-size: var(--fs-lead); line-height: 1.1; color: var(--field-gold); text-decoration: none; transition: color .2s var(--ease); }
.h-foot__places a:hover { color: var(--field-ink); }
.h-foot__links { grid-column: 7 / 13; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px var(--gap); list-style: none; align-content: start; }
.h-foot__links a { font-size: var(--fs-body); color: var(--field-ink); text-decoration: none; }
.h-foot__links a:hover { color: var(--field-gold); }
.h-foot__legal { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; font-size: var(--fs-small); }
.h-foot__legal p, .h-foot__legal a { font-size: var(--fs-small); color: var(--field-ink); }
body.home .tg-float { box-shadow: none; } /* taste-skill-ignore */
#nalichie { padding-top: 40px; }

/* ---------- появление частей секций ---------- */
.js [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-rise].is-in { opacity: 1; transform: none; }
.h-drift img { animation: h-drift 18s ease-in-out infinite alternate; }
@keyframes h-drift { from { transform: scale(1.02) translateX(0); } to { transform: scale(1.09) translateX(-2%); } }

/* ---------- планшет и телефон ---------- */
@media (max-width: 1023px) {
  .h-tri__s { width: 240px; height: 360px; }
  .h-how__img1 { grid-column: 1 / 6; }
  .h-how__head { grid-column: 7 / 13; }
  .h-how__t1 { grid-column: 7 / 13; }
  .h-how__img2 { grid-column: 4 / 9; }
  .h-how__t2 { grid-column: 9 / 13; }
  .h-how__img3 { grid-column: 6 / 13; }
  .h-how__t3 { grid-column: 1 / 6; }
  .h-about__note { width: 280px; }
}
@media (max-width: 1023px) {
  .h-hero { padding-top: calc(72px + 20px); }
  .h-hero__tall { grid-column: 1 / 10; grid-row: 1; }
  .h-hero__tall .h-frame { height: auto; min-height: 0; aspect-ratio: 3 / 4; }
  .h-hero__sq { grid-column: 8 / 13; grid-row: 1; align-self: end; position: relative; z-index: 1; }
  .h-hero__text { grid-column: 1 / 13; grid-row: 2; margin-top: 28px; padding-right: 0; }
  .h-hero__text p { max-width: 40ch; }
  .h-hero__wide { grid-column: 1 / 13; grid-row: 3; align-self: start; margin: 40px calc(-1 * var(--m)) 0; }
  .h-hero__wide .h-frame { aspect-ratio: 16 / 10; }
  .h-hero__wide .h-cap { margin: 10px var(--m) 0; }
  .h-hero__tall .h-cap { display: none; }
  .h-hero__wide2 { display: none; }
  .h-hero__wide > .h-cap { display: none; }
  .h-show__title { grid-column: 1 / 13; margin-bottom: 24px; }
  .h-band { flex-wrap: wrap; height: 84svh; min-height: 520px; }
  .h-panel, .h-band.is-live .h-panel, .h-band.is-live .h-panel[aria-pressed="true"] { flex: none; height: 50%; }
  .h-panel:nth-child(1), .h-panel:nth-child(4) { width: 64%; }
  .h-panel:nth-child(2), .h-panel:nth-child(3) { width: 36%; }
  .h-band.is-live .h-panel[aria-pressed="true"] { outline: 4px solid var(--accent); outline-offset: -4px; }
  .h-panel__name { padding: 14px 18px 30px; }
  .h-tri { height: auto; }
  .h-tri__stage { position: static; height: auto; overflow: hidden; }
  .h-tri__head { position: static; padding-top: 0; }
  .h-tri__row { position: static; transform: none !important; left: auto; justify-content: center; margin-top: 24px; }
  .h-tri__c { --cw: min(560px, calc(100vw - 100px)) !important; width: min(560px, calc(100vw - 100px)); }
  .h-why h2 { grid-column: 1 / 13; }
  .h-why__pic { grid-column: 1 / 13; grid-row: auto; aspect-ratio: 21 / 9; }
  .h-why__list { grid-column: 1 / 13; grid-row: auto; margin-top: 24px; }
  .h-about__photo { grid-column: 1 / 13; }
  .h-about__side { grid-column: 1 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
  .h-about__side .h-facts { margin-top: 0; }
  .h-tile { aspect-ratio: auto; }
  .h-about .h-actions { grid-column: 1 / 13; }
}
@media (max-width: 767px) {
  body.home { --fs-head: 32px; --fs-lead: 20px; }
  body.home .tg-float { display: none; }
  #nalichie { padding-top: 0; }
  .h-why__pic { aspect-ratio: 16 / 10; }
  .h-about__side { display: block; }
  .h-about__side .h-facts { margin-top: 24px; }
  .h-why__list { grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }

  .h-item h3, .h-item__text, .h-item__act { grid-column: 1 / 13; justify-self: start; }
  .h-item__text { margin-top: 10px; }
  .h-item__act { margin-top: 18px; }

  .h-tri__s { width: 40px; height: 300px; }
  .h-tri__head { top: calc(72px + 2svh); }

  .h-how__img1 { grid-column: 1 / 13; grid-row: auto; }
  .h-how__head { grid-column: 1 / 13; grid-row: 1; margin-bottom: 24px; }
  .h-how__t1, .h-how__t2, .h-how__t3 { grid-column: 1 / 13; grid-row: auto; margin-top: 16px; padding: 0; }
  .h-how__img2 { grid-column: 5 / 13; grid-row: auto; margin-top: 32px; }
  .h-how__t2 { grid-column: 5 / 13; }
  .h-how__img3 { grid-column: 1 / 11; grid-row: auto; margin-top: 32px; }
  .h-how__t3 { grid-column: 1 / 11; }

  .h-about__head { grid-column: 1 / 13; }
  .h-about__photo { grid-column: 1 / 13; aspect-ratio: 4 / 3; margin-top: 24px; }
  .h-about__note { position: static; width: auto; padding: 16px 0 0; background: none; }
  .h-about__side { grid-column: 1 / 13; margin-top: 24px; }
  .h-tile { aspect-ratio: auto; }
  .h-about .h-actions { grid-column: 1 / 13; }

  .h-cta__text { grid-column: 1 / 13; }
  .h-cta__pics { grid-column: 1 / 13; margin-top: 24px; }

  .h-foot__name { font-size: 13vw; }
  .h-why__list { margin-top: 24px; }
  .h-foot__places { grid-column: 1 / 13; }
  .h-foot__links { grid-column: 1 / 13; grid-template-columns: 1fr 1fr; margin-top: 20px; }
  .h-foot__legal { margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-rise] { opacity: 1; transform: none; transition: none; }
  .h-shutter, .is-ready .h-shutter { clip-path: none; transition: none; }
  .h-shutter img, .is-ready .h-shutter img { transform: none; transition: none; }
  .h-drift img { animation: none; }
  .h-panel, .h-panel img, .h-frame img { transition: none; }
  .h-tri { height: auto; }
  .h-tri__stage { position: static; height: auto; overflow: visible; padding: var(--sec) 0 0; }
  .h-tri__head { position: static; }
  .h-tri__row { position: static; transform: none; justify-content: center; margin-top: 40px; overflow: hidden; }
}
