/* первый экран — баннер новой серии: фото или короткое видео на фоне */
.hero{position:relative;height:clamp(620px,50vw,720px);background:var(--placeholder);overflow:hidden}
.hero-media{position:absolute;inset:0}
.hero-media img,.hero-media video{width:100%;height:100%;object-fit:cover;display:block}
/* class="hero scrim" — лёгкая белая подложка слева, если фото или видео пёстрое и текст плохо читается */
.hero.scrim .hero-media::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.7) 0,rgba(255,255,255,.35) 35%,rgba(255,255,255,0) 55%)}
.hero-hint{position:absolute;right:var(--pad);bottom:48px;color:var(--mute)}
.hero-pause{position:absolute;right:var(--pad);bottom:24px;z-index:2;height:32px;padding:0 12px;background:rgba(255,255,255,.85);font-size:12px;cursor:pointer}
.hero-in{position:relative;z-index:1;height:100%;padding-block:36px 48px}
.hero-t{grid-column:1/6;display:flex;flex-direction:column;justify-content:space-between;height:100%}
.hero h1{font-size:130px;line-height:90px;margin-top:30px;padding-bottom:20px}
.hero .lead{max-width:none;margin-bottom:20px}
.ctas{display:flex;gap:20px;flex-wrap:wrap}

/* магазин */
.shop{padding-top:120px}
.filters-row .filters{grid-column:1/-1;padding-bottom:28px}
.grid4{row-gap:var(--gap)}
.grid4 .item{grid-column:span 3}
.grid4 .item.big{grid-column:span 6}
.more-row{margin-top:48px}

/* работы */
.works{row-gap:var(--gap)}
.works img{grid-column:span 3;aspect-ratio:4/5;object-fit:cover}

/* обо мне */
.photo{grid-column:1/4}
.photo img{aspect-ratio:4/5;object-fit:cover;filter:grayscale(1)}
.about-t{grid-column:4/10;padding-right:20px}
.about-t .big{font-size:30px;line-height:1.2;letter-spacing:-.025em;margin-bottom:26px}
.about-t p:not(.big){font-size:16px;line-height:1.5;max-width:50ch}
.about-t p+p{margin-top:14px}
.lists{grid-column:10/13}
.lists h3{font-size:12px;font-weight:400;color:var(--mute);margin-bottom:8px}
.lists ul{list-style:none;margin-bottom:36px}
.lists li{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-top:1px solid var(--line)}
.lists li:last-child{border-bottom:1px solid var(--line)}

