.villa-hero {
  --heroProgress: 0;
  --heroX: 0px;
  --heroY: 0px;
  --heroTextY: 0px;
  --heroTextScale: 1;
  --heroTextOpacity: .74;
  --heroTextBlur: 0px;
  --heroTracking: 0em;
  --heroGroupY: 0px;
  --heroGroupScale: 1;
  --heroGroupOpacity: 1;
  --heroImageY: 0px;
  --heroImageScale: 1;
  --heroLabelOpacity: 1;
  z-index: 1;
  background-image: linear-gradient(180deg, rgba(186, 205, 224, .04), rgba(28, 23, 18, .22)), url("assets/hero-villa.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.nav {
  padding: 26px 40px !important;
  color: rgba(35, 33, 28, .82) !important;
  transform: translate3d(0, 0, 0);
  opacity: 1;
  transition: transform .42s cubic-bezier(.55, 0, .16, 1), opacity .32s ease;
  will-change: transform, opacity;
}

.nav.nav-hidden {
  transform: translate3d(0, -86%, 0);
  opacity: 0;
  pointer-events: none;
}

.nav nav {
  gap: 34px !important;
  font-size: 8px !important;
  letter-spacing: 2.05px !important;
}

.bag {
  font-size: 8px !important;
  letter-spacing: 1.8px !important;
}

.villa-hero .villa-base,
.villa-hero .villa-foreground {
  display: none;
}

.villa-hero .villa-base {
  display: block !important;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  filter: saturate(.94) contrast(.98) brightness(1.04);
  animation: none;
  transform: none;
}

.villa-hero .villa-foreground,
.villa-backtype {
  display: none !important;
}

.villa-backtype {
  position: absolute;
  z-index: 2;
  left: 3.5vw;
  right: 3.5vw;
  top: 29vh;
  font: 300 clamp(70px, 13vw, 212px)/.78 "Helvetica Neue", Helvetica, Arial, var(--sans);
  letter-spacing: -.045em;
  text-transform: uppercase;
  color: rgba(242, 234, 207, .58);
  white-space: nowrap;
  transform: translate3d(var(--heroX), var(--heroY), 0);
  opacity: .55;
  mix-blend-mode: screen;
}

.villa-wash {
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 30%, rgba(245, 219, 190, .16), transparent 34%),
    linear-gradient(90deg, rgba(21, 18, 14, .18), transparent 18%, transparent 78%, rgba(21, 18, 14, .13)),
    linear-gradient(180deg, rgba(236, 240, 242, .10) 0%, rgba(238, 227, 211, .04) 45%, rgba(15, 13, 10, .22) 100%);
}

.villa-title {
  display: none;
}

.villa-title p {
  margin-top: 18px;
  font-size: 24px;
}

.villa-hotspot {
  position: absolute;
  z-index: 6;
  left: var(--x);
  top: var(--y);
  display: grid;
  grid-template-columns: 12px max-content;
  gap: 7px 10px;
  align-items: start;
  border: 0;
  background: none;
  color: #f8f3e9;
  padding: 0;
  text-align: left;
  cursor: pointer;
  transform: translateY(0);
  transition: opacity .35s ease, transform .35s ease;
}

.villa-hotspot i {
  grid-row: 1 / 3;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f8f3e9;
  box-shadow: 0 0 0 1px rgba(248, 243, 233, .42), 0 0 18px rgba(248, 243, 233, .35);
  margin-top: 2px;
}

.villa-hotspot::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 13px;
  width: 1px;
  height: 42px;
  background: rgba(248, 243, 233, .55);
  transform-origin: top;
  transition: height .35s ease;
}

.villa-hotspot span {
  font: 500 7px/1 var(--sans);
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: rgba(248, 243, 233, .68);
}

.villa-hotspot b {
  font: 400 10px/1.22 var(--sans);
  letter-spacing: .15px;
  max-width: 125px;
  opacity: .78;
}

.villa-hotspot:hover,
.villa-hotspot:focus-visible {
  transform: translateY(-8px);
}

.villa-hotspot:hover::before,
.villa-hotspot:focus-visible::before {
  height: 64px;
}

.villa-hotspot:hover b,
.villa-hotspot:focus-visible b {
  opacity: 1;
}

.point-light { --x: 20vw; --y: 61vh; }
.point-object { --x: 44vw; --y: 51vh; }
.point-texture { --x: 63vw; --y: 60vh; }
.point-ritual { --x: 76vw; --y: 68vh; }

.villa-scroll {
  z-index: 6;
  transform: translateY(0);
  opacity: .9;
}

@media (max-width: 800px) {
  .villa-backtype {
    white-space: normal;
    font-size: clamp(64px, 20vw, 118px);
    line-height: .82;
    top: 28vh;
  }

  .villa-title {
    top: 12vh;
  }

  .villa-hotspot {
    display: none;
  }
}

/* Hard separation: hero is page one, envelope is page two. */
.villa-hero {
  display: block !important;
  position: relative !important;
  height: 100vh !important;
  min-height: 760px !important;
  width: 100% !important;
  overflow: hidden !important;
  isolation: isolate !important;
  contain: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.villa-hero .villa-base {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  z-index: 0 !important;
  opacity: 1 !important;
  filter: saturate(.88) contrast(1.02) brightness(1.02) !important;
  transform: translate3d(0, var(--heroImageY), 0) scale(var(--heroImageScale)) !important;
  transform-origin: center center;
  will-change: transform;
}

.villa-hero .villa-foreground {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  z-index: 2 !important;
  opacity: .98 !important;
  filter: saturate(.90) contrast(1.03) brightness(1.015) !important;
  transform: translate3d(0, var(--heroImageY), 0) scale(var(--heroImageScale)) !important;
  transform-origin: center center;
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 59%, rgba(0, 0, 0, .14) 62%, #000 67%, #000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 59%, rgba(0, 0, 0, .14) 62%, #000 67%, #000 100%);
  will-change: transform;
  pointer-events: none;
}

.villa-backtype {
  display: block !important;
  position: absolute !important;
  z-index: 1 !important;
  top: 48.5vh !important;
  left: 17.2vw !important;
  right: auto !important;
  width: max-content !important;
  max-width: none !important;
  font: 400 clamp(50px, 5.05vw, 100px)/.86 "Cormorant Garamond", Georgia, serif !important;
  letter-spacing: .012em !important;
  text-transform: none !important;
  color: rgba(239, 234, 222, .33) !important;
  opacity: var(--heroGroupOpacity) !important;
  mix-blend-mode: normal !important;
  white-space: nowrap !important;
  transform: translate3d(var(--heroX), var(--heroGroupY), 0) scale(var(--heroGroupScale)) !important;
  filter: blur(var(--heroTextBlur));
  transform-origin: 50% 50%;
  font-feature-settings: "kern" 1, "liga" 1;
  will-change: transform, opacity, filter;
  pointer-events: none;
}

.villa-backtype .hero-line {
  display: block;
  white-space: nowrap;
}

.villa-backtype .hero-line-house {
  margin-top: -.02em;
  padding-left: 0;
  font-size: .92em;
}

.villa-backtype .hero-word {
  display: inline-block;
  margin-right: .065em;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transform-origin: 50% 50%;
  will-change: transform, opacity, filter;
}

.villa-backtype .hero-word:last-child {
  margin-right: 0;
}

.villa-wash {
  z-index: 3 !important;
}

.villa-hotspot,
.villa-scroll {
  z-index: 4 !important;
}

.villa-hotspot {
  opacity: var(--heroLabelOpacity);
  filter: none;
}

.villa-hotspot i {
  width: 7px;
  height: 7px;
  background: rgba(245, 240, 229, .90);
  box-shadow: 0 0 0 1px rgba(245, 240, 229, .30);
}

.villa-hotspot::before {
  left: 3px;
  top: 11px;
  height: 52px;
  background: rgba(245, 240, 229, .42);
}

.villa-hotspot span {
  font-size: 6px;
  letter-spacing: 2.1px;
  color: rgba(245, 240, 229, .58);
}

.villa-hotspot b {
  font-size: 9px;
  line-height: 1.28;
  color: rgba(245, 240, 229, .78);
  opacity: .72;
}

.villa-scroll {
  display: none !important;
}

.opening {
  display: grid !important;
  position: relative !important;
  z-index: 2 !important;
  min-height: 100vh !important;
  margin: 0 !important;
  background: var(--paper) !important;
  clear: both !important;
}

.opening {
  position: relative;
  z-index: 4;
  background: var(--paper);
}

@media (max-width: 800px) {
  .villa-backtype {
    top: 28vh !important;
    left: -12vw !important;
    font-size: clamp(92px, 29vw, 160px) !important;
    line-height: .82 !important;
  }
}

/* Whole site luxury pass */
:root {
  --paper: #ebe6dc;
  --ivory: #f4efe6;
  --ink: #26231d;
  --line: rgba(38, 35, 29, .16);
}

body {
  background: #ebe6dc;
  color: #26231d;
  letter-spacing: 0;
}

body::before {
  opacity: .09;
}

.nav {
  grid-template-columns: minmax(220px, 1fr) auto minmax(150px, 1fr) !important;
  padding: 24px 38px !important;
  color: rgba(26, 25, 22, .72) !important;
  background: linear-gradient(180deg, rgba(235, 230, 220, .34), rgba(235, 230, 220, 0)) !important;
  mix-blend-mode: multiply !important;
}

.wordmark {
  font-size: 24px;
  letter-spacing: -.35px;
  word-spacing: -4px;
}

.nav nav {
  gap: 32px !important;
  font-size: 7px !important;
  letter-spacing: 2.25px !important;
}

.nav nav a {
  position: relative;
  padding-bottom: 7px;
}

.nav nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity .25s ease, transform .25s ease;
}

.nav nav a:hover::after {
  opacity: .45;
  transform: scaleX(1);
}

.bag {
  font-size: 7px !important;
  letter-spacing: 2px !important;
  padding-bottom: 8px !important;
}

.villa-backtype {
  top: 39.5vh !important;
  left: 18vw !important;
  font: 400 clamp(44px, 4.75vw, 92px)/.92 "Cormorant Garamond", Georgia, serif !important;
  letter-spacing: .012em !important;
  color: rgba(239, 234, 222, .31) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}

.villa-backtype .hero-line {
  color: inherit !important;
  transform: translateX(-.08em);
}

.villa-backtype .hero-line-house {
  margin-top: .08em;
  padding-left: 0;
  font-size: .88em;
  color: inherit !important;
  transform: translateX(0);
}

