
:root {
  --bg: #f4f4f1;
  --paper: #ffffff;
  --ink: #20231f;
  --muted: #62685f;
  --line: #d9ddd4;
  --accent: #a55336;
  --accent-2: #126058;
  --soft: #e4ece7;
  font-family: Inter, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); }
a { color: inherit; text-decoration: none; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  padding: 22px clamp(22px, 4vw, 64px);
  background: rgba(244, 244, 241, .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px);
}
.logo { display: inline-flex; align-items: baseline; gap: 2px; font-size: 28px; font-weight: 800; letter-spacing: 0; }
.logo small { font-size: 17px; color: var(--accent); }
.site-header nav { display: flex; justify-content: center; gap: 22px; font-size: 15px; font-weight: 700; }
.header-contact, .footer-contact { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.header-contact a:first-child, .footer-contact a:nth-child(2) { color: var(--ink); font-weight: 800; }
.top-slider {
  display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 34px;
  padding: 46px clamp(22px, 5vw, 76px) 28px; align-items: stretch;
  min-height: 610px;
}
.slider-head {
  display: flex; flex-direction: column; justify-content: center;
  padding: 44px 0;
}
.slider-head h1 { margin: 18px 0; font-size: 82px; line-height: .92; max-width: 420px; }
.slider-head p { max-width: 420px; font-size: 20px; line-height: 1.55; color: var(--muted); }
.kicker { display: inline-block; color: var(--accent-2); text-transform: uppercase; font-size: 12px; font-weight: 900; letter-spacing: 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.slider-controls { display: flex; gap: 10px; margin-top: 28px; }
.slider-controls button {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%;
  background: var(--paper); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer;
}
.slider-controls button:hover { border-color: var(--accent); color: var(--accent); }
.button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 22px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 6px; font-weight: 800;
}
.button-light { background: transparent; color: var(--ink); }
.slider-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 420px);
  gap: 18px; overflow-x: auto; overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory; padding: 10px 6px 22px;
}
.slider-track .product-card { scroll-snap-align: start; min-height: 520px; }
.slider-track .product-photo { aspect-ratio: 1 / 1.12; }
.slider-track .product-card strong { font-size: 26px; }
.category-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin: 0 clamp(22px, 5vw, 76px) 70px; border: 1px solid var(--line); background: var(--line);
}
.category-strip a { display: grid; gap: 12px; padding: 28px; background: var(--paper); min-height: 160px; }
.category-strip span { color: var(--accent-2); font-weight: 900; text-transform: uppercase; font-size: 12px; }
.category-strip strong { font-size: 24px; line-height: 1.12; }
.category-strip em { font-style: normal; color: var(--muted); }
.catalog-stage {
  display: grid; grid-template-columns: 220px minmax(0, 1fr) 250px; gap: 26px;
  padding: 0 clamp(22px, 5vw, 76px);
}
.stage-center { min-width: 0; }
.side-rail {
  position: sticky; top: 94px; align-self: start; max-height: calc(100vh - 120px);
  overflow-y: auto; scrollbar-width: thin;
}
.rail-links, .rail-scroll { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.rail-links a {
  display: grid; gap: 6px; padding: 16px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 8px;
}
.rail-links span { color: var(--accent-2); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.rail-links strong { font-size: 15px; line-height: 1.2; }
.rail-tile {
  display: grid; gap: 10px; padding: 10px; background: var(--paper);
  border: 1px solid var(--line); border-radius: 8px;
}
.rail-tile img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: var(--soft); border-radius: 5px; mix-blend-mode: multiply; }
.rail-tile strong { font-size: 15px; line-height: 1.2; }
.intro, .room-preview, .listing-page, .text-page { padding: 0; }
.listing-page, .text-page { padding-left: clamp(22px, 5vw, 76px); padding-right: clamp(22px, 5vw, 76px); }
.intro { max-width: 980px; margin: 0 0 58px; }
.intro h2, .room-copy h2, .page-head h1, .related h2 { margin: 12px 0 14px; font-size: 54px; line-height: 1; }
.intro p, .room-copy p, .page-head p { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 860px; }
.quiet-link { color: inherit; text-decoration: none; }
.quiet-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.room-preview {
  display: grid; grid-template-columns: 270px 1fr; gap: 26px; align-items: start;
  padding-top: 58px; padding-bottom: 58px; border-top: 1px solid var(--line);
}
.room-products, .product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card {
  display: flex; min-width: 0; flex-direction: column; gap: 12px; padding: 14px;
  border: 1px solid var(--line); background: var(--paper); border-radius: 8px;
}
.product-card:hover { border-color: #bda48d; transform: translateY(-1px); transition: .18s ease; }
.product-photo { display: grid; place-items: center; aspect-ratio: 1 / 1; background: var(--soft); border-radius: 5px; overflow: hidden; }
.product-photo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-meta { min-height: 18px; color: var(--accent-2); font-size: 12px; font-weight: 900; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: 0; }
.product-card strong { font-size: 18px; line-height: 1.18; }
.product-card span:last-child { color: var(--muted); font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.text-link { display: inline-flex; margin-top: 8px; color: var(--accent); font-weight: 900; }
.page-head { padding: 54px 0 34px; max-width: 1040px; }
.back { display: inline-flex; margin-bottom: 28px; color: var(--accent); font-weight: 900; }
.story-panel {
  max-width: 980px; margin-bottom: 48px; padding: 32px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
}
.story-panel p { margin: 0 0 18px; font-size: 20px; line-height: 1.62; color: var(--muted); }
.story-panel p:last-of-type { margin-bottom: 0; }
.legacy-products { padding-top: 8px; }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 22px; }
.section-title h2 { margin: 8px 0 0; font-size: 42px; line-height: 1; }
.product-page { display: grid; grid-template-columns: minmax(420px, .95fr) minmax(420px, 1fr); gap: clamp(28px, 5vw, 72px); padding: 54px clamp(22px, 5vw, 76px); }
.product-visual { min-height: 620px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.product-visual img { max-width: 92%; max-height: 620px; object-fit: contain; mix-blend-mode: multiply; }
.product-detail h1 { margin: 14px 0 22px; font-size: 62px; line-height: 1; }
.product-detail p { color: var(--muted); font-size: 19px; line-height: 1.55; }
.spec-list { list-style: none; margin: 28px 0; padding: 0; border-top: 1px solid var(--line); }
.spec-list li { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.spec-list span { color: var(--muted); }
.spec-list strong { font-weight: 800; }
.product-cta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.product-cta span { color: var(--muted); font-weight: 800; }
.related { grid-column: 1 / -1; padding-top: 30px; border-top: 1px solid var(--line); }
.contact-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 980px; }
.contact-panel div { padding: 34px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.contact-panel span { display: block; color: var(--muted); margin-bottom: 10px; }
.contact-panel a { font-size: 28px; font-weight: 900; }
.site-footer {
  display: flex; justify-content: space-between; gap: 28px; margin-top: 80px; padding: 34px clamp(22px, 5vw, 76px);
  background: #24231f; color: #fff;
}
.site-footer p { margin: 8px 0 0; color: #cfc7ba; max-width: 560px; }
.footer-contact { color: #cfc7ba; text-align: right; }
@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr; gap: 16px; }
  .site-header nav { justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
  .header-contact { flex-direction: row; flex-wrap: wrap; }
  .top-slider, .room-preview, .product-page, .catalog-stage { grid-template-columns: 1fr; min-height: 0; }
  .slider-head h1 { font-size: 56px; }
  .slider-head p { font-size: 19px; }
  .slider-track { grid-auto-columns: minmax(260px, 72vw); }
  .side-rail { position: static; max-height: none; overflow: visible; }
  .rail-links, .rail-scroll { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-strip, .room-products, .product-grid, .contact-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-visual { min-height: 420px; }
}
@media (max-width: 640px) {
  .site-header { padding: 18px; }
  .site-header nav { gap: 16px; font-size: 14px; }
  .top-slider { padding: 28px 18px 18px; gap: 10px; }
  .slider-head { padding: 18px 0; }
  .slider-head h1 { font-size: 42px; }
  .slider-track { grid-auto-columns: 82vw; padding-left: 0; }
  .rail-links, .rail-scroll, .category-strip, .room-products, .product-grid, .contact-panel { grid-template-columns: 1fr; }
  .category-strip { margin: 0 18px 48px; }
  .catalog-stage, .listing-page, .text-page, .product-page { padding-left: 18px; padding-right: 18px; }
  .product-page { padding-top: 28px; }
  .product-visual { min-height: 330px; }
  .product-detail h1, .page-head h1, .intro h2, .room-copy h2, .related h2 { font-size: 36px; }
  .story-panel { padding: 22px; }
  .story-panel p { font-size: 18px; }
  .section-title { display: block; }
  .section-title h2 { font-size: 32px; }
  .spec-list li { grid-template-columns: 1fr; gap: 6px; }
  .site-footer { flex-direction: column; }
  .footer-contact { text-align: left; }
}