/* комишны */
.com-l{grid-column:1/5;display:flex;flex-direction:column;gap:28px;align-items:flex-start}
.com-t{grid-column:5/13}
/* кнопка заявки и рядом — свободные места: сердечко = слот, розовое — свободен, контур — занят */
.cta-row{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.slots{display:flex;flex-direction:column;gap:6px}
.hearts{display:flex;gap:4px;height:18px}
.hearts svg{width:18px;height:18px;display:block}
.hearts .on{fill:var(--heart)}
.hearts .off{fill:none;stroke:var(--mute);stroke-width:1.5}
.slots-t{font-size:14px;line-height:1.2}
.tr{display:grid;grid-template-columns:80px 1.2fr 2fr 1fr 1fr;gap:var(--gap);align-items:center;padding:12px 0;border-top:1px solid var(--line)}
.tr:last-child{border-bottom:1px solid var(--line)}
.tr.th{padding:0 0 10px;border-top:0}
.tr img{width:80px;aspect-ratio:4/5;object-fit:cover}
.tr b{font-weight:500;font-size:17px}
.tr .p{text-align:right;font-weight:500}
.steps{margin-top:72px;row-gap:32px}
.step{grid-column:span 3;border-top:1px solid var(--ink);padding-top:14px}
.step b{display:block;font-weight:500;font-size:20px;letter-spacing:-.01em;margin:22px 0 8px}
.step p{color:var(--body);max-width:30ch}

/* комишны — пудровая лента, край как кружевная тесьма (фестоны с дырочками); цвет — одна переменная --band */
.ribbon{--band:#f5dedb;--ink:#1a1414;--body:#4b3c3b;--mute:#6f5b59;--line:rgba(70,35,30,.14);--heart:#e7718e;
  position:relative;background:var(--band);padding-block:100px 110px;margin-bottom:var(--section)}
.ribbon::before,.ribbon::after{content:"";position:absolute;left:0;right:0;height:40px;pointer-events:none;background:var(--band);
  -webkit-mask:var(--lace) repeat-x 0 0/36px 40px;mask:var(--lace) repeat-x 0 0/36px 40px;
  --lace:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='40'%3E%3Cpath fill-rule='evenodd' d='M0 40V18a18 18 0 0 1 36 0v22zM18 10.8a3.2 3.2 0 1 0 0 6.4a3.2 3.2 0 1 0 0-6.4zM0 28.2a1.8 1.8 0 0 1 0 3.6zM36 28.2a1.8 1.8 0 0 0 0 3.6z'/%3E%3C/svg%3E")}
.ribbon::before{top:-18px}
.ribbon::after{bottom:-18px;transform:scaleY(-1)}

/* заявка на комишн: панель справа, как корзина */
dialog.req{margin:0 0 0 auto;width:min(560px,100%);height:100%;max-height:none;border:0;padding:28px 32px 40px;background:#fff;color:var(--ink);overflow:auto}
dialog.req::backdrop{background:rgba(17,17,17,.35)}
.req-top{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:28px}
.req-x{cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.req h2.script{font-size:72px;line-height:.8;padding-top:.15em;margin-bottom:22px}
.req-lead{font-size:16px;line-height:1.45;color:var(--body);margin-bottom:32px;max-width:42ch}
.rf{display:flex;flex-direction:column;gap:7px;margin-bottom:20px;font-size:13px}
.rf i{font-style:normal;color:var(--mute)}
.rf input,.rf textarea{font:inherit;font-size:15px;border:1px solid var(--line);padding:12px 14px;outline:none;width:100%;border-radius:0;background:#fff;transition:border-color .15s}
.rf input{height:48px;padding-block:0}
.rf textarea{resize:vertical;min-height:140px;line-height:1.45}
.rf input:focus,.rf textarea:focus{border-color:var(--ink)}
.rf em{display:none;font-style:normal;color:var(--red);font-size:12px}
.rf.err input,.rf.err textarea{border-color:var(--red)}
.rf.err em{display:block}
.req-send{width:100%;margin-top:8px;height:54px}
html[lang=hy] .req h2.script{font-size:40px;line-height:1.1;padding-top:0}

/* финальная фраза */
.cta{margin-top:120px}
.cta h2{grid-column:1/-1;text-align:center;font-size:130px;line-height:1}

/* ноутбуки: заголовку первого экрана нужна колонка шире и размер меньше, иначе текст не помещается по высоте */
@media (min-width:1001px) and (max-width:1360px){
  .hero-t{grid-column:1/7}
  .hero h1{font-size:104px;line-height:72px}
}
@media (max-width:1000px){
  .hero{height:auto;background:#fff}
  .hero-media{position:relative;aspect-ratio:4/3;background:var(--placeholder)}
  .hero-hint{bottom:auto;top:calc(75vw - 32px);left:var(--pad);right:auto}
  .hero-pause{bottom:auto;top:calc(75vw - 44px)}
  .hero-in{padding-block:28px 0}
  .hero-t{grid-column:1/-1;gap:32px}
  .hero h1{font-size:76px;line-height:56px;margin-top:20px}
  .grid4 .item,.grid4 .item.big{grid-column:span 6}
  .works img{grid-column:span 6}
  .photo{grid-column:1/7}.lists{grid-column:7/13}
  .about-t{grid-column:1/-1;order:3;margin-top:40px}
  .com-l,.com-t{grid-column:1/-1}.com-t{margin-top:40px}
  .tr{grid-template-columns:56px 1fr 1fr}.tr img{width:56px}
  .tr .d,.tr .s,.tr.th{display:none}
  .step{grid-column:span 6}
  .ribbon{padding-block:72px 80px}
  .cta{margin-top:72px}
  .cta h2{font-size:64px}
}
@media (max-width:560px){
  .grid4 .item,.grid4 .item.big,.step{grid-column:1/-1}
  .photo,.lists{grid-column:1/-1}.lists{margin-top:28px}
  .ctas{flex-direction:column}
  .ctas .btn{width:100%}
}

/* армянская версия: заголовки Noto Serif Armenian вместо Imperial Script */
html[lang=hy] .hero-t{grid-column:1/7}
html[lang=hy] .hero h1{font-size:76px;line-height:1.08;margin-top:24px}
html[lang=hy] .cta h2{font-size:72px;line-height:1.1}
@media (min-width:1001px) and (max-width:1360px){html[lang=hy] .hero h1{font-size:60px}}
@media (max-width:1000px){
  html[lang=hy] .hero-t{grid-column:1/-1}
  html[lang=hy] .hero h1{font-size:44px;line-height:1.12}
  html[lang=hy] .cta h2{font-size:40px}
}
