/*
Theme Name: LANOTTI One
Theme URI: https://lanotti-opt.ru/
Author: LANOTTI
Author URI: https://lanotti-opt.ru/
Description: Премиальная одностраничная тема для бренда сумок и аксессуаров LANOTTI. Адаптивный дизайн, SEO-разметка, юридические документы, настройки безопасности и интеграция с Яндекс Вебмастером.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: lanotti-one
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, custom-logo, featured-images, full-width-template, accessibility-ready
*/

:root {
  --ink: #11100f;
  --ink-soft: #302d29;
  --canvas: #f7f4ef;
  --paper: #ece6dd;
  --paper-deep: #ded4c7;
  --white: #fff;
  --wine: #5c1026;
  --wine-deep: #3c0918;
  --rose: #c9a8ae;
  --gold: #a98763;
  --muted: #6e675f;
  --line: rgba(17, 16, 15, .15);
  --line-light: rgba(255, 255, 255, .16);
  --display: "Bodoni MT", Didot, "Didot LT STD", "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shell: min(1360px, calc(100vw - 72px));
  --header-height: 92px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header { top: 32px; }
body.nav-is-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .24em; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

::selection { color: var(--white); background: var(--wine); }

:focus-visible {
  outline: 2px solid #b93058;
  outline-offset: 4px;
}

.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: clamp(88px, 8.5vw, 132px); }
.section--soft { background: var(--paper); }
.section--dark { color: var(--white); background: var(--ink); }

.skip-link {
  position: fixed;
  z-index: 99999;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--wine);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background-color .28s ease, border-color .28s ease, min-height .28s ease;
}

.site-header.is-scrolled,
.site-header.nav-open {
  min-height: 74px;
  border-color: var(--line);
  background: rgba(247, 244, 239, .94);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: inherit;
  gap: 42px;
}

.brand {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  width: 164px;
  text-decoration: none;
}
.brand img {
  width: 100%;
  height: auto;
  filter: contrast(1.06);
  mix-blend-mode: multiply;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.1vw, 36px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.site-nav a { position: relative; text-decoration: none; }
.site-nav a:not(.nav-shop)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.site-nav a:not(.nav-shop):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-shop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--ink);
}
.nav-shop span { transition: transform .2s ease; }
.nav-shop:hover span { transform: translate(2px, -2px); }

.menu-toggle {
  position: relative;
  z-index: 3;
  display: none;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 24px;
  height: 1px;
  background: var(--ink);
  transition: top .2s ease, transform .2s ease, opacity .2s ease;
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle span:nth-child(3) { top: 30px; }
.nav-open .menu-toggle span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: max(720px, 100svh);
  overflow: hidden;
  background: #d7c3a8;
}
.hero__media,
.hero__media picture,
.hero__media img,
.hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: center; }
.hero__shade {
  z-index: 1;
  background: linear-gradient(90deg, rgba(240,229,212,.98) 0%, rgba(240,229,212,.91) 29%, rgba(240,229,212,.43) 48%, rgba(240,229,212,0) 68%);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-height) + 42px);
  padding-bottom: 62px;
}
.eyebrow,
.section-index {
  margin: 0 0 26px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .23em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 13px; }
.eyebrow::before { width: 32px; height: 1px; content: ""; background: currentColor; }
.hero h1,
.section h2,
.error-page h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: .91;
  letter-spacing: -.045em;
}
.hero h1 { max-width: 810px; font-size: clamp(62px, 7.5vw, 116px); }
.hero h1 em,
.section h2 em,
.error-page h1 em { color: var(--wine); font-weight: 400; }
.hero__lead {
  max-width: 570px;
  margin: 32px 0 0;
  color: #2b2824;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.5;
}
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 25px;
  border: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--dark { color: var(--white); background: var(--ink); }
