/* Artgran — вироби з граніту та мармуру, Миколаїв */
@font-face { font-family: "Lora"; src: url("../fonts/Lora-var.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/Lora-italic-var.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Carlito"; src: url("../fonts/Carlito-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Carlito"; src: url("../fonts/Carlito-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Carlito"; src: url("../fonts/Carlito-Italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --marble: #EEF0EE;      /* фон: холодний білий мармур */
  --paper: #F8F9F8;       /* картки, форма */
  --vein: #D3D8D6;        /* лінії, межі */
  --slate: #1E2427;       /* текст і темні розділи */
  --slate-2: #2A3236;
  --mute: #5B676C;        /* другорядний текст */
  --lab: #2D5F73;         /* лабрадорит: кнопки */
  --lab-h: #234D5E;
  --lab-light: #8FC0CE;   /* акцент на темному */
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Carlito", "Segoe UI", Roboto, Arial, sans-serif;
  --bevel: 9px;
  --wrap: 1240px;
  --pad: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
html.is-locked, html.is-locked body { overflow: hidden; }
body { margin: 0; background: var(--marble); color: var(--slate); font: 400 18px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 560; line-height: 1.08; margin: 0; letter-spacing: -0.012em; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.4vw, 54px); }
h3 { font-size: 23px; line-height: 1.2; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 10px 14px; }
:focus-visible { outline: 3px solid var(--lab-light); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Кнопки: кути з фаскою, як оброблений край плити ---------- */
.btn {
  --b: var(--bevel);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border: 0; cursor: pointer; text-decoration: none;
  font: 700 17px/1.1 var(--sans); letter-spacing: .01em; text-align: center;
  clip-path: polygon(var(--b) 0, calc(100% - var(--b)) 0, 100% var(--b), 100% calc(100% - var(--b)), calc(100% - var(--b)) 100%, var(--b) 100%, 0 calc(100% - var(--b)), 0 var(--b));
  transition: background-color .2s, color .2s;
}
.btn:focus-visible { outline: 0; box-shadow: inset 0 0 0 3px var(--lab-light), inset 0 0 0 5px var(--slate); }
.btn--lg { min-height: 56px; padding: 16px 30px; font-size: 18px; }
.btn--wide { width: 100%; }
.btn--lab { background: var(--lab); color: #fff; }
.btn--lab:hover { background: var(--lab-h); }
.btn--ghost { background: rgba(238, 240, 238, .14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(238, 240, 238, .26); }
.btn--ghost-dark { background: transparent; color: var(--slate); box-shadow: inset 0 0 0 1.5px var(--slate); }
.btn--ghost-dark:hover { background: rgba(30, 36, 39, .06); }

/* ---------- Шапка ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 40; color: #fff; transition: background-color .3s, color .3s, box-shadow .3s; }
.top__in { max-width: 1400px; margin: 0 auto; padding: 14px var(--pad); display: flex; align-items: center; gap: 28px; }
.top.is-solid, .top.is-open { background: rgba(238, 240, 238, .96); color: var(--slate); box-shadow: 0 1px 0 var(--vein); backdrop-filter: blur(8px); }
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; }
.logo__name { font: 600 27px/1 var(--serif); letter-spacing: -.01em; }
.logo__sub { font-size: 13px; margin-top: 4px; opacity: .8; }
.nav { display: flex; gap: 26px; }
.nav a, .top__phone { text-decoration: none; font-size: 17px; }
.nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.top__phone { font-weight: 700; white-space: nowrap; }
.top__burger { display: none; width: 46px; height: 46px; border: 0; background: none; padding: 0; position: relative; }
.top__burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .25s; }
.top__burger span:first-child { top: 18px; } .top__burger span:last-child { top: 26px; }
.top__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.top__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { padding: 8px var(--pad) 24px; display: grid; gap: 4px; }
.menu a { text-decoration: none; font: 500 26px/1.3 var(--serif); padding: 8px 0; border-bottom: 1px solid var(--vein); }
.menu .menu__phone { font: 700 20px/1.3 var(--sans); border: 0; padding-top: 14px; }

/* ---------- Перший екран ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; color: #fff; display: flex; align-items: flex-end; overflow: hidden; background: var(--slate); }
.hero__media, .hero__media video, .hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity .6s; }
.hero__video.is-playing { opacity: 1; }
.hero__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,25,27,.78) 0%, rgba(20,25,27,.45) 46%, rgba(20,25,27,.08) 75%),
              linear-gradient(0deg, rgba(20,25,27,.7) 0%, rgba(20,25,27,0) 45%); }
.hero__in { position: relative; z-index: 2; width: 100%; max-width: 1400px; margin: 0 auto; padding: 140px var(--pad) 128px; }
.hero__title { font-size: clamp(42px, 6.4vw, 92px); font-weight: 600; line-height: 1.02; letter-spacing: -.02em; max-width: 13em; }
.hero__line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__line > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.hero__line:nth-child(2) > span { transition-delay: .12s; }
.hero__lead { max-width: 33em; font-size: clamp(18px, 1.5vw, 21px); margin-top: 22px; opacity: 0; transition: opacity .8s .45s; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; opacity: 0; transition: opacity .8s .6s; }
.hero.is-in .hero__line > span { transform: none; }
.hero.is-in .hero__lead, .hero.is-in .hero__actions { opacity: 1; }

/* стрічка під кліпом: які роботи зараз у кадрі */
.reel { position: absolute; z-index: 2; right: var(--pad); bottom: 40px; width: min(420px, 40vw); }
.reel__bars { display: flex; gap: 6px; }
.reel__bars i { flex: 1; height: 3px; background: rgba(255,255,255,.28); position: relative; overflow: hidden; }
.reel__bars i::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); }
.reel__cap { text-shadow: 0 1px 12px rgba(0,0,0,.55); margin-top: 12px; font: italic 500 19px/1.3 var(--serif); min-height: 1.3em; transition: opacity .35s; }
.reel__cap.is-fading { opacity: 0; }

/* ---------- Заголовки розділів ---------- */
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 44px; }
.head p { color: var(--mute); max-width: 34em; }

/* ---------- Категорії ---------- */
.works { padding: clamp(80px, 10vw, 140px) 0 clamp(70px, 8vw, 110px); }
.cats { display: grid; gap: 14px; }
.cat { position: relative; overflow: hidden; border: 0; padding: 0; background: var(--slate); color: #fff; text-align: left; cursor: pointer; display: block; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,25,27,.82) 0%, rgba(20,25,27,0) 55%); }
.cat:hover img { transform: scale(1.04); }
.cat__body { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; display: grid; gap: 6px; }
.cat__name { font: 560 clamp(26px, 2.6vw, 36px)/1.1 var(--serif); }
.cat__meta { font-size: 16px; opacity: .88; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.cat__meta span[data-count] { font-weight: 700; }
.cat--other { cursor: default; background: var(--paper); color: var(--slate); padding: 28px 32px; display: flex; justify-content: space-between; gap: 18px 40px; box-shadow: inset 0 0 0 1px var(--vein); }
.cat--other::after { display: none; }
.cat--other .cat__name { flex: 0 0 auto; }
.cat--other p { color: var(--mute); max-width: 30em; }
.cat--other .btn { flex: 0 0 auto; }
/* 5 плиток: каміни великі, решта сіткою */
.cats { grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: clamp(280px, 30vw, 420px) clamp(280px, 30vw, 420px) auto; }
.cats .cat--k { grid-column: 1; grid-row: 1 / 3; }
.cats .cat--s { grid-column: 2; grid-row: 1; }
.cats .cat--p { grid-column: 3; grid-row: 1; }
.cats .cat--t { grid-column: 2 / 4; grid-row: 2; }
.cats .cat--other { grid-column: 1 / 4; grid-row: 3; flex-direction: row; align-items: center; }
.cats .cat--t img { object-position: 50% 55%; }

/* ---------- Камінь ---------- */
.stone { padding: clamp(70px, 9vw, 120px) 0; background: var(--paper); border-block: 1px solid var(--vein); }
.stone__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.stone__text p { color: var(--mute); margin-top: 18px; max-width: 30em; }
.stone__text h2 { margin-bottom: 6px; }
.swatches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.swatches li { position: relative; aspect-ratio: 1 / .78; overflow: hidden; }
.swatches img { width: 100%; height: 100%; object-fit: cover; }
.swatches span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; color: #fff; font-size: 15px; background: linear-gradient(0deg, rgba(20,25,27,.72), rgba(20,25,27,0)); }
.swatches b { display: block; font: 560 20px/1.2 var(--serif); }

/* ---------- Чому ми ---------- */
.why { background: var(--slate); color: #fff; padding: clamp(70px, 9vw, 120px) 0; }
.why__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.why__photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.why__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.facts { margin: 36px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 40px; }
.facts div { border-top: 1px solid rgba(255,255,255,.22); padding-top: 16px; }
.facts dt { font: 560 22px/1.25 var(--serif); color: var(--lab-light); }
.facts dd { margin: 8px 0 0; color: rgba(255,255,255,.82); }

/* ---------- Процес ---------- */
.process { padding: clamp(80px, 10vw, 140px) 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--slate); padding-top: 18px; }
.steps li::before { content: counter(s); display: block; font: 500 44px/1 var(--serif); color: var(--lab); margin-bottom: 14px; }
.steps p { color: var(--mute); margin-top: 10px; }
.story { margin-top: 72px; }
.story__title { font: italic 500 24px/1.3 var(--serif); margin-bottom: 18px; }
.story__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.story figure { margin: 0; }
.story img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.story figcaption { margin-top: 10px; font-size: 16px; color: var(--mute); }

/* ---------- Питання ---------- */
.faq { padding: clamp(70px, 9vw, 120px) 0; background: var(--paper); border-block: 1px solid var(--vein); }
.faq__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 88px); }
.faq details { border-bottom: 1px solid var(--vein); }
.faq details:first-child { border-top: 1px solid var(--vein); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 560 21px/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--lab); border-bottom: 2px solid var(--lab); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--mute); max-width: 40em; }

/* ---------- Контакти ---------- */
.contact { padding: clamp(80px, 10vw, 140px) 0; }
.contact__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.lead-card { background: var(--slate); color: #fff; padding: clamp(28px, 4vw, 52px); --b: 18px;
  clip-path: polygon(var(--b) 0, calc(100% - var(--b)) 0, 100% var(--b), 100% calc(100% - var(--b)), calc(100% - var(--b)) 100%, var(--b) 100%, 0 calc(100% - var(--b)), 0 var(--b)); }
.lead-card > p { color: rgba(255,255,255,.82); margin: 14px 0 28px; max-width: 32em; }
.lead-card .field span, .lead-card legend { color: rgba(255,255,255,.8); }
.lead-card .form__done { padding-top: 6px; }
.info { display: grid; gap: 26px; padding-top: 8px; }
.info__label { font-size: 15px; color: var(--mute); margin-bottom: 6px; }
.info__phone { display: block; font: 600 30px/1.3 var(--serif); text-decoration: none; }
.info__phone:hover { color: var(--lab); }
.map { aspect-ratio: 4 / 3; background: var(--vein); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4); }

/* ---------- Форми ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 15px; color: var(--mute); }
.field input { width: 100%; min-height: 54px; padding: 12px 16px; border: 1.5px solid var(--vein); background: #fff; color: var(--slate); font: 400 18px var(--sans); border-radius: 0; }
.field input:focus { outline: 0; border-color: var(--lab); box-shadow: 0 0 0 3px rgba(45, 95, 115, .25); }
.field input[aria-invalid="true"] { border-color: #B3412E; }
.lead-card .field input { border-color: transparent; }
.chips { border: 0; padding: 0; margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: 15px; margin-bottom: 10px; padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: block; padding: 9px 16px; border: 1.5px solid rgba(255,255,255,.35); font-size: 16px; }
.chips input:checked + span { background: var(--lab-light); border-color: var(--lab-light); color: var(--slate); font-weight: 700; }
.chips input:focus-visible + span { outline: 3px solid var(--lab-light); outline-offset: 2px; }
.form__error { color: #B3412E; font-size: 16px; }
.lead-card .form__error { color: #FFB4A3; }
.form__done-title { font: 560 28px/1.2 var(--serif); margin-bottom: 8px; }
.form__done .btn { margin-top: 20px; }

/* ---------- Підвал і нижня панель ---------- */
.foot { background: var(--slate); color: rgba(255,255,255,.78); padding: 48px 0; font-size: 16px; }
.foot__in { display: grid; gap: 8px; }
.foot__logo { font: 600 26px/1 var(--serif); color: #fff; margin-bottom: 6px; }
.foot a { color: #fff; text-decoration: none; margin-right: 18px; font-weight: 700; }
.foot__copy { margin-top: 10px; opacity: .7; }
.dock { display: none; }

/* ---------- Розділ каталогу ---------- */
.catalog { position: fixed; inset: 0; z-index: 60; background: var(--marble); overflow-y: auto; overscroll-behavior: contain; }
.catalog__bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px var(--pad); background: rgba(238,240,238,.95); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--vein); }
.catalog__back { border: 0; background: none; cursor: pointer; font: 700 17px var(--sans); padding: 12px 4px 12px 26px; position: relative; }
.catalog__back::before { content: ""; position: absolute; left: 6px; top: 50%; width: 10px; height: 10px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.catalog__cta { min-height: 44px; padding: 10px 20px; font-size: 16px; }
.catalog__head { padding: 40px 0 30px; max-width: 760px; }
.catalog__head h2:focus { outline: 0; }
.catalog__count { font-weight: 700; color: var(--lab); margin-top: 8px; }
.catalog__text { margin-top: 14px; color: var(--slate); }
.catalog__hint { margin-top: 10px; color: var(--mute); font-size: 16px; }
.grid { columns: 3 280px; column-gap: 14px; }
.card { display: block; width: 100%; margin: 0 0 14px; break-inside: avoid; border: 0; padding: 0; background: var(--vein); cursor: zoom-in; position: relative; overflow: hidden; }
.card img { width: 100%; height: auto; opacity: 0; transition: opacity .4s, transform .8s var(--ease); }
.card img.is-loaded { opacity: 1; }
.card:hover img { transform: scale(1.03); }
.card__code { position: absolute; left: 10px; top: 10px; background: rgba(30,36,39,.82); color: #fff; font-size: 14px; font-weight: 700; padding: 4px 9px; }
.catalog__end { margin: 40px 0 80px; padding: 36px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--vein); display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.catalog__end p { font: 500 22px/1.3 var(--serif); max-width: 24em; }

/* ---------- Перегляд фото ---------- */
.lb { position: fixed; inset: 0; z-index: 70; background: #121618; color: #fff; display: grid; grid-template-rows: auto 1fr auto; }
.lb__top { display: flex; align-items: center; gap: 16px; padding: 12px var(--pad); }
.lb__info { margin-right: auto; font-size: 17px; }
.lb__info b { font: 600 20px var(--serif); margin-right: 8px; }
.lb__info span { opacity: .75; }
.lb__pos { opacity: .7; font-size: 15px; }
.lb__close, .lb__nav { border: 0; background: rgba(255,255,255,.1); color: #fff; width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; }
.lb__close:hover, .lb__nav:hover { background: rgba(255,255,255,.2); }
.lb__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 76px; touch-action: pan-y; }
.lb__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
#lb-img { max-height: calc(100vh - 170px); max-height: calc(100svh - 170px); }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb__nav--prev { left: 14px; } .lb__nav--next { right: 14px; }
.lb__bottom { display: flex; justify-content: center; padding: 14px var(--pad) calc(16px + env(safe-area-inset-bottom)); }

/* ---------- Вікно заявки ---------- */
.modal { position: fixed; inset: 0; z-index: 80; background: rgba(18, 22, 24, .6); display: grid; place-items: center; padding: 16px; }
.modal__box { position: relative; width: min(480px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--paper); padding: 36px 32px 32px; --b: 14px;
  clip-path: polygon(var(--b) 0, calc(100% - var(--b)) 0, 100% var(--b), 100% calc(100% - var(--b)), calc(100% - var(--b)) 100%, var(--b) 100%, 0 calc(100% - var(--b)), 0 var(--b)); }
.modal__box h2 { font-size: 32px; padding-right: 40px; }
.modal__box > p { color: var(--mute); margin: 10px 0 22px; }
.modal__close { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.modal__pick { width: 96px; height: 96px; margin-bottom: 16px; overflow: hidden; }
.modal__pick img { width: 100%; height: 100%; object-fit: cover; }

.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); z-index: 90; background: var(--slate); color: #fff; padding: 12px 18px; opacity: 0; pointer-events: none; transition: .3s; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Планшет і телефон ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .top__burger { display: block; }
  .reel { width: min(380px, 46vw); }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .top__in { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .top__phone, .top__cta { display: none; }
  .logo__name { font-size: 25px; }
  .logo__sub { font-size: 12px; }
  .hero { align-items: flex-end; }
  .hero__media::after { background: linear-gradient(0deg, rgba(20,25,27,.88) 0%, rgba(20,25,27,.55) 42%, rgba(20,25,27,.1) 70%), linear-gradient(180deg, rgba(20,25,27,.5) 0%, rgba(20,25,27,0) 18%); }
  .hero__in { padding: 110px var(--pad) 36px; }
  .hero__title { font-size: clamp(36px, 10.6vw, 50px); }
  .hero__lead { font-size: 17px; margin-top: 16px; }
  .hero__actions { margin-top: 24px; flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .reel { position: relative; right: auto; bottom: auto; width: auto; }
  .hero { flex-direction: column; justify-content: flex-end; }
  .hero__in { order: 2; padding-top: 0; }
  .reel { order: 1; z-index: 2; margin: 0 var(--pad) 22px; align-self: stretch; padding-top: 100px; }
  .reel__cap { font-size: 16px; margin-top: 8px; }
  .head { grid-template-columns: 1fr; margin-bottom: 28px; }
  .cats { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: auto; }
  .cats .cat { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 4 / 5; }
  .cats .cat--k { grid-column: 1 / 3 !important; aspect-ratio: 4 / 3.6; }
  .cats .cat--t { grid-column: 1 / 3 !important; aspect-ratio: 4 / 3; }
  .cats .cat--other { grid-column: 1 / 3 !important; aspect-ratio: auto; flex-direction: column; align-items: stretch; padding: 24px; }
  .cats .cat--other .btn { align-self: stretch; }
  .cat__body { left: 16px; right: 16px; bottom: 14px; }
  .cat__name { font-size: 24px; }
  .cat__meta { font-size: 14px; }
  .cats .cat--s .cat__name, .cats .cat--p .cat__name { font-size: 20px; }
  .cats .cat--s .cat__meta, .cats .cat--p .cat__meta { font-size: 0; }
  .cats .cat--s .cat__meta span, .cats .cat--p .cat__meta span { font-size: 14px; }
  .cats .cat--s .cat__body, .cats .cat--p .cat__body { left: 12px; right: 12px; bottom: 12px; }
  .stone__in, .why__in, .faq__in, .contact__in { grid-template-columns: 1fr; }
  .swatches { gap: 10px; }
  .swatches b { font-size: 17px; }
  .swatches span { font-size: 13px; padding: 24px 12px 10px; }
  .why__photo { aspect-ratio: 4 / 3; }
  .facts { grid-template-columns: 1fr; gap: 22px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; }
  .steps li::before { grid-row: span 2; font-size: 34px; margin: 0; }
  .story { margin-top: 48px; }
  .story__row { gap: 8px; }
  .story figcaption { font-size: 14px; }
  .faq summary { font-size: 19px; }
  .info__phone { font-size: 26px; }
  .lb__stage { padding: 0 8px; }
  .lb__nav { display: none; }
  .lb__bottom .btn { width: 100%; }
  .grid { columns: 2 140px; column-gap: 8px; }
  .card { margin-bottom: 8px; }
  .catalog__head { padding: 26px 0 20px; }
  .catalog__end { padding: 24px; margin-bottom: 60px; }
  .catalog__end .btn { width: 100%; }
  .modal { place-items: end center; padding: 0; }
  .modal__box { width: 100%; max-height: 92vh; padding: 30px 20px calc(24px + env(safe-area-inset-bottom)); --b: 0px; }
  .foot { padding-bottom: 110px; }
  .dock { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(238,240,238,.96); box-shadow: 0 -1px 0 var(--vein); backdrop-filter: blur(8px); transform: translateY(110%); transition: transform .35s var(--ease); }
  .dock.is-on { transform: none; }
  .dock .btn { min-height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .hero__line > span { transform: none; }
  .hero__lead, .hero__actions { opacity: 1; }
}