.villa-backtype .hero-word {
  color: rgba(239, 234, 222, .31);
  background: linear-gradient(180deg, rgba(239, 234, 222, .42) 0%, rgba(239, 234, 222, .29) 54%, rgba(239, 234, 222, .17) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.villa-backtype .hero-line-house .hero-word {
  background: linear-gradient(180deg, rgba(239, 234, 222, .34) 0%, rgba(239, 234, 222, .24) 48%, rgba(239, 234, 222, .15) 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.villa-hotspot {
  grid-template-columns: 9px max-content;
  gap: 6px 9px;
}

.villa-hotspot span {
  font-size: 5px;
  letter-spacing: 2.2px;
}

.villa-hotspot b {
  font-size: 8px;
  max-width: 112px;
}

.villa-hotspot::before {
  height: 45px;
}

.opening {
  background: #ebe6dc !important;
}

.opening-meta {
  inset: 92px 38px auto !important;
  font-size: 7px !important;
  letter-spacing: 2.3px !important;
  color: rgba(38, 35, 29, .56);
}

.folder {
  width: min(39vw, 560px) !important;
}

.folder-back,
.folder-front {
  box-shadow: 0 22px 42px rgba(46, 41, 32, .17) !important;
}

.folder-front {
  background: #696b5f !important;
}

.folder-logo {
  font-size: clamp(28px, 3.35vw, 48px) !important;
  opacity: .88;
}

.archive-no,
.tiny,
.letter-index,
.open-house {
  font-size: 6px !important;
  letter-spacing: 2.2px !important;
}

.letter strong {
  font-size: clamp(28px, 2.45vw, 38px) !important;
  line-height: 1.02 !important;
}

.click-note,
.letter-note,
.scribble {
  font-size: 17px !important;
  word-spacing: -3px !important;
}

.first-room::after {
  background: linear-gradient(90deg, rgba(18, 18, 15, .54), rgba(18, 18, 15, .10) 42%, rgba(18, 18, 15, .02) 78%) !important;
}

.room-copy {
  left: 8%;
  top: 53%;
  width: min(540px, 70vw);
}

.room-brand {
  font-size: 19px;
  margin-bottom: 22px;
  opacity: .88;
}

.room-copy h1 {
  font-size: clamp(38px, 4.35vw, 62px);
  line-height: .98;
  max-width: 540px;
}

.room-copy p {
  margin-top: 24px;
  font-size: 8px;
  line-height: 1.75;
  letter-spacing: 1.8px;
  max-width: 270px;
}

.vertical {
  right: 32px;
  font-size: 6px;
  letter-spacing: 2.4px;
  opacity: .72;
}

.moods,
.archive,
.proposal,
.letter-section {
  padding-left: 7vw;
  padding-right: 7vw;
}

.section-heading,
.archive-title {
  grid-template-columns: .75fr 1.45fr .8fr;
  gap: 6vw;
  align-items: start;
  padding-top: 26px;
  border-top: 1px solid rgba(38, 35, 29, .18);
}

.section-heading span,
.archive-title span,
.proposal-intro span {
  font-size: 6px;
  letter-spacing: 2.4px;
  color: rgba(38, 35, 29, .58);
}

.section-heading h2,
.archive-title h2,
.proposal-intro h2 {
  font-size: clamp(44px, 5.6vw, 82px);
  line-height: .92;
}

.section-heading p,
.archive-title p,
.proposal-intro p {
  font-size: 14px;
  line-height: 1.45;
  max-width: 250px;
  color: rgba(38, 35, 29, .70);
}

.section-heading p {
  grid-column: 2;
  margin-top: 18px;
  max-width: 340px;
}

.mood-stack {
  gap: 18px;
}

.mood {
  height: 34vw;
  min-height: 390px;
  top: 10vh;
}

.mood img {
  filter: saturate(.68) contrast(.96);
}

.mood::after {
  background: linear-gradient(0deg, rgba(18, 17, 14, .72), rgba(18, 17, 14, .18) 48%, transparent 82%);
}

.mood span {
  font-size: 6px;
  letter-spacing: 2.3px;
}

.mood h3 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: .96;
}

.mood p {
  font-size: 14px;
  opacity: .76;
}

.archive {
  background: #ded7c9;
}

.product-ledger {
  gap: 34px;
  margin-top: 7vw;
}

.archive-card {
  background: transparent;
  border-top: 1px solid rgba(38, 35, 29, .18);
}

.archive-card:hover {
  background: rgba(244, 239, 230, .36);
}

.archive-card-image {
  aspect-ratio: 1.18;
  background: #d4ccbf;
}

.archive-card > span,
.product-record > span,
.drawer-panel > span {
  font-size: 6px;
  letter-spacing: 2.2px;
}

.archive-card h3 {
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: .98;
}

.archive-card p {
  font-size: 9px;
  line-height: 1.65;
  letter-spacing: 1.7px;
}

.archive-card button,
.product-actions button,
.drawer-close,
.drawer-note {
  font-size: 6px;
  letter-spacing: 1.9px;
}

.product-detail {
  background: #eee8dd;
  gap: 7vw;
}

.product-photo {
  aspect-ratio: 1.12;
}

.product-record h2 {
  font-size: clamp(44px, 5.4vw, 78px);
  line-height: .92;
}

.product-record > p {
  font-size: 21px;
  line-height: 1.3;
  max-width: 380px;
}

.proposal {
  background: #303634;
  color: #e7dfd0;
  gap: 8vw;
}

.proposal-tool {
  border-top-color: rgba(231, 223, 208, .28);
}

.question {
  padding: 34px 0;
  border-bottom-color: rgba(231, 223, 208, .24);
}

.question > span {
  font-size: 6px;
  letter-spacing: 2.3px;
}

.question h3 {
  font-size: clamp(25px, 2.6vw, 34px);
}

.choices button {
  font-size: 6px;
  letter-spacing: 1.8px;
  padding: 9px 13px;
  border-color: rgba(231, 223, 208, .32);
}

.make-proposal {
  font-size: 6px;
  letter-spacing: 2px;
}

.paper-letter {
  box-shadow: 0 24px 46px rgba(64, 54, 43, .22);
  transform: rotate(-.45deg);
}

.paper-letter h2 strong {
  font-size: clamp(38px, 4.6vw, 64px);
}

footer {
  padding-top: 7vw;
  background: #26231d;
}

footer .wordmark {
  font-size: 40px;
}

footer p {
  font-size: 21px;
}

footer div:nth-of-type(2) {
  gap: 26px;
  font-size: 6px;
  letter-spacing: 2px;
}

/* Content richness pass */
.villa-hero .villa-hotspot {
  grid-template-columns: 12px max-content !important;
  gap: 7px 10px !important;
}

.villa-hero .villa-hotspot i {
  width: 7px !important;
  height: 7px !important;
  background: rgba(245, 240, 229, .92) !important;
  box-shadow: 0 0 0 1px rgba(245, 240, 229, .32) !important;
}

.villa-hero .villa-hotspot::before {
  left: 3px !important;
  top: 11px !important;
  height: 52px !important;
  background: rgba(245, 240, 229, .44) !important;
}

.villa-hero .villa-hotspot span {
  font-size: 6px !important;
  letter-spacing: 2.1px !important;
  color: rgba(245, 240, 229, .62) !important;
}

.villa-hero .villa-hotspot b {
  font-size: 9px !important;
  line-height: 1.28 !important;
  max-width: 125px !important;
  color: rgba(245, 240, 229, .80) !important;
  opacity: .76 !important;
}

.curation,
.materials {
  padding: 12vw 7vw;
  background: #ebe6dc;
}

.curation-heading,
.materials-intro {
  display: grid;
  grid-template-columns: .75fr 1.45fr .8fr;
  gap: 6vw;
  align-items: start;
  padding-top: 26px;
  border-top: 1px solid rgba(38, 35, 29, .18);
  margin-bottom: 6vw;
}

.curation-heading span,
.materials-intro span {
  font: 500 6px/1 var(--sans);
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: rgba(38, 35, 29, .58);
}

.curation-heading h2,
.materials-intro h2 {
  font: 400 clamp(44px, 5.6vw, 82px)/.92 var(--serif);
  margin: 0;
  text-wrap: balance;
}

.curation-heading p,
.materials-intro p {
  margin: 0;
  font: italic 14px/1.45 var(--text-serif);
  max-width: 250px;
  color: rgba(38, 35, 29, .70);
}

.edit-shell {
  display: grid;
  grid-template-columns: minmax(240px, .55fr) minmax(0, 1.45fr);
  gap: 5vw;
  align-items: stretch;
}

.edit-options {
  display: grid;
  align-content: start;
  border-top: 1px solid rgba(38, 35, 29, .20);
}

.edit-option {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 6px 18px;
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid rgba(38, 35, 29, .16);
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.edit-option span {
  grid-row: 1 / 3;
  font: 500 6px/1 var(--sans);
  letter-spacing: 2px;
  color: rgba(38, 35, 29, .50);
}

.edit-option b {
  font: 400 25px/.95 var(--serif);
}

.edit-option i {
  font: 400 8px/1.5 var(--sans);
  font-style: normal;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: rgba(38, 35, 29, .54);
}

.edit-option.active b {
  font-style: italic;
}

.edit-panel {
  display: grid;
  grid-template-columns: 1fr .82fr;
  min-height: 520px;
  background: #ded7c9;
}

.edit-image {
  min-height: 520px;
  background: #d1c7b8;
  overflow: hidden;
}

.edit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.86) contrast(.98);
}

.edit-copy {
  display: grid;
  align-content: center;
  padding: 5vw;
}

.edit-copy > span,
.material-record > span {
  font: 500 6px/1 var(--sans);
  letter-spacing: 2.3px;
  text-transform: uppercase;
  color: rgba(38, 35, 29, .56);
}

.edit-copy h3,
.material-record h3 {
  font: 400 clamp(42px, 5vw, 72px)/.9 var(--serif);
  margin: 24px 0;
  text-wrap: balance;
}

.edit-copy p,
.material-record p {
  font: italic 21px/1.28 var(--text-serif);
  margin: 0;
  color: rgba(38, 35, 29, .76);
}

.edit-copy dl,
.material-record dl {
  display: grid;
  gap: 0;
  margin: 38px 0 30px;
  border-top: 1px solid rgba(38, 35, 29, .18);
}

.edit-copy dl div,
.material-record dl div {
  padding: 15px 0;
  border-bottom: 1px solid rgba(38, 35, 29, .14);
}

.edit-actions {
  display: flex;
  gap: 22px;
}

.edit-actions button {
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  padding: 8px 0;
  font: 500 6px/1 var(--sans);
  letter-spacing: 1.9px;
  text-transform: uppercase;
  color: inherit;
}

.materials {
  background: #d8d1c2;
}

.material-tabs {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(38, 35, 29, .20);
  border-bottom: 1px solid rgba(38, 35, 29, .20);
  margin-bottom: 5vw;
}

.material-tabs button {
  flex: 1;
  border: 0;
  border-right: 1px solid rgba(38, 35, 29, .16);
  background: transparent;
  padding: 18px 12px;
  font: 500 7px/1 var(--sans);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(38, 35, 29, .62);
}

.material-tabs button:last-child {
  border-right: 0;
}

.material-tabs button.active {
  background: rgba(244, 239, 230, .58);
  color: rgba(38, 35, 29, .92);
}

.material-display {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 6vw;
  align-items: center;
}

.material-image {
  aspect-ratio: 1.15;
  overflow: hidden;
  background: #cbc2b4;
}

.material-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(.96);
}

.material-record {
  max-width: 640px;
}

.material-record dl {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 0;
}

.material-record dl div {
  border-top: 1px solid rgba(38, 35, 29, .18);
}

@media (max-width: 900px) {
  .edit-shell,
  .edit-panel,
  .material-display {
    grid-template-columns: 1fr;
  }

  .edit-panel,
  .edit-image {
    min-height: auto;
  }

  .edit-image,
  .material-image {
    aspect-ratio: 1.08;
  }

  .material-tabs {
    overflow-x: auto;
  }

  .material-tabs button {
    min-width: 120px;
  }

  .material-record dl {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .nav {
    padding: 18px 20px !important;
  }

  .villa-backtype {
    top: 45.5vh !important;
    left: 13vw !important;
    font-size: clamp(42px, 12vw, 78px) !important;
    line-height: .88 !important;
  }

  .folder {
    width: 78vw !important;
  }

  .section-heading,
  .archive-title {
    display: block;
  }

  .section-heading h2,
  .archive-title h2,
  .proposal-intro h2 {
    font-size: 48px;
  }

  .mood {
    height: 66vh;
  }
}

/* Product record pass */
body.product-open {
  overflow: hidden;
}

.curation-heading {
  grid-template-columns: minmax(120px, .62fr) minmax(360px, 1.15fr) minmax(300px, .72fr) !important;
  gap: clamp(34px, 5.2vw, 88px) !important;
}

.curation-heading p {
  justify-self: start;
  align-self: start;
  margin-top: clamp(8px, 1.1vw, 18px) !important;
  max-width: none !important;
  white-space: nowrap;
  font-size: 12px !important;
  line-height: 1.25 !important;
  color: rgba(38, 35, 29, .62) !important;
}

.edit-shell {
  gap: clamp(40px, 5.6vw, 96px) !important;
}

.edit-panel {
  background: transparent !important;
  border-top: 1px solid rgba(38, 35, 29, .18);
  border-bottom: 1px solid rgba(38, 35, 29, .14);
}

.edit-image {
  background: #d6cec0 !important;
}

.edit-copy {
  padding: clamp(44px, 5.6vw, 92px) !important;
}

.edit-copy p {
  max-width: 430px;
}

.product-detail {
  position: fixed !important;
  inset: 0 !important;
  z-index: 50 !important;
  width: 100% !important;
  min-height: 100svh !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .74fr) !important;
  gap: clamp(46px, 7vw, 128px) !important;
  align-items: center !important;
  padding: clamp(92px, 8vw, 140px) clamp(34px, 7vw, 118px) clamp(48px, 5.5vw, 90px) !important;
  background:
    linear-gradient(90deg, rgba(235, 230, 220, .98), rgba(241, 236, 226, .96)),
    #eee8dd !important;
  color: #26231d !important;
  overflow: auto !important;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 28px, 0);
  transition: opacity .48s ease, transform .58s cubic-bezier(.55, 0, .16, 1), visibility 0s linear .58s;
}

