:root {
  --paper: #f2eee6;
  --ink: #211d18;
  --muted: #746c60;
  --gold: #a47635;
  --dark: #15120f;
  --line: rgba(33, 29, 24, 0.17);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Serif SC", "Songti SC", STSong, serif;
  line-height: 1.85;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  width: 100%;
}
.wrap {
  width: min(1240px, calc(100% - 96px));
  margin: auto;
}
.eyebrow {
  font:
    600 0.7rem/1.4 ui-sans-serif,
    system-ui;
  letter-spacing: 0.24em;
  color: var(--gold);
  text-transform: uppercase;
}
header {
  height: 76px;
  background: rgba(19, 16, 13, 0.97);
  color: #fff;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 20;
}
nav {
  width: min(1380px, calc(100% - 72px));
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  letter-spacing: 0.2em;
}
.brand img {
  width: 36px;
  height: 36px;
  filter: brightness(0) saturate(100%) invert(79%) sepia(30%) saturate(738%)
    hue-rotate(354deg) brightness(89%);
}
.navlinks {
  display: flex;
  gap: 30px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}
.navlinks .active {
  color: #d5b176;
}
.case-hero {
  min-height: 82vh;
  display: grid;
  align-items: end;
  color: #fff;
  padding: 130px 0 88px;
  background-position: center;
  background-size: cover;
  position: relative;
}
.case-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 8, 6, 0.83), rgba(10, 8, 6, 0.08) 72%),
    linear-gradient(0deg, rgba(10, 8, 6, 0.48), transparent 55%);
}
.case-hero .wrap {
  position: relative;
}
.case-hero h1 {
  font-size: clamp(3.4rem, 7vw, 7rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.15;
  margin: 20px 0;
}
.case-hero p {
  max-width: 610px;
  color: #e4ddd2;
  font-size: 1.08rem;
}
.case-tag {
  display: inline-block;
  border: 1px solid #ffffff55;
  padding: 7px 13px;
  margin-top: 18px;
  font:
    500 0.65rem ui-sans-serif,
    system-ui;
  letter-spacing: 0.16em;
}
.case-disclosure{background:#d8c8b2;border-bottom:1px solid rgba(33,29,24,.16)}.case-disclosure .wrap{display:grid;grid-template-columns:.35fr 1.65fr;gap:5vw;padding-top:24px;padding-bottom:24px;align-items:start}.case-disclosure strong{font-weight:400;letter-spacing:.08em}.case-disclosure p{margin:0;color:#5f5549;font-size:.9rem}
.summary {
  padding: 110px 0;
}
.summary-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 10vw;
}
.summary h2 {
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.5;
  margin: 12px 0;
}
.summary .lead {
  font-size: 1.28rem;
  margin-top: 0;
}
.summary p {
  color: var(--muted);
}
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 36px;
}
.fact {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.fact:nth-child(odd) {
  padding-right: 25px;
}
.fact b {
  display: block;
  font-weight: 400;
  letter-spacing: 0.08em;
}
.fact span {
  font-size: 0.82rem;
  color: var(--muted);
}
.chapter {
  padding: 120px 0;
}
.chapter.dark {
  background: var(--dark);
  color: #eee8df;
}
.chapter-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 7vw;
  align-items: center;
}
.chapter-grid.reverse {
  grid-template-columns: 0.75fr 1.25fr;
}
.chapter-grid.reverse .visual {
  order: 2;
}
.study-chapter .chapter-grid {
  grid-template-columns: 0.58fr 1.42fr;
  gap: 5vw;
}
.study-chapter .visual img {
  height: 720px;
}
.visual img {
  height: 650px;
  object-fit: cover;
}
.penthouse-chapter .visual img,
.penthouse-chapter.study-chapter .visual img {
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #171411;
}
.copy h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.7rem);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.1em;
  margin: 15px 0 28px;
}
.copy p {
  color: var(--muted);
}
.dark .copy p {
  color: #a9a096;
}
.furniture-list {
  margin-top: 32px;
  border-top: 1px solid currentColor;
}
.furniture-list div {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 15px 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.84rem;
}
.furniture-list span:last-child {
  color: var(--gold);
}
.gallery {
  padding: 120px 0;
}
.gallery-head {
  display: grid;
  grid-template-columns: 130px 1fr;
  margin-bottom: 50px;
}
.gallery-head h2 {
  font-size: clamp(2.3rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.13em;
  margin: 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.gallery-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  grid-column: span 5;
}
.gallery-grid figure:first-child {
  grid-column: span 7;
}
.gallery-grid .wide-scene {
  grid-column: 1/-1;
}
.gallery-grid .wide-scene img {
  height: 620px;
}
.gallery-grid img {
  height: 520px;
  object-fit: cover;
  transition: 0.6s;
}
.villa-scenes .gallery-grid {
  grid-template-columns: 1fr;
  gap: 28px;
}
.villa-scenes .gallery-grid figure,
.villa-scenes .gallery-grid figure:first-child,
.villa-scenes .gallery-grid .wide-scene {
  grid-column: 1/-1;
}
.villa-scenes .gallery-grid img,
.villa-scenes .gallery-grid .wide-scene img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #171411;
}
.lifestyle-scenes {
  background: #e3dbcf;
}
.gallery-grid figure:hover img {
  transform: scale(1.025);
}
.gallery-grid figcaption {
  position: absolute;
  inset: auto 18px 16px;
  color: #fff;
  font:
    500 0.69rem ui-sans-serif,
    system-ui;
  letter-spacing: 0.13em;
  text-shadow: 0 2px 8px #000;
}
.palette {
  padding: 110px 0;
  background: #ded6c9;
}
.palette-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 9vw;
}
.palette h2 {
  font-size: clamp(2rem, 3.5vw, 3.3rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  margin: 12px 0;
}
.materials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #bcb2a2;
}
.material {
  background: #ded6c9;
  padding: 28px;
}
.material b {
  display: block;
  font-weight: 400;
  margin-bottom: 6px;
}
.material span {
  font-size: 0.82rem;
  color: #6d655a;
}
.next {
  padding: 110px 0;
  background: #a8793f;
  color: #fff;
}
.next-inner {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
}
.next h2 {
  font-size: clamp(2rem, 3.7vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0.13em;
  margin: 10px 0;
}
.cta {
  display: inline-flex;
  gap: 20px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 8px;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.note {
  padding: 28px 0;
  background: #11100e;
  color: #817970;
  font:
    500 0.64rem/1.7 ui-sans-serif,
    system-ui;
}
.note .wrap {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.case-index {
  padding: 115px 0;
}
.index-head {
  max-width: 760px;
  margin-bottom: 64px;
}
.index-head h1 {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  margin: 18px 0;
}
.index-head p {
  color: var(--muted);
}
.case-card {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  background: var(--dark);
  color: #fff;
  margin-bottom: 25px;
}
.case-card:nth-child(even) {
  grid-template-columns: 0.7fr 1.3fr;
}
.case-card:nth-child(even) .case-card-image {
  order: 2;
}
.case-card .case-card-image img {
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #171411;
}
.case-card-copy {
  padding: 60px;
  align-self: end;
}
.case-card-copy h2 {
  font-size: clamp(2rem, 3.2vw, 3.3rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.4;
}
.case-card-copy p {
  color: #aaa196;
}
.credits a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  nav {
    width: calc(100% - 36px);
  }
  .navlinks a:not(.active) {
    display: none;
  }
  .case-hero {
    min-height: 70vh;
  }
  .summary,
  .chapter,
  .gallery,
  .palette,
  .case-index {
    padding: 82px 0;
  }
  .summary-grid,
  .chapter-grid,
  .chapter-grid.reverse,
  .study-chapter .chapter-grid,
  .palette-grid,
  .case-card,
  .case-card:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .chapter-grid.reverse .visual,
  .case-card:nth-child(even) .case-card-image {
    order: 0;
  }
  .visual img,
  .gallery-grid img,
  .case-card-image img {
    height: 420px;
  }
  .study-chapter .visual img {
    height: 460px;
  }
  .gallery-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .gallery-grid figure,
  .gallery-grid figure:first-child {
    grid-column: 1/-1;
  }
  .case-card-copy {
    padding: 36px;
  }
  .next-inner,
  .note .wrap {
    display: block;
  }
  .next .cta {
    margin-top: 25px;
  }
  .navlinks {
    gap: 15px;
  }
}
@media (max-width: 760px){.case-disclosure .wrap{grid-template-columns:1fr;gap:8px;padding-top:20px;padding-bottom:20px}}

/* Room plans need the entire scene, including delivery paths and furniture bases. */
.chapter .visual img,.study-chapter .visual img,.penthouse-chapter .visual img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
.gallery .gallery-grid img,.gallery .gallery-grid .wide-scene img,.villa-scenes .gallery-grid img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
.gallery-grid figure:hover img{transform:none}
