html.lenis {
  scroll-behavior: auto;
}
html:has(body.main.home) {
  scroll-padding-top: 83px;
  scrollbar-gutter: stable;
}
.main.home {
  --wood-paper: #f8f3e7;
  --wood-rule: #c9bda7;
  --wood-brass: #9a7147;
  --wood-forest: #213a2c;
}
.main.home .header {
  position: sticky;
  top: 0;
  z-index: 15;
  background: #fbf8ef;
  border-bottom-color: #d6cbb8;
}
.main.home .header nav a[aria-current="location"] {
  color: #304c38;
}
.reading-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg,#9d7651,#d7b78e);
  transform: scaleX(var(--page-read,0));
  transform-origin: left;
  pointer-events: none;
}

.main.home .discovery-opening { background: #faf8f2; }
.main.home .discovery-title .hero-line:first-child [data-hero-line] { color: #18291e; }
.main.home .discovery-title .hero-line:nth-child(2) [data-hero-line] { color: #36523e; }
.main.home .hero-actions .button { background: #284633; }
.main.home .quick-estimate {
  border: 1px solid #d7cbb7;
  border-top: 3px solid #ad8e64;
  background: #fbf5e9;
  box-shadow: 0 16px 32px #59472b0e;
}
.main.home .showroom-stage { box-shadow: none; border-radius: 0; background: none; }
.main.home .showroom-caption { min-height: 58px; padding-inline: 6px 0; }
.main.home .discovery-points { background: #f6eddd; border-color: #e2d4bd; border-radius: 8px; }
.main.home .discovery-points li { padding-block: 15px; }
.main.home .discovery-points .aliris-icon { --icon-detail: #987045; }

.main.home .catalog-band { background: #f3eee1; }
.main.home .room-tile {
  align-items: center;
  border: 0;
  border-bottom: 1px solid #d7c9b1;
  border-radius: 0;
  background: none;
  padding-block: 0 20px;
}
.main.home .room-picture { align-self: start; background: none; }
.main.home .room-picture img { width: 100%; height: auto; max-height: none; object-fit: contain; }
.main.home .room-copy .aliris-icon { color: #385b42; }
.main.home .room-config { padding-block: 6px 0; border-top: 1px solid #e3dacb; }
.room-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 11px; }
.room-actions a { display: inline-flex; align-items: center; min-height: 40px; font-size: 13px; font-weight: 700; }
.room-estimate { color: #35553d; border-radius: 5px; padding-inline: 7px; }
.room-estimate:hover { color: #7e562c; background: #ebdfd0; }

.main.home .home-furnishing {
  background:
    radial-gradient(ellipse at 12% 14%,#4761475c,transparent 51%),
    linear-gradient(120deg,#223d2f,#203628 72%,#172b21);
}
.main.home .home-furnishing .furnishing-story {
  padding: 0 0 16px;
}
.main.home .home-furnishing .furnishing-lead {
  padding-block: 28px;
  text-wrap: pretty;
}
.main.home .home-furnishing .furnishing-lead h2 { color: #fff6e7; }

.apartment-visual figcaption { align-items: center; }
.comparison-presets { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.comparison-presets button {
  min-height: 42px;
  padding: 4px 9px;
  color: inherit;
  border: 1px solid #b5c0aa99;
  border-radius: 5px;
  background: #09170e39;
  font-size: 13px;
}
.comparison-presets button:hover, .comparison-presets button[aria-pressed="true"] {
  color: #263b2e;
  background: #efe2c9;
  border-color: #efe2c9;
}
.main.home .home-packages article { border-bottom: 1px solid #81917a75; }
.main.home .home-packages article:focus-within { background: #fdf0c709; }

.main.home .home-work { background: #fdf9ef; }
.main.home .work-browser {
  position: relative;
  --line: #d9cebb;
}
.main.home .home-work .project-feature { align-items: center; gap: clamp(18px,4vw,56px); border: 0; background: none; }
.main.home .home-work .feature-info { padding: 0; }
.main.home .home-work .feature-picture { height: auto; background: none; }
.main.home .home-work .feature-picture img { width: auto; height: auto; max-width: 100%; max-height: 610px; }

.main.home .work-facts > div { border-color: #d7cdbb; }
.main.home .work-panel.is-changing .feature-picture img {
  animation: main-photo-change 570ms cubic-bezier(.24,.72,.25,1) both;
}
@keyframes main-photo-change {
  from { opacity: .44; transform: scale(1.045); }
  to   { opacity: 1; transform: none; }
}

.main.home .material-section {
  background:
    radial-gradient(ellipse at 15% 38%,#f8ecda 12%,#fcf4e300 58%),
    linear-gradient(126deg,#e9d8bb,#f2e7d6 57%,#eadfcf);
}
.material-select {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 13px;
}
.material-select > button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 5px 14px 5px 6px;
  border: 1px solid #d8c7aa;
  border-radius: 7px;
  background: #f8f1e4;
  color: #344938;
  font-weight: 650;
}
.material-select > button:hover { border-color: #a78256; }
.material-select > button[aria-pressed="true"] {
  color: #fdf3e2;
  background: #2d4835;
  border-color: #2d4835;
}
.material-sample {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border: 1px solid #54422928;
  border-radius: 4px;
  color: #463925;
  --icon-detail: #6e4b2e;
}
.material-sample .aliris-icon { width: 21px; height: 21px; }
.sample-finish { background: linear-gradient(132deg,#deceba,#d0b797); }
.sample-light { background: linear-gradient(139deg,#e7ba7e,#b77442); }
.sample-sample { background: repeating-linear-gradient(99deg,#cfad84 0 7px,#dcbf995c 7px 8px),#d1b38b; }
.material-panels { display: grid; gap: 14px; }
.material-panel {
  display: grid;
  grid-template-columns: minmax(0,1.32fr) minmax(0,.68fr);
  align-items: stretch;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid #d6c5a8;
  background: #fcf7eb;
}
.main.home .material-panel .material-photo { position: relative; justify-self: end; border-radius: 0; aspect-ratio: auto; background: none; }
.main.home .material-panel .material-photo img { width: auto; height: auto; max-height: 640px; max-width: 100%; object-fit: contain; }
.material-zoom { position: absolute; left: 12px; bottom: 12px; padding: 5px 8px; border-radius: 4px; color: #fff8ea; background: #201c15cb; font-size: 13px; font-weight: 650; }
.material-copy { display: grid; gap: 11px; align-content: center; justify-items: start; padding: clamp(17px,4.2vw,60px); }
.material-copy h3 { font: 400 clamp(29px,3.4vw,48px)/1.04 'PT Serif',Georgia,serif; }
.material-copy .aliris-icon { color: #395740; }
.material-copy p { color: #48564c; font-size: clamp(16px,1.35vw,19px); }
.material-copy .material-advice { width: 100%; border-top: 1px solid #dccdb6; padding-top: 10px; font-size: 15px; }
.main.home .material-incoming .material-photo img { animation: main-photo-change 570ms cubic-bezier(.24,.72,.25,1) both; }
.material-incoming .material-copy { animation: lift-content 490ms cubic-bezier(.24,.72,.25,1) 60ms both; }

.facade-chapter {
  background: radial-gradient(ellipse at 17% 43%,#ded9c4 0%,#f2ece0 70%);
}
.facade-chapter .detail-copy .image-credit { margin-top: 15px; }

.facade-chapter .detail-switch button { min-height: 45px; }
.facade-chapter .detail-switch button[aria-pressed="true"] { border-color: #36563e; background: #d9e0cd; }

.main.home .home-process {
  background:
    radial-gradient(ellipse at 64% 40%,#fcf8eb78,transparent 61%),
    linear-gradient(150deg,#e5e8d8,#eef0e6);
}
.home-process-grid:not(.is-enhanced) .process-navigation { display: none; }
.process-progress { height: 2px; margin-block-start: 14px; background: #bcc7b4; }
.process-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: #9b7145;
  transform: scaleX(var(--step-progress,.25));
  transform-origin: left;
  transition: transform 440ms cubic-bezier(.24,.72,.25,1);
}
.main.home .process-panel { border-color: #c8ccbc; background: #fffaef; }
.main.home .delivery-section { background: #f4efdf; }
.main.home .delivery-copy { border-color: #cec0a6; }
.main.home .delivery-copy article { border-color: #cfc1a9; }

.main.home .season-story {
  background:
    radial-gradient(ellipse at 84% 28%,#405b40 0%,transparent 61%),
    linear-gradient(104deg,#203529,#172d23);
}
.main.home .gift-certificate::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg,transparent 31%,#e4be7b18 47%,#ffe4ae29 54%,transparent 67%);
  transform: translateX(-100%);
}
@media (prefers-reduced-motion: no-preference) {
  .main.home .gift-certificate.has-entered::after { animation: certificate-pass 1130ms cubic-bezier(.27,.67,.32,1) 130ms both; }
}
@keyframes certificate-pass {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}
.main.home .showroom-section {
  background:
    linear-gradient(125deg,#f4ead8,#fbf5e9 69%),
    repeating-linear-gradient(90deg,#fdf9ef 0 15px,#e2d6c3 15px 16px);
}

.main.home .planner-section {
  background:
    radial-gradient(ellipse at 22% 5%,#eef0dff5,transparent 66%),
    #e1e7d7;
}
.main.home .planner { border-color: #b0beab; }
.main.home .planner-sheet { background: #f4eddb; }
.main.home .faq-section { background: #fbf5e9; }
.main.home .questions details[open] { border-inline-start: 2px solid #aa855d; background: #f5ebda; }
.main.home .request-section {
  background:
    radial-gradient(ellipse at 8% 30%,#3e5b42,transparent 54%),
    linear-gradient(130deg,#273e30,#172b21);
}
.main.home .request-section .lead-form { background: #fbf3e4; }
.main:not(.home) .interior-furnishing, .main:not(.home) .interior-checklist { background: #f9f2e4; }
.main:not(.home) .interior-masthead:not(.furnishing-masthead), .main:not(.home) .interior-case {
  background: radial-gradient(ellipse at 76% 13%,#fff9ed,#f0e6d4);
}
.main:not(.home) .interior-story { background: linear-gradient(145deg,#e6ebda,#f0f0e4); }

@media (max-width: 1100px) and (min-width: 961px) {
  .main.home .header nav { gap: 10px; }
  .main.home .header-phone { display: none; }
}
@media (max-width: 760px) {
  html:has(body.main.home) { scroll-padding-top: 72px; }
  .material-select { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
  .material-select > button { gap: 5px; padding: 4px; font-size: 13px; }
  .material-select .material-sample { width: 26px; height: 28px; }
  .material-select .aliris-icon { width: 17px; height: 17px; }
  .material-panel { grid-template-columns: minmax(0,1fr); }
  .main.home .material-panel .material-photo img { width: 100%; max-height: none; }
  .main.home .home-furnishing .furnishing-lead { padding-block: 0; }
  .comparison-presets button { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .reading-progress, .main.home .gift-certificate::after { display: none; }
}

.main :is(.apartment-visual,.furnishing-masthead .apartment-visual) {
  width: min(100%,470px);
  justify-self: center;
}
.workshop.main :is(.apartment-compare,.furnishing-masthead .apartment-compare) {
  aspect-ratio: var(--comparison-ratio, 3 / 4);
  border-radius: 0;
  background: none;
}
.workshop.main .apartment-compare img { object-fit: contain; }
.main.home .furnishing-story { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.main.home .material-panel { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; gap: clamp(19px,4vw,62px); border: 0; border-radius: 0; background: none; }
.main.home .material-copy { padding: 14px 0; max-width: 430px; }
.main.home .restored-section .detail-frame {
  width: min(100%,460px);
  margin-inline: auto;
  height: auto;
  aspect-ratio: 3 / 4;
  border-radius: 0;
  background: none;
}
.main.home .restored-section .detail-switch { justify-content: center; }
.main.home .home-process-grid .process-panel { background: none; border: 0; border-radius: 0; }
.main.home .process-panel figure, .main.home .showroom-tour {
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  background: none;
  border-radius: 0;
}
.main.home .process-panel figure img, .main.home .showroom-tour img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 590px;
  margin-inline: auto;
  object-fit: contain;
}
.main.home .showroom-tour { width: min(100%,383px); justify-self: center; }
.main.home .process-panel-copy { padding-inline: 0; }

.workshop.main .interior-masthead .mast-picture { border: 0; border-radius: 0; background: none; }
.workshop.main .mast-photo-pair { align-items: center; gap: 9px; }
.workshop.main .interior-masthead .mast-picture img,
.workshop.main .story-photo img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}
.workshop.main .mast-picture figcaption { padding-inline: 0; background: none; }
.workshop.main .interior-case .case-primary,
.workshop.main .project-card .project-image, .workshop.main .interior-work .feature-picture {
  border-radius: 0;
  background: none;
}
.workshop.main .interior-work .project-feature { background: none; border: 0; gap: clamp(15px,4vw,55px); }
.workshop.main .interior-work .feature-info { padding-inline: 0; }
.workshop.main .interior-work .feature-picture { width: fit-content; height: auto; min-height: 0; margin-inline: auto; }
.workshop.main .interior-work .feature-picture img { width: auto; height: auto; max-width: 100%; max-height: 640px; object-fit: contain; }
.workshop.main .project-card { border: 0; background: none; }
.workshop.main .project-card .project-image { aspect-ratio: auto; }
.workshop.main .project-card .project-image img { width: 100%; height: auto; max-height: none; object-fit: contain; }
.workshop.main .project-card .card-head { padding-inline: 0; }
.workshop.main .story-photo { min-height: 0; aspect-ratio: auto; background: none; }
.workshop.main .interior-case .case-sheet { align-items: start; grid-template-columns: minmax(0,1.53fr) minmax(0,.77fr); }
.workshop.main :is(.case-primary,.case-gallery) .zoom { background: none; border-radius: 0; }
.main .case-primary .zoom { width: fit-content; max-width: 100%; }
.main .case-primary .zoom img { width: auto; height: auto; max-width: 100%; }
.main .case-primary .photo-source-note { padding-inline: 0; }

@media (prefers-reduced-motion: no-preference) {
  .main [data-scroll-shot].shot-tracking > img { clip-path: none; transform: none; opacity: calc(.74 + .26 * var(--shot-progress,1)); }
  .main.home :is(.room-picture,.material-photo,.showroom-tour,.feature-picture):hover img { transform: none; }
  .main.home .work-panel.is-changing .feature-picture img, .main.home .material-incoming .material-photo img {
    animation-name: main-photo-fade;
  }
  .main.home .process-panel-enter figure img { animation-name: main-photo-fade; }
}
@keyframes main-photo-fade {
  from { opacity: .36; }
  to { opacity: 1; }
}
@media (max-width: 760px) {
  .main.home .furnishing-story { grid-template-columns: 1fr; }
  .main.home .room-copy { padding-inline: 0; }
  .main.home .material-panel, .workshop.main .interior-case .case-sheet { grid-template-columns: minmax(0,1fr); }
  .main.home .material-panel .material-photo { justify-self: stretch; }
}