.product-detail.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition-delay: 0s;
}

.product-detail::before {
  content: "";
  position: fixed;
  left: clamp(34px, 7vw, 118px);
  right: clamp(34px, 7vw, 118px);
  top: 74px;
  height: 1px;
  background: rgba(38, 35, 29, .16);
  pointer-events: none;
}

.product-back {
  position: fixed;
  top: 30px;
  left: clamp(34px, 7vw, 118px);
  z-index: 3;
  border: 0;
  border-bottom: 1px solid rgba(38, 35, 29, .54);
  background: transparent;
  color: rgba(38, 35, 29, .78);
  padding: 0 0 8px;
  font: 500 7px/1 var(--sans);
  letter-spacing: 2.1px;
  text-transform: uppercase;
  cursor: pointer;
}

.product-photo {
  width: min(100%, 820px);
  max-height: 72vh;
  aspect-ratio: 1.04 !important;
  justify-self: center;
  background: #d8d0c3 !important;
  box-shadow: none !important;
  overflow: hidden;
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: normal !important;
  filter: saturate(.88) contrast(.96) brightness(1.01) !important;
  transform: scale(1.01);
}

.product-record {
  max-width: 560px !important;
  padding-top: 12px;
}

.product-record > span {
  font-size: 6px !important;
  letter-spacing: 2.5px !important;
  color: rgba(38, 35, 29, .52) !important;
}

.product-record h2 {
  margin: 30px 0 24px !important;
  font-size: clamp(46px, 5.8vw, 92px) !important;
  line-height: .88 !important;
  letter-spacing: 0 !important;
}

.product-record > p {
  max-width: 470px !important;
  font-size: clamp(18px, 1.55vw, 25px) !important;
  line-height: 1.28 !important;
  color: rgba(38, 35, 29, .68) !important;
}

.product-record dl {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  margin: clamp(34px, 4vw, 56px) 0 26px !important;
  border-top: 1px solid rgba(38, 35, 29, .20) !important;
}

.product-record dl div {
  min-height: 86px;
  padding: 17px 24px 16px 0 !important;
}

.product-record dt {
  font-size: 6px;
  letter-spacing: 2px;
  color: rgba(38, 35, 29, .52);
}

.product-record dd {
  margin-top: 9px;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1;
}

.product-record .scribble {
  font-family: var(--text-serif) !important;
  font-size: 15px !important;
  font-style: italic;
  letter-spacing: 0 !important;
  word-spacing: 0 !important;
  color: rgba(38, 35, 29, .56) !important;
}

.product-actions {
  align-items: center;
  gap: 26px !important;
}

.product-actions button:first-child {
  border: 1px solid rgba(38, 35, 29, .72) !important;
  background: #26231d !important;
  color: #eee8dd !important;
  padding: 15px 22px !important;
}

.product-actions button:last-child {
  padding: 15px 0 !important;
}

@media (max-width: 1120px) {
  .curation-heading {
    grid-template-columns: .75fr 1.45fr !important;
  }

  .curation-heading p {
    grid-column: 2;
    margin-top: 18px !important;
  }
}

@media (max-width: 900px) {
  .product-detail {
    grid-template-columns: 1fr !important;
    align-content: start !important;
    gap: 34px !important;
    padding: 96px 22px 44px !important;
  }

  .product-detail::before {
    left: 22px;
    right: 22px;
    top: 68px;
  }

  .product-back {
    left: 22px;
    top: 28px;
  }

  .product-photo {
    max-height: none;
    aspect-ratio: 1.05 !important;
  }

  .product-record dl {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 800px) {
  .curation-heading {
    display: block !important;
  }

  .curation-heading p {
    white-space: normal;
    max-width: 300px !important;
  }
}

/* Curation calm pass */
.curation {
  padding-top: clamp(110px, 11vw, 170px) !important;
  padding-bottom: clamp(112px, 12vw, 188px) !important;
  background: #e9e4da !important;
}

.curation-heading {
  display: grid !important;
  grid-template-columns: minmax(110px, .46fr) minmax(0, 1.28fr) minmax(260px, .56fr) !important;
  gap: clamp(28px, 4.8vw, 74px) !important;
  align-items: start !important;
  width: min(100%, 1180px);
  margin: 0 auto clamp(38px, 5vw, 76px) !important;
  padding-top: 24px !important;
  border-top: 1px solid rgba(38, 35, 29, .16) !important;
}

.curation-heading span {
  padding-top: 9px;
  font-size: 6px !important;
  letter-spacing: 2.5px !important;
  color: rgba(38, 35, 29, .50) !important;
}

.curation-heading h2 {
  max-width: 650px;
  font-size: clamp(44px, 4.85vw, 74px) !important;
  line-height: .94 !important;
  letter-spacing: 0 !important;
}

.curation-heading p {
  grid-column: auto !important;
  align-self: end !important;
  justify-self: start !important;
  width: 100%;
  max-width: 310px !important;
  margin: 0 0 4px !important;
  white-space: normal !important;
  font: 400 10px/1.55 var(--sans) !important;
  letter-spacing: 1.35px;
  text-transform: uppercase;
  color: rgba(38, 35, 29, .55) !important;
}

.edit-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: clamp(24px, 3vw, 38px) !important;
}

.edit-options {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(38, 35, 29, .16) !important;
  border-bottom: 1px solid rgba(38, 35, 29, .16) !important;
}

.edit-option {
  position: relative;
  display: grid !important;
  grid-template-columns: 28px 1fr !important;
  gap: 5px 16px !important;
  min-height: 88px;
  padding: 19px clamp(18px, 2.2vw, 30px) 18px 0 !important;
  border-bottom: 0 !important;
  border-right: 1px solid rgba(38, 35, 29, .12) !important;
  transition: background .28s ease;
}

.edit-option:last-child {
  border-right: 0 !important;
}

.edit-option::after {
  content: "";
  position: absolute;
  left: 0;
  right: clamp(18px, 2.2vw, 30px);
  bottom: -1px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(.35);
  transform-origin: left center;
  transition: opacity .28s ease, transform .28s ease;
}

.edit-option.active::after,
.edit-option:hover::after {
  opacity: .62;
  transform: scaleX(1);
}

.edit-option span {
  grid-row: 1 / 3;
  font-size: 6px !important;
  letter-spacing: 2.1px !important;
  color: rgba(38, 35, 29, .44) !important;
}

.edit-option b {
  font: 500 10px/1.1 var(--sans) !important;
  letter-spacing: 1.65px;
  text-transform: uppercase;
}

.edit-option i {
  max-width: 190px;
  font-size: 7px !important;
  line-height: 1.55 !important;
  letter-spacing: 1.45px !important;
  color: rgba(38, 35, 29, .46) !important;
}

.edit-option.active b {
  font-style: normal !important;
}

.edit-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .72fr) !important;
  gap: clamp(42px, 5.6vw, 86px) !important;
  align-items: center !important;
  min-height: 0 !important;
  padding-top: clamp(28px, 3.8vw, 56px);
  border: 0 !important;
}

.edit-image {
  min-height: 0 !important;
  aspect-ratio: 1.32;
  background: #d4ccbf !important;
}

.edit-image img {
  filter: saturate(.78) contrast(.96) brightness(1.02) !important;
}

.edit-copy {
  align-content: start !important;
  padding: 0 !important;
}

.edit-copy > span {
  font-size: 6px !important;
  letter-spacing: 2.55px !important;
  color: rgba(38, 35, 29, .48) !important;
}

.edit-copy h3 {
  margin: 22px 0 18px !important;
  font-size: clamp(42px, 4.35vw, 64px) !important;
  line-height: .94 !important;
}

.edit-copy p {
  max-width: 400px !important;
  font: 400 14px/1.62 var(--sans) !important;
  letter-spacing: .15px;
  color: rgba(38, 35, 29, .66) !important;
}

.edit-copy dl {
  margin: 34px 0 28px !important;
  border-top: 1px solid rgba(38, 35, 29, .16) !important;
}

.edit-copy dl div {
  padding: 17px 0 !important;
}

.edit-copy dt {
  font-size: 6px;
  letter-spacing: 2px;
  color: rgba(38, 35, 29, .46);
}

