:root {
  --paper: #f8f6f1;
  --ink: #262720;
  --muted: #5e6256;
  --line: #dcd9cf;
  --copper: #78583d;
  --dark: #222822;
  --soft: #eeece5;
}

.topbar {background: #fdfbf7;border-bottom-color: var(--line)}
.bar-inner,.wrap {max-width: 1660px}
.navlinks a {font-weight: 550}
.navlinks a::after {bottom: -7px;background: #866248}
.contact,.btn-solid {background: var(--dark)}
.contact:hover,.btn-solid:hover {background: #3d473a}

.hero {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  grid-template-rows: 1fr auto;
  isolation: isolate;
  min-height: max(600px,calc(100svh - 80px));
  background: var(--dark);
  color: #fffdf7;
  padding: 0;
}
.hero-grid {
  display: flex;
  align-items: center;
  width: 100%;
  padding-block: clamp(48px,7vw,108px);
  pointer-events: none;
}
.hero-copy {position: relative;width: min(48%,580px);padding: 0}
.hero-copy,.hero-media {pointer-events: auto}
.hero-copy .eyebrow.light {color: #d4c7b2;letter-spacing: .18em}
.hero-copy .eyebrow.light>span:first-child {background: #c4a881}
.hero h1 {font-size: clamp(42px,4.5vw,76px);font-weight: 640;letter-spacing: -.055em}
html:lang(zh-CN) .hero h1 {font-size: clamp(36px,4vw,67px);line-height: 1.22;letter-spacing: -.035em}
.hero-copy p {color: #e2e0d7;line-height: 1.65}
.hero-copy .hero-cta {background: #fbf8f0;color: var(--dark);font-weight: 650}
.hero-copy .hero-cta:hover {background: #e5cdb2}
.hero-space-link {color: #f1e7d9;border-color: #807766}
.hero-space-link:hover {color:#fff;border-color:#fff}
.hero-media {position: absolute;inset: 0;z-index: -1;height: 100%;max-height: none;aspect-ratio: auto;background: #222822}
.hero-media:has(img[data-scene="courtyard"]) {background: #222822 url("assets/lakeside-courtyard.webp?v=2b5e08e1") 73% center / cover no-repeat}
.hero-media:has(img[data-scene="115"]) {background: #222822 url("assets/115-courtyard.webp") right center / cover no-repeat}
.hero-media img {display: block;object-fit: cover;object-position: 55% center}
.hero-media img[data-scene="courtyard"] {object-position: 73% center}
.hero-media img[data-scene="115"] {object-position: right center}
.hero-media img[data-scene="138"] {object-fit: contain;object-position: right center}
.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg,#19201be8 0%,#19201bc9 25%,#19201b58 48%,transparent 72%),
    linear-gradient(0deg,#151b17e8 0%,transparent 28%);
}
.hero-bottom {width: 100%;padding-block: 12px 22px}
.hero-tools>span,.slide-last {color: #eee9dc}
.hero-tools>span {text-shadow: 0 1px 5px #171b16}
.hero-motion-toggle {
  color: #fffdf7;
  background: #171d18a8;
  border: 1px solid #eee9dc78;
  padding: 7px 10px;
  min-height: 38px;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
}
.hero-motion-toggle:hover {background: #323c32}
.slide-bars button::before {background: #747d70}
.slide-bars .active::before {background: #f2dcc4}
.hero-arrows button {border-color: #787e70}
.hero-arrows button:hover {background: #3b4639}

@media (min-width: 741px) {
  .hero:has(img[data-scene="115"]) .hero-copy {width: min(42%,540px)}
  .hero-media:has(img[data-scene="115"])::after {
    background: linear-gradient(90deg,#19201beb 0%,#19201bcc 25%,#19201b9e 43%,transparent 68%),
      linear-gradient(0deg,#151b17e8 0%,transparent 28%);
  }
}

.collection-head h2,.collection .section-head h2 {margin-top: 0}
.category-links {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: clamp(15px,2vw,31px);
  margin-bottom: clamp(58px,7vw,105px);
}
.category-link {
  display: block;
  grid-column: span 2;
  min-width: 0;
  border: 1px solid var(--line);
  background: #fdfbf7;
}
.category-link:is([data-collection="entrance"],[data-collection="interior"]) {grid-column: span 3}
.category-photo {aspect-ratio: 16/10;overflow: hidden;background: var(--soft)}
.category-photo img {width: 100%;height: 100%;object-fit: cover}
.category-link:is([data-collection="entrance"],[data-collection="interior"]) .category-photo {aspect-ratio: 4/3}
.category-caption {
  padding: 16px clamp(12px,1.35vw,22px) 19px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 9px;
}
.category-caption h3 {font-size: clamp(17px,1.55vw,24px);line-height: 1.2;letter-spacing: -.02em}
.category-link:is([data-collection="entrance"],[data-collection="interior"]) .category-caption h3 {font-size: clamp(22px,2.4vw,33px)}
.category-caption p {margin-top: 8px;color: var(--muted);font-size: 13px;line-height: 1.45}
.category-scene-label {display: block;margin-top: 6px;color: var(--muted);font-size: 10px;line-height: 1.3}
.category-caption i {margin-top: 3px;font-size: 18px;color: var(--copper)}
.category-link:hover {border-color: #a39180;background: #f5f0e7}

.product-card .card-photo {border-color: #e7e3d9;aspect-ratio: 1.32;padding: clamp(8px,.95vw,16px)}
.product-card:hover .card-photo {border-color: #a58e77}
.card-caption {align-items: flex-start;padding-top: 15px}
.card-caption h3 {font-size: clamp(17px,1.6vw,25px);line-height: 1.22}
.card-caption small {letter-spacing: .045em;font-size: 11px;margin-bottom: 8px}
.card-caption p {font-size: 13px;color: var(--muted);line-height: 1.45;margin-top: 7px}
.card-caption>i {padding: 7px}
.product-card:hover .card-caption>i {background: var(--dark);color: #fff;border-color: var(--dark)}

.spaces {padding-block-start: 0;background: #202721;color: #fbf8ef}
.spaces-content {display: flex;align-items: baseline;justify-content: space-between;gap: 8px 42px;padding-block: clamp(12px,1.8svh,20px) 12px}
.spaces-content h2 {margin: 0;font-size: clamp(29px,3.3vw,48px);line-height: 1.1;letter-spacing: -.03em}
.spaces-content .section-intro {max-width: 38em;margin: 0;color: #d2d8ce;font-size: 15px;line-height: 1.65}
.space-view {border-block: 1px solid #ffffff2b;background: #28322a}
.space-photo {background: #171e19}
#space-img {display: block;width: 100%;height: auto}
.space-info {display: grid;grid-template-columns: minmax(0,1fr) auto;align-items: end;gap: 16px 28px;padding-block: clamp(18px,2.55vw,36px)}
.space-info h3 {font-size: clamp(22px,2.9vw,43px);line-height: 1.14;letter-spacing: -.025em}
.space-info p {max-width: 68ch;margin-top: 8px;color: #e0e5da;font-size: 15px;line-height: 1.65}
.space-info .space-render-label {margin: 0 0 7px;color: #c8cfc2;font-size: 13px}
.space-product-link {display: inline-flex;align-items: center;gap: 9px;padding: 5px 0;border-bottom: 1px solid #d7ded1;font-size: 15px;font-weight: 600}
.space-product-link:hover {color: #e8d4b6;border-color: #e8d4b6}
.space-actions {display: flex;flex-direction: column;align-items: flex-end;gap: 10px;width: clamp(16rem,26vw,22rem)}
.space-action-links {display: flex;align-items: center;justify-content: space-between;flex-wrap: wrap;gap: 4px 12px;width: 100%}
.space-autoplay {min-height: 44px;color: #e0e5da;font-size: 13px;text-align: left}
.space-autoplay:hover {color: #fff9ec;text-decoration: underline;text-underline-offset: 3px}
.space-picker-controls {display: grid;grid-template-columns: auto minmax(0,1fr) auto;align-items: center;gap: 8px;width: 100%}
#space-select {width: 100%;min-width: 0;min-height: 44px;padding: 0 10px;border: 1px solid #b5c0b1a6;border-radius: 0;color: #fbf8ef;background: #28322a;font: inherit;font-size: 14px;color-scheme: dark}
.space-step {display: grid;place-items: center;inline-size: 44px;block-size: 44px;border: 1px solid #b5c0b1a6;border-radius: 50%;color: #fbf8ef}
.space-step:not([aria-disabled="true"]):hover {background: #ffffff1c}
.space-step[aria-disabled="true"] {opacity: .42;cursor: default}
.spaces :is(a,button,select):focus-visible {outline: 2px solid #f4dcb4;outline-offset: 2px}
.about {max-width: 1660px;background: var(--dark)}
.about-pic {margin: 0;padding: clamp(20px,3vw,49px)}
.about-pic figcaption {margin-top: 8px;color: #d3d8cc;font-size: 13px;line-height: 1.5}
.footer-top {padding-bottom: 8px}
footer {border-top: 1px solid var(--line)}

.catalogue-intro {border-bottom: 1px solid var(--line);margin-bottom: 25px;padding-bottom: clamp(23px,3.2vw,49px)}
.catalogue-intro h1 {font-size: clamp(36px,5vw,78px);font-weight: 640;margin-top: 0}
.catalogue-intro .section-intro {max-width: 63ch;margin: 13px 0 0;line-height: 1.55}
.catalogue-collections {margin-bottom: clamp(25px,3vw,44px)}
.catalogue-collections h2 {margin-bottom: 12px;font-size: 17px;letter-spacing: 0}
#collection-filters {display: grid;grid-template-columns: repeat(4,minmax(0,1fr));gap: 6px}
#collection-filters button {display: flex;align-items: center;text-align: left;min-height: 45px;padding: 8px 13px;border: 1px solid #d7d2c6;font-size: 14px;line-height: 1.35}
#collection-filters button:hover {background: #eee8dd}
#collection-filters button[aria-pressed="true"] {background: var(--dark);color: #fffdf7;border-color: var(--dark)}
.catalog-controls .filters button:disabled {opacity: .4;cursor: default}
.catalogue-content {display: grid;grid-template-columns: minmax(165px,.22fr) minmax(0,1fr);gap: clamp(24px,3.5vw,52px)}
.catalog-controls h2 {font-size: 15px;letter-spacing: 0;margin-bottom: 14px}
.catalog-controls .filters {display: grid;gap: 0;margin: 0 0 17px}
.catalog-controls .filters button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  gap: 8px;
  padding: 12px 9px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.catalog-controls .filters small {font-size: 11px;font-variant-numeric: tabular-nums}
.catalog-controls .filters button[aria-pressed="true"] {color: var(--ink);background: #eae5d9;font-weight: 650}
.catalog-controls {border: 0;padding: 10px 0 0}
.catalog-controls .extra-filters {display: grid;gap: 12px}
.catalog-controls .extra-filters label {display: grid;gap: 7px;min-width: 0}
.catalog-controls .extra-filters :is(select,input) {width: 100%;min-width: 0;min-height: 44px}
.catalog-controls .extra-filters input {border: 1px solid var(--line);padding: 8px 10px;background: #fffdfa;color: var(--ink)}
.catalog-controls .extra-filters button {text-align: left}
.catalog-controls .extra-filters button[aria-pressed="true"] {background: var(--dark);color: white}
.catalog-results {min-width: 0}
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 15px;
  margin-bottom: 17px;
}
.catalog-toolbar .product-count {margin: 0}
.catalog-results .product-grid {row-gap: clamp(26px,4vw,58px)}
.catalog-pages {display: flex;justify-content: center;align-items: center;gap: clamp(10px,3vw,24px);margin-top: 36px;padding-top: 24px;border-top: 1px solid var(--line);font-size: 14px}
.catalog-pages button {display: flex;align-items: center;gap: 6px;min-height: 44px;padding: 6px 12px;border: 1px solid var(--line);white-space: nowrap}
.catalog-pages button:disabled {opacity: .5;cursor: default}
.catalog-pages button i {display: inline-flex;width: 16px}
.category-links[hidden],.category-link[hidden],.section-head[hidden],.about-pic[hidden],.catalog-pages[hidden] {display: none}
.about:has(.about-pic[hidden]) {grid-template-columns: 1fr}
.inquiry-receipt {margin-top: 12px;overflow-wrap: anywhere}

@media (max-width: 950px) {
  .catalogue-content {grid-template-columns: minmax(140px,.24fr) minmax(0,1fr);gap: 24px}
  #catalogue {grid-template-columns: repeat(2,minmax(0,1fr))}
}

@media (max-width: 740px) {
  .category-links {grid-template-columns: repeat(2,minmax(0,1fr))}
  .category-link,.category-link:is([data-collection="entrance"],[data-collection="interior"]) {grid-column: auto}
  .category-link:last-child:nth-child(odd) {grid-column: 1 / -1}
  #collection-filters {grid-template-columns: repeat(2,minmax(0,1fr))}
  .spaces-content {display: grid;gap: 10px}
  .spaces-content .section-intro {font-size: 14px}
  .space-info {grid-template-columns: 1fr;gap: 10px}
  .space-info p,.space-product-link {font-size: 14px}
  .space-actions {align-items: flex-start;width: min(100%,22rem)}
  .hero {min-height: 0}
  .hero-grid {display: grid;grid-template-columns: minmax(0,1fr);gap: 24px;padding: 0}
  .hero-copy {width: 100%;padding: 0 var(--gutter) 3px}
  html:lang(en) .hero h1 {font-size: clamp(33px,8vw,56px)}
  html:lang(zh-CN) .hero h1 {font-size: clamp(30px,7.4vw,51px)}
  .hero-copy .hero-cta {margin-right: 10px}
  .hero-space-link {margin-left: 0}
  .hero-media {position: relative;inset: auto;z-index: auto;grid-row: 1;width: 100%;height: auto;aspect-ratio: 16/9}
  .hero-media:has(img[data-scene="138"]) {aspect-ratio: 3/2}
  .hero-media::after {content: none}
  .hero-bottom,.hero-bottom .pagination,.hero-tools {gap: 6px}
  .hero-bottom .slide-bars button {width: 17px}
  .hero-motion-toggle {font-size: 12px;padding-inline: 6px}
  .category-links {gap: 12px}
  .category-caption {padding: 12px}
  .category-caption i {font-size: 15px}
  .catalogue-content {grid-template-columns: 1fr;gap: 21px}
  .catalog-controls {border-bottom: 1px solid var(--line);padding-bottom: 16px}
  .catalog-controls .filters {display: flex;gap: 6px;flex-wrap: wrap}
  .catalog-controls .filters button {border: 1px solid var(--line);min-height: 42px}
  .catalog-controls .filters small {display: none}
  .catalog-controls .extra-filters {grid-template-columns: repeat(2,minmax(0,1fr));align-items: end}
  .catalog-controls .extra-filters label:first-child {grid-column: 1 / -1}
  .catalog-controls .extra-filters button {justify-self: start}
}

@media (max-width: 480px) {
  .category-links {grid-template-columns: 1fr;margin-bottom: 45px}
  .category-link {display: grid;grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);align-items: center}
  .category-link:is([data-collection="entrance"],[data-collection="interior"]) {display: block}
  .category-photo {aspect-ratio: 4/3}
  .category-caption p {font-size: 12px}
  #catalogue {grid-template-columns: minmax(0,1fr)}
  .catalog-toolbar {margin-bottom: 14px}
  .card-caption h3 {font-size: 20px}
}
