/* =========================================================
   Harry V. Matlock — gallery
   Все основные цвета и шрифты — в :root, меняйте их здесь.
   ========================================================= */
:root {
  --bg: #ffffff;          /* основной фон */
  --bg-2: #ffffff;        /* фон галереи */
  --bg-3: #f5f2ea;        /* подложки, модалки */
  --cream: #141414;       /* основной текст и кнопки (чёрный) */
  --muted: rgba(20, 20, 20, 0.58);
  --line: rgba(20, 20, 20, 0.16);
  --accent: #b8913f;      /* золото бренда */
  --gold: #c9a24b;
  --navy: #0f1b3c;
  --font: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --header-h: 64px;
  --radius: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.container { width: min(1200px, 100% - 48px); margin: 0 auto; }

/* ---------- HEADER ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 clamp(20px, 6vw, 100px);
  background: linear-gradient(to bottom, rgba(17, 6, 6, 0.85), rgba(17, 6, 6, 0));
  transition: background 0.35s ease;
}
.header.is-solid { background: rgba(17, 6, 6, 0.96); border-bottom: 1px solid var(--line); }
.nav { display: flex; gap: 28px; align-items: center; }
.nav--right { justify-content: flex-end; }
.nav a, .cart-btn {
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0.85; transition: opacity 0.2s;
}
.nav a:hover, .cart-btn:hover { opacity: 1; }
.logo { font-size: 20px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.cart-count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 4px;
  padding: 0 6px; border: 1px solid var(--line); border-radius: 10px; font-size: 12px;
}
.burger { display: none; width: 32px; height: 32px; justify-self: end; position: relative; }
.burger span { position: absolute; left: 4px; right: 4px; height: 1px; background: var(--cream); transition: 0.3s; }
.burger span:first-child { top: 12px; }
.burger span:last-child { top: 20px; }
.burger.is-open span:first-child { top: 16px; transform: rotate(45deg); }
.burger.is-open span:last-child { top: 16px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: #111; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  font-size: 26px; letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  /* Положите картинку зала в images/hero.jpg — вторая ссылка запасная (Тильда) */
  background:
    url("../images/hero.jpg") center / cover no-repeat,
    url("https://static.tildacdn.biz/tila3136-6530-4932-b632-363234663034/Gemini_Generated_Ima.jpeg") center / cover no-repeat,
    radial-gradient(ellipse at 50% 40%, #3a1a14 0%, #110606 70%);
  transform: scale(1.06);
  animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,6,6,0.75) 0%, rgba(17,6,6,0.15) 55%, rgba(17,6,6,0.35) 100%); }
.hero__content { position: relative; padding: 0 clamp(20px, 6vw, 100px); }
.hero__title {
  margin: 0; font-style: italic; font-weight: 500;
  font-size: clamp(48px, 8vw, 112px); line-height: 0.95;
}
.hero__subtitle { margin: 28px 0 0; font-style: italic; font-size: clamp(18px, 2vw, 26px); color: var(--muted); }
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-size: 22px; opacity: 0.6; animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* ---------- SECTIONS ---------- */
.section-title { margin: 0 0 20px; font-weight: 500; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.1; text-align: center; }
.section-descr { max-width: 760px; margin: 0 auto 50px; text-align: center; color: var(--muted); }

.archive { background: var(--bg-2); padding: 120px 0 100px; }