.edit-copy dd {
  margin-top: 7px;
  font-size: clamp(18px, 1.55vw, 23px);
  line-height: 1.08;
  color: rgba(38, 35, 29, .78);
}

.edit-actions {
  gap: 25px !important;
}

.edit-actions button {
  font-size: 6px !important;
  letter-spacing: 2.1px !important;
  color: rgba(38, 35, 29, .76) !important;
}

@media (max-width: 980px) {
  .curation-heading {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .curation-heading h2,
  .curation-heading p {
    max-width: 620px !important;
  }

  .edit-panel {
    grid-template-columns: 1fr !important;
  }

  .edit-copy {
    max-width: 560px;
  }
}

@media (max-width: 720px) {
  .edit-options {
    grid-template-columns: 1fr;
  }

  .edit-option {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(38, 35, 29, .12) !important;
  }

  .edit-option:last-child {
    border-bottom: 0 !important;
  }
}

/* Archive browsing index */
.archive-title,
.archive-index,
.product-ledger {
  width: min(100%, 1180px);
  margin-left: auto !important;
  margin-right: auto !important;
}

.archive-index {
  display: grid;
  grid-template-columns: minmax(240px, .58fr) minmax(0, 1.42fr);
  gap: clamp(38px, 5.4vw, 86px);
  margin-top: clamp(34px, 4.2vw, 62px);
  margin-bottom: clamp(34px, 4.8vw, 72px);
  padding: 26px 0;
  border-top: 1px solid rgba(38, 35, 29, .18);
  border-bottom: 1px solid rgba(38, 35, 29, .18);
}

.archive-index-copy {
  display: grid;
  align-content: start;
  gap: 18px;
}

.archive-index-copy span,
.archive-filter-row > span,
.archive-index-copy b {
  font: 500 6px/1 var(--sans);
  letter-spacing: 2.35px;
  text-transform: uppercase;
  color: rgba(38, 35, 29, .48);
}

.archive-index-copy h3 {
  max-width: 320px;
  margin: 0;
  font: 400 clamp(28px, 3.2vw, 46px)/.98 var(--serif);
  color: rgba(38, 35, 29, .86);
}

.archive-index-copy b {
  align-self: end;
  color: rgba(38, 35, 29, .60);
}

.archive-index-list {
  display: grid;
}

.archive-filter-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: clamp(22px, 3vw, 44px);
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(38, 35, 29, .12);
}

.archive-filter-row:first-child {
  padding-top: 0;
}

.archive-filter-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.archive-filter-row > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.archive-filter-row button {
  position: relative;
  border: 0;
  background: transparent;
  color: rgba(38, 35, 29, .64);
  padding: 0 0 7px;
  font: 500 8px/1 var(--sans);
  letter-spacing: 1.65px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .25s ease;
}

.archive-filter-row button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(.38);
  transform-origin: left center;
  transition: opacity .25s ease, transform .25s ease;
}

.archive-filter-row button:hover,
.archive-filter-row button.active {
  color: rgba(38, 35, 29, .94);
}

.archive-filter-row button:hover::after,
.archive-filter-row button.active::after {
  opacity: .72;
  transform: scaleX(1);
}

.archive-card {
  transition: opacity .28s ease, transform .28s ease, background .35s ease;
}

.archive-card.is-hidden {
  display: none;
}

.archive-empty {
  width: min(100%, 1180px);
  margin: clamp(34px, 5vw, 70px) auto 0;
  padding: clamp(48px, 6vw, 86px);
  border: 1px solid rgba(38, 35, 29, .14);
  background: rgba(241, 236, 226, .52);
  text-align: center;
  font: italic clamp(20px, 2.4vw, 34px)/1.14 var(--text-serif);
  color: rgba(38, 35, 29, .58);
}

@media (max-width: 900px) {
  .archive-index {
    grid-template-columns: 1fr;
  }

  .archive-index-copy h3 {
    max-width: 520px;
  }

  .archive-filter-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Soft Archive product section */
.archive {
  background:
    radial-gradient(circle at 18% 12%, rgba(246, 241, 231, .52), transparent 34%),
    linear-gradient(180deg, #e6dfd2 0%, #ddd5c7 100%) !important;
  padding-top: clamp(120px, 13vw, 190px) !important;
}

.archive-title {
  grid-template-columns: minmax(120px, .55fr) minmax(0, 1.28fr) minmax(260px, .62fr) !important;
  gap: clamp(36px, 5vw, 84px) !important;
  margin-bottom: clamp(44px, 6vw, 86px) !important;
}

.archive-title h2 {
  max-width: 670px;
  font-size: clamp(54px, 6.2vw, 98px) !important;
}

.archive-title p {
  align-self: end;
  max-width: 310px !important;
  font: 400 10px/1.65 var(--sans) !important;
  letter-spacing: 1.35px;
  text-transform: uppercase;
  color: rgba(38, 35, 29, .56) !important;
}

.archive-index {
  grid-template-columns: minmax(220px, .48fr) minmax(0, 1.52fr) !important;
  width: min(100%, 1180px);
  margin-top: 0 !important;
  margin-bottom: clamp(46px, 5.6vw, 82px) !important;
  padding: 24px 0 26px !important;
  border-top-color: rgba(38, 35, 29, .20) !important;
  border-bottom-color: rgba(38, 35, 29, .14) !important;
}

.archive-index-copy {
  gap: 16px !important;
}

.archive-index-copy h3 {
  max-width: 260px !important;
  font-size: clamp(25px, 2.45vw, 38px) !important;
  line-height: 1.02 !important;
}

.archive-index-copy b {
  margin-top: 16px;
}

.archive-index-list {
  gap: 14px;
}

.archive-filter-row {
  grid-template-columns: 98px 1fr !important;
  padding: 0 0 15px !important;
}

.archive-filter-row + .archive-filter-row {
  padding-top: 15px !important;
}

.archive-filter-row > div {
  gap: 10px 18px !important;
}

.archive-filter-row button {
  font-size: 7px !important;
  letter-spacing: 1.55px !important;
}

.product-ledger {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  gap: clamp(22px, 2.6vw, 34px) !important;
  margin-top: 0 !important;
  border: 0 !important;
}

.archive-card {
  position: relative;
  grid-column: span 6;
  display: grid !important;
  grid-template-rows: auto 1fr !important;
  gap: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  background: #eee8dc !important;
  border: 1px solid rgba(38, 35, 29, .13) !important;
  box-shadow: 0 18px 42px rgba(57, 50, 39, .08);
  transition: transform .48s cubic-bezier(.55, 0, .16, 1), box-shadow .48s ease, background .35s ease !important;
}

.archive-card:nth-child(1) {
  grid-column: 1 / span 7;
}

.archive-card:nth-child(2) {
  grid-column: 8 / span 5;
  margin-top: clamp(48px, 5vw, 78px);
}

.archive-card:nth-child(3) {
  grid-column: 2 / span 5;
}

.archive-card:nth-child(4) {
  grid-column: 7 / span 5;
}

.archive-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(38, 35, 29, .09);
  pointer-events: none;
  opacity: .78;
}

.archive-card:hover {
  background: #f3eee4 !important;
  transform: translateY(-8px);
  box-shadow: 0 28px 62px rgba(57, 50, 39, .13);
}

.archive-card-image {
  position: relative;
  aspect-ratio: 1.18 !important;
  margin: 14px 14px 0;
  background: #d6cec0 !important;
  overflow: hidden;
}

.feature-card .archive-card-image {
  aspect-ratio: 1.08 !important;
}

.archive-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.82) contrast(.97) brightness(1.02) !important;
  transform: scale(1.01);
  transition: transform 1s cubic-bezier(.55, 0, .16, 1), filter .7s ease !important;
}

.archive-card:hover .archive-card-image img {
  transform: scale(1.04);
  filter: saturate(.92) contrast(.99) brightness(1.03) !important;
}

.archive-card-image em {
  position: absolute;
  left: clamp(18px, 2.1vw, 28px);
  bottom: clamp(16px, 2vw, 24px);
  max-width: 190px;
  font: italic 15px/1.08 var(--text-serif);
  color: rgba(244, 239, 229, .86);
  text-shadow: 0 1px 12px rgba(31, 28, 22, .26);
}

.archive-card > .archive-card-record {
  position: relative;
  display: grid !important;
  gap: clamp(18px, 2vw, 26px);
  margin: 0 !important;
  padding: clamp(28px, 3.2vw, 46px);
}

.archive-card-kicker {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid rgba(38, 35, 29, .14);
  padding-bottom: 16px;
}

.archive-card-kicker span,
.archive-card-kicker b,
.archive-card-record dt {
  font: 500 6px/1 var(--sans);
  letter-spacing: 2.25px;
  text-transform: uppercase;
  color: rgba(38, 35, 29, .48);
}

.archive-card-kicker b {
  color: rgba(38, 35, 29, .62);
  white-space: nowrap;
}

.archive-card h3 {
  max-width: 560px !important;
  margin: 0 !important;
  font: 400 clamp(38px, 4.5vw, 72px)/.9 var(--serif) !important;
  letter-spacing: 0 !important;
  color: rgba(38, 35, 29, .92);
}

.archive-card:not(.feature-card) h3 {
  font-size: clamp(34px, 3.6vw, 54px) !important;
}

.archive-card-record dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(38, 35, 29, .14);
}

.archive-card-record dl div {
  padding: 15px 20px 14px 0;
  border-bottom: 1px solid rgba(38, 35, 29, .12);
}

.archive-card-record dd {
  margin: 8px 0 0;
  font: 400 clamp(18px, 1.45vw, 22px)/1.04 var(--serif);
  color: rgba(38, 35, 29, .78);
}

.archive-card-record p {
  max-width: 470px;
  margin: 0 !important;
  font: 400 14px/1.64 var(--sans) !important;
  letter-spacing: .1px !important;
  text-transform: none !important;
  color: rgba(38, 35, 29, .68) !important;
}

.archive-card-footer {
  display: flex !important;
  justify-content: space-between;
  align-items: end;
  gap: 26px;
  margin: 0 !important;
}

.archive-card-footer strong {
  font: 400 clamp(25px, 2.4vw, 34px)/1 var(--serif);
  color: rgba(38, 35, 29, .90);
}

.archive-card-footer > div {
  display: flex;
  gap: 22px;
  margin: 0 !important;
}

.archive-card button {
  font-size: 6px !important;
  letter-spacing: 2px !important;
  color: rgba(38, 35, 29, .76) !important;
}

.archive-card .keep {
  border: 1px solid rgba(38, 35, 29, .42) !important;
  margin-top: 0 !important;
  padding: 10px 14px !important;
}

.archive-card .view-product {
  padding: 10px 0 !important;
}