.button--dark:hover { border-color: var(--wine); background: var(--wine); }
.button--ghost { background: rgba(255,255,255,.14); }
.button--ghost:hover { color: var(--white); background: var(--wine); border-color: var(--wine); }
.button--ghost span { margin-left: 10px; }
.hero__notes { display: grid; width: max-content; max-width: 100%; gap: 7px; margin-top: 34px; }
.hero__note { display: flex; align-items: center; gap: 11px; margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hero__note span { width: 6px; height: 6px; border-radius: 50%; background: var(--wine); box-shadow: 0 0 0 5px rgba(92,16,38,.11); }
.hero__audience { margin: 0; padding-left: 17px; color: #625b53; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }

.manifesto__grid,
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr);
  align-items: start;
  gap: clamp(48px, 8vw, 132px);
}
.section h2 { font-size: clamp(52px, 5.7vw, 91px); }
.manifesto__copy { padding-top: 34px; }
.lead { margin-top: 0; font-family: var(--display); font-size: clamp(25px, 2.15vw, 34px); line-height: 1.28; letter-spacing: -.025em; }
.manifesto__copy > p:not(.lead) { max-width: 570px; color: var(--muted); }
.text-link { display: inline-block; margin-top: 25px; border-bottom: 1px solid currentColor; font-size: 11px; font-weight: 650; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.text-link span { display: inline-block; margin-left: 8px; transition: transform .2s ease; }
.text-link:hover span { transform: translate(2px, -2px); }

.brand-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(58px, 6.5vw, 96px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.brand-values article { min-height: 238px; padding: 29px clamp(24px, 3vw, 44px) 34px; border-right: 1px solid var(--line); }
.brand-values article:first-child { padding-left: 0; }
.brand-values article:last-child { padding-right: 0; border-right: 0; }
.brand-values article > span { color: var(--wine); font-size: 9px; letter-spacing: .18em; }
.brand-values h3 { margin: 48px 0 10px; font-family: var(--display); font-size: clamp(30px, 2.8vw, 42px); font-weight: 400; line-height: 1; }
.brand-values p { max-width: 310px; margin: 0; color: var(--muted); font-size: 14px; }

.section-heading { align-items: end; }
.section-heading > p { max-width: 480px; margin: 0 0 7px; color: var(--muted); }
.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(300px, .67fr);
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(60px, 7vw, 104px);
}
.editorial-card { display: block; text-decoration: none; }
.editorial-card--brown { margin-bottom: clamp(0px, 4vw, 56px); }
.editorial-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper-deep); transition: filter .35s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.editorial-card { overflow: hidden; }
.editorial-card:hover img { filter: saturate(.9) contrast(1.03); transform: scale(1.012); }
.editorial-card__caption { position: relative; display: flex; justify-content: space-between; gap: 20px; padding: 15px 0 0; border-top: 1px solid var(--line); background: var(--paper); }
.editorial-card__caption > span { font-family: var(--display); font-size: 21px; }
.editorial-card__caption small { padding-top: 4px; font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }

.quality__layout {
  display: grid;
  grid-template-columns: minmax(300px, .84fr) minmax(0, 1.16fr);
  gap: clamp(58px, 9vw, 144px);
}
.quality__title { position: sticky; top: 118px; align-self: start; }
.quality__title p:last-child { max-width: 430px; margin-top: 34px; color: rgba(255,255,255,.55); }
.quality__title h2 em { color: var(--rose); }
.quality-list article { display: grid; grid-template-columns: 48px 1fr; gap: 28px; padding: 39px 0 44px; border-top: 1px solid var(--line-light); }
.quality-list article:last-child { border-bottom: 1px solid var(--line-light); }
.quality-list article > span { padding-top: 7px; color: var(--rose); font-size: 9px; letter-spacing: .18em; }
.quality-list h3 { margin: 0 0 11px; font-family: var(--display); font-size: clamp(32px, 3.2vw, 48px); font-weight: 400; line-height: 1.04; }
.quality-list p { max-width: 590px; margin: 0; color: rgba(255,255,255,.55); }

