.main.home {
  --link-hover: #805343;
  --viewer-columns: minmax(0,1.12fr) minmax(0,.88fr);
  --viewer-gap: clamp(22px,4vw,60px);
  --viewer-height: clamp(400px,65svh,640px);
  --viewer-tab-height: 49px;
  --viewer-tab-inset: 5px;
  --viewer-tab-gap: 12px;
  --clay-ink: #4d372f;
  --slate-ink: #2c4247;
}
.main.home .footer, .main.home .season-story { --link-hover:#ffe0ba; }
.main.home .discovery-opening .discovery-title { position: relative; }
.main.home .discovery-opening { overflow: clip; transition: background-color 520ms ease; }
.main.home .discovery-opening.is-open { background-color: #f8eddd; }
.cozy-pendant {
  position: absolute;
  top: -96px;
  right: 21px;
  width: 65px;
  height: 88px;
  pointer-events: none;
}
.cozy-pendant svg { position: relative; display: block; width: 100%; height: 100%; }
.cozy-pendant::after {
  content: "";
  position: absolute;
  left: calc(50% - .75px);
  bottom: 100%;
  width: 1.5px;
  height: 310px;
  background: #675b4f;
}
.cozy-pendant::before {
  content: "";
  position: absolute;
  top: 43%;
  left: 50%;
  width: min(42vw,385px);
  height: min(54vw,460px);
  transform: translateX(-53%) scale(.83);
  background: radial-gradient(ellipse at 52% 12%,#ffd19285 0 8%,#efb77346 23%,#ebad631d 46%,transparent 70%);
  mask-image: linear-gradient(180deg,transparent,#000 10%,#000 65%,transparent);
  opacity: 0;
  transition: opacity 560ms ease, transform 650ms cubic-bezier(.2,.72,.22,1);
  mix-blend-mode: multiply;
}
.cozy-shade, .cozy-bulb { transition: fill 330ms ease,filter 330ms ease; }
[data-showroom].is-open .cozy-pendant::before { transform: translateX(-53%) scale(1); opacity: 1; }
[data-showroom].is-open .cozy-shade { fill: #f1c58b; }
[data-showroom].is-open .cozy-bulb { fill: #fff2a5; filter: drop-shadow(0 0 9px #f5a846); }
[data-showroom].is-open .discovery-headline-offer { color: #5c3526; }
.main.home .offer-light {
  background-image: linear-gradient(106deg,transparent 35%,#bc6f37 49%,#e4ac55 52%,transparent 65%);
}
.main.home .discovery-points .aliris-icon { width: 34px; height: 34px; }

.main.home .catalog-band { background: #eef0ef; }
.main.home .room-tile { border-bottom-color: #c8d0cb; }
.main.home .room-picture {
  container-type: inline-size;
  display: grid;
  justify-items: center;
  align-items: start;
  width: 100%;
}
.main.home .room-picture img {
  --room-height: clamp(225px,26vw,365px);
  display: block;
  width: auto;
  height: min(var(--room-height),100cqw);
  max-width: 100%;
  object-fit: contain;
}
.main.home .room-copy .aliris-icon { width: 41px; height: 41px; color: #41554a; }

.main.home .home-furnishing {
  color: #392f29;
  background: radial-gradient(ellipse at 3% 5%,#f9eee0 4%,transparent 63%),linear-gradient(125deg,#ebe1d4 0%,#ded4cb 100%);
}
.main.home .home-furnishing .furnishing-story {
  grid-template-columns: minmax(0,.86fr) minmax(0,1.44fr);
  align-items: center;
  gap: clamp(20px,3.2vw,45px);
  padding-bottom: 24px;
}
.main.home .home-furnishing .furnishing-lead { padding-block: 0; }
.main.home .home-furnishing .furnishing-lead h2 {
  color: #40322e;
  font-size: clamp(42px,5vw,72px);
}
.main.home .home-furnishing .furnishing-lead p { color: #584941; }
.main.home .home-furnishing .furnishing-lead .button {
  min-height: 53px;
  padding-inline: 20px;
  background: #653e37;
  border-color: #653e37;
  color: #fff8ed;
  font-size: 16px;
}
.main.home .home-furnishing .furnishing-lead .button:hover { background: #422c28; border-color: #422c28; }
.main.home .home-furnishing .apartment-visual { width: 100%; }
.main.home .home-furnishing .apartment-visual figcaption { color: #594b43; }
.main.home .home-furnishing .comparison-presets button { color: #524137; background: #f0e5d9; border-color: #b7a08c; }
.main.home .home-furnishing .comparison-presets button[aria-pressed="true"],
.main.home .home-furnishing .comparison-presets button:hover { color: #fff6e9; background: #674039; border-color: #674039; }
.main.home .home-packages { gap: clamp(10px,1.5vw,22px); border: 0; margin-top: clamp(15px,3vw,40px); }
.main.home .home-packages article {
  padding: clamp(17px,2.4vw,34px);
  border: 1px solid #cfbca9;
  border-radius: 11px;
  color: #44362f;
  background: #f9f1e6;
  --icon-detail: #8b614a;
}
.main.home .home-packages article:nth-child(2) { color: #2e4145; background: #e2e9e8; border-color: #becdcd; }
.main.home .home-packages article:nth-child(3) { color: #fff1e2; background: #593b41; border-color: #593b41; --icon-detail:#dab39c; }
.main.home .home-packages article :is(p,ul) { color: inherit; }
.main.home .home-packages li::marker { color: var(--icon-detail); }
.main.home .home-packages .package-title .aliris-icon { width: 43px; height: 43px; }
.main.home .home-packages .package-cta {
  min-height: 47px; padding-inline: 15px; background: #fff9ee; border-color: #b99e83; color: #5f4037;
}
.main.home .home-packages article:nth-child(2) .package-cta { color:#2f494c; background:#f3f7f6; border-color:#9eb0b2; }
.main.home .home-packages article:nth-child(3) .package-cta { background:#f2d7bb; color:#472e34; border-color:#f2d7bb; }
.main.home .home-packages .package-cta:hover { background: #75483e; color: #fff9ee; border-color: #75483e; }
.main.home .home-packages article:nth-child(2) .package-cta:hover { background: #405d61; color: #fff9ee; border-color: #405d61; }
.main.home .home-packages article:nth-child(3) .package-cta:hover { background: #ffe6ce; color: #472e34; border-color: #ffe6ce; }

.main.home .home-work { background: #f6f5ef; }
.main.home .material-section { background: linear-gradient(125deg,#efe6df,#e5d8d2); }
.main.home .facade-chapter { background: linear-gradient(125deg,#e6ecec,#dce5e4); }
.main.home :is(.home-work,.facade-chapter,.home-process) .section-heading { margin-bottom: clamp(20px,2.3vw,34px); }
.main.home :is(.work-browser,.material-viewer,.restored-section) {
  display: grid;
  grid-template-columns: var(--viewer-columns);
  column-gap: var(--viewer-gap);
}
.main.home .restored-section { align-items: start; }
.main.home :is(.work-panels,.material-panels) { grid-column: 1 / -1; min-width: 0; }
.main.home :is(.home-work .project-feature,.material-panel) {
  grid-template-columns: var(--viewer-columns);
  gap: var(--viewer-gap);
  align-items: start;
  overflow: visible;
}
.main.home .material-heading { display: block; margin-bottom: 21px; }
.main.home .material-heading > p { max-width: 72ch; margin-top: 10px; color: #5f4841; font-size: clamp(17px,1.6vw,22px); }
.main.home .material-viewer [data-enter] { min-width: 0; }
.main.home :is(.work-browser,.material-viewer,.restored-section) .viewer-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0,1fr);
  align-self: start;
  width: 100%;
  gap: 4px;
  margin: 0 0 var(--viewer-tab-gap);
  padding: var(--viewer-tab-inset);
  border: 1px solid #c6c7bd;
  border-radius: 8px;
  background: #e8e7de;
}
.main.home .material-viewer .viewer-tabs { background: #dfd0c8; border-color: #c9b6ad; }
.main.home .restored-section .viewer-tabs { background: #d7e3e1; border-color: #aebfbd; }
.main.home :is(.work-browser,.material-viewer,.restored-section) .viewer-tabs :is(a,button) {
  display: flex;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: var(--viewer-tab-height);
  padding: 5px 3px;
  gap: 5px;
  font-size: clamp(12px,1.1vw,15px);
  line-height: 1.12;
  text-align: center;
  color: #37463e;
  background: transparent;
  border-color: transparent;
  border-radius: 5px;
}
.main.home .viewer-tabs :is(a,button):hover { background: #fbfaf398; }
.main.home :is(.work-browser,.material-viewer,.restored-section) .viewer-tabs :is(.selected,[aria-pressed="true"]) {
  background: #fffdf6;
  color: #31483e;
  border-color: #c7c3b5;
  box-shadow: 0 1px 3px #251a151c;
}
.main.home .material-viewer .viewer-tabs [aria-pressed="true"] { color: #654138; border-color: #c8afa2; }
.main.home .viewer-tabs .aliris-icon { width: clamp(22px,2.15vw,31px); height: auto; }
.main.home .viewer-tabs .material-sample { width: auto; height: auto; border: 0; background: none; color: inherit; }
.main.home .viewer-tabs .material-sample .aliris-icon { width: clamp(21px,2vw,29px); height: auto; }
.work-image, .material-figure { min-width: 0; }
.main.home :is(.work-image,.material-figure) figcaption { display:flex; justify-content:center; }
.main.home .material-zoom { left:50%; translate:-50% 0; }
.main.home .facade-chapter .detail-photos > .viewer-link { display:table; margin-inline:auto; }
.main.home .home-work .work-image .feature-picture,
.main.home .material-viewer .material-figure .material-photo,
.main.home .facade-chapter .detail-frame {
  display: grid;
  align-items: start;
  justify-items: center;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  aspect-ratio: auto;
  border-radius: 0;
  background: transparent;
}
.main.home .home-work .work-image img,
.main.home .material-viewer .material-figure img,
.main.home .facade-chapter .detail-frame img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: var(--viewer-height);
  min-height: 0;
  object-fit: contain;
  object-position: center;
}
.main.home .restored-section .detail-frame img { grid-area: 1 / 1; }
.main.home .home-work .feature-text h3,
.main.home .material-copy h3,
.main.home .detail-copy h3 { font: 400 clamp(34px,4.45vw,63px)/.99 'PT Serif', Georgia, serif; letter-spacing:-.047em; }
.main.home .material-copy { color: var(--clay-ink); max-width: 560px; width: 100%; padding: 0; }
.main.home .detail-copy {
  color: var(--slate-ink);
  margin-top: calc(var(--viewer-tab-height) + 2 * var(--viewer-tab-inset) + 2px + var(--viewer-tab-gap));
  padding: 0;
}
.main.home :is(.feature-text,.material-copy,.detail-copy) > p:not(.project-type,.material-advice,.image-credit) {
  color: inherit;
  opacity: .86;
  font-size: clamp(17px,1.57vw,22px);
  line-height: 1.43;
}
.main.home .feature-actions .button, .main.home .material-copy .button, .main.home .detail-copy .button { min-height: 47px; }
.main.home .material-copy .button { background: #61423b; border-color: #61423b; }
.main.home .detail-copy .button { background: #345354; border-color: #345354; }
.main.home :is(.material-copy,.detail-copy) > .aliris-icon { width: 42px; height: 42px; }
.viewer-link {
  display: inline-flex; align-items: center; min-height: 43px; margin-top: 7px; padding: 5px 10px;
  border: 1px solid #b9beb3; border-radius: 5px; color: #3c5148; background:#fbfaf4; font-size:14px; font-weight:650;
}
.viewer-link:hover { color:#fff8eb; background:#405b50; border-color:#405b50; }

.main.home .home-process { background: linear-gradient(130deg,#f3e9dc,#e9ddd0); }
.main.home .home-process-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; }
.main.home .home-process-grid:not(.is-enhanced) .process-navigation { display: none; }
.main.home .process-navigation { overflow: clip; background: #fbf6ec; border: 1px solid #d5c5ac; border-radius: 9px; padding: 8px 8px 20px; }
.main.home .process-stages { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 0; }
.main.home .process-stages li { border: 0; }
.main.home .process-stages button {
  display: flex; flex-direction: row; justify-content: center; gap: 8px; min-height: 51px; padding: 5px 3px;
  text-align: center; color:#544033; font-size:clamp(13px,1.45vw,20px); border-radius:5px;
}
.main.home .process-stages button:hover { background:#eadfcc; }
.main.home .process-stages button[aria-pressed="true"] { color:#693e31; background:#f1e2ce; --icon-detail:#9e5c42; }
.main.home .process-stages button svg { width: clamp(22px,2.9vw,38px); height: auto; }
.journey-road { position: relative; margin: 13px 12.5% 0; }
.journey-road::before { content:""; display:block; height:3px; border-radius:2px; background: repeating-linear-gradient(90deg,#9c7751 0 8px,transparent 8px 15px),#ead7bc; }
.journey-position { position: absolute; inset: 0; transform: translateX(calc(var(--journey-step,0) * 100%)); transition: transform 840ms cubic-bezier(.25,.7,.24,1); }
.journey-truck {
  position:absolute; top:-15px; left:0; translate:-50% 0; width:40px; height:31px; display:grid; place-items:center;
  background:#f7e7cb; border-radius:5px; border:1px solid #c6a77d; color:#654239; --icon-detail:#8e5a39;
}
.journey-truck svg { width: 30px; height: 30px; }
.main.home .home-process-grid .process-panel {
  display:grid; grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr); gap:var(--viewer-gap);
  align-items:start; padding:0;
}
.main.home .process-panel-copy { padding: 0; }
.main.home .process-panel-copy > svg { width: 43px; height: 43px; margin-bottom: 11px; color:#7c5643; }
.main.home .process-panel h3 { font:400 clamp(31px,4.1vw,56px)/1.03 'PT Serif',Georgia,serif; color:#4e372d; }
.main.home .process-panel p { font-size:clamp(17px,1.6vw,21px); }
.main.home .process-panel small { color:#805a46; }
.main.home .process-panel figure img { max-height:var(--viewer-height); }
.main.home .delivery-layout { grid-template-columns:var(--viewer-columns); gap:20px var(--viewer-gap); align-items:start; }
.main.home .delivery-intro {
  display:grid; grid-column:1 / -1; grid-template-columns:var(--viewer-columns);
  gap:8px var(--viewer-gap); align-items:start; justify-items:start;
}
.main.home .delivery-intro > h2 { grid-row:span 2; max-width:none; }
.main.home .delivery-intro > p { margin-top:0; }
.main.home .delivery-photo img { width:auto; height:auto; max-width:100%; max-height:calc(var(--viewer-height) * 1.65); object-fit:contain; }
.main.home .delivery-copy { align-self:start; }

.main.home .season-story { background:radial-gradient(ellipse at 72% 25%,#77525c,#482f40 68%); }
.main.home .season-art { width:min(100%,580px); justify-self:center; border-radius:9px; overflow:hidden; box-shadow:0 18px 36px #21152263; }
.main.home .season-art img { display:block; object-fit:contain; width:100%; height:auto; }
.main.home .showroom-section { background:#edf0f1; }
.main.home .showroom-layout { grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr); }
.main.home .showroom-map { min-width:0; overflow:hidden; border-radius:10px; border:1px solid #c7d1d3; background:#dfe6e7; }
.showroom-map iframe { display:block; width:100%; height:clamp(265px,35vw,470px); border:0; }
.showroom-links { display:flex; flex-wrap:wrap; gap:8px; }
.main.home .showroom-visit .aliris-icon { width:42px; height:42px; color:#465c64; }
.main.home .planner-section { background:#e3eaf0; }
.main.home .planner { border-color:#a9bbc7; }
.main.home .planner-sheet { background:#dce7ed; }
.main.home .planner-sheet .cabinet { background:#eff5f6; box-shadow:inset 0 0 0 1px #8b9ba266; }
.main.home .planner-sheet .dimension { color:#385261; }
.main.home .planner .choice .aliris-icon { width:24px; height:24px; }

.main.home .home-faq { background:#eee9ef; }
.home-faq .faq-intro .button { margin-top:18px; }
.home-faq .faq-groups { display:grid; gap:17px; min-width:0; }
.home-faq .faq-group { padding:12px clamp(12px,2.5vw,30px) 10px; border-radius:8px; border:1px solid #d3c9d6; background:#faf7fb; }
.home-faq .faq-group h3 { display:flex; gap:10px; align-items:center; margin:8px 0 13px; font:400 clamp(23px,2.5vw,35px)/1.05 'PT Serif',Georgia,serif; }
.home-faq .faq-group h3 .aliris-icon { width:34px; height:34px; color:#66546b; --icon-detail:#8c6c90; }
.main.home .home-faq .questions details[open] { background:#f0e9f3; border-inline-start:2px solid #9c7fa4; }

@media (max-width: 1160px) {
  .cozy-pendant { top:-32px; right:14px; width:46px; height:63px; }
}
@media (max-height: 800px) and (min-width: 761px) {
  .main.home { --viewer-height: clamp(344px,calc(100svh - 300px),510px); }
  .main.home :is(.home-work,.material-section,.facade-chapter,.home-process,.delivery-section) { padding-block:28px 48px; }
  .main.home :is(.home-work,.material-section) { padding-block-start: 20px; }
  .main.home .home-work .section-heading { margin-bottom: 20px; }
  .main.home .material-heading { margin-bottom: 14px; }
  .main.home .home-work .feature-text h3,
  .main.home .material-copy h3,
  .main.home .detail-copy h3 { font-size:clamp(32px,4vw,48px); }
  .main.home .work-facts { margin-top:10px; }
  .main.home .work-facts > div { padding-block:5px; }
}
@media (max-width:760px) {
  .main.home {
    --viewer-columns:minmax(0,1fr);
    --viewer-height:clamp(310px,60svh,510px);
    --viewer-gap:16px;
  }
  .main.home :is(.home-work,.material-section,.facade-chapter,.home-process,.delivery-section) { padding-block:36px 44px; }
  .cozy-pendant { top:-25px; right:1px; width:33px; height:45px; }
  .cozy-pendant::before { width:66vw; height:64vw; }
  .main.home .discovery-title h1 { padding-inline-end:15px; }
  .main.home .home-furnishing .furnishing-story,
  .main.home .showroom-layout { grid-template-columns:minmax(0,1fr); }
  .main.home .home-furnishing .furnishing-lead h2 { font-size:clamp(41px,11vw,62px); }
  .main.home .room-picture img { --room-height:clamp(240px,72vw,345px); }
  .main.home .detail-copy { margin-top:0; }
  .main.home .home-process-grid .process-panel { grid-template-columns:1fr; }
  .main.home .process-panel-copy { padding-block:7px; }
  .main.home .delivery-intro > h2 { grid-row:auto; }
  .main.home .process-stages button { flex-direction:column; min-height:64px; gap:4px; font-size:12px; }
  .main.home .process-stages button svg { width:24px; }
  .main.home .showroom-map { order: 0; }
}
@media (max-width:620px) {
  .main.home .viewer-tabs :is(a,button) { flex-direction:column; }
  .main.home .process-panel-copy > svg { width:31px; height:31px; }
}
@media (prefers-reduced-motion: reduce) {
  .journey-position,.cozy-pendant::before { transition: none; }
}