@media (max-width: 1020px) {
  .archive-title,
  .archive-index {
    grid-template-columns: 1fr !important;
  }

  .archive-title p,
  .archive-index-copy h3 {
    max-width: 560px !important;
  }

  .product-ledger {
    grid-template-columns: 1fr !important;
  }

  .archive-card,
  .archive-card:nth-child(1),
  .archive-card:nth-child(2),
  .archive-card:nth-child(3),
  .archive-card:nth-child(4) {
    grid-column: auto;
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .archive-card > .archive-card-record {
    padding: 28px 22px;
  }

  .archive-card-kicker,
  .archive-card-footer {
    display: grid !important;
    justify-content: start;
  }

  .archive-card-record dl {
    grid-template-columns: 1fr;
  }
}

/* Transaction-ready shopping system */
.archive .object-stage {
  display: none !important;
}

.archive-title p {
  max-width: 360px !important;
}

.archive-filter-row:first-child {
  border-bottom: 1px solid rgba(38, 35, 29, .12) !important;
}

.archive-filter-row > div {
  align-items: center;
}

.product-ledger {
  align-items: start;
}

.archive-card {
  min-width: 0;
}

.archive-card:nth-child(n + 3) {
  grid-column: span 6;
  margin-top: 0;
}

.archive-card-kicker span,
.archive-card-kicker b {
  flex-shrink: 0;
}

.archive-card-record dl {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.archive-card-record dl div {
  min-width: 0;
}

.archive-card-record dd {
  overflow-wrap: anywhere;
}

.archive-card-footer {
  align-items: center !important;
}

.archive-card-footer > div {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.archive-card .save-room {
  border: 0 !important;
  border-bottom: 1px solid rgba(38, 35, 29, .38) !important;
  background: transparent !important;
  padding: 10px 0 !important;
}

.archive-card .save-room.active {
  color: rgba(38, 35, 29, .95) !important;
  font-style: italic;
}

.product-detail {
  display: block !important;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .86fr);
  gap: clamp(46px, 7vw, 120px);
  align-items: start;
}

.product-gallery {
  display: grid;
  gap: 16px;
}

.product-gallery .product-photo {
  width: 100% !important;
  max-height: none !important;
  aspect-ratio: 1.05 !important;
  justify-self: stretch !important;
}

.detail-secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.detail-thumb {
  border: 1px solid rgba(38, 35, 29, .12);
  background: #ddd5c7;
  padding: 0;
  aspect-ratio: 1.28;
  overflow: hidden;
  cursor: pointer;
}

.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.82) contrast(.96);
  transition: transform .6s ease;
}

.detail-thumb:hover img {
  transform: scale(1.035);
}

.product-record {
  position: sticky;
  top: 92px;
  max-width: 620px !important;
}

.detail-price {
  display: block;
  margin: 0 0 clamp(28px, 3.6vw, 46px);
  font: 400 clamp(30px, 3vw, 42px)/1 var(--serif);
  color: rgba(38, 35, 29, .90);
}

.product-record .detail-specs,
.product-record .detail-policies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0;
  border-top: 1px solid rgba(38, 35, 29, .18) !important;
}

.product-record .detail-policies {
  grid-template-columns: 1fr !important;
  margin-top: 0 !important;
}

.product-record .detail-specs div,
.product-record .detail-policies div {
  min-height: 0 !important;
  padding: 17px 24px 17px 0 !important;
}

.product-record .detail-policies dd {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.58;
  letter-spacing: .15px;
}

.detail-purchase {
  display: grid;
  gap: 26px;
  margin-top: clamp(30px, 3vw, 44px);
}

.quantity-control,
.cart-quantity {
  display: inline-grid;
  grid-template-columns: 34px 42px 34px;
  align-items: center;
  width: max-content;
  border: 1px solid rgba(38, 35, 29, .24);
}

.quantity-control button,
.cart-quantity button {
  height: 34px;
  border: 0;
  background: transparent;
  color: inherit;
  font: 500 12px/1 var(--sans);
  cursor: pointer;
}

.quantity-control span,
.cart-quantity span {
  text-align: center;
  font: 500 8px/1 var(--sans);
  letter-spacing: 1.5px;
}

.product-actions #detailSave {
  border: 0 !important;
  border-bottom: 1px solid currentColor !important;
  background: transparent !important;
  color: rgba(38, 35, 29, .72) !important;
  padding: 15px 0 !important;
}

.product-actions #detailSave.active {
  font-style: italic;
  color: rgba(38, 35, 29, .96) !important;
}

.related-products {
  margin-top: clamp(48px, 6vw, 86px);
  padding-top: 24px;
  border-top: 1px solid rgba(38, 35, 29, .16);
}

.related-products > span {
  display: block;
  margin-bottom: 22px;
  font: 500 6px/1 var(--sans);
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: rgba(38, 35, 29, .52);
}

.related-products > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.related-card {
  display: grid;
  gap: 12px;
  border-top: 1px solid rgba(38, 35, 29, .14);
  padding-top: 14px;
}

.related-card img {
  width: 100%;
  aspect-ratio: 1.12;
  object-fit: cover;
  filter: saturate(.82) contrast(.96);
}

.related-card span {
  font: 500 6px/1 var(--sans);
  letter-spacing: 2px;
  color: rgba(38, 35, 29, .50);
}

.related-card h3 {
  margin: 0;
  font: 400 22px/.98 var(--serif);
}

.related-card p {
  margin: 0;
  font: 400 16px/1 var(--serif);
}

.related-card button {
  justify-self: start;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  padding: 7px 0;
  font: 500 6px/1 var(--sans);
  letter-spacing: 1.9px;
  text-transform: uppercase;
}

.drawer-panel {
  grid-template-rows: auto auto 1fr auto auto !important;
}

.drawer-items {
  gap: 0 !important;
}

.drawer-item {
  grid-template-columns: 74px minmax(0, 1fr) auto !important;
  align-items: start;
  gap: 12px 16px !important;
  padding: 18px 0 !important;
}

.drawer-item img {
  grid-row: 1 / 4;
  width: 74px;
  aspect-ratio: 1;
  object-fit: cover;
  background: #d8d0c3;
}

.drawer-item-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.drawer-item-copy span {
  font: 500 6px/1 var(--sans);
  letter-spacing: 1.8px;
  color: rgba(38, 35, 29, .52);
}

.drawer-item-copy b {
  font: 400 20px/.96 var(--serif);
}

.drawer-item-copy i {
  font: 400 11px/1 var(--sans);
  font-style: normal;
  letter-spacing: .9px;
  text-transform: uppercase;
  color: rgba(38, 35, 29, .56);
}

.cart-quantity {
  grid-column: 2;
  grid-template-columns: 28px 34px 28px;
}

.cart-quantity button {
  height: 28px;
}

.drawer-item em {
  grid-column: 3;
  grid-row: 1;
  font: 400 18px/1 var(--serif);
}

.drawer-remove {
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  padding: 6px 0;
  font: 500 6px/1 var(--sans);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(38, 35, 29, .58);
}

.drawer-summary {
  display: grid;
  gap: 16px;
  border-top: 1px solid rgba(41, 39, 32, .34);
  padding-top: 20px;
}

.drawer-summary p,
.drawer-summary small {
  margin: 0;
  font: 400 11px/1.5 var(--sans);
  letter-spacing: .4px;
  color: rgba(41, 39, 32, .62);
}

.drawer-summary .drawer-total {
  border-top: 0;
  padding-top: 0;
}

.drawer-note {
  background: #292720 !important;
  color: #eee8db !important;
}

.drawer-checkout-status {
  min-height: 14px;
  margin: -4px 0 -6px;
  font: 400 10px/1.4 var(--sans);
  letter-spacing: .35px;
  color: rgba(41, 39, 32, .56);
}

.drawer-note:disabled {
  cursor: wait;
  opacity: .64;
}

@media (max-width: 900px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .product-record {
    position: static;
  }

  .related-products > div {
    grid-template-columns: 1fr;
  }

  .archive-card:nth-child(n) {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .archive-card-record dl,
  .product-record .detail-specs {
    grid-template-columns: 1fr !important;
  }

  .archive-card-footer > div,
  .product-actions {
    justify-content: flex-start;
  }

  .drawer-item {
    grid-template-columns: 64px 1fr !important;
  }

  .drawer-item img {
    width: 64px;
  }

  .drawer-item em,
  .drawer-remove {
    grid-column: 2;
    grid-row: auto;
    justify-self: start;
  }
}

/* Minimal luxury product recovery */
.archive {
  background: #e7e1d6 !important;
  padding-top: clamp(110px, 12vw, 170px) !important;
}

.archive-title,
.archive-index,
.product-ledger {
  width: min(100%, 1240px) !important;
}

.archive-title {
  grid-template-columns: minmax(120px, .55fr) minmax(0, 1.35fr) minmax(250px, .58fr) !important;
  margin-bottom: clamp(44px, 5.5vw, 78px) !important;
}

.archive-title h2 {
  font-size: clamp(52px, 5.8vw, 90px) !important;
  line-height: .9 !important;
}

.archive-title p {
  max-width: 330px !important;
  font: 400 10px/1.62 var(--sans) !important;
  letter-spacing: 1.25px !important;
}

.archive-index {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 22px !important;
  margin-bottom: clamp(42px, 5vw, 70px) !important;
  padding: 20px 0 !important;
  border-top: 1px solid rgba(38, 35, 29, .14) !important;
  border-bottom: 1px solid rgba(38, 35, 29, .10) !important;
}

.archive-index-copy {
  display: flex !important;
  align-items: baseline;
  justify-content: space-between;
  gap: 22px !important;
}

.archive-index-copy h3 {
  display: none;
}

.archive-index-copy b {
  margin: 0 !important;
}

.archive-index-list {
  display: grid !important;
  gap: 12px !important;
}

.archive-filter-row {
  display: grid !important;
  grid-template-columns: 92px 1fr !important;
  align-items: start !important;
  padding: 0 !important;
  border: 0 !important;
}

.archive-filter-row:first-child {
  border-bottom: 0 !important;
}

.archive-filter-row > span {
  padding-top: 7px;
}

.archive-filter-row > div {
  gap: 8px 20px !important;
}

.archive-filter-row button {
  color: rgba(38, 35, 29, .58) !important;
}

.product-ledger {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(50px, 6vw, 92px) clamp(34px, 4vw, 58px) !important;
  align-items: start !important;
}

.archive-card,
.archive-card:nth-child(1),
.archive-card:nth-child(2),
.archive-card:nth-child(3),
.archive-card:nth-child(4),
.archive-card:nth-child(n + 3) {
  grid-column: auto !important;
  margin-top: 0 !important;
}

.archive-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: grid !important;
  gap: clamp(18px, 2vw, 28px) !important;
  overflow: visible !important;
  transform: none !important;
}

.archive-card::before {
  display: none !important;
}