.condition-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: clamp(58px, 7vw, 102px); border: 1px solid var(--line); }
.condition-card { display: flex; flex-direction: column; min-height: 600px; padding: clamp(34px, 4.5vw, 66px); background: var(--canvas); }
.condition-card + .condition-card { border-left: 1px solid var(--line); }
.condition-card--wine { color: var(--white); background: var(--wine); }
.condition-card__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.condition-card--wine .condition-card__top { border-color: rgba(255,255,255,.25); }
.condition-card__top span { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.condition-card__top strong { padding: 7px 11px; border: 1px solid currentColor; border-radius: 100px; font-size: 11px; font-weight: 600; letter-spacing: .12em; }
.condition-card h3 { margin: 42px 0 13px; font-family: var(--display); font-size: clamp(39px, 4vw, 58px); font-weight: 400; line-height: 1; }
.condition-card__intro { max-width: 510px; min-height: 52px; margin: 0; color: var(--muted); }
.condition-card--wine .condition-card__intro { color: rgba(255,255,255,.68); }
.condition-steps { display: grid; gap: 0; margin: 36px 0 0; padding: 0; list-style: none; }
.condition-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.condition-card--wine .condition-steps li { border-color: rgba(255,255,255,.18); }
.condition-steps li > span { padding-top: 4px; color: var(--wine); font-size: 9px; letter-spacing: .14em; }
.condition-card--wine .condition-steps li > span { color: var(--rose); }
.condition-steps p { margin: 0; font-size: 14px; }
.condition-card__action { align-self: flex-start; margin-top: auto; padding-top: 30px; border-bottom: 1px solid currentColor; font-size: 10px; font-weight: 650; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; }
.condition-card__action span { display: inline-block; margin-left: 8px; transition: transform .2s ease; }
.condition-card__action:hover span { transform: translateX(4px); }
.legal-note { margin-top: 20px; color: var(--muted); font-size: 11px; line-height: 1.55; }

.atelier__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(52px, 8vw, 128px); }
.atelier__image { overflow: hidden; }
.atelier__image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.atelier__content { max-width: 570px; }
.atelier__content h2 { margin-bottom: 38px; }
.atelier__content > .lead { color: var(--ink-soft); }
.atelier-list { display: grid; margin: 38px 0 42px; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.atelier-list li { display: grid; grid-template-columns: 35px 1fr; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 13px; letter-spacing: .035em; }
.atelier-list span { color: var(--wine); font-size: 9px; letter-spacing: .14em; }

.contacts { padding-bottom: 0; }
.contacts__heading { margin-bottom: clamp(54px, 6.5vw, 92px); }
.contacts__heading h2 em { color: var(--rose); }
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; }
.contact-card { display: flex; flex-direction: column; min-height: 390px; padding: clamp(36px, 4.5vw, 62px); color: var(--ink); background: var(--paper); }
.contact-card--accent { color: var(--white); background: var(--wine); }
.contact-card__role { margin: 0; font-size: 9px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.contact-card h3 { margin: 48px 0 28px; font-family: var(--display); font-size: clamp(42px, 4.4vw, 62px); font-weight: 400; line-height: .95; }
.contact-card a { align-self: flex-start; margin-top: auto; border-bottom: 1px solid currentColor; font-size: 17px; font-weight: 500; text-decoration: none; }
.contact-strip { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; padding: 44px 0; border-bottom: 1px solid var(--line-light); }
.contact-strip > a { font-size: 18px; text-decoration: none; }
.contact-strip > a > span { display: block; margin-bottom: 6px; color: rgba(255,255,255,.45); font-size: 9px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.social-row { display: flex; gap: 26px; }
.social-row a { font-size: 10px; font-weight: 650; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.requisites { padding: 0 0 64px; }
.requisites details { border-bottom: 1px solid var(--line-light); }
.requisites summary { display: flex; justify-content: space-between; align-items: center; padding: 27px 0; cursor: pointer; list-style: none; }
.requisites summary::-webkit-details-marker { display: none; }
.requisites summary > span { font-family: var(--display); font-size: 24px; line-height: 1; }
.requisites summary small { display: block; margin-bottom: 6px; color: rgba(255,255,255,.42); font-family: var(--sans); font-size: 8px; letter-spacing: .2em; text-transform: uppercase; }
.requisites summary i { font-family: var(--display); font-size: 29px; font-style: normal; font-weight: 400; transition: transform .2s ease; }
.requisites details[open] summary i { transform: rotate(45deg); }
.requisites dl { display: grid; grid-template-columns: 1.3fr .7fr; gap: 0 60px; margin: 0; padding: 7px 0 30px; }
.requisites dl div { padding: 17px 0; border-top: 1px solid var(--line-light); }
.requisites dt { margin-bottom: 5px; color: rgba(255,255,255,.42); font-size: 8px; letter-spacing: .17em; text-transform: uppercase; }
.requisites dd { margin: 0; font-size: 14px; }
.requisites__note { margin: -5px 0 32px; color: rgba(255,255,255,.4); font-size: 10px; }

.site-footer { color: var(--white); background: var(--ink); }
.site-footer__inner { display: grid; grid-template-columns: 1.05fr .62fr 1.15fr .95fr; align-items: end; gap: 38px; padding-block: 45px; border-top: 1px solid var(--line-light); }
.site-footer p { margin: 0; color: rgba(255,255,255,.43); font-size: 10px; }
.footer-logo { display: block; width: 148px; margin-bottom: 13px; text-decoration: none; }
.footer-logo img { width: 100%; height: auto; filter: brightness(0) invert(1); opacity: .94; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer nav a { font-size: 9px; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.site-footer .footer-legal { display: grid; gap: 8px; }
.site-footer .footer-legal a { width: max-content; max-width: 100%; color: rgba(255,255,255,.56); font-size: 8px; letter-spacing: .08em; text-transform: none; transition: color .2s ease; }
.site-footer .footer-legal a:hover { color: var(--white); }
.footer-meta { text-align: right; }
.site-credit { margin-top: 7px !important; }
.site-credit a { color: rgba(255,255,255,.72); text-decoration: none; }
.site-credit a:hover { color: var(--white); }

body.legal-dialog-is-open { overflow: hidden; }
.legal-dialog {
  width: min(920px, calc(100vw - 36px));
  max-width: none;
  max-height: min(88svh, 900px);
  margin: auto;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  overflow: visible;
}
.legal-dialog::backdrop { background: rgba(8,7,6,.72); backdrop-filter: blur(9px); }
.legal-dialog:target:not([open]) { display: block; position: fixed; inset: 6svh 0 auto; z-index: 9999; }
.legal-dialog__panel { display: grid; grid-template-rows: auto minmax(0, 1fr); max-height: min(88svh, 900px); background: var(--canvas); border: 1px solid rgba(169,135,99,.45); box-shadow: 0 30px 100px rgba(0,0,0,.42); overflow: hidden; }
.legal-dialog__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 36px; padding: 34px 42px 28px; background: var(--paper); border-bottom: 1px solid var(--line); }
.legal-dialog__eyebrow { margin: 0 0 8px; color: var(--gold); font-size: 8px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.legal-dialog__header h2 { max-width: 700px; margin: 0; font-family: var(--display); font-size: clamp(33px, 4vw, 51px); font-weight: 400; line-height: 1.02; letter-spacing: -.025em; }
.legal-dialog__close { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; color: var(--ink); border: 1px solid var(--line); border-radius: 50%; font-family: var(--display); font-size: 29px; line-height: 1; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.legal-dialog__close:hover { color: var(--white); background: var(--wine); border-color: var(--wine); }
.legal-dialog__copy { padding: 34px 42px 44px; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: var(--gold) transparent; }
.legal-dialog__copy > :first-child { margin-top: 0; }
.legal-dialog__copy > :last-child { margin-bottom: 0; }
.legal-dialog__copy p, .legal-dialog__copy li { color: #46413b; font-size: 14px; line-height: 1.72; }
.legal-dialog__copy p { margin: 0 0 16px; }
.legal-dialog__copy h3 { margin: 32px 0 11px; font-family: var(--display); font-size: 25px; font-weight: 400; line-height: 1.15; }
.legal-dialog__copy ul { margin: 0 0 18px; padding-left: 20px; }
.legal-dialog__copy li + li { margin-top: 7px; }
.legal-dialog__copy a { color: var(--wine); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-dialog__copy strong { color: var(--ink); font-weight: 650; }
.legal-dialog__date { color: var(--muted) !important; font-size: 9px !important; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }

.content-shell { min-height: 72vh; padding-top: 160px; }
.content-header h1, .content-card > h1 { font-family: var(--display); font-size: clamp(50px, 6vw, 86px); font-weight: 400; line-height: 1; }
.content-card { max-width: 860px; margin-bottom: 60px; }
.content-card h2 { font-family: var(--display); font-size: 42px; font-weight: 400; }
.entry-content > * { max-width: 760px; }
.entry-content .alignwide { max-width: 1120px; }
.entry-content .alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
.error-page { min-height: 82vh; padding-top: 180px; }
.error-page h1 { margin-bottom: 32px; font-size: clamp(62px, 8vw, 120px); }
.error-page > p:not(.section-index) { max-width: 560px; margin-bottom: 30px; }

.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  :root { --shell: min(100% - 44px, 920px); }
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    display: grid;
    align-content: center;
    gap: 0;
    min-height: 100svh;
    padding: 108px max(22px, calc((100vw - var(--shell)) / 2));
    background: var(--canvas);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-15px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-open .site-nav { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 34px; font-weight: 400; line-height: 1.05; letter-spacing: -.02em; text-transform: none; }
  .site-nav a::after { display: none; }
  .nav-shop { margin-top: 24px; padding: 17px 21px !important; color: var(--white); font-family: var(--sans) !important; font-size: 11px !important; font-weight: 650 !important; letter-spacing: .12em !important; text-transform: uppercase !important; }
  .manifesto__grid, .section-heading, .quality__layout { gap: 54px; }
  .condition-card { min-height: 625px; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; align-items: start; }
  .footer-meta { text-align: left; }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 34px); --header-height: 72px; }
  html { scroll-padding-top: 86px; }
  body { font-size: 15px; }
  body.admin-bar .site-header { top: 0; }
  .section { padding-block: 78px; }
  .brand { width: 137px; }
  .site-header.is-scrolled, .site-header.nav-open { min-height: 66px; }

  .hero { align-items: end; min-height: max(720px, 100svh); }
  .hero__media img { object-position: 66% center; }
  .hero__shade { background: linear-gradient(180deg, rgba(238,226,208,.1) 0%, rgba(238,226,208,.13) 34%, rgba(238,226,208,.87) 65%, rgba(238,226,208,1) 100%); }
  .hero__content { padding-top: 128px; padding-bottom: 36px; }
  .eyebrow { margin-bottom: 18px; font-size: 8px; }
  .hero h1 { max-width: 530px; font-size: clamp(50px, 14.3vw, 70px); }
  .hero__lead { max-width: 500px; margin-top: 20px; font-size: 15px; line-height: 1.43; }
  .button-row { align-items: stretch; margin-top: 23px; }
  .button-row .button { flex: 1 1 185px; }
  .hero__notes { margin-top: 22px; }
  .hero__note { font-size: 9px; }
  .hero__audience { font-size: 8px; }

  .manifesto__grid, .section-heading, .quality__layout, .atelier__grid { grid-template-columns: 1fr; gap: 30px; }
  .section h2 { font-size: clamp(47px, 13vw, 66px); }
  .manifesto__copy { padding-top: 0; }
  .lead { font-size: 25px; }
  .brand-values { grid-template-columns: 1fr; margin-top: 52px; }
  .brand-values article, .brand-values article:first-child, .brand-values article:last-child { min-height: 0; padding: 26px 0 30px; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand-values article:last-child { border-bottom: 0; }
  .brand-values h3 { margin-top: 22px; font-size: 37px; }

  .section-heading { align-items: start; }
  .section-heading > p { margin: 0; }
  .editorial-grid { grid-template-columns: 1fr; gap: 48px; margin-top: 50px; }
  .editorial-card--brown { width: 82%; margin: 0 0 0 auto; }
  .editorial-card__caption > span { font-size: 18px; }

  .quality__title { position: static; }
  .quality__title p:last-child { margin-top: 24px; }
  .quality-list article { grid-template-columns: 34px 1fr; gap: 14px; padding-block: 28px; }

  .condition-grid { grid-template-columns: 1fr; margin-top: 50px; }
  .condition-card { min-height: 0; padding: 34px 25px 38px; }
  .condition-card + .condition-card { border-top: 1px solid var(--line); border-left: 0; }
  .condition-card h3 { margin-top: 34px; font-size: 43px; }
  .condition-card__intro { min-height: 0; }
  .condition-card__action { margin-top: 30px; }

  .atelier__image { width: calc(100% + 34px); margin-left: -17px; }
  .atelier__content { max-width: none; }
  .atelier__content h2 { margin-bottom: 30px; }

  .contacts__grid { grid-template-columns: 1fr; }
  .contact-card { min-height: 330px; padding: 34px 25px; }
  .contact-card h3 { margin-top: 39px; font-size: 47px; }
  .contact-strip { grid-template-columns: 1fr; align-items: start; gap: 28px; padding-block: 38px; }
  .requisites dl { grid-template-columns: 1fr; }
  .requisites summary > span { font-size: 22px; }
  .requisites { padding-bottom: 50px; }

  .site-footer__inner { grid-template-columns: 1fr; align-items: start; gap: 29px; padding-block: 38px; }
  .site-footer .footer-nav { grid-row: 2; }
  .site-footer .footer-legal { grid-row: 3; padding-top: 4px; }
  .footer-meta { grid-column: auto; grid-row: 4; }
  .legal-dialog { width: calc(100vw - 20px); max-height: 94svh; }
  .legal-dialog:target:not([open]) { inset: 3svh 0 auto; }
  .legal-dialog__panel { max-height: 94svh; }
  .legal-dialog__header { gap: 18px; padding: 26px 21px 22px; }
  .legal-dialog__header h2 { font-size: 34px; }
  .legal-dialog__close { width: 38px; height: 38px; font-size: 26px; }
  .legal-dialog__copy { padding: 26px 21px 34px; }
  .legal-dialog__copy p, .legal-dialog__copy li { font-size: 13px; }
  .legal-dialog__copy h3 { font-size: 23px; }
}

@media (max-width: 420px) {
  .hero { min-height: 730px; }
  .hero h1 { font-size: 48px; }
  .button { padding-inline: 18px; }
  .editorial-card--brown { width: 91%; }
  .contact-card a { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .button-row, .menu-toggle, .site-footer, .legal-dialog { display: none !important; }
  .hero { min-height: auto; padding: 70px 0; background: #fff; }
  .hero__media, .hero__shade { display: none; }
  .section { padding: 55px 0; }
  .section--dark { color: #000; background: #fff; }
}
