@font-face {
  font-family: "Vale Roman";
  src: url("assets/nimbus-roman.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Vale Roman";
  src: url("assets/nimbus-roman-italic.otf") format("opentype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f5f0e6;
  --parchment: #eee6d8;
  --ink: #29271f;
  --olive: #484d37;
  --night: #27271f;
  --muted: #615b4e;
  --bronze: #765637;
  --gold: #e2c19e;
  --line: #d7cbb9;
  --dark-line: #776c58;
  --serif: "Lora", "Vale Roman", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --gutter: clamp(20px, 5.2vw, 88px);
  --header: 82px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
}

body:has(dialog[open]) { overflow: hidden; }
::selection { background: #dcc8ac; color: var(--ink); }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }

:focus-visible { outline: 2px solid #886340; outline-offset: 5px; }
.hero :focus-visible, .materials :focus-visible { outline-color: var(--gold); }

.shell {
  width: min(calc(100% - 2 * var(--gutter)), 1460px);
  margin-inline: auto;
}

.sr-only, .symbols {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: var(--gutter);
  padding: 10px 16px;
  background: var(--paper);
  border: 1px solid var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.site-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #f5f0e6c7;
  content: "";
  pointer-events: none;
}

.header-inner {
  min-height: var(--header);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(18px, 3.2vw, 46px);
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  color: var(--olive);
}

.brand img { flex-shrink: 0; }
.brand-type { display: grid; gap: 4px; }

.brand-name {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.05;
  letter-spacing: .075em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-caption {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .19em;
  line-height: 1.35;
  text-transform: uppercase;
}

.desktop-nav, .footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(18px, 2.85vw, 45px);
  font-size: 13px;
  font-weight: 600;
}

.desktop-nav a, .footer-nav a, .back-to-top {
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.desktop-nav a:hover, .footer-nav a:hover, .back-to-top:hover { text-decoration-line: underline; }

.button {
  display: inline-flex;
  width: fit-content;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 20px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button-primary { background: var(--olive); color: #fffdf6; }
.button-primary:hover { background: var(--night); }
.button-outline { border-color: #a59a86; color: var(--olive); }
.button-outline:hover { background: var(--parchment); border-color: var(--olive); }
.button-hero { background: #efe1cb; color: #2e271e; }
.button-hero:hover { background: #fff4e1; }
.button-hero-outline { color: #fff4e1; border-color: #f2dcc38c; background: #29251a55; }
.button-hero-outline:hover { border-color: #fff4e1; background: #29251a; }
.header-action { justify-self: end; min-height: 42px; gap: 10px; padding: 9px 13px 9px 15px; }
.header-action .icon { width: 16px; height: 16px; }
.menu-toggle, .mobile-nav { display: none; }

.hero {
  position: relative;
  display: grid;
  isolation: isolate;
  min-height: clamp(545px, 48vw, 790px);
  color: #fff8eb;
  background: #29251a;
}

.hero-inner {
  display: flex;
  align-items: center;
  padding-block: clamp(64px, 7vw, 112px);
}

.hero-content { max-width: 62%; }

.eyebrow {
  color: var(--bronze);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .19em;
  line-height: 1.55;
  text-transform: uppercase;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #efceaa;
}

.hero-eyebrow::before {
  width: 34px;
  height: 1px;
  background: currentColor;
  content: "";
}

h1, h2, h3, .card-title { font-family: var(--serif); font-weight: 400; }

h1 {
  margin-top: 24px;
  font-size: clamp(4.3rem, 7.6vw, 8.4rem);
  letter-spacing: -.055em;
  line-height: .94;
}

h1 em, .materials h2 em { color: var(--gold); }
h2 em { color: var(--olive); }

.hero-description {
  max-width: 38ch;
  margin-top: 26px;
  color: #f0e5d4;
  font-size: 16px;
  line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.hero-visual {
  position: absolute;
  z-index: -1;
  inset: 0;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #1e1b14c9 0%, #201b1380 33%, #211c1317 62%, transparent 80%);
  content: "";
}

.hero-visual figcaption {
  position: absolute;
  z-index: 1;
  left: var(--gutter);
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border: 1px solid #e3c4a373;
  color: #f8e9d5;
  background: #30281de8;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.figure-index { color: var(--gold); }
.figure-divider { width: 13px; height: 1px; background: #b99b7a; }

.story {
  display: grid;
  grid-template-columns: minmax(0, .35fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 110px);
  align-items: start;
  padding-block: clamp(72px, 9vw, 150px) clamp(40px, 4.5vw, 70px);
}

.story .eyebrow { padding-top: 10px; }

.story-text {
  max-width: 24ch;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.9vw, 2.75rem);
  line-height: 1.28;
  letter-spacing: -.012em;
  color: var(--ink);
}

.about-text {
  max-width: 62ch;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.about { padding-bottom: clamp(72px, 9vw, 150px); }

.text-link-dark {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 13px;
  margin-top: 30px;
  padding: 5px 0;
  border-bottom: 1px solid var(--bronze);
  color: var(--olive);
  font-size: 13px;
  font-weight: 700;
}

.text-link-dark:hover { color: var(--night); border-color: var(--night); }

.collection-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding-top: clamp(22px, 3vw, 42px);
}

.collection-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  background: #eee7da;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.collection-link:hover { background: #e8decb; border-color: #a89b84; }
.collection-link-name { font-family: var(--serif); font-size: clamp(1.05rem, 1.65vw, 1.48rem); line-height: 1.18; }
.collection-link .icon { color: var(--olive); width: 16px; height: 16px; }

.office-collection { background: #efeee8; border-top: 1px solid var(--line); }
.home-collection { background: #f5ece1; border-top: 1px solid var(--line); }

.collection { padding-block: clamp(55px, 5.8vw, 92px) clamp(64px, 6.25vw, 103px); }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(24px, 3.2vw, 46px);
}

.section-index span { margin-right: 2px; }

h2 {
  margin-top: 10px;
  font-size: clamp(3.1rem, 5.1vw, 5.5rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.section-intro { margin-top: 10px; color: var(--muted); font-size: 15px; }

.filters {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 1px;
}

.filters button {
  min-height: 42px;
  padding: 7px 14px;
  border: 1px solid #b2a590;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.filters button:hover { background: var(--parchment); }
.filters button[aria-pressed="true"] { color: var(--paper); background: var(--olive); border-color: var(--olive); }

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(15px, 2.1vw, 32px);
}

.collection-grid-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.collection-card {
  min-width: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
}

.card-image {
  display: block;
  position: relative;
  overflow: hidden;
  background: #c7b398;
}

.card-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 400ms ease, opacity 320ms ease;
}

.piece-layout img, .material-visual img { transition: opacity 320ms ease; }

.project-band { position: relative; isolation: isolate; overflow: hidden; color: #fff8eb; }

.project-band::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #1e1b14e6 0%, #1e1b14cc 60%, #1e1b14b3 100%);
  content: "";
}

.project-band .story-slides { inset: 0; transform: none; }
.project-band .story-slide { background-size: auto 100%; background-position: center; background-color: #1e1b14; }
.project-band .project-intro .eyebrow, .project-band .section-index { color: #efceaa; }
.project-band .project-intro h2 { color: #fff8eb; }
.project-band .project-intro h2 em { color: #e2c19e; }
.project-band .project-intro > p:not(.eyebrow) { color: #f1e8d7; }
.project-band .project-intro .craft-note { border-top-color: #776c58; }

.project-band .project-form { color: var(--ink); }
.project-band .project-form .form-intro { color: var(--muted); }
.project-band .project-form select, .project-band .project-form textarea { color: var(--ink); }

.custom-material { margin-top: 6px; }
.project-form input[type="text"] { width: 100%; padding: 12px 13px; border: 1px solid #a89b84; border-radius: 12px; background: #faf5eb; color: var(--ink); font: inherit; font-size: 15px; }
.project-band .text-link { color: #f3d6b6; border-color: #a58766; }

.sample-page { padding-block: clamp(60px, 8vw, 110px); display: grid; gap: 22px; max-width: 720px; }
.sample-page h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1.05; }
.sample-page > p { color: var(--muted); line-height: 1.7; }
.sample-page .project-form { display: grid; gap: 4px; }
.sample-page .project-form input[type="file"] { margin-top: 6px; font-size: 14px; }

.brief-preview { display: grid; gap: 10px; margin: 0 0 22px; }
.brief-preview img { width: min(100%, 300px); height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.brief-preview figcaption { color: var(--muted); font-size: 14px; line-height: 1.5; }

.card-caption > span:first-child { min-width: 0; }
.card-price { display: block; margin-top: 6px; color: var(--bronze); font-size: 15px; line-height: 1.4; white-space: nowrap; }
.price-line { margin-top: 14px; color: var(--bronze); font-size: 15px; line-height: 1.5; }

.card-index, .card-options {
  position: absolute;
  top: 14px;
  display: grid;
  min-width: 33px;
  height: 31px;
  place-items: center;
  padding-inline: 6px;
  border: 1px solid #d8c6ac;
  background: #f5f0e6f2;
  color: var(--bronze);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
}

.card-index { left: 14px; }
.card-options { right: 14px; padding-inline: 9px; }

.card-caption {
  display: flex;
  min-height: 119px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-block: 13px 16px;
}

.card-zone {
  display: block;
  margin-bottom: 6px;
  color: var(--bronze);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.45;
  text-transform: uppercase;
}

.card-title {
  display: block;
  font-size: clamp(2rem, 3.05vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.card-material {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.card-arrow, .back-to-top .icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #b2a590;
  border-radius: 50%;
  color: var(--olive);
  transition: background-color 180ms ease, color 180ms ease;
}

.collection-card:hover .card-arrow, .collection-card:focus-visible .card-arrow {
  background: var(--olive);
  color: var(--paper);
}

@media (hover: hover) {
  .collection-card:hover .card-image img { transform: scale(1.03); }
}

.reserve { background: #ede5d8; border-top: 1px solid var(--line); }

.reserve-intro {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  background: #382a26;
  color: var(--paper);
}

.reserve-copy {
  align-self: center;
  padding: clamp(25px, 4.2vw, 64px);
}

.reserve-copy .eyebrow, .reserve-copy h2 em { color: var(--gold); }
.reserve-copy h2 em { display: block; }

.reserve-copy > p:last-child {
  max-width: 35ch;
  margin-top: 20px;
  color: #efe2d1;
  line-height: 1.7;
}

.reserve-visual { display: grid; grid-template-rows: minmax(0, 1fr) auto; }

.reserve-visual img {
  width: 100%;
  height: 100%;
  min-height: 315px;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  object-position: 62% center;
  background: #695243;
}

.reserve-visual figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding: 8px 14px;
  border-top: 0;
  color: #fff4e1;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.reserve-visual figcaption span { color: var(--gold); }

.reserve-toolbar {
  align-items: center;
  margin-block: clamp(22px, 3vw, 40px) clamp(22px, 2.8vw, 36px);
}

.reserve-toolbar .section-intro { margin-top: 0; }

.materials { background: var(--night); color: var(--paper); }

.materials-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(36px, 7.7vw, 116px);
  padding-block: clamp(55px, 6.2vw, 94px);
}

.material-visual {
  padding: clamp(8px, 1vw, 15px);
  border: 1px solid var(--dark-line);
}

.material-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #aa9579;
}

.material-visual figcaption {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  color: #e3d5c4;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.materials .eyebrow { color: var(--gold); }
.materials h2 { font-size: clamp(3.15rem, 4.8vw, 5.1rem); }
.material-intro { margin-top: 18px; color: #e8ddcc; }

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 19px;
}

.swatch {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid #998975;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.swatch:hover { background: #393328; }
.swatch[aria-pressed="true"] { background: #483b2d; border-color: var(--gold); }

.swatch-dot {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 1px solid #ead1b176;
  border-radius: 50%;
}

.material-model-field { max-width: 350px; margin-top: 16px; }

.material-model-field label {
  display: block;
  margin-bottom: 6px;
  color: #f0dec8;
  font-size: 12px;
  font-weight: 700;
}

.material-model-field select {
  display: block;
  width: 100%;
  min-height: 45px;
  padding: 9px 30px 9px 12px;
  appearance: none;
  border: 1px solid #998975;
  border-radius: 12px;
  background: #352e24;
  color: #fff4e1;
  font-size: 15px;
}

.material-model-field .select-wrap::after { border-color: var(--gold); }
.piece-swatches { margin-top: 14px; }
.piece-swatches .swatch:hover { background: var(--parchment); }
.piece-swatches .swatch[aria-pressed="true"] { background: #e8e2d4; border-color: var(--olive); }
.piece-swatches .swatch-dot { border-color: #574b3a55; }

.material-description {
  min-height: 3.4em;
  max-width: 37ch;
  margin-top: 16px;
  color: #e8ddcc;
  font-size: 15px;
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 13px;
  margin-top: 12px;
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid #a58766;
  background: transparent;
  color: #f3d6b6;
  font-size: 13px;
  font-weight: 700;
}

.text-link:hover { color: #fff8eb; border-color: #fff8eb; }

.project {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(33px, 7vw, 112px);
  padding-block: clamp(61px, 7vw, 112px);
}

.project-intro { padding-top: 11px; }
.project h2 { font-size: clamp(3rem, 4.7vw, 5.1rem); }

.project-intro > p:not(.eyebrow) {
  max-width: 39ch;
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.75;
}

.project-intro .craft-note {
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.project-form {
  padding: clamp(22px, 3.15vw, 48px);
  border: 1px solid var(--line);
  background: var(--parchment);
}

.project-form h3 {
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
  letter-spacing: -.035em;
  line-height: 1.1;
}

.form-intro { margin-top: 9px; color: var(--muted); font-size: 14px; }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.project-form label {
  display: block;
  margin-block: 16px 6px;
  font-size: 12px;
  font-weight: 700;
}

.select-wrap { position: relative; }

.select-wrap::after {
  position: absolute;
  right: 15px;
  top: 17px;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--olive);
  border-bottom: 1px solid var(--olive);
  transform: rotate(45deg);
  content: "";
  pointer-events: none;
}

.project-form select, .project-form textarea {
  display: block;
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #a89b84;
  border-radius: 12px;
  background: #faf5eb;
  font-size: 15px;
  line-height: 1.5;
}

.project-form select { appearance: none; padding-right: 28px; cursor: pointer; text-overflow: ellipsis; }
.project-form textarea { resize: vertical; }
.project-form textarea::placeholder { color: var(--muted); opacity: 1; }
.project-form .button { margin-top: 18px; }
.form-status:not(:empty) { margin-top: 9px; color: var(--olive); font-size: 13px; font-weight: 600; }

.site-footer { background: #ece4d6; border-top: 1px solid var(--line); }

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 31px;
}

.footer-brand { gap: 14px; }
.footer-brand .brand-name { font-size: 21px; }

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.back-to-top .icon { padding: 9px; }
.back-to-top:hover .icon { background: var(--olive); color: var(--paper); }
.footer-end { padding-block: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }

.piece-dialog {
  width: min(850px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
}

.piece-dialog::backdrop { background: #221d14b0; }

.piece-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .96fr);
}

.piece-layout img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  background: var(--parchment);
}

.piece-content {
  align-self: center;
  padding: 54px clamp(23px, 3.25vw, 48px) 35px;
}

.piece-content h2 { font-size: clamp(2.75rem, 4.65vw, 4.6rem); }
.piece-material { margin-top: 8px; color: var(--bronze); font-weight: 700; }
.piece-description { margin-top: 16px; color: var(--muted); }
.piece-size { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--bronze); font-size: 14px; line-height: 1.5; }
.piece-content .button { margin-top: 22px; }

.dialog-close, .menu-toggle {
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #a89b84;
  color: var(--olive);
  background: var(--paper);
}

.dialog-close { position: absolute; top: 13px; right: 13px; display: grid; }
.dialog-close:hover, .menu-toggle:hover { background: var(--parchment); }

@media (max-width: 1050px) {
  .header-inner { grid-template-columns: auto 1fr auto; gap: 20px; }
  .desktop-nav { justify-content: center; }
  .brand-name { font-size: 16px; }
  .materials-inner { gap: clamp(28px, 5vw, 52px); }
  .form-fields { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

@media (max-width: 760px) {
  :root { --header: 69px; }

  .header-inner { grid-template-columns: 1fr auto; }
  .brand img { width: 45px; height: 45px; }
  .desktop-nav, .header-action { display: none; }
  .menu-toggle { display: grid; }

  .mobile-nav {
    position: absolute;
    top: 100%;
    width: 100%;
    display: block;
    border-block: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 12px 26px #29271f17;
  }

  .mobile-nav-inner { display: grid; padding-block: 7px; }
  .mobile-nav a { padding-block: 11px; font-size: 15px; }
  .mobile-nav a + a { border-top: 1px solid var(--line); }

  .hero { min-height: 0; }
  .hero-inner { padding-block: 44px 30px; }
  .hero-content { max-width: none; }
  h1 { margin-top: 16px; font-size: clamp(3.1rem, 10.9vw, 5.25rem); }
  .hero-description { margin-top: 16px; font-size: 15px; }
  .hero-actions { margin-top: 20px; }
  .hero-visual { position: relative; z-index: 0; }
  .hero-visual img { height: auto; aspect-ratio: 1.37; object-position: 86% 60%; }
  .hero-visual::after { display: none; }
  .hero-visual figcaption {
    position: static;
    justify-content: flex-end;
    padding: 9px var(--gutter);
    border: 0;
    border-top: 1px solid #e3c4a344;
    background: transparent;
  }

  .collection-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { display: grid; align-items: start; gap: 17px; }
  h2 { font-size: clamp(2.8rem, 8.8vw, 4.15rem); }
  .card-caption { min-height: 83px; }
  .card-arrow { width: 36px; height: 36px; }
  .card-arrow .icon { width: 17px; height: 17px; }

  .reserve-intro, .materials-inner, .project, .story { grid-template-columns: minmax(0, 1fr); }
  .story .eyebrow { padding-top: 0; }
  .story-text { max-width: none; }
  .reserve-copy { padding: 26px 22px; }
  .reserve-copy > p:last-child { margin-top: 14px; }
  .reserve-visual img { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .reserve-toolbar { align-items: start; }
  .materials-inner { gap: 20px; }
  .material-content { display: contents; }
  .material-heading { grid-row: 1; }
  .material-visual { grid-row: 2; }
  .material-actions { grid-row: 3; }
  .material-actions .swatches { margin-top: 0; }
  .materials h2, .project h2 { font-size: clamp(2.8rem, 8.8vw, 4.15rem); }
  .material-description { min-height: 0; }
  .project-intro { padding: 0; }
  .footer-main { flex-wrap: wrap; gap: 18px 27px; }
  .footer-nav { order: 3; width: 100%; row-gap: 10px; }
  .footer-brand .brand-name { font-size: 18px; }
}

@media (max-width: 600px) {
  .collection-grid { grid-template-columns: minmax(0, 1fr); gap: 23px; }
  .piece-layout { grid-template-columns: minmax(0, 1fr); }
  .piece-layout img { min-height: 0; height: auto; aspect-ratio: 4 / 5; }
  .piece-content { padding: 21px 22px 24px; }
  .piece-description { margin-top: 10px; }
  .piece-content .button { margin-top: 16px; }
  .project-form select, .project-form textarea { font-size: 16px; }
}

@media (max-width: 360px) {
  .brand-name { font-size: 14px; }
  .footer-main { column-gap: 14px; }
  .footer-brand { gap: 7px; }
  .footer-brand .brand-name { font-size: 16px; }
  .back-to-top .icon { width: 32px; height: 32px; padding: 7px; }
  .filters button { padding-inline: 10px; }
  .collection-link { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; padding: 9px 11px; }
  .collection-link .eyebrow { grid-column: 1 / -1; }
}

.desktop-nav { flex-wrap: nowrap; gap: clamp(16px, 2.2vw, 36px); }
.desktop-nav a { white-space: nowrap; }

.story {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(90px, 11vw, 170px);
  color: #fff8eb;
}

.story-slides {
  position: absolute;
  inset: -40px;
  z-index: -2;
  transform: translate3d(var(--shift-x, 0px), var(--shift-y, 0px), 0) scale(1.04);
  transition: transform 700ms cubic-bezier(.2, .7, .2, 1);
}

.story-slide {
  position: absolute;
  inset: 0;
  background-color: #0d0c09;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 600ms ease;
}



.story-slide.has-fill { background: none; }

.story-slide.has-fill::before {
  position: absolute;
  inset: -30px;
  background: var(--photo) center / cover no-repeat;
  content: "";
  filter: blur(22px) brightness(.5) saturate(.9);
  transform: scale(1.04);
}

.story-slide.has-fill::after {
  position: absolute;
  inset: 0;
  background: var(--photo) center / contain no-repeat;
  content: "";
}

.story-slide.is-active { opacity: 1; }

.header-slides { inset: 0; z-index: -2; transform: none; transition: opacity 300ms ease; }

.site-header { will-change: transform; transition: border-color 300ms ease, transform 900ms cubic-bezier(.65, 0, .35, 1); }
.site-header.is-hidden { transform: translateY(-100%); }

.header-tools { justify-self: end; display: flex; align-items: center; gap: 12px; }
.search-toggle { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; background: none; color: var(--olive); cursor: pointer; }
.search-toggle .icon { width: 19px; height: 19px; }

.site-search { position: absolute; top: 100%; left: 0; right: 0; padding-block: 18px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 26px #29271f17; }
.site-search-inner { display: grid; gap: 12px; }
.site-search input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); background: #fffdf8; color: var(--ink); font: inherit; font-size: 16px; }
.site-search input:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
.site-search-results { display: grid; gap: 2px; max-height: 320px; margin: 0; padding: 0; overflow: auto; list-style: none; }
.site-search-item { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 12px; border: 0; background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.site-search-item:hover, .site-search-item:focus-visible { background: var(--parchment); }
.site-search-item small { color: var(--muted); font-size: 13px; text-align: right; }
.site-header::before { transition: background-color 300ms ease; }
.site-header.is-scrolled { border-bottom: 0; }
.site-header.is-scrolled::before { background: transparent; }
.site-header.is-scrolled .header-slides { opacity: 0; }
.site-header.is-scrolled .header-inner { min-height: 58px; }
.site-header.is-scrolled .brand, .site-header.is-scrolled .desktop-nav a, .site-header.is-scrolled .menu-toggle, .site-header.is-scrolled .search-toggle { color: #9a6b4f; font-weight: 600; text-shadow: none; transition: none; }
.site-header.is-scrolled .brand img, .site-header.is-scrolled .header-action { display: none; }

.story::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #1e1b14b3 0%, #1e1b1466 58%, #1e1b1433 100%);
  content: "";
}

.story-inner { display: grid; gap: 26px; max-width: 900px; }
.story .eyebrow { color: #efceaa; padding-top: 0; }
.story-text { color: #fff4e1; font-size: clamp(1.9rem, 3.4vw, 3.2rem); max-width: 22ch; }
.story .text-link-dark { color: #f3d6b6; border-color: #a58766; justify-self: start; margin-top: 4px; }
.story .text-link-dark:hover { color: #fff8eb; border-color: #fff8eb; }

.about { color: var(--ink); background: var(--paper); }
.about::before, .about::after { display: none; }
.about .story-text { color: var(--ink); font-size: clamp(1.7rem, 2.6vw, 2.5rem); }
.about .eyebrow { color: var(--bronze); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Сглаженные углы: карточки, фото, кнопки, поля и окна */
:root { --radius-card: 16px; --radius-control: 12px; --radius-pill: 999px; }
.collection-card, .card-image, .brief-preview img, .piece-layout img, .material-visual img, .project-form, .sample-page .project-form, dialog, .site-search input, .site-search-item, .custom-material input, .project-form input[type="file"] { border-radius: var(--radius-card); }
.card-image img, .piece-layout img, .material-visual img, .brief-preview img { border-radius: var(--radius-card); }
.card-image { overflow: hidden; }
.project-form, .sample-page .project-form, dialog { border-radius: var(--radius-card); overflow: hidden; }
.site-search input, .project-form input[type="text"], .project-form select, .project-form textarea, .material-model-field select, .custom-material input { border-radius: var(--radius-control); }
.site-search-item { border-radius: var(--radius-control); }
.button, .header-action, .text-link-pill, button.button { border-radius: var(--radius-pill); }
.search-toggle, .menu-toggle { border-radius: 50%; }
.collection-link { border-radius: var(--radius-card); }
.filters button { border-radius: var(--radius-pill); }
.card-index, .card-options { border-radius: var(--radius-pill); }
.hero-visual figcaption, .reserve-visual figcaption span, .material-visual figcaption span { border-radius: var(--radius-pill); }
.hero-visual figcaption { border-radius: var(--radius-pill); }
.reserve-intro { border-radius: var(--radius-card); overflow: hidden; }
.reserve-visual, .reserve-visual img { border-radius: var(--radius-card); overflow: hidden; }
.material-visual { border-radius: var(--radius-card); overflow: hidden; }
.about { grid-template-columns: minmax(0, 1fr); }
.about .story-inner { grid-column: 1 / -1; max-width: 760px; }
.about .story-text { max-width: 30ch; }

.contacts { position: relative; overflow: hidden; text-align: center; }
.contacts-figure {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 0;
  width: auto;
  height: 92%;
  transform: translateX(-50%);
  color: var(--ink);
  opacity: .12;
  pointer-events: none;
}
.contacts .story-inner { position: relative; z-index: 1; justify-items: center; }
.contacts .story-inner > div { display: grid; justify-items: center; }
.contacts .story-text { margin-inline: auto; max-width: 30ch; }
.contacts .about-text { margin-inline: auto; text-align: center; }
.nowrap { white-space: nowrap; }

/* Контакты: тёмный, сдержанный блок в тоне материалов, с золотыми акцентами. */
.contacts { background: var(--night); color: #fff8eb; }
.contacts::before { display: none; }
.contacts .eyebrow { color: #e2c19e; }
.contacts .story-text { color: #fff8eb; font-size: clamp(1.9rem, 3vw, 2.75rem); max-width: 30ch; }
.contacts .about-text { color: #d6c9b3; }
.contacts-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.contacts .button-hero-outline { color: #fff4e1; border-color: #e2c19e; background: transparent; }
.contacts .story-text::before {
  display: block;
  width: 56px;
  height: 1px;
  margin: 0 auto 22px;
  background: #e2c19e;
  content: "";
}
@media (max-width: 600px) { .contacts .story-text { font-size: 1.45rem; } }
.filters button, .collection-link { transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, border-radius 180ms ease; }

/* Ручное листание слайдов «О стульях»: стрелки, название модели, выбор модели каталога */
.story-controls { display: grid; gap: 16px; margin-top: 34px; }
.story-switch { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.story-nav { display: grid; place-items: center; flex: none; width: 46px; height: 46px; padding: 0; border: 1px solid #f3d6b680; border-radius: var(--radius-pill); background: #1e1b1480; color: #fff4e1; cursor: pointer; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease; }
.story-nav:hover, .story-nav:focus-visible { background: #e2c19e; border-color: #e2c19e; color: #27271f; }
.story-nav .icon { width: 18px; height: 18px; }
.story-prev .icon { transform: rotate(180deg); }
.story-chair { display: grid; gap: 3px; min-width: 0; padding: 6px 10px; border: 0; border-radius: var(--radius-control); background: none; color: #fff4e1; font: inherit; text-align: left; cursor: pointer; }
.story-chair:hover .story-chair-name, .story-chair:focus-visible .story-chair-name { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.story-chair-name { font-family: var(--serif); font-size: 1.4rem; line-height: 1.1; }
.story-chair-variant { color: #efceaa; font-size: 13px; }
.story-count { margin-left: auto; color: #efceaa; font-size: 12px; font-weight: 600; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.story-models { display: flex; flex-wrap: wrap; gap: 8px; }
.story-model { padding: 7px 13px; border: 1px solid #f3d6b666; border-radius: var(--radius-pill); background: #1e1b1466; color: #fff4e1; font: inherit; font-size: 13px; cursor: pointer; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease; }
.story-model:hover, .story-model:focus-visible { border-color: #e2c19e; }
.story-model[aria-pressed="true"] { background: #e2c19e; border-color: #e2c19e; color: #27271f; }
@media (max-width: 600px) {
  .story-controls { margin-top: 26px; }
  .story-model { padding: 6px 11px; font-size: 12px; }
}
/* Блок «О стульях»: текст и управление слайдами на всю ширину сетки, а не в узкой первой колонке */
.story:not(.about) { grid-template-columns: minmax(0, 1fr); }
.story:not(.about) .story-inner { grid-column: 1 / -1; width: min(calc(100% - 2 * var(--gutter)), 900px); max-width: none; }
.story-controls { max-width: 560px; }
/* Стрелки не сдвигаются: поле с названием модели и цветом фиксированной ширины */
.story-chair { flex: none; width: clamp(150px, 42vw, 210px); }
.story-chair-name, .story-chair-variant { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* «О стульях»: без резких полос по бокам. Фото плавно растворяется в размытом фоне того же кадра */
.story-slide.has-fill::before { inset: -60px; filter: blur(38px) brightness(.82) saturate(1.05); transform: scale(1.15); }
.story-slide.has-fill::after {
  inset: 0 auto;
  left: 50%;
  height: 100%;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  transform: translateX(-50%);
  background-size: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
/* Название модели и цвет обивки по центру между стрелками */
.story-chair { justify-items: center; text-align: center; }

/* Мелкая сноска: информация есть, но не на виду */
.fine-print { display: block; margin-top: 10px; color: var(--muted); font-size: 11px; line-height: 1.5; opacity: .6; }

/* Контакты: строгая сетка с подписями вместо пустого пространства */
.contacts { padding-block: clamp(64px, 7vw, 110px); }
.contacts .story-inner { max-width: 980px; }
.contacts .story-inner > div { width: 100%; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; margin: 40px 0 0; border-top: 1px solid #e2c19e55; border-bottom: 1px solid #e2c19e55; }
.contact-item { display: grid; align-content: start; gap: 10px; padding: 28px 20px; }
.contact-item + .contact-item { border-left: 1px solid #e2c19e33; }
.contact-item dt { color: #e2c19e; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.contact-item dd { margin: 0; color: #fff4e1; font-family: var(--serif); font-size: 1.25rem; line-height: 1.45; }
.contact-item dd a { color: inherit; text-decoration: none; border-bottom: 1px solid #e2c19e66; }
.contact-item dd a:hover { border-color: #e2c19e; }
.contact-note { margin: 26px auto 0; color: #b9ad97; font-size: 13px; letter-spacing: .04em; }
@media (max-width: 700px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); margin-top: 30px; }
  .contact-item { padding: 20px 8px; }
  .contact-item + .contact-item { border-left: 0; border-top: 1px solid #e2c19e33; }
  .contact-item dd { font-size: 1.15rem; }
}
@media (max-width: 700px) { .contact-note-part { display: block; } .contact-note-dot { display: none; } }

/* Кнопки цветов обивки: скруглённые, как остальные кнопки */
.swatch { border-radius: var(--radius-pill); padding-inline: 14px 16px; }
/* Карточка модели: цвета ровной сеткой, одинаковой ширины */
.piece-swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
.piece-swatches .swatch { width: 100%; justify-content: flex-start; }
/* Кнопка закрытия карточки: круглая */
.dialog-close { border-radius: 50%; }
.dialog-close:focus-visible { border-radius: 50%; }

/* Карточка модели: стул виден целиком, по краям размытое продолжение того же фото */
.piece-photo { position: relative; overflow: hidden; min-height: 340px; background: var(--parchment); border-radius: var(--radius-card); }
.piece-photo::before { position: absolute; inset: -30px; background: var(--photo) center / cover no-repeat; filter: blur(24px) brightness(.95); transform: scale(1.1); content: ""; }
.piece-layout .piece-photo img { position: relative; z-index: 1; display: block; height: 100%; min-height: 340px; object-fit: contain; background: transparent; border-radius: 0; }
@media (max-width: 600px) { .piece-photo { min-height: 0; } .piece-layout .piece-photo img { min-height: 0; height: auto; aspect-ratio: 4 / 5; } }
@media (min-width: 601px) {
  .piece-photo { display: flex; align-items: center; }
  .piece-layout .piece-photo img { height: auto; min-height: 0; aspect-ratio: 4 / 5; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%); }
}

/* Коллекции: пять разделов */
.collection-index { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) {
  .collection-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 05 / Лаунж-кресла — кресло Cove */
.lounge { background: #f1e7da; border-top: 1px solid var(--line); }
.lounge h2 em { color: var(--bronze); }
.lounge-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 68px);
  align-items: center;
}
.lounge-visual { margin: 0; }
.lounge-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--parchment);
  aspect-ratio: 4 / 5;
  touch-action: pan-y;
}
.lounge-photo::before {
  position: absolute; inset: -30px;
  background: var(--photo) center / cover no-repeat;
  filter: blur(26px) brightness(.96); transform: scale(1.1);
  transition: background-image 320ms ease;
  content: "";
}
.lounge-photo img {
  position: relative; z-index: 1;
  display: block; width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 320ms ease, transform 700ms ease;
}
@media (hover: hover) { .lounge-photo:hover img { transform: scale(1.025); } }
.lounge-nav {
  position: absolute; top: 50%; z-index: 2;
  display: grid; place-items: center;
  width: 46px; height: 46px; padding: 0;
  border: 1px solid #ffffff80; border-radius: 50%;
  background: #29271f59; color: #fff8eb;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transform: translateY(-50%);
  transition: background-color 180ms ease;
}
.lounge-nav:hover { background: #29271fa6; }
.lounge-prev { left: 14px; }
.lounge-prev .icon { transform: rotate(180deg); }
.lounge-next { right: 14px; }
.lounge-visual figcaption {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 14px 4px 0;
  font-size: 13px; color: var(--muted);
}
.lounge-visual figcaption > span:first-child { display: flex; flex-wrap: wrap; gap: 4px 12px; }
#lounge-caption { color: var(--ink); font-weight: 700; }
.lounge-count { font-variant-numeric: tabular-nums; letter-spacing: .08em; }

.lounge-info .card-zone { display: block; }
.lounge-name {
  margin-top: 8px;
  font-size: clamp(3rem, 5.4vw, 5.6rem);
  line-height: .95; letter-spacing: -.05em;
}
.lounge-lead { margin-top: 18px; max-width: 34em; font-size: 16px; line-height: 1.6; }
.lounge-swatches { margin-top: 24px; }
.lounge-note { min-height: 3.2em; margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.lounge-specs {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px; margin: 18px 0 0;
  border-top: 1px solid var(--line);
}
.lounge-specs div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.lounge-specs dt { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.lounge-specs dd { margin: 4px 0 0; font-size: 15px; }
.lounge-price { display: flex; align-items: baseline; gap: 10px; margin-top: 20px; font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.lounge-price small { font-family: var(--sans); font-size: 12px; color: var(--muted); }
.lounge-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 18px; }
.lounge-actions .button { border-radius: var(--radius-pill); }

.lounge-gallery {
  display: grid; grid-template-columns: 1.25fr 1fr;
  gap: clamp(15px, 2.1vw, 32px);
  margin-top: clamp(40px, 5vw, 76px);
}
.lounge-wide { margin: 0; }
.lounge-wide img { display: block; width: 100%; height: auto; aspect-ratio: 1376 / 768; object-fit: cover; border-radius: var(--radius-card); }
.lounge-wide figcaption { padding: 12px 4px 0; color: var(--muted); font-size: 13px; }
.lounge-scene-photo { position: relative; }
.lounge-hotspot {
  position: absolute; left: var(--x); top: var(--y); z-index: 1;
  display: grid; place-items: center;
  width: 30px; height: 30px; padding: 0;
  border: 2px solid #fff8eb; border-radius: 50%;
  background: #29271f8c;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 0 #fff8eb99;
  animation: lounge-pulse 2.4s ease-out infinite;
}
.lounge-hotspot::after { width: 8px; height: 8px; border-radius: 50%; background: #fff8eb; content: ""; }
.lounge-hotspot[aria-pressed="true"] { background: var(--olive); animation: none; box-shadow: 0 0 0 5px #fff8eb59; }
.lounge-hotspot span {
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  padding: 5px 10px; border-radius: var(--radius-pill);
  background: #fff8ebf0; color: var(--ink);
  font-size: 12px; font-weight: 700; white-space: nowrap;
  transform: translateX(-50%); opacity: 0; pointer-events: none;
  transition: opacity 180ms ease;
}
.lounge-hotspot:hover span, .lounge-hotspot:focus-visible span, .lounge-hotspot[aria-pressed="true"] span { opacity: 1; }
@keyframes lounge-pulse { 0% { box-shadow: 0 0 0 0 #fff8eb99; } 70%, 100% { box-shadow: 0 0 0 14px #fff8eb00; } }
@media (prefers-reduced-motion: reduce) { .lounge-hotspot { animation: none; } .lounge-photo img { transition: opacity 320ms ease; } }

@media (max-width: 900px) {
  .lounge-stage { grid-template-columns: 1fr; }
  .lounge-gallery { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .lounge .section-heading { flex-direction: column; align-items: flex-start; }
  .lounge-specs { grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .lounge-nav { width: 40px; height: 40px; }
  .lounge-hotspot span { font-size: 11px; padding: 4px 8px; }
}
.lounge .text-link { color: var(--bronze); border-color: #b49a7c; }
.lounge .text-link:hover { color: var(--ink); border-color: var(--ink); }

/* Контакты: четыре колонки (телефон, почта, часы, реквизиты) */
.contact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.contact-item dd a[href^="mailto"] { overflow-wrap: anywhere; }
@media (max-width: 900px) and (min-width: 701px) {
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-item:nth-child(3) { border-left: 0; }
  .contact-item:nth-child(n+3) { border-top: 1px solid #e2c19e33; }
}
@media (max-width: 700px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* Коллекции: итальянское имя серии и подпись, где она уместна */
.collection-link-text { display: grid; gap: 3px; min-width: 0; }
.collection-link-name { white-space: nowrap; }
.collection-link-sub { color: var(--muted); font-size: 12px; line-height: 1.3; }

/* Первый экран: кресло Cove */
.hero-figure-link { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.hero-figure-link:hover { color: #fff; }
/* Портретное фото кресла справа целиком; фон — размытое продолжение того же фото */
.hero-visual-portrait { overflow: hidden; background: #2a241d; }
.hero-visual-portrait::before {
  position: absolute; inset: -40px; z-index: 0;
  background: var(--photo) center / cover no-repeat;
  filter: blur(36px) brightness(.5) saturate(.9);
  content: "";
}
.hero-visual-portrait img {
  position: absolute; z-index: 0; top: 0; bottom: 0;
  right: max(var(--gutter), calc((100% - 1460px) / 2));
  width: auto; height: 100%; aspect-ratio: 896 / 1195;
  object-fit: cover; object-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 8%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 8%, #000 100%);
  mask-composite: intersect;
}
.hero-visual-portrait::after { z-index: 0; }
.hero-visual-portrait figcaption { z-index: 2; }
@media (max-width: 760px) {
  .hero-visual-portrait img {
    position: relative; right: auto; display: block;
    width: 100%; height: auto; aspect-ratio: 1 / 1; object-position: center 62%;
    -webkit-mask-image: none; mask-image: none;
  }
}

/* Плитка линии Ripple в коллекции кофеен */
.collection-line { display: grid; align-content: start; gap: 10px; min-width: 0; padding: 0; border: 0; background: transparent; text-align: left; }
.collection-line img { display: block; width: 100%; height: auto; aspect-ratio: 1375 / 768; object-fit: cover; border-radius: var(--radius-card); transition: transform 400ms ease; }
.collection-line-text { display: grid; gap: 4px; padding-top: 8px; }
.collection-line-title { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.1; }
.collection-line:hover img { transform: scale(1.01); }
.collection-grid:has(.collection-card[hidden]) .collection-line { display: none; }

/* Лаунж: другие подходящие модели */
.lounge-more { margin-top: clamp(40px, 5vw, 76px); }
.lounge-more-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: clamp(18px, 2.4vw, 32px); }
.lounge-more-head h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; letter-spacing: -.03em; }
.lounge-more-head p { max-width: 34em; color: var(--muted); font-size: 14px; }

/* Линия Ripple: широкие фото под карточками кофеен */
.line-gallery { grid-template-columns: 1fr 1fr; }
.line-photo { display: block; width: 100%; padding: 0; border: 0; background: none; overflow: hidden; border-radius: var(--radius-card); cursor: pointer; }
.line-photo img { transition: transform 500ms ease; }
.line-photo:hover img { transform: scale(1.02); }
.line-gallery figcaption b { color: var(--ink); font-weight: 700; }
@media (max-width: 900px) { .line-gallery { grid-template-columns: 1fr; } }
/* Кофейни: неполный последний ряд карточек — по центру */
@media (min-width: 761px) {
  #collection .collection-grid { display: flex; flex-wrap: wrap; justify-content: center; }
  #collection .collection-grid > .collection-card, #collection .collection-grid > .card-wrap { flex: 0 0 calc((100% - 2 * clamp(15px, 2.1vw, 32px)) / 3); }
}

/* Кресло Cove внутри раздела «Для кофеен» */
.lounge { margin-top: clamp(48px, 6vw, 96px); padding-top: clamp(32px, 4vw, 56px); background: none; border-top: 1px solid var(--line); }
.lounge-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; margin-bottom: clamp(20px, 2.6vw, 36px); }
.lounge-head h3 { margin-top: 8px; font-size: clamp(2.2rem, 3.8vw, 3.6rem); line-height: 1; letter-spacing: -.04em; }


/* Одно широкое фото под разделом — по центру, не во всю ширину */
.line-gallery:has(> figure:only-child) { grid-template-columns: minmax(0, 860px); justify-content: center; }
/* «Индивидуальный заказ»: заголовок всегда помещается в свою колонку и не заходит на форму */
.project-intro { container-type: inline-size; min-width: 0; }
#project-title { font-size: min(4.25rem, 12cqi); }
/* Подвал: ровные пункты меню */
.footer-nav { flex: 1; justify-content: center; column-gap: clamp(18px, 2.4vw, 36px); }
@media (max-width: 760px) {
  .footer-nav { display: grid; flex: 0 0 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
}
.line-gallery > figure:last-child:nth-child(odd):not(:only-child) { grid-column: 1 / -1; justify-self: center; width: min(100%, 860px); }

/* ==== Улучшения 10.11 ==== */
/* 1. Карточки: без номеров и плашек, точки цветов под названием */
.card-index, .card-options { display: none !important; }
.card-dots { display: flex; gap: 6px; margin-top: 8px; }
.card-dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid #29271f2e; }
.card-wrap { position: relative; min-width: 0; }
.card-wrap > .collection-card { width: 100%; }
.compare-toggle {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px 6px 9px; border: 1px solid #29271f22; border-radius: var(--radius-pill);
  background: #fffdf8e6; color: var(--ink); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer;
  opacity: 0; transition: opacity 180ms ease, background-color 180ms ease;
}
.compare-toggle svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.card-wrap:hover .compare-toggle, .compare-toggle:focus-visible, .compare-toggle[aria-pressed="true"] { opacity: 1; }
.compare-toggle[aria-pressed="true"] { background: var(--olive); color: var(--paper); border-color: var(--olive); }
.compare-toggle[aria-pressed="true"] svg { transform: rotate(45deg); }
@media (hover: none) { .compare-toggle { opacity: 1; } }

/* 2. Подписи над заголовками — обычным регистром */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: none; }
.brand-caption { letter-spacing: .12em; }

/* 3. Курсив только в главном заголовке */
h2 em, .materials h2 em, .reserve-copy h2 em, .project-band .project-intro h2 em { font-style: normal; color: inherit; }
.reserve-copy h2 em { display: inline; }

/* 8. Где стоят наши стулья */
.objects { padding-block: clamp(55px, 5.8vw, 92px); border-top: 1px solid var(--line); }
.objects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.object-item { margin: 0; }
.object-item img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-card); transition: transform 500ms ease; }
.object-item.is-large { grid-column: span 2; grid-row: span 2; }
.object-item.is-large img { aspect-ratio: auto; height: 100%; min-height: 100%; }
.object-item.is-large .line-photo { height: calc(100% - 32px); }
.object-item figcaption { padding: 10px 2px 0; color: var(--muted); font-size: 13px; }
.object-item .line-photo:hover img { transform: scale(1.02); }
.objects-note { margin-top: 18px; color: var(--muted); font-size: 12px; }
@media (max-width: 760px) {
  .objects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .object-item.is-large { grid-column: 1 / -1; grid-row: auto; }
  .object-item.is-large img { aspect-ratio: 16 / 10; height: auto; min-height: 0; }
  .object-item.is-large .line-photo { height: auto; }
}

/* 7. Как мы работаем */
.process { padding-block: clamp(55px, 5.8vw, 92px); background: var(--parchment); border-top: 1px solid var(--line); }
.process h2 { margin-top: 10px; }
.process-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); margin: clamp(26px, 3vw, 44px) 0 0; padding: 0; list-style: none; counter-reset: none; }
.process-steps li { padding-top: 18px; border-top: 1px solid var(--dark-line); }
.process-num { display: block; color: var(--bronze); font-family: var(--serif); font-size: 2.2rem; line-height: 1; }
.process-steps h3 { margin-top: 14px; font-size: 1.45rem; line-height: 1.15; }
.process-steps p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.6; }
@media (max-width: 900px) { .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .process-steps { grid-template-columns: 1fr; } }

/* 6. Цифры */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.facts-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fact { display: grid; gap: 6px; padding: clamp(22px, 2.6vw, 36px) clamp(12px, 1.6vw, 24px); }
.fact + .fact { border-left: 1px solid var(--line); }
.fact b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.1; }
.fact span { color: var(--muted); font-size: 13px; line-height: 1.45; }
@media (max-width: 900px) {
  .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact + .fact { border-left: 0; }
  .fact { border-top: 1px solid var(--line); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact:nth-child(even) { border-left: 1px solid var(--line); }
  .fact:last-child { grid-column: 1 / -1; border-left: 0; }
}

/* 11. Частые вопросы */
.faq { padding-block: clamp(55px, 5.8vw, 92px); border-top: 1px solid var(--line); }
.faq-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 70px); align-items: start; }
.faq h2 { margin-top: 10px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: 0 0 auto; color: var(--bronze); font-family: var(--sans); font-size: 22px; line-height: 1; transition: transform 200ms ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 2px 20px; color: var(--muted); line-height: 1.7; max-width: 60ch; }
@media (max-width: 760px) { .faq-inner { grid-template-columns: 1fr; } }

/* 10. Плавающая кнопка «Связаться» */
.contact-fab { position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 40; display: grid; justify-items: end; gap: 10px; }
.contact-fab-toggle { min-height: 48px; padding: 12px 20px; border: 0; border-radius: var(--radius-pill); background: var(--olive); color: var(--paper); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: 0 10px 28px #1e1b1440; }
.contact-fab-toggle:hover { background: var(--night); }
.contact-fab-panel { display: grid; min-width: 250px; padding: 6px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--paper); box-shadow: 0 16px 40px #1e1b1433; }
.contact-fab-panel a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.contact-fab-panel a span { color: var(--muted); font-size: 12px; font-weight: 400; }
.contact-fab-panel a:hover { background: var(--parchment); }
.contact-fab-panel a[hidden] { display: none; }

/* 9. Сравнение */
.compare-bar { position: fixed; left: 50%; bottom: clamp(14px, 2vw, 28px); z-index: 39; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 180px); padding: 8px 8px 8px 18px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--paper); box-shadow: 0 12px 32px #1e1b1433; transform: translateX(-50%); }
.compare-bar-text { overflow: hidden; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.compare-open { min-height: 40px; padding: 8px 16px; border-radius: var(--radius-pill); }
.compare-open:disabled { opacity: .45; cursor: default; }
.compare-clear { border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
@media (max-width: 760px) { .compare-bar { left: 14px; right: auto; max-width: calc(100% - 150px); transform: none; flex-wrap: wrap; border-radius: var(--radius-card); } }
.compare-dialog { width: min(960px, calc(100% - 28px)); max-height: calc(100% - 40px); padding: clamp(20px, 3vw, 36px); border: 0; border-radius: var(--radius-card); background: var(--paper); color: var(--ink); }
.compare-dialog::backdrop { background: #1e1b1499; }
.compare-dialog .dialog-close { position: absolute; top: 14px; right: 14px; }
.compare-dialog h2 { margin: 0 0 20px; font-size: clamp(2rem, 3.4vw, 3rem); }
.compare-table { overflow-x: auto; }
.compare-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table th { width: 140px; padding: 12px 10px 12px 0; color: var(--muted); font-weight: 600; text-align: left; vertical-align: top; }
.compare-table td { min-width: 180px; padding: 12px 10px; border-top: 1px solid var(--line); vertical-align: top; white-space: pre-line; }
.compare-table tr:first-child td { border-top: 0; }
.compare-table img { width: 100%; max-width: 220px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.compare-table tr:nth-child(2) td { font-family: var(--serif); font-size: 1.5rem; }
.compare-pick { margin-top: 0; color: var(--olive); border-color: var(--olive); }
.card-zone, .hero-visual figcaption, .reserve-visual figcaption, .material-visual figcaption, .contact-item dt { text-transform: none; letter-spacing: .02em; }
.card-zone { font-size: 12px; }
.hero-visual figcaption, .reserve-visual figcaption, .material-visual figcaption { font-size: 11px; }
.contact-item dt { font-size: 13px; }

/* Коллекции тканей и интерьер под ключ (11.11) */
.fabric-lines { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(232,221,204,.22); }
.fabric-lines-title { color: #e8ddcc; font-size: 13px; letter-spacing: .02em; margin: 0 0 12px; opacity: .8; }
.fabric-lines ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 22px; }
.fabric-lines li { display: flex; flex-direction: column; gap: 3px; }
.fabric-lines b { font-family: var(--serif, Georgia, serif); font-weight: 400; font-size: 19px; color: #f4ecdf; }
.fabric-lines li span { color: #d9ccb8; font-size: 13px; line-height: 1.5; }
.fabric-lines-note { margin: 14px 0 0; color: #cbbca6; font-size: 12px; }
.turnkey-note { margin-top: 14px; padding: 14px 16px; border-left: 2px solid var(--olive, #5a6230); background: rgba(90,98,48,.06); font-size: 14px; line-height: 1.6; }
.turnkey-note b { font-weight: 600; }
@media (max-width: 560px) { .fabric-lines ul { grid-template-columns: 1fr; } }

/* ===== Заявка, подбор, расчёт, образцы (11.11) ===== */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.project-form input[type="number"] { width: 100%; padding: 12px 13px; border: 1px solid #a89b84; border-radius: 12px; background: #faf5eb; color: var(--ink); font: inherit; font-size: 15px; }
.contact-fields { margin: 6px 0 14px; }
.brief-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 16px; }
.brief-download { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; border: 0; background: none; color: var(--olive); font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.brief-download .icon { width: 16px; height: 16px; }
.form-consent { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.piece-page-link { margin-top: 14px; margin-left: 4px; }

.pick { padding-block: clamp(55px, 5.8vw, 92px); border-top: 1px solid var(--line); background: var(--parchment); }
.pick-head { max-width: 760px; margin-bottom: clamp(24px, 3vw, 40px); }
.pick-head h2 { margin: 10px 0 12px; }
.pick-lead { color: var(--muted); max-width: 58ch; }
.pick-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(14px, 2vw, 28px); align-items: start; }
.quiz, .calc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-card); padding: clamp(20px, 2.6vw, 34px); }
.quiz { min-height: 100%; }
.quiz-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.quiz-restart, .quiz-back { border: 0; background: none; color: var(--olive); font-size: 13px; cursor: pointer; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; }
.quiz-progress { height: 3px; margin: 12px 0 22px; background: var(--line); border-radius: 3px; overflow: hidden; }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--olive); transition: width 300ms ease; }
.quiz h3, .calc h3 { margin: 0 0 18px; font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.2; }
.quiz-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quiz-option { min-height: 58px; padding: 14px 16px; border: 1px solid #b9ac95; border-radius: 14px; background: #fbf7ef; color: var(--ink); font-size: 15px; text-align: left; cursor: pointer; transition: background 160ms, border-color 160ms; }
.quiz-option:hover, .quiz-option:focus-visible { background: #fff; border-color: var(--olive); }
.quiz-back { margin-top: 16px; }
.quiz-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.quiz-result { display: flex; flex-direction: column; gap: 10px; }
.quiz-result img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: #e9e1d2; }
.quiz-result b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.quiz-result span { color: var(--muted); font-size: 13px; }
.quiz-result-actions { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.quiz-result-actions button { padding: 7px 12px; border: 1px solid #b9ac95; border-radius: 999px; background: none; color: var(--olive); font-size: 13px; cursor: pointer; }
.quiz-result-actions button:hover { background: var(--parchment); border-color: var(--olive); }
.quiz-note { margin: 16px 0 0; color: var(--muted); font-size: 13px; }

.calc { display: grid; gap: 6px; }
.calc label { margin-top: 8px; font-size: 13px; font-weight: 600; }
.calc select, .calc input { width: 100%; padding: 12px 13px; border: 1px solid #a89b84; border-radius: 12px; background: #faf5eb; color: var(--ink); font: inherit; font-size: 15px; }
.calc-qty { display: grid; grid-template-columns: 48px 1fr 48px; gap: 8px; }
.calc-qty input { text-align: center; -moz-appearance: textfield; }
.calc-qty input::-webkit-outer-spin-button, .calc-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-step { border: 1px solid #a89b84; border-radius: 12px; background: #faf5eb; font-size: 20px; cursor: pointer; color: var(--ink); }
.calc-step:hover { border-color: var(--olive); background: #fff; }
.calc-result { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 16px; }
.calc-result div { padding: 14px 16px; border-radius: 14px; background: var(--parchment); display: flex; flex-direction: column; gap: 4px; }
.calc-result span { color: var(--muted); font-size: 12px; }
.calc-result b { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; }
.calc-result .calc-total { background: var(--olive); color: #fffdf6; }
.calc-result .calc-total span { color: #e3dccb; }
.calc-result .calc-total b { font-size: 1.6rem; }
.calc-note { margin: 8px 0 6px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.calc .button { justify-self: start; }

.samples-open { margin-top: 18px; }
.samples-dialog { width: min(620px, calc(100% - 28px)); max-height: calc(100% - 40px); padding: clamp(22px, 3vw, 38px); border: 0; border-radius: var(--radius-card); background: var(--paper); color: var(--ink); }
.samples-dialog::backdrop { background: #1e1b1499; }
.samples-dialog .dialog-close { position: absolute; top: 14px; right: 14px; }
.samples-dialog h2 { margin: 8px 0 10px; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.samples-lead { color: var(--muted); margin: 0 0 18px; }
.samples-set { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.samples-set legend { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.samples-set label { position: relative; cursor: pointer; }
.samples-set input { position: absolute; opacity: 0; }
.samples-set span { display: inline-block; padding: 9px 14px; border: 1px solid #b9ac95; border-radius: 999px; font-size: 14px; color: var(--muted); }
.samples-set b { color: var(--ink); font-weight: 600; margin-right: 4px; }
.samples-set input:checked + span { background: var(--olive); border-color: var(--olive); color: #e3dccb; }
.samples-set input:checked + span b { color: #fffdf6; }
.samples-set input:focus-visible + span { outline: 2px solid var(--olive); outline-offset: 2px; }
.samples-form label { font-size: 13px; font-weight: 600; }
.samples-form input[type="text"] { width: 100%; margin-top: 4px; padding: 12px 13px; border: 1px solid #a89b84; border-radius: 12px; background: #faf5eb; color: var(--ink); font: inherit; font-size: 15px; }
.samples-form .button { margin-top: 18px; }

@media (max-width: 900px) {
  .pick-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .quiz-options { grid-template-columns: 1fr; }
  .quiz-results { grid-template-columns: 1fr; }
  .quiz-result { flex-direction: row; align-items: center; }
  .quiz-result img { width: 92px; flex: 0 0 92px; }
  .samples-dialog .form-fields { grid-template-columns: 1fr; }
}
.calc select { -webkit-appearance: none; appearance: none; padding-right: 40px; }
.quiz { min-height: 0; }
.quiz-result-actions { flex-wrap: nowrap; gap: 5px; }
.quiz-result-actions button { padding: 6px 10px; font-size: 12.5px; white-space: nowrap; }
.quiz-hint { margin: 22px 0 0; color: var(--muted); font-size: 13px; }

/* ===== Страницы моделей и список моделей в подвале (11.11) ===== */
.footer-models { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }
.footer-models span { color: var(--muted); }
.footer-models a { color: var(--olive); text-decoration: none; }
.footer-models a:hover { text-decoration: underline; }

.model-page { background: var(--paper); color: var(--ink); }
.mp-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.mp-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.mp-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 1.15rem; }
.mp-nav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.mp-nav a:not(.button) { color: var(--olive); text-decoration: none; }
.mp-cta-small { min-height: 0; padding: 9px 16px; font-size: 14px; }
.mp-main { padding-block: 22px clamp(50px, 6vw, 90px); }
.mp-crumbs { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.mp-crumbs a { color: var(--olive); text-decoration: none; }
.mp-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 64px); align-items: start; }
.mp-photo { margin: 0; }
.mp-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-card); background: #e9e1d2; }
.mp-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.mp-thumb { padding: 0; border: 1px solid transparent; border-radius: 14px; background: none; cursor: pointer; text-align: left; color: var(--ink); }
.mp-thumb img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.mp-thumb span { display: flex; align-items: center; gap: 6px; padding: 6px 4px 2px; font-size: 12.5px; color: var(--muted); }
.mp-thumb i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid #574b3a55; flex: 0 0 12px; }
.mp-thumb[aria-pressed="true"] img { outline: 2px solid var(--olive); outline-offset: 2px; }
.mp-thumb[aria-pressed="true"] span { color: var(--ink); }
.mp-info { position: sticky; top: 88px; }
.mp-info h1 { margin: 8px 0 4px; font-size: clamp(3rem, 6vw, 5rem); line-height: 1; }
.mp-type { margin: 0 0 18px; color: var(--muted); font-size: 16px; }
.mp-desc { font-size: 16px; line-height: 1.7; max-width: 52ch; }
.mp-prices { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 10px; }
.mp-prices div { padding: 12px 18px; border-radius: 14px; background: var(--parchment); display: flex; flex-direction: column; gap: 2px; }
.mp-prices span { font-size: 12px; color: var(--muted); }
.mp-prices b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.mp-selected { font-size: 14px; color: var(--muted); }
.mp-selected b { color: var(--ink); font-weight: 600; }
.mp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 26px; }
.mp-specs { margin: 0; border-top: 1px solid var(--line); }
.mp-specs div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mp-specs dt { color: var(--muted); }
.mp-specs dd { margin: 0; }
.mp-fine { margin-top: 12px; font-size: 12px; color: var(--muted); }
.mp-more { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); gap: clamp(12px, 1.6vw, 24px); margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.mp-more figure { margin: 0; }
.mp-more img { display: block; width: 100%; border-radius: var(--radius-card); object-fit: cover; }
.mp-wide img { aspect-ratio: 1376 / 768; }
.mp-interior img { aspect-ratio: 4 / 5; }
.mp-more figure:only-child { grid-column: 1 / -1; max-width: 900px; justify-self: center; width: 100%; }
.mp-more figcaption { padding: 10px 2px 0; color: var(--muted); font-size: 13px; }
.mp-others { margin-top: clamp(44px, 5vw, 80px); }
.mp-others h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 20px; }
.mp-others-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mp-other { color: var(--ink); text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.mp-other img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; margin-bottom: 6px; transition: transform 400ms ease; }
.mp-other:hover img { transform: scale(1.02); }
.mp-other b { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; }
.mp-other span { color: var(--muted); font-size: 13px; }
.mp-footer { border-top: 1px solid var(--line); padding-block: 22px; font-size: 13px; color: var(--muted); }
.mp-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.mp-footer a { color: var(--olive); }
@media (max-width: 900px) {
  .mp-grid { grid-template-columns: 1fr; }
  .mp-info { position: static; }
  .mp-more { grid-template-columns: 1fr; }
  .mp-others-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .mp-nav a:not(.button) { display: none; }
  .mp-specs div { grid-template-columns: 1fr; gap: 2px; }
  .mp-brand span { font-size: 1rem; }
}
.mp-other img, .mp-photo img, .mp-thumb img, .mp-more img { height: auto; }
.mp-more figure.mp-interior:only-child { max-width: 560px; }
.mp-more figure.mp-wide:only-child { max-width: 1100px; }