.archive-card:hover {
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.archive-card-image,
.feature-card .archive-card-image {
  aspect-ratio: 1.04 !important;
  margin: 0 !important;
  background: #d8d0c3 !important;
  box-shadow: 0 22px 46px rgba(57, 50, 39, .10);
}

.archive-card-image img {
  filter: saturate(.84) contrast(.96) brightness(1.02) !important;
  transform: scale(1) !important;
}

.archive-card:hover .archive-card-image img {
  transform: scale(1.025) !important;
  filter: saturate(.90) contrast(.98) brightness(1.025) !important;
}

.archive-card-image em {
  left: 22px !important;
  bottom: 20px !important;
  font-size: 13px !important;
  color: rgba(244, 239, 229, .76) !important;
}

.archive-card > .archive-card-record {
  padding: 0 !important;
  gap: 15px !important;
}

.archive-card-kicker {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.archive-card-kicker b {
  color: rgba(38, 35, 29, .46) !important;
}

.archive-card h3 {
  max-width: 520px !important;
  font-size: clamp(32px, 3.4vw, 56px) !important;
  line-height: .94 !important;
}

.archive-card-record dl {
  display: none !important;
}

.archive-card-record p {
  max-width: 360px !important;
  font: 400 10px/1.45 var(--sans) !important;
  letter-spacing: 1.25px !important;
  text-transform: uppercase !important;
  color: rgba(38, 35, 29, .56) !important;
}

.archive-card-footer {
  align-items: center !important;
  padding-top: 4px;
}

.archive-card-footer strong {
  font-size: clamp(20px, 1.8vw, 26px) !important;
}

.archive-card-footer > div {
  gap: 20px !important;
}

.archive-card .keep {
  border: 0 !important;
  border-bottom: 1px solid currentColor !important;
  padding: 8px 0 !important;
}

.archive-empty {
  background: transparent !important;
  border: 1px solid rgba(38, 35, 29, .12) !important;
  box-shadow: none !important;
}

.product-detail {
  background: #eee8dd !important;
}

.product-detail-layout {
  grid-template-columns: minmax(0, 1fr) minmax(360px, .76fr) !important;
  gap: clamp(52px, 7vw, 126px) !important;
}

.product-gallery .product-photo {
  aspect-ratio: 1.08 !important;
  box-shadow: 0 22px 54px rgba(57, 50, 39, .10) !important;
}

.detail-secondary {
  margin-top: 8px;
}

.detail-thumb {
  border: 0 !important;
  background: #d8d0c3 !important;
}

.product-record {
  align-self: start;
}

.product-record .detail-policies {
  display: none !important;
}

.detail-lower {
  margin-top: clamp(62px, 8vw, 120px);
  padding-top: clamp(34px, 4vw, 56px);
  border-top: 1px solid rgba(38, 35, 29, .16);
}

.detail-service {
  display: grid;
  grid-template-columns: minmax(160px, .45fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 86px);
}

.detail-service > span {
  font: 500 6px/1 var(--sans);
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: rgba(38, 35, 29, .50);
}

.detail-service .detail-policies {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  margin: 0 !important;
  border-top: 0 !important;
}

.detail-service .detail-policies div {
  padding-top: 18px !important;
  border-top: 1px solid rgba(38, 35, 29, .16);
}

.detail-service .detail-policies dd {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.58;
  letter-spacing: .1px;
}

.related-products {
  margin-top: clamp(52px, 7vw, 96px) !important;
}

@media (max-width: 900px) {
  .product-ledger,
  .product-detail-layout,
  .detail-service,
  .detail-service .detail-policies {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .archive-index-copy {
    display: grid !important;
  }

  .archive-filter-row {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .archive-card-footer,
  .archive-card-footer > div {
    display: grid !important;
    justify-content: start !important;
  }
}

/* Three-column retail archive preview */
.product-ledger {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(74px, 8vw, 122px) clamp(42px, 4.8vw, 72px) !important;
}

.archive-card,
.archive-card:nth-child(n),
.archive-card:nth-child(1),
.archive-card:nth-child(2),
.archive-card:nth-child(3),
.archive-card:nth-child(4) {
  grid-column: auto !important;
  margin-top: 0 !important;
}

.archive-card-image,
.feature-card .archive-card-image {
  aspect-ratio: 1.08 !important;
}

.product-ledger .archive-card h3 {
  font-size: clamp(21px, 1.55vw, 30px) !important;
  line-height: 1.05 !important;
  max-width: 300px !important;
}

.archive-card-kicker {
  gap: 14px !important;
}

.archive-card-kicker b {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}

.archive-card-record p {
  max-width: 310px !important;
  font-size: 9px !important;
  letter-spacing: 1.55px !important;
}

.archive-card-footer {
  gap: 18px !important;
}

.archive-card-footer > div {
  gap: 16px !important;
}

@media (max-width: 1180px) {
  .product-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  .product-ledger {
    grid-template-columns: 1fr !important;
  }
}

/* Product image refinement */
.archive-card-image,
.feature-card .archive-card-image,
.product-gallery .product-photo,
.detail-thumb,
.drawer-item img,
.related-card img {
  background: #d8d0c3 !important;
  overflow: hidden !important;
}

.archive-card-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: scale(1.032) !important;
  transform-origin: center center !important;
}

.archive-card:hover .archive-card-image img {
  transform: scale(1.055) !important;
}

.product-gallery .product-photo img,
.detail-thumb img,
.drawer-item img,
.related-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.product-gallery .product-photo img[data-gallery-variant="1"],
.detail-thumb img[data-gallery-variant="1"] {
  transform: scale(1.018);
}

.product-gallery .product-photo img[data-gallery-variant="2"],
.detail-thumb img[data-gallery-variant="2"] {
  transform: scale(1.16);
  object-position: 44% 48% !important;
}

.product-gallery .product-photo img[data-gallery-variant="3"],
.detail-thumb img[data-gallery-variant="3"] {
  transform: scale(1.26);
  object-position: 58% 54% !important;
}

/* Soft Archive editorial note */
.archive-title {
  align-items: start !important;
}

.archive-title p {
  align-self: start !important;
  display: grid !important;
  gap: 4px !important;
  max-width: 340px !important;
  margin: 2px 0 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
  font: italic 400 clamp(20px, 1.72vw, 27px)/1.08 var(--text-serif) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: rgba(38, 35, 29, .68) !important;
}

.archive-title p span {
  display: block;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .archive-title p {
    max-width: 330px !important;
    margin-top: 18px !important;
  }
}

@media (max-width: 520px) {
  .archive-title p {
    font-size: 16px !important;
  }

  .archive-title p span {
    white-space: normal;
  }
}

.archive-card-image {
  appearance: none !important;
  border: 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
  text-align: left !important;
}

.archive-card-image em {
  display: none !important;
}

/* Product detail gallery views */
.product-gallery .product-photo img[data-gallery-variant="scene"],
.detail-thumb img[data-gallery-variant="scene"] {
  transform: scale(1.018) !important;
  object-position: center center !important;
}

.product-gallery .product-photo img[data-gallery-variant="near"],
.detail-thumb img[data-gallery-variant="near"] {
  transform: scale(1.28) !important;
  object-position: 45% 52% !important;
}

.product-gallery .product-photo img[data-gallery-variant="far"],
.detail-thumb img[data-gallery-variant="far"] {
  transform: scale(1.055) !important;
  object-position: 56% 49% !important;
}

.detail-thumb:hover img[data-gallery-variant="near"] {
  transform: scale(1.34) !important;
}

.detail-thumb:hover img[data-gallery-variant="far"] {
  transform: scale(1.09) !important;
}

.product-gallery .product-photo img[data-gallery-variant="product"],
.detail-thumb img[data-gallery-variant="product"] {
  transform: scale(1.018) !important;
  object-position: center center !important;
}

.product-gallery .product-photo img[data-gallery-variant="scene-mid"],
.detail-thumb img[data-gallery-variant="scene-mid"] {
  transform: scale(1.05) !important;
  object-position: center center !important;
}

.product-gallery .product-photo img[data-gallery-variant="scene-wide"],
.detail-thumb img[data-gallery-variant="scene-wide"] {
  transform: scale(1.01) !important;
  object-position: center center !important;
}

.detail-thumb:hover img[data-gallery-variant="scene-mid"] {
  transform: scale(1.085) !important;
}

.detail-thumb:hover img[data-gallery-variant="scene-wide"] {
  transform: scale(1.04) !important;
}

/* Luxury legibility pass */
.nav nav,
.bag {
  font-size: clamp(9px, .62vw, 10px) !important;
  letter-spacing: 1.55px !important;
  color: rgba(38, 35, 29, .86) !important;
}

.opening-meta,
.archive-no,
.tiny,
.open-house,
.villa-title span,
.villa-note span,
.villa-scroll,
.vertical,
.section-heading span,
.curation-heading span,
.materials-intro span,
.archive-title > span,
.proposal-intro span,
.mood span,
.edit-option span,
.edit-copy > span,
.material-record > span,
.archive-index-copy span,
.archive-index-copy b,
.archive-filter-row > span,
.archive-card-kicker span,
.archive-card-kicker b,
.product-record > span,
.detail-specs dt,
.detail-policies dt,
.detail-service > span,
.related-products > span,
.related-card span,
.drawer-panel > span,
.drawer-item-copy span,
.drawer-total span,
footer small,
footer .mail-link span,
.paper-letter > span,
.paper-letter h2 small,
.result-kicker,
dt {
  font-size: clamp(7.5px, .52vw, 8.5px) !important;
  line-height: 1.15 !important;
  letter-spacing: 1.85px !important;
  color: rgba(38, 35, 29, .64) !important;
}

.villa-note span,
.villa-scroll,
.mood span {
  color: rgba(246, 241, 232, .82) !important;
}

.room-copy p,
.curation-heading p,
.materials-intro p,
.archive-card-record p,
.edit-option i,
.drawer-item-copy i {
  font-size: clamp(10.5px, .72vw, 12px) !important;
  line-height: 1.55 !important;
  letter-spacing: 1.25px !important;
  color: rgba(38, 35, 29, .66) !important;
}

.archive-title p {
  max-width: 365px !important;
  font-size: clamp(21px, 1.82vw, 28px) !important;
  line-height: 1.1 !important;
  color: rgba(38, 35, 29, .76) !important;
}

.archive-title p span {
  white-space: nowrap;
}

.edit-actions button,
.archive-filter-row button,
.archive-card button,
.product-actions button,
.product-back,
.related-card button,
.drawer-close,
.drawer-remove,
.drawer-note,
.make-proposal,
.choices button,
.keep {
  font-size: clamp(8px, .55vw, 9px) !important;
  line-height: 1.1 !important;
  letter-spacing: 1.75px !important;
}

.product-record > p,
.edit-copy p,
.material-record p,
.detail-policies dd,
.detail-service .detail-policies dd {
  color: rgba(38, 35, 29, .72) !important;
}

footer,
footer .mail-link span,
footer small {
  color: rgba(223, 216, 201, .82) !important;
}

footer div:nth-of-type(2) {
  font-size: clamp(8.5px, .58vw, 9.5px) !important;
  letter-spacing: 1.45px !important;
}

@media (max-width: 720px) {
  .opening-meta,
  .archive-no,
  .tiny,
  .open-house,
  .section-heading span,
  .curation-heading span,
  .materials-intro span,
  .archive-title > span,
  .proposal-intro span,
  .edit-option span,
  .edit-copy > span,
  .archive-card-kicker span,
  .archive-card-kicker b,
  .product-record > span,
  .detail-specs dt,
  .detail-policies dt,
  .related-products > span,
  .related-card span,
  .drawer-panel > span,
  .drawer-item-copy span,
  footer small {
    font-size: 8px !important;
  }

  .archive-title p {
    font-size: 20px !important;
    max-width: 330px !important;
  }
}

/* Hero title: keep The Sunday flat, not gradient */
.villa-backtype .hero-line:not(.hero-line-house) .hero-word {
  background: none !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  -webkit-text-fill-color: rgba(239, 234, 222, .31) !important;
  color: rgba(239, 234, 222, .31) !important;
}

/* Soft Archive caption: attach the note to the title instead of floating beside it */
.archive-title {
  grid-template-columns: minmax(120px, .38fr) minmax(0, 1.62fr) !important;
  gap: clamp(28px, 4vw, 66px) !important;
  align-items: start !important;
}

.archive-title > span {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  margin-top: clamp(12px, 1.2vw, 20px) !important;
}

.archive-title h2 {
  grid-column: 2 !important;
  grid-row: 1 !important;
  max-width: 760px !important;
}

.archive-title p {
  grid-column: 2 !important;
  grid-row: 2 !important;
  display: grid !important;
  gap: 3px !important;
  max-width: 520px !important;
  margin: clamp(16px, 1.5vw, 24px) 0 0 !important;
  font: 400 clamp(13px, .84vw, 15px)/1.45 var(--sans) !important;
  letter-spacing: .045em !important;
  text-transform: none !important;
  color: rgba(38, 35, 29, .62) !important;
}

.archive-title p span {
  font: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  color: inherit !important;
  white-space: normal !important;
}

@media (max-width: 720px) {
  .archive-title {
    display: block !important;
  }

  .archive-title > span,
  .archive-title h2,
  .archive-title p {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .archive-title p {
    max-width: 310px !important;
    margin-top: 14px !important;
    font-size: 13px !important;
  }
}

/* Build Your Sunday result generator */
.result {
  --proposal-1: #efe7da;
  --proposal-2: #eadfc9;
  --proposal-3: #d9d2c5;
  --proposal-4: #8f8778;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 252, 244, .76), rgba(231, 223, 208, .92)),
    linear-gradient(90deg, var(--proposal-1), var(--proposal-2)) !important;
}

.result::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 0%, var(--proposal-2), transparent 30%),
    radial-gradient(circle at 100% 90%, var(--proposal-3), transparent 34%);
  opacity: .22;
  pointer-events: none;
}

.result > * {
  position: relative;
}

.result.recompose {
  animation: proposalRecompose .62s cubic-bezier(.45, 0, .14, 1);
}

.palette {
  gap: 0;
  overflow: hidden;
  background: rgba(38, 35, 29, .08);
}

.palette i {
  transition: background-color .45s ease, flex .45s ease, opacity .45s ease;
}

.palette i:nth-child(1) {
  background: var(--proposal-1) !important;
}

.palette i:nth-child(2) {
  flex: 1.16;
  background: var(--proposal-2) !important;
}

.palette i:nth-child(3) {
  flex: .92;
  background: var(--proposal-3) !important;
}

.palette i:nth-child(4) {
  flex: .74;
  background: var(--proposal-4) !important;
}

.result #resultNote {
  max-width: 520px;
  margin-top: 18px;
  font: italic 400 clamp(18px, 1.35vw, 23px)/1.2 var(--text-serif) !important;
  letter-spacing: .01em !important;
  word-spacing: normal !important;
  color: rgba(38, 35, 29, .72);
}

@keyframes proposalRecompose {
  0% {
    opacity: .72;
    transform: translateY(12px);
    filter: saturate(.8);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: saturate(1);
  }
}

/* Soft Archive direct index */
.archive-title {
  grid-template-columns: minmax(120px, .38fr) minmax(0, 1.62fr) !important;
  gap: clamp(28px, 4vw, 66px) !important;
  margin-bottom: clamp(54px, 5.2vw, 86px) !important;
}

.archive-title > span {
  grid-column: 1 !important;
  grid-row: 1 !important;
  margin-top: clamp(12px, 1.2vw, 20px) !important;
}

.archive-title h2 {
  grid-column: 2 !important;
  grid-row: 1 !important;
  max-width: 760px !important;
}

.archive-title p {
  display: none !important;
}

.archive-index {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

@media (max-width: 720px) {
  .archive-title {
    display: block !important;
    margin-bottom: 42px !important;
  }

  .archive-title > span,
  .archive-title h2 {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

/* Product detail gallery: two lower views swap with the main view */
.detail-secondary {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(14px, 1.35vw, 18px) !important;
}

.detail-thumb {
  position: relative;
  opacity: .86;
  transition: opacity .28s ease, transform .28s ease, box-shadow .28s ease;
}

.detail-thumb:hover {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(57, 50, 39, .12) !important;
}

.product-gallery.swapping .product-photo {
  animation: galleryMainSwap .46s cubic-bezier(.45, 0, .16, 1);
}

.product-gallery.swapping .detail-thumb {
  animation: galleryThumbSettle .46s cubic-bezier(.45, 0, .16, 1);
}

@keyframes galleryMainSwap {
  0% {
    opacity: .72;
    transform: scale(1.018) translateY(8px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes galleryThumbSettle {
  0% {
    opacity: .55;
    transform: translateY(6px);
  }

  100% {
    opacity: .86;
    transform: translateY(0);
  }
}

@media (max-width: 560px) {
  .detail-secondary {
    gap: 8px !important;
  }
}

/* Sunday Edit heading caption alignment */
.curation-heading {
  grid-template-columns: minmax(120px, .38fr) minmax(0, 1.62fr) !important;
  gap: clamp(28px, 4vw, 66px) !important;
  align-items: start !important;
}

.curation-heading > span {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  padding-top: clamp(12px, 1.2vw, 20px) !important;
}

.curation-heading h2 {
  grid-column: 2 !important;
  grid-row: 1 !important;
  max-width: 690px !important;
}

.curation-heading p {
  grid-column: 2 !important;
  grid-row: 2 !important;
  display: grid !important;
  gap: 3px !important;
  width: auto !important;
  max-width: 360px !important;
  margin: clamp(14px, 1.4vw, 22px) 0 0 !important;
  font: 400 clamp(12px, .78vw, 14px)/1.45 var(--sans) !important;
  letter-spacing: .055em !important;
  text-transform: none !important;
  color: rgba(38, 35, 29, .58) !important;
}

.curation-heading p span {
  font: inherit !important;
  letter-spacing: inherit !important;
  color: inherit !important;
  white-space: nowrap !important;
}

@media (max-width: 720px) {
  .curation-heading {
    display: block !important;
  }

  .curation-heading > span,
  .curation-heading h2,
  .curation-heading p {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .curation-heading p {
    max-width: 300px !important;
    margin-top: 14px !important;
    font-size: 12px !important;
  }
}

/* Build Your Sunday intro copy visibility */
.proposal-intro p {
  max-width: 320px !important;
  font: 400 clamp(13px, .86vw, 15px)/1.5 var(--sans) !important;
  letter-spacing: .045em !important;
  text-transform: none !important;
  color: rgba(231, 223, 208, .76) !important;
}

/* Build Your Sunday result details should read like a refined record */
.result dl {
  margin: 30px 0 28px !important;
}

.result dl div {
  min-height: 84px !important;
  padding: 16px 20px 15px 0 !important;
}

.result dl dd {
  margin-top: 8px !important;
  font: 400 clamp(14px, .98vw, 17px)/1.28 var(--text-serif) !important;
  letter-spacing: .01em !important;
  color: rgba(38, 35, 29, .78) !important;
}

.result #resultScent {
  max-width: 230px;
  font-size: clamp(13px, .92vw, 16px) !important;
  line-height: 1.35 !important;
}

/* Final brand polish before commerce integration */
html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 5px;
}

.nav nav a,
footer a,
.archive-filter-row button,
.material-tabs button,
.choices button,
.edit-actions button,
.archive-card button,
.related-card button,
.product-actions button,
.drawer-close,
.drawer-remove {
  transition: color .28s ease, opacity .28s ease, border-color .28s ease, transform .28s ease;
}

.nav nav a:hover,
footer a:hover,
.archive-filter-row button:hover,
.material-tabs button:hover,
.choices button:hover,
.edit-actions button:hover,
.archive-card button:hover,
.related-card button:hover,
.product-actions button:hover,
.drawer-close:hover,
.drawer-remove:hover {
  opacity: .68;
}

.archive-card button,
.related-card button,
.product-actions button,
.make-proposal,
.drawer-note,
.drawer-close,
.drawer-remove,
.cart-quantity button,
.bag,
.edit-option,
.material-tabs button,
.choices button {
  cursor: pointer;
}

.drawer-summary p {
  max-width: 300px;
  color: rgba(41, 39, 32, .66) !important;
}

.drawer-note {
  letter-spacing: 1.9px !important;
}

.paper-letter a {
  letter-spacing: 1.8px !important;
}

/* Product detail title hierarchy */
.product-record {
  max-width: 500px !important;
}

.product-record h2 {
  max-width: 440px !important;
  margin: clamp(22px, 2.3vw, 34px) 0 clamp(18px, 2vw, 28px) !important;
  font-size: clamp(34px, 3.25vw, 54px) !important;
  line-height: .98 !important;
  letter-spacing: .005em !important;
}

.product-record > p {
  max-width: 390px !important;
  font-size: clamp(15px, 1.08vw, 19px) !important;
  line-height: 1.42 !important;
  color: rgba(38, 35, 29, .64) !important;
}

.detail-price {
  margin-top: clamp(22px, 2.2vw, 34px) !important;
  font-size: clamp(28px, 2.45vw, 40px) !important;
}

@media (max-width: 640px) {
  .product-record h2 {
    max-width: 340px !important;
    font-size: 34px !important;
  }
}

/* Final section spacing and cart quantity polish */
.archive-title {
  margin-bottom: clamp(76px, 7.2vw, 118px) !important;
}

@media (max-width: 720px) {
  .archive-title {
    margin-bottom: 54px !important;
  }
}

.curation-heading {
  grid-template-columns: minmax(110px, .46fr) minmax(0, 1.22fr) minmax(240px, .58fr) !important;
  gap: clamp(30px, 4.8vw, 76px) !important;
}

.curation-heading > span {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

.curation-heading h2 {
  grid-column: 2 !important;
  grid-row: 1 !important;
}

.curation-heading p {
  grid-column: 3 !important;
  grid-row: 1 !important;
  align-self: start !important;
  justify-self: start !important;
  display: grid !important;
  gap: 5px !important;
  max-width: 260px !important;
  margin: clamp(12px, 1.1vw, 18px) 0 0 !important;
  font: italic 400 clamp(14px, .96vw, 17px)/1.18 var(--text-serif) !important;
  letter-spacing: .01em !important;
  text-transform: none !important;
  color: rgba(38, 35, 29, .56) !important;
}

.curation-heading p span {
  white-space: nowrap !important;
}

.quantity-control,
.cart-quantity {
  display: inline-flex !important;
  grid-template-columns: none !important;
  align-items: center !important;
  width: max-content !important;
  min-width: 104px !important;
  height: 32px !important;
  border: 1px solid rgba(38, 35, 29, .22) !important;
}

.quantity-control button,
.cart-quantity button {
  display: grid !important;
  place-items: center !important;
  width: 32px !important;
  height: 30px !important;
  padding: 0 !important;
  line-height: 1 !important;
}

.quantity-control span,
.cart-quantity span {
  display: grid !important;
  place-items: center !important;
  width: 38px !important;
  min-width: 38px !important;
  height: 30px !important;
}

.drawer-item .cart-quantity {
  grid-column: 2 !important;
  grid-row: 2 !important;
  align-self: start !important;
  margin-top: 2px !important;
}

@media (max-width: 720px) {
  .curation-heading {
    display: block !important;
  }

  .curation-heading p {
    max-width: 280px !important;
    margin-top: 18px !important;
    font-size: 14px !important;
  }
}

/* Calm product-detail gallery swap */
.product-gallery.swapping .product-photo,
.product-gallery.swapping .detail-thumb {
  animation: none !important;
}

.product-gallery .product-photo img,
.detail-thumb img {
  transition: opacity .22s ease, filter .28s ease !important;
}

.detail-thumb:hover {
  transform: none !important;
  box-shadow: none !important;
}

.detail-thumb:hover img[data-gallery-variant="1"],
.detail-thumb:hover img[data-gallery-variant="scene"],
.detail-thumb:hover img[data-gallery-variant="product"] {
  transform: scale(1.018) !important;
}

.detail-thumb:hover img[data-gallery-variant="2"] {
  transform: scale(1.16) !important;
}

.detail-thumb:hover img[data-gallery-variant="3"] {
  transform: scale(1.26) !important;
}

.detail-thumb:hover img[data-gallery-variant="near"] {
  transform: scale(1.28) !important;
}

.detail-thumb:hover img[data-gallery-variant="far"] {
  transform: scale(1.055) !important;
}

.detail-thumb:hover img[data-gallery-variant="scene-mid"] {
  transform: scale(1.05) !important;
}

.detail-thumb:hover img[data-gallery-variant="scene-wide"] {
  transform: scale(1.01) !important;
}

/* Saved room drawer and clickable related objects */
.drawer-panel {
  grid-template-rows: auto auto auto minmax(0, 1fr) !important;
}

.drawer-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(38, 35, 29, .18);
  border-bottom: 1px solid rgba(38, 35, 29, .18);
}

.drawer-tabs button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 0;
  background: transparent;
  padding: 13px 0;
  font: 500 clamp(8px, .55vw, 9px)/1.1 var(--sans);
  letter-spacing: 1.75px;
  text-transform: uppercase;
  color: rgba(38, 35, 29, .48);
  cursor: pointer;
}

.drawer-tabs button + button {
  padding-left: 16px;
  border-left: 1px solid rgba(38, 35, 29, .14);
}

.drawer-tabs button:first-child {
  padding-right: 16px;
}

.drawer-tabs button.active {
  color: rgba(38, 35, 29, .92);
}

.drawer-view {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 18px;
}

.drawer-view[hidden] {
  display: none !important;
}

.drawer-view .drawer-items {
  min-height: 0;
  overflow: auto;
}

.room-saved-image,
.related-card-media,
.related-card-title {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.room-saved-image {
  grid-row: 1 / 4;
  width: 74px;
  aspect-ratio: 1;
  overflow: hidden;
  background: #d8d0c3;
}

.room-saved-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(.96);
}

.room-summary {
  border-top-color: rgba(38, 35, 29, .18) !important;
}

.related-card-media {
  width: 100%;
  overflow: hidden;
  background: #d8d0c3;
}

.related-card-media img {
  display: block;
}

.related-card-title {
  margin: 0;
  font: 400 clamp(18px, 1.45vw, 22px)/.98 var(--serif);
}

.related-card-title:hover,
.related-card-media:hover + span + .related-card-title {
  opacity: .68;
}

.related-card > button:not(.related-card-media):not(.related-card-title) {
  justify-self: start;
}

@media (max-width: 640px) {
  .room-saved-image {
    width: 64px;
  }
}

/* Final edit metadata and drawer index refinement */
.curation-heading {
  grid-template-columns: minmax(110px, .42fr) minmax(0, 1.22fr) minmax(178px, .38fr) !important;
  gap: clamp(28px, 4.4vw, 72px) !important;
  align-items: start !important;
}

.curation-heading > span,
.curation-heading p {
  padding-top: 0 !important;
}

.curation-heading p {
  grid-column: 3 !important;
  grid-row: 1 !important;
  align-self: start !important;
  justify-self: start !important;
  display: grid !important;
  gap: 2px !important;
  width: auto !important;
  max-width: 178px !important;
  margin: 1px 0 0 !important;
  font: 500 clamp(7.5px, .52vw, 8.5px)/1.38 var(--sans) !important;
  letter-spacing: 1.85px !important;
  text-transform: uppercase !important;
  color: rgba(38, 35, 29, .50) !important;
}

.curation-heading p span {
  white-space: nowrap !important;
}

.drawer-tabs {
  display: flex !important;
  grid-template-columns: none !important;
  justify-content: flex-start !important;
  gap: clamp(18px, 2vw, 28px) !important;
  border: 0 !important;
  padding: 0 !important;
  margin: -4px 0 2px !important;
}

.drawer-tabs button,
.drawer-tabs button + button,
.drawer-tabs button:first-child {
  width: auto !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  border: 0 !important;
  border-bottom: 1px solid transparent !important;
  padding: 0 0 6px !important;
  font: 500 clamp(7.5px, .5vw, 8.5px)/1 var(--sans) !important;
  letter-spacing: 1.65px !important;
  color: rgba(38, 35, 29, .42) !important;
}

.drawer-tabs button.active {
  border-bottom-color: rgba(38, 35, 29, .58) !important;
  color: rgba(38, 35, 29, .86) !important;
}

.drawer-tabs button span {
  opacity: .72;
}

@media (max-width: 900px) {
  .curation-heading {
    grid-template-columns: minmax(92px, .42fr) minmax(0, 1fr) !important;
  }

  .curation-heading p {
    grid-column: 2 !important;
    grid-row: 2 !important;
    margin-top: 14px !important;
    max-width: 210px !important;
  }
}

/* Final professional type scale pass */
.section-heading h2,
.curation-heading h2,
.archive-title h2,
.materials-intro h2,
.proposal-intro h2 {
  font-size: clamp(38px, 4.1vw, 62px) !important;
  line-height: .98 !important;
  letter-spacing: 0 !important;
  max-width: 620px !important;
}

.section-heading,
.archive-title,
.materials-intro {
  margin-bottom: clamp(48px, 5.8vw, 86px) !important;
}

.curation-heading {
  margin-bottom: clamp(46px, 5.4vw, 82px) !important;
}

.mood h3 {
  font-size: clamp(34px, 4.2vw, 58px) !important;
  line-height: 1 !important;
}

.edit-copy h3,
.material-record h3 {
  font-size: clamp(34px, 3.6vw, 52px) !important;
  line-height: .98 !important;
}

.product-record h2 {
  font-size: clamp(31px, 2.8vw, 46px) !important;
  line-height: 1 !important;
  margin: 20px 0 18px !important;
  max-width: 520px !important;
}

.result h3 {
  font-size: clamp(34px, 3.6vw, 52px) !important;
  line-height: .98 !important;
  margin: 22px 0 !important;
}

.paper-letter h2 strong {
  font-size: clamp(34px, 3.9vw, 54px) !important;
  line-height: .96 !important;
}

.drawer-panel h2 {
  font-size: clamp(34px, 3vw, 40px) !important;
  line-height: .98 !important;
}

.question h3 {
  font-size: clamp(24px, 2.4vw, 32px) !important;
  line-height: 1.05 !important;
}

@media (max-width: 800px) {
  .section-heading h2,
  .curation-heading h2,
  .archive-title h2,
  .materials-intro h2,
  .proposal-intro h2 {
    font-size: clamp(38px, 11vw, 50px) !important;
    line-height: 1 !important;
  }

  .mood h3 {
    font-size: clamp(34px, 10vw, 46px) !important;
  }

  .edit-copy h3,
  .material-record h3,
  .result h3 {
    font-size: clamp(32px, 9vw, 44px) !important;
  }
}

/* Final copy tuning from brand review */
.letter strong {
  display: block !important;
  width: min(94%, 620px) !important;
  font-size: clamp(18px, 1.74vw, 28px) !important;
  line-height: 1.08 !important;
  max-width: 620px !important;
  text-align: center !important;
}

.letter-note {
  color: rgba(38, 35, 29, .58) !important;
}

.moods .section-heading {
  grid-template-columns: .75fr minmax(0, 1.45fr) .8fr !important;
}

.moods .section-heading h2 {
  font-size: clamp(30px, 3.05vw, 44px) !important;
  line-height: 1.02 !important;
  white-space: nowrap !important;
  max-width: none !important;
}

.moods .section-heading p {
  display: none !important;
}

.mood h3 {
  font-size: clamp(28px, 3.25vw, 46px) !important;
  line-height: 1.02 !important;
}

@media (max-width: 800px) {
  .letter strong {
    width: min(96%, 520px) !important;
    font-size: clamp(17px, 4.9vw, 25px) !important;
  }

  .moods .section-heading h2 {
    font-size: clamp(24px, 7.4vw, 34px) !important;
    white-space: nowrap !important;
  }

  .mood h3 {
    font-size: clamp(30px, 8.5vw, 40px) !important;
  }
}

/* Handwritten mood heading and first-room subtitle tone */
.first-room .room-copy h1 {
  color: rgba(224, 220, 211, .88) !important;
}

.first-room .room-copy p {
  color: rgba(216, 213, 204, .82) !important;
}

.moods .section-heading {
  margin-bottom: 152px !important;
}

.moods .section-heading h2 {
  font-family: var(--script) !important;
  font-size: 34px !important;
  font-weight: 400 !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: rgba(38, 35, 29, .78) !important;
}

@media (max-width: 800px) {
  .moods .section-heading {
    margin-bottom: 96px !important;
  }

  .moods .section-heading h2 {
    font-size: 28px !important;
    white-space: nowrap !important;
  }
}

/* Sunday edit restraint */
.edit-copy h3 {
  font-size: clamp(30px, 3.05vw, 44px) !important;
  line-height: 1.04 !important;
  margin: 20px 0 16px !important;
  max-width: 390px !important;
}

.edit-copy p {
  max-width: 330px !important;
  line-height: 1.56 !important;
}

.edit-copy dl {
  margin-top: 30px !important;
}

@media (max-width: 800px) {
  .edit-copy h3 {
    font-size: clamp(30px, 8vw, 40px) !important;
    max-width: 340px !important;
  }
}