.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 50px; }
.filter {
  padding: 8px 22px; border: 1px solid var(--line); font-size: 16px; letter-spacing: 0.06em;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.filter { text-decoration: none; display: inline-block; }
.filter:hover { border-color: var(--cream); }
.filter.is-active { background: var(--cream); color: #201f1d; border-color: var(--cream); }

/* ---------- GRID / CARDS ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; }
.card { display: flex; flex-direction: column; animation: fadeUp 0.6s ease both; }
.card.is-hidden { display: none; }
.card__img {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-3); cursor: zoom-in;
}
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(.2,.7,.2,1), filter 0.6s; filter: brightness(0.92); }
.card__img:hover img { transform: scale(1.045); filter: brightness(1); }
.card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 18px; }
.card__title { margin: 0; font-size: 22px; font-weight: 500; line-height: 1.2; }
.card__price { white-space: nowrap; font-size: 18px; }
.card__descr {
  margin: 10px 0 0; color: var(--muted); font-style: italic; font-size: 16px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card__actions { display: flex; gap: 10px; margin-top: 18px; }
.badge {
  position: absolute; top: 12px; left: 12px; padding: 3px 10px; font-size: 13px; letter-spacing: 0.08em;
  background: rgba(17,6,6,0.8); text-transform: uppercase;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 22px; font-size: 17px; font-style: italic;
  border: 1px solid var(--cream); color: var(--cream); border-radius: var(--radius);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { background: var(--cream); color: #000; }
.btn--solid { background: var(--cream); color: #201f1d; border-color: var(--cream); }
.btn--solid:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--full { width: 100%; padding: 14px; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

/* ---------- STORY ---------- */
.story { padding: 140px 0; background: radial-gradient(ellipse at 50% 0%, #2a0c0c 0%, var(--bg) 65%); }
.story__inner { max-width: 820px; position: relative; }
.story__quote { display: block; text-align: center; font-size: 120px; line-height: 0.5; opacity: 0.35; margin-bottom: 30px; }
.story__text p { font-size: 21px; margin: 0 0 22px; }
.story__lead { font-style: italic; font-size: 26px !important; text-align: center; margin-bottom: 36px !important; }
.story__final { font-style: italic; text-align: center; margin-top: 36px !important; font-size: 24px !important; }

/* ---------- CTA ---------- */
.cta { padding: 90px 0 110px; text-align: center; border-top: 1px solid var(--line); }
.cta__link { display: inline-block; }
.cta__small { display: block; font-style: italic; color: var(--muted); margin-bottom: 10px; }
.cta__big { display: block; font-size: clamp(54px, 9vw, 120px); line-height: 0.95; font-style: italic; transition: letter-spacing 0.5s; }
.cta__link:hover .cta__big { letter-spacing: 0.03em; }

/* ---------- FOOTER ---------- */
.footer { background: #0b0404; padding: 60px 0 40px; border-top: 1px solid var(--line); }
.footer h3 { margin: 0 0 8px; font-weight: 500; font-size: 20px; }
.footer p { margin: 0; color: var(--muted); }
.footer__bottom { margin-top: 30px !important; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--cream) !important; }
.footer__bottom a { opacity: 0.7; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- MODALS ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__overlay { position: absolute; inset: 0; background: rgba(5, 1, 1, 0.86); backdrop-filter: blur(4px); }
.modal__box {
  position: relative; width: min(520px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--bg-3); border: 1px solid var(--line); padding: 44px 36px 36px;
  transform: translateY(16px); transition: transform 0.35s;
}
.modal.is-open .modal__box { transform: none; }
.modal__box--wide { width: min(1180px, 100%); padding: 36px; }
.modal__box--text { width: min(760px, 100%); }
.modal__close { position: absolute; top: 10px; right: 16px; font-size: 34px; line-height: 1; opacity: 0.7; z-index: 2; }
.modal__close:hover { opacity: 1; }
.modal__title { margin: 0 0 22px; font-size: 32px; font-weight: 500; text-align: center; }
.modal__hint { color: var(--muted); font-style: italic; font-size: 16px; text-align: center; }

/* artwork view */
.art-view { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: start; }
.art-view__img img { width: 100%; max-height: 78vh; object-fit: contain; background: #000; }
.art-view__info h3 { margin: 18px 0 8px; font-size: 34px; font-weight: 500; line-height: 1.15; }
.art-view__price { font-size: 24px; }
.art-view__sku { color: var(--muted); font-size: 14px; letter-spacing: 0.08em; margin: 6px 0 18px; }
.art-view__info p { color: var(--muted); font-style: italic; }
.art-view__actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.art-view__nav { display: flex; justify-content: space-between; margin-top: 34px; padding-top: 16px; border-top: 1px solid var(--line); }
.art-view__nav button, .link-back { font-style: italic; opacity: 0.7; font-size: 16px; padding: 0; }
.art-view__nav button:hover, .link-back:hover { opacity: 1; }
.see-also { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 24px; }
.see-also h4 { margin: 0 0 16px; font-weight: 500; font-size: 22px; }
.see-also__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.see-also__item { cursor: pointer; }
.see-also__item img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: opacity 0.3s; }
.see-also__item:hover img { opacity: 0.8; }
.see-also__item span { display: block; font-size: 15px; margin-top: 6px; }

/* cart */
.cart-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cart-item img { width: 64px; height: 64px; object-fit: cover; }
.cart-item__title { font-size: 18px; line-height: 1.2; }
.cart-item__price { color: var(--muted); font-size: 15px; }
.cart-item__remove { font-size: 22px; opacity: 0.6; }
.cart-item__remove:hover { opacity: 1; }
.cart-empty { text-align: center; color: var(--muted); font-style: italic; padding: 10px 0; }
.cart-total { text-align: right; font-size: 22px; margin-bottom: 8px; }

/* forms */
.form { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 17px;
  background: transparent; color: var(--cream); border: 1px solid var(--line); border-radius: 0; outline: none;
  transition: border-color 0.2s;
}
.form input:focus, .form textarea:focus { border-color: var(--cream); }
.form ::placeholder { color: rgba(244, 241, 234, 0.45); }
.form textarea { resize: vertical; }
.form__note { margin: 0; text-align: center; color: var(--muted); font-size: 14px; font-style: italic; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.checkbox input { margin-top: 4px; accent-color: var(--accent); }
.checkbox a { text-decoration: underline; color: var(--cream); }
.form__success { text-align: center; font-style: italic; font-size: 20px; padding: 20px 0; }

.policy h4 { margin: 26px 0 6px; font-size: 20px; font-weight: 600; }
.policy p, .policy li { color: rgba(244, 241, 234, 0.82); font-size: 17px; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 200; transform: translate(-50%, 20px);
  background: var(--cream); color: #201f1d; padding: 12px 24px; font-style: italic;
  opacity: 0; pointer-events: none; transition: 0.3s;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .art-view { grid-template-columns: 1fr; gap: 20px; }
  .see-also__row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .burger { display: block; }
  .header { grid-template-columns: 1fr auto; }
  .logo { font-size: 17px; }
  .grid { grid-template-columns: 1fr; gap: 48px; }
  .archive, .story { padding: 90px 0; }
  .modal__box, .modal__box--wide { padding: 40px 20px 24px; }
  .story__text p { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---- sections ---- */
.works-section { scroll-margin-top: 90px; margin-bottom: 96px; }
.works-section:last-child { margin-bottom: 0; }
.works-section__head { text-align: center; margin-bottom: 44px; }
.works-section__title { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 8px; }
.works-section__note { color: var(--muted, rgba(244,241,234,.6)); font-style: italic; margin: 0; }
.works-section__head::after { content: ""; display: block; width: 56px; height: 1px; background: currentColor; opacity: .4; margin: 22px auto 0; }


/* =========================================================
   v2 — светлая галерейная тема (белый / чёрный / золото)
   ========================================================= */
body { font-family: var(--font); }
.header { background: transparent; color: #fff; }
.header .nav a, .header .logo { color: #fff; }
.header.is-solid { background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line); }
.header.is-solid .nav a, .header.is-solid .logo { color: var(--cream); }
.burger span { background: #fff; }
.header.is-solid .burger span { background: var(--cream); }
.nav a { font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; }
.logo { display: flex; align-items: center; gap: 10px; justify-self: center; opacity: 0; transition: opacity .4s; pointer-events: none; }
.header.is-solid .logo { opacity: 1; pointer-events: auto; }
.logo img { height: 34px; width: auto; }
.logo span { font-size: 15px; letter-spacing: 0.22em; }
.mobile-menu { background: #fff; color: var(--cream); font-family: var(--font); }

/* hero */
.hero { display: block; background: var(--navy); color: #fff; }
.hero__slides, .hero__slides span { position: absolute; inset: 0; }
.hero__slides span { background-size: cover; background-position: center; opacity: 0; transition: opacity 1.8s ease; transform: scale(1.04); }
.hero__slides span.is-on { opacity: 1; animation: heroZoom 12s ease-out forwards; }
.hero__shade { background: radial-gradient(ellipse at center, rgba(8,12,28,0.25) 0%, rgba(8,12,28,0.62) 100%); }
.hero__center {
  position: absolute; inset: 0 0 56px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 20px;
}
.hero__crest { height: clamp(110px, 20vh, 190px); width: auto; margin-bottom: 22px; filter: drop-shadow(0 2px 14px rgba(0,0,0,.35)); }
.hero__name { margin: 0; font-weight: 500; font-size: clamp(34px, 6.4vw, 84px); letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.05; }
.hero__tag { margin: 18px 0 0; font-family: var(--sans); font-size: clamp(11px, 1.3vw, 15px); letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold); }
.hero__tag--sub { margin-top: 8px; color: rgba(255,255,255,0.8); font-size: clamp(10px, 1.1vw, 13px); }
.hero__bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 56px; background: #0b0b0b;
  display: flex; justify-content: center; align-items: center; gap: clamp(24px, 6vw, 80px);
}
.hero__bar a { font-family: var(--sans); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #fff; opacity: .85; }
.hero__bar a:hover { opacity: 1; color: var(--gold); }

/* gallery — one work at a time */
.archive { padding: 110px 0 40px; }
.section-title { font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; font-size: clamp(26px, 3.4vw, 40px); }
.section-descr { font-size: 19px; }
.filter { border: 0; border-bottom: 1px solid transparent; padding: 6px 4px; margin: 0 16px; font-family: var(--sans); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; }
.filter:hover { border-color: var(--cream); }
.filters { margin-bottom: 20px; }
.works-section { margin-bottom: 40px; }
.works-section__head { margin: 90px 0 30px; }
.works-section__title { font-family: var(--sans); font-size: 12px; letter-spacing: 0.4em; font-weight: 500; color: var(--accent); }
.works-section__note { font-size: 17px; }
.works-section__head::after { background: var(--accent); opacity: 1; width: 40px; }
.grid { display: block; }
.card { align-items: center; text-align: center; margin: 0 auto 130px; max-width: 860px; }
.card__img { aspect-ratio: auto; background: transparent; display: flex; justify-content: center; }
.card__img img { width: auto; max-width: 100%; height: auto; max-height: 78vh; object-fit: contain; filter: none; box-shadow: 0 18px 50px rgba(0,0,0,.14); }
.card__img:hover img { transform: none; filter: none; }
.card__head { flex-direction: column; align-items: center; gap: 6px; margin-top: 28px; }
.card__title { font-size: 26px; font-weight: 500; font-style: italic; margin: 0; }
.card__price { font-family: var(--sans); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.card__descr { max-width: 620px; margin: 14px auto 0; color: var(--muted); }
.card__actions { justify-content: center; margin-top: 22px; }
.btn { font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; padding: 13px 26px; }
.btn:hover { background: var(--cream); color: #fff; }
.btn--solid { color: #fff; }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); }
.badge { background: rgba(255,255,255,.9); color: #141414; }

.story { background: var(--bg-3); }
.story__quote { color: var(--accent); opacity: 1; }
.cta { border-top: 0; }
.cta__big { font-weight: 400; }
.footer { background: #0b0b0b; color: #f4f1ea; }
.footer p { color: rgba(244,241,234,.62); }
.footer__bottom { color: #f4f1ea !important; }
.toast { background: #141414; color: #fff; }
.modal__overlay { background: rgba(10, 10, 14, 0.78); }
.form input, .form textarea { background: #fff; }

@media (max-width: 820px) {
  .hero__bar { gap: 18px; padding: 0 12px; }
  .hero__bar a { font-size: 10px; letter-spacing: .14em; }
  .card { margin-bottom: 90px; }
  .logo { opacity: 1; pointer-events: auto; }
  .logo span { display: none; }
}

/* v2.1 — контраст героя, чистая шапка */
.hero__shade { background: radial-gradient(ellipse at center, rgba(8,12,28,0.50) 0%, rgba(8,12,28,0.72) 100%); }
.hero__crest { height: clamp(130px, 24vh, 220px); filter: drop-shadow(0 2px 18px rgba(0,0,0,.6)); }
.hero__tag { color: #e6c981; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.hero__tag--sub { color: rgba(255,255,255,.9); text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.hero__name { text-shadow: 0 2px 24px rgba(0,0,0,.45); }
@media (min-width: 821px) {
  .header .nav { opacity: 0; pointer-events: none; transition: opacity .4s; }
  .header.is-solid .nav { opacity: 1; pointer-events: auto; }
}


/* =========================================================
   v2.2 — белые окна, кнопки без курсива, форма на странице, подвал
   ========================================================= */
.modal__box, .modal--art .modal__box { background: #fff; border: 1px solid var(--line); }
.art-view__img, .modal__box img { background: #fff; }
.btn, .btn--solid, .filter, .link-back, .art-view__nav button, .cta__link, .cta__link span, .form button, .hero__bar a, .nav a, .modal__close {
  font-style: normal;
}
.btn, .link-back, .art-view__nav button { font-family: var(--sans); }
.link-back, .art-view__nav button { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.art-view__info h3, #artTitle { font-style: italic; }
.art-view__info p { font-style: normal; }

/* story — по центру */
.story__text p { text-align: center; }
.story__inner { max-width: 760px; }

/* CTA + раскрывающаяся форма */
.cta { background: #fff; padding: 100px 0 90px; }
.cta__link { font-family: var(--font); color: var(--cream); cursor: pointer; }
.cta__small { font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
.cta__big { font-style: normal; font-weight: 400; letter-spacing: .02em; }
.cta__link[aria-expanded="true"] .cta__big { color: var(--accent); }
.cta__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s cubic-bezier(.2,.7,.2,1); }
.cta__panel.is-open { grid-template-rows: 1fr; }
.cta__panel-inner { overflow: hidden; width: min(560px, 100% - 40px); margin: 0 auto; text-align: left; }
.cta__panel.is-open .cta__panel-inner { padding-top: 56px; }
.cta__panel .form input, .cta__panel .form textarea { background: #fff; }
.cta__panel .form__success { font-style: normal; font-size: 20px; text-align: center; }

/* footer */
.footer { background: #0b0b0b; padding: 80px 0 34px; border-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 56px; align-items: start; }
.footer__brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer__brand img { height: 86px; width: auto; margin-bottom: 16px; }
.footer__name { font-size: 22px; letter-spacing: .14em; text-transform: uppercase; }
.footer__tag { font-family: var(--sans); font-size: 10px; letter-spacing: .36em; text-transform: uppercase; color: var(--gold); margin-top: 10px; }
.footer__tag--sub { color: rgba(244,241,234,.6); margin-top: 6px; }
.footer__col h3 { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.footer__col p { font-size: 17px; line-height: 1.6; }
.footer__mail { display: inline-block; margin-top: 18px; font-family: var(--sans); font-size: 12px; letter-spacing: .12em; border-bottom: 1px solid rgba(201,162,75,.5); padding-bottom: 3px; }
.footer__mail:hover { color: var(--gold); }
.footer__links { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer__links h3 { margin-bottom: 8px; }
.footer__links a { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.footer__links a:hover { opacity: 1; color: var(--gold); }
.footer__legal { margin-top: 64px; padding-top: 26px; border-top: 1px solid rgba(244,241,234,.14); text-align: center; font-family: var(--sans); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(244,241,234,.5); }
@media (max-width: 820px) {
  .footer__grid { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .footer__links { align-items: center; }
  .footer__col p { max-width: 460px; margin: 0 auto; }
}

[hidden] { display: none !important; }
.form input, .form textarea { color: var(--cream); font-family: var(--sans); font-size: 13px; letter-spacing: .04em; }
.form input::placeholder, .form textarea::placeholder { color: rgba(20,20,20,.45); font-family: var(--sans); }
.checkbox { font-family: var(--sans); font-size: 12px; }
.form input, .form textarea { font-size: 14px !important; }

/* v2.3 — золото в подвале */
.footer__tag, .footer__col h3 {
  background: linear-gradient(100deg, #8f6b24 0%, #d9bb6a 28%, #f3e2a5 50%, #cfa94f 72%, #9a7529 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.footer__mail { border-bottom-color: rgba(217,187,106,.6); }
.footer__mail:hover { color: #e9d28a; }
.footer__links a:hover { color: #e9d28a; }

/* v2.4 — Private Inquiries: плотнее, второе слово курсивом; боковая навигация */
.cta__big { letter-spacing: -.01em; }
.cta__link:hover .cta__big { letter-spacing: -.01em; }
.cta__big em { font-style: italic; }
.sidenav { position: fixed; right: 26px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 18px; align-items: flex-end; opacity: 0; pointer-events: none; transition: opacity .4s; }
.sidenav.is-on { opacity: 1; pointer-events: auto; }
.sidenav a { display: flex; align-items: center; gap: 12px; font-family: var(--sans); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: #8a8a8a; text-decoration: none; transition: color .3s; }
.sidenav a::after { content: ""; width: 14px; height: 1px; background: currentColor; transition: width .3s; }
.sidenav a:hover, .sidenav a.is-active { color: var(--accent); }
.sidenav a.is-active::after { width: 30px; }
@media (max-width: 1100px) { .sidenav { display: none; } }

/* v2.5 — без линии под меню, список работ для заявки, увеличение картины */
.header.is-solid { border-bottom: 0 !important; }
.art-view__img img { cursor: zoom-in; }
.btn.is-picked { background: var(--accent); border-color: var(--accent); color: #fff; }
.pickbar { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 140%); z-index: 45; display: flex; align-items: center; gap: 18px; background: #141414; color: #fff; padding: 12px 14px 12px 24px; max-width: min(760px, calc(100% - 24px)); box-shadow: 0 10px 40px rgba(0,0,0,.25); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.pickbar.is-on { transform: translate(-50%, 0); }
.pickbar__txt { min-width: 0; font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5; }
.pickbar__txt b { display: block; font-weight: 500; color: #d9bb6a; }
.pickbar__txt span { display: block; opacity: .75; text-transform: none; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pickbar .btn--solid { background: #fff; color: #141414; border-color: #fff; white-space: nowrap; }
.pickbar__clear { background: none; border: 0; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; opacity: .6; padding: 0 8px; }
.pickbar__clear:hover { opacity: 1; }
.zoom { position: fixed; inset: 0; z-index: 200; background: #fff; display: none; align-items: center; justify-content: center; cursor: zoom-out; }
.zoom.is-on { display: flex; }
.zoom img { max-width: 96vw; max-height: 96vh; object-fit: contain; }

/* v2.6 — Private Inquiries: одна строка, золотое курсивное второе слово */
.cta__small { color: var(--accent); }
.cta__big { white-space: nowrap; font-size: clamp(34px, 8.2vw, 104px); letter-spacing: -.02em; line-height: 1; color: #141414; }
.cta__big em { color: var(--accent); }
.cta__link:hover .cta__big { letter-spacing: -.02em; }
.cta__link[aria-expanded="true"] .cta__big { color: #141414; }

/* v2.7 — золотой перелив на кнопках, больше воздуха в форме */
.btn--solid:hover, .btn.is-picked, .form button[type="submit"]:hover {
  background: linear-gradient(100deg,#8f6b24,#d9bb6a 28%,#f3e2a5 50%,#cfa94f 72%,#9a7529);
  border-color: #cfa94f; color: #141414;
}
.btn.is-picked:hover { background: linear-gradient(100deg,#8f6b24,#d9bb6a 28%,#f3e2a5 50%,#cfa94f 72%,#9a7529); color: #141414; }
.pickbar .btn--solid:hover { color: #141414; }
.cta { padding: 120px 0 130px; }
.cta__panel-inner { width: min(680px, 100% - 40px); }
.cta__panel.is-open .cta__panel-inner { padding: 96px 36px 24px; }
.cta__panel .form { gap: 26px; }
.cta__panel .form input, .cta__panel .form textarea { padding: 18px 20px; }
.cta__panel .form textarea { min-height: 150px; }
.cta__panel .form button[type="submit"], .cta__panel .form .btn { margin-top: 14px; padding: 18px 26px; }
.pickbar { visibility: hidden; transition: transform .45s cubic-bezier(.2,.7,.2,1), visibility 0s .45s; }
.pickbar.is-on { visibility: visible; transition: transform .45s cubic-bezier(.2,.7,.2,1), visibility 0s; }

/* v2.8 — без рамки у золотой кнопки, «Inquiries» золотым переливом */
.btn--solid:hover, .btn.is-picked, .btn.is-picked:hover, .form button[type="submit"]:hover { border-color: transparent; background-origin: border-box; }
.cta__big em {
  display: inline-block; padding-right: .08em; margin-right: -.08em;
  background: linear-gradient(100deg,#8f6b24,#d9bb6a 28%,#f3e2a5 50%,#cfa94f 72%,#9a7529);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}

/* v2.9 — у залитых кнопок нет рамки, без «мигания» при смене на золото */
.btn--solid { border: 0 !important; padding: 14px 27px; transition: none; }
.btn--solid.btn--full { padding: 15px; }
.pickbar .btn--solid { background: #fff; }
.pickbar .btn--solid:hover { background: linear-gradient(100deg,#8f6b24,#d9bb6a 28%,#f3e2a5 50%,#cfa94f 72%,#9a7529); }

/* v3.0 — крупная работа в каталоге */
.card--big { max-width: 1000px; }
.card--big .card__img img { max-height: 94vh; }

/* v3.1 — кнопки: розовое золото */
.btn--solid:hover, .btn.is-picked, .btn.is-picked:hover, .form button[type="submit"]:hover, .pickbar .btn--solid:hover {
  background: linear-gradient(100deg,#9a5b44,#e3b08f 28%,#f7d9c0 50%,#c98b6b 72%,#8a4e3a);
  background-origin: border-box; color: #141414;
}

/* v3.2 — золото «тиснение фольгой» как на логотипе: тёплое шампанское + мелкая фактура */
:root {
  --foil-noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0.25  0 0 0 0 0.18  0 0 0 0 0.08  0 0 0 1.1 -0.38'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --foil: linear-gradient(105deg,#8a6f48 0%,#b79a70 20%,#e9d3a6 42%,#f6e2b8 50%,#c9ad84 64%,#9c845e 82%,#b99d72 100%);
}
.btn--solid:hover, .btn.is-picked, .btn.is-picked:hover, .form button[type="submit"]:hover, .pickbar .btn--solid:hover {
  background: var(--foil-noise), var(--foil); background-size: 160px 160px, 100% 100%; background-origin: border-box; color: #2a2112;
}
.cta__big em {
  background: var(--foil-noise), var(--foil); background-size: 160px 160px, 100% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.footer__tag, .footer__col h3 { background-image: var(--foil-noise), var(--foil); background-size: 160px 160px, 100% 100%; }

/* v3.4 — слайды главного экрана без зума */
.hero__slides span, .hero__slides span.is-on { transform: none !important; animation: none !important; }

/* v3.5 — шапка чуть прозрачнее */
.header.is-solid { background: rgba(255,255,255,0.88) !important; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* v3.6 — боковое меню разделов: вертикальные надписи; кавычка над «The Architect» с золотым тиснением */
.sidenav { right: 18px; gap: 38px; align-items: center; }
.sidenav a { writing-mode: vertical-rl; font-size: 11px; letter-spacing: .3em; gap: 12px; }
.sidenav a::after { width: 1px; height: 14px; }
.sidenav a.is-active::after { width: 1px; height: 30px; }
.sidenav a.is-active { color: var(--accent); }
.story__quote { display: block; width: fit-content; margin: 0 auto 30px; padding: .12em .1em 0; line-height: .75; opacity: 1;
  background: var(--foil-noise), var(--foil); background-size: 160px 160px, 100% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* v3.7 — боковое меню видно и на узких окнах */
@media (max-width: 1100px) { .sidenav { display: flex; } }
@media (max-width: 560px) { .sidenav { right: 6px; gap: 26px; } .sidenav a { font-size: 10px; letter-spacing: .24em; } }

/* v4.0 — разделы: первый открыт, остальные раскрываются по клику */
.works-section { margin-bottom: 0; border-top: 1px solid var(--line); }
.works-section:last-child { border-bottom: 1px solid var(--line); }
.works-section__head { display: flex; flex-direction: column; align-items: center; width: 100%; margin: 0; padding: 54px 20px 44px; background: none; border: 0; cursor: pointer; color: var(--cream); text-align: center; }
.works-section__head::after { display: none; }
.works-section__title { font-family: var(--font); font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: .04em; text-transform: none; font-weight: 400; color: var(--cream); margin: 0 0 8px; transition: color .3s; }
.works-section__head:hover .works-section__title { color: var(--accent); }
.works-section__note { font-family: var(--font); font-style: italic; font-size: 18px; color: var(--muted); }
.works-section__count { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; font-family: var(--sans); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }
.works-section__sign { position: relative; width: 14px; height: 14px; display: inline-block; }
.works-section__sign::before, .works-section__sign::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; }
.works-section__sign::after { transform: rotate(90deg); transition: transform .4s; }
.works-section.is-open .works-section__sign::after { transform: rotate(0); }
.works-section__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s cubic-bezier(.2,.7,.2,1); }
.works-section.is-open .works-section__body { grid-template-rows: 1fr; }
.works-section__inner { overflow: hidden; min-height: 0; }
.works-section.is-open .works-section__inner { padding-top: 30px; padding-bottom: 60px; }

/* v4.1 — без линии над «Whispered Phrases» и под «Quiet Collection» */
#section-phrases { border-top: 0; }
#section-quiet { border-bottom: 0 !important; }

/* v4.2 — без полосы прокрутки */
html, body, .modal__box, .modal { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar, .modal__box::-webkit-scrollbar, .modal::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* v4.3 — «Цитадель» чуть меньше; без линии перед первым разделом */
.card--big { max-width: 860px; }
.card--big .card__img img { max-height: 84vh; }
#section-visions { border-top: 0; }

/* v4.4 — короткие линии между разделами, по центру */
.works-section, .works-section:last-child { border-top: 0 !important; border-bottom: 0 !important; }
#section-wanderers::before, #section-quiet::before { content: ""; display: block; width: min(640px, 80%); height: 1px; background: var(--line); margin: 0 auto; }

/* v4.5 — текст политики конфиденциальности читаем на белом */
.policy p, .policy li { color: rgba(20,20,20,.82); }
.policy h4, .modal h2, .modal h3 { color: var(--cream); }
.policy a { color: var(--accent); text-decoration: underline; }
