/* ============================================================
   1’MORE — стили
   Порядок: токены → база → шапка → первый экран → секции →
            карточки → каталог → товар → корзина → футер → движение
   ============================================================ */

/* ---------- Токены ---------- */
:root {
  --bg:      #F3EFE9;   /* молочный — фон всего сайта */
  --bg-2:    #ECE6DD;
  --sand:    #E4DCD0;
  --ink:     #1A1816;
  --ink-2:   #4A433D;
  --muted:   #8A8178;
  --line:    rgba(26, 24, 22, .12);
  --line-2:  rgba(26, 24, 22, .22);
  --cocoa:   #5A4A3F;
  --sale:    #9B5B45;

  --font:  'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;

  --gutter: clamp(16px, 3.2vw, 44px);
  --header-h: 64px;
  /* длинное «мягкое» торможение — главный источник ощущения плавности */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; }
body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--bg); }

.container { width: 100%; padding-inline: var(--gutter); margin-inline: auto; max-width: 1680px; }

.eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin: 0;
}
.serif { font-family: var(--serif); font-weight: 300; font-style: italic; letter-spacing: 0; }

/* ссылка с линией, которая «перетекает» слева направо при наведении */
.link-line {
  position: relative; display: inline-block; padding-bottom: 4px;
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
}
.link-line::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform-origin: right; transition: transform .7s var(--ease);
}
.link-line:hover::after { transform: scaleX(0); }
.link-line:hover::before { transform: scaleX(1); }
.link-line::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease) .25s;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px; width: 100%;
  background: var(--ink); color: var(--bg);
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  transition: background .4s var(--ease), color .4s var(--ease), opacity .3s;
}
.btn:hover { background: var(--cocoa); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* ---------- Заглушка под фото ----------
   Пока у товара нет фото, показываем мягкий градиент в тон цвета товара
   и прозрачную монограмму. Фото, когда появится, ложится сверху. */
.ph {
  --tone: #CDBFAF;
  /* тон слегка притемнён какао — иначе молочные вещи сливаются с фоном */
  position: relative; overflow: hidden; background-color: color-mix(in srgb, var(--tone) 84%, #5A4A3F);
  background-image:
    radial-gradient(120% 85% at 28% 18%, color-mix(in srgb, var(--tone) 55%, #fff) 0%, transparent 60%),
    radial-gradient(90% 70% at 80% 100%, color-mix(in srgb, var(--tone) 75%, #000) 0%, transparent 70%);
}
.ph::before {
  content: ''; position: absolute; inset: 0; margin: auto; width: 22%; aspect-ratio: 1;
  background: url("../img/mark.svg") center / contain no-repeat;
  opacity: .14; mix-blend-mode: multiply;
}
.ph img, .ph video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
}

/* ---------- Шапка ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: var(--gutter);
  color: var(--ink);
  transition: transform .8s var(--ease), background .5s var(--ease), color .5s var(--ease), box-shadow .5s;
}
/* над первым экраном шапка прозрачная и светлая */
body[data-page="home"] .header:not(.is-solid) { color: var(--bg); }
.header.is-solid {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-hidden { transform: translateY(-100%); }

.header-nav { display: flex; gap: 30px; }
.header-nav a, .header-cart, .header-burger {
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
}
.header-nav a { opacity: .9; transition: opacity .3s; }
.header-nav a:hover { opacity: .5; }
.header-logo { justify-self: center; display: block; }
.header-logo svg { height: 17px; width: auto; }
.header-right { justify-self: end; display: flex; gap: 26px; align-items: center; }
.header-cart b { font-weight: 500; display: inline-block; min-width: 1ch; }
.header-burger { display: none; }

/* мобильное меню — полноэкранное, крупный тонкий шрифт */
.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease-io); visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-close { position: absolute; top: 22px; right: var(--gutter); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.menu-links a { display: block; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 44px; line-height: 1.25; }
.menu-foot { display: flex; gap: 20px; font-size: 12px; color: var(--muted); }

/* ---------- Первый экран ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; color: var(--bg); overflow: hidden; }
.hero-media { position: absolute; inset: 0; --tone: #A89482; }
.hero-media.ph::before { display: none; }
.hero-media > * { transform: scale(1.12); transition: transform 2.6s var(--ease); }
.hero-media.ph { transform: scale(1.12); transition: transform 2.6s var(--ease); }
.is-loaded .hero-media.ph, .is-loaded .hero-media > * { transform: none; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,14,.18) 0%, rgba(20,16,14,0) 30%, rgba(20,16,14,0) 55%, rgba(20,16,14,.38) 100%); }

.hero-top { position: absolute; top: calc(var(--header-h) + 18px); left: 0; right: 0; display: flex; justify-content: space-between; }
.hero-top .eyebrow { color: inherit; opacity: .85; }
.hero-bottom {
  /* над словом-логотипом: его высота = ширина × 126/472 (пропорции viewBox) */
  position: absolute; left: 0; right: 0;
  bottom: calc((100vw - 2 * var(--gutter)) * .267 + clamp(20px, 3vw, 44px) + clamp(18px, 2.4vw, 36px));
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
}
.hero-line { font-size: clamp(30px, 4.4vw, 64px); line-height: 1; margin: 0; }
.hero-word { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(20px, 3vw, 44px); }
.hero-word svg { width: 100%; height: auto; }
/* слово «проявляется» снизу вверх по маске */
.hero-word svg, .hero-line, .hero-bottom .link-line, .hero-top .eyebrow {
  clip-path: inset(0 0 100% 0); transform: translateY(24px);
  transition: clip-path 1.6s var(--ease), transform 1.6s var(--ease);
}
.is-loaded .hero-word svg, .is-loaded .hero-line, .is-loaded .hero-bottom .link-line, .is-loaded .hero-top .eyebrow {
  clip-path: inset(0 0 0 0); transform: none;
}
.is-loaded .hero-line { transition-delay: .35s; }
.is-loaded .hero-bottom .link-line { transition-delay: .5s; }
.is-loaded .hero-top .eyebrow { transition-delay: .6s; }

/* ---------- Секции ---------- */
.section { padding-block: clamp(80px, 11vw, 180px); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: clamp(28px, 4vw, 56px); }
.section-title { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(34px, 4.6vw, 72px); line-height: 1; margin: 10px 0 0; }

.intro { padding-block: clamp(90px, 13vw, 210px); }
.intro p:not(.eyebrow) {
  max-width: 1100px; margin: 0 auto; text-align: center;
  font-size: clamp(22px, 2.6vw, 40px); font-weight: 300; line-height: 1.32; letter-spacing: -.01em;
}
.intro p em { font-family: var(--serif); font-weight: 300; font-size: 1.12em; }
.intro .eyebrow { text-align: center; margin-bottom: 28px; }

/* категории: четыре высокие плитки */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1vw, 16px); }
.cat { display: block; }
.cat-media { aspect-ratio: 3 / 4.2; }
.cat-media > *, .cat-media.ph { transition: transform 1.4s var(--ease); }
.cat:hover .cat-media img { transform: scale(1.04); }
.cat-name { display: flex; justify-content: space-between; padding-top: 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.cat-name span:last-child { color: var(--muted); }

/* редакционный блок: большое фото + текст */
.edit { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 5vw, 96px); align-items: center; }
.edit-media { aspect-ratio: 4 / 5; --tone: #8C7766; }
.edit-text { max-width: 440px; }
.edit-text .section-title { margin-bottom: 26px; }
.edit-text p { color: var(--ink-2); margin: 0 0 34px; }

/* бегущая строка: медленная, тонкая */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 22px; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(26px, 3vw, 44px); padding-inline: 28px; white-space: nowrap; }
.marquee-track span.dot { padding-inline: 0; opacity: .35; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Карточки товара ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 48px) clamp(8px, 1vw, 16px); }
.card { display: block; }
.card-media { aspect-ratio: 3 / 4; }
.card-media img { transition: opacity .8s var(--ease), transform 1.6s var(--ease); }
.card-media img.alt { opacity: 0; }
.card:hover .card-media img.alt { opacity: 1; }
.card:hover .card-media img { transform: scale(1.03); }
/* вторая заглушка-тон при наведении, когда фото ещё нет */
.card-media::after {
  content: ''; position: absolute; inset: 0; background: var(--tone2, transparent);
  opacity: 0; transition: opacity .8s var(--ease);
}
.card:hover .card-media.no-photo::after { opacity: .35; }
.card-tag { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); background: var(--bg); padding: 4px 8px; }
.card-meta { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; font-size: 13px; }
.card-name { font-weight: 400; }
.card-price { white-space: nowrap; }
.card-price s { color: var(--muted); margin-right: 6px; }
.card-price .is-sale { color: var(--sale); }
.card-colors { display: flex; gap: 6px; margin-top: 8px; }
.swatch-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }

/* ---------- Каталог ---------- */
.page-top { padding-top: calc(var(--header-h) + clamp(48px, 7vw, 110px)); }
.catalog-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 22px; margin-bottom: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  height: 34px; padding: 0 16px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s;
}
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip.is-active { background: var(--ink); color: var(--bg); box-shadow: none; }
.sort { appearance: none; border: 0; background: transparent; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 8px 18px 8px 0; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 5px center, right 0 center; background-size: 5px 5px; background-repeat: no-repeat; }
.empty { padding: 80px 0; text-align: center; color: var(--muted); }

/* ---------- Товар ---------- */
.product { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 80px); padding-top: var(--header-h); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gallery .shot { aspect-ratio: 3 / 4; }
.gallery .shot:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
.pinfo { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; padding-block: clamp(32px, 6vw, 90px) 40px; max-width: 460px; }
.crumbs { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--ink); }
.pname { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(36px, 3.6vw, 56px); line-height: 1.02; margin: 0 0 14px; }
.pprice { font-size: 17px; margin-bottom: 34px; }
.pprice s { color: var(--muted); margin-right: 10px; font-size: 15px; }
.opt { margin-bottom: 26px; }
.opt-label { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.opt-label b { color: var(--ink); font-weight: 500; }
.colors { display: flex; gap: 10px; }
.color-btn { width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); outline: 1px solid transparent; outline-offset: 4px; transition: outline-color .3s; }
.color-btn.is-active { outline-color: var(--ink); }
.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.size-btn { height: 46px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; transition: background .3s, color .3s, box-shadow .3s; }
.size-btn:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.size-btn.is-active { background: var(--ink); color: var(--bg); }
.size-btn.shake { animation: shake .5s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.hint { min-height: 20px; font-size: 12px; color: var(--sale); margin: 10px 0 0; }
.add-row { margin-top: 8px; }

.acc { border-top: 1px solid var(--line); margin-top: 40px; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; padding: 18px 0; cursor: pointer; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 16px; line-height: 1; transition: transform .5s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .acc-body { padding: 0 0 22px; color: var(--ink-2); font-size: 14px; }
.acc table { width: 100%; border-collapse: collapse; font-size: 13px; }
.acc td, .acc th { text-align: left; padding: 6px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.acc th { color: var(--muted); }

.related { padding-block: clamp(80px, 10vw, 160px) 0; }

/* ---------- Корзина ---------- */
.drawer-veil { position: fixed; inset: 0; z-index: 70; background: rgba(26,24,22,.28); opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 71; width: min(460px, 100%);
  background: var(--bg); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .9s var(--ease);
}
.cart-open .drawer-veil { opacity: 1; visibility: visible; }
.cart-open .drawer { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; height: var(--header-h); padding-inline: 24px; border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; overscroll-behavior: contain; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.drawer-total { display: flex; justify-content: space-between; margin-bottom: 16px; font-size: 15px; }
.drawer-empty { padding: 60px 0; text-align: center; color: var(--muted); }
.drawer-empty .serif { display: block; font-size: 30px; color: var(--ink); margin-bottom: 8px; }

.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.line-media { aspect-ratio: 3 / 4; }
.line-media::before { width: 40%; }
.line-name { font-size: 14px; margin-bottom: 4px; }
.line-opt { font-size: 12px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; gap: 14px; margin-top: 12px; box-shadow: inset 0 0 0 1px var(--line-2); height: 32px; padding-inline: 12px; font-size: 13px; }
.qty button { width: 14px; }
.line-side { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; font-size: 14px; }
.line-remove { font-size: 11px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.line-remove:hover { color: var(--ink); }

.form { display: grid; gap: 14px; padding-block: 20px; }
.field label { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; height: 46px; padding: 0 14px; background: transparent; border: 0; border-radius: 0;
  box-shadow: inset 0 0 0 1px var(--line-2); outline: none; transition: box-shadow .3s;
}
.field textarea { height: 84px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: inset 0 0 0 1px var(--ink); }
.field.is-error input { box-shadow: inset 0 0 0 1px var(--sale); }
.back-link { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.done { padding: 60px 0; text-align: center; }
.done .serif { font-size: 40px; display: block; margin-bottom: 12px; }
.done p { color: var(--ink-2); margin: 0 0 26px; }

/* ---------- Футер ---------- */
.footer { margin-top: clamp(90px, 12vw, 200px); background: var(--ink); color: var(--bg); padding-top: clamp(56px, 7vw, 100px); }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: clamp(56px, 8vw, 120px); }
.footer-cols p { margin: 0; max-width: 300px; opacity: .7; }
.footer-cols h4 { margin: 0 0 16px; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; opacity: .5; }
.footer-cols a { display: block; padding-block: 3px; opacity: .9; transition: opacity .3s; }
.footer-cols a:hover { opacity: .5; }
.footer-word { padding-bottom: clamp(16px, 2.4vw, 36px); }
.footer-word svg { width: 100%; height: auto; }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; padding-block: 18px 24px; border-top: 1px solid rgba(243,239,233,.14); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; opacity: .55; }

/* ---------- Движение ---------- */
/* Элементы плавно поднимаются при появлении в кадре. Класс .reveal добавлен
   в разметке, .is-in ставит IntersectionObserver из core.js. Без JS
   (js-класс не поставлен) всё видно сразу. */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.3s var(--ease), transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* фото раскрываются шторкой снизу */
.js .reveal-media { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal-media.is-in { clip-path: inset(0 0 0 0); }

/* переход между страницами — молочная шторка */
.page-veil { position: fixed; inset: 0; z-index: 100; background: var(--bg); pointer-events: none; opacity: 1; transition: opacity .7s var(--ease); }
.is-loaded .page-veil { opacity: 0; }
.is-leaving .page-veil { opacity: 1; transition-duration: .45s; }

/* Lenis: обязательные правила плавной прокрутки */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee-track { animation: none; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .header-nav, .header-right .header-hide-m { display: none; }
  .header-burger { display: block; justify-self: start; }
  .header { grid-template-columns: 1fr auto 1fr; }
  .cats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .edit { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; gap: 0; }
  /* на телефоне галерея листается пальцем, а не столбиком */
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery .shot, .gallery .shot:first-child { flex: 0 0 100%; aspect-ratio: 3 / 4; scroll-snap-align: start; }
  .pinfo { position: static; padding-top: 28px; max-width: none; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  body { font-size: 14px; }
  .grid { column-gap: 8px; }
  .card-meta { flex-direction: column; gap: 2px; font-size: 12px; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; }
}
