:root {
  --bg: #fbfaf6;
  --paper: #fffefb;
  --ink: #111111;
  --muted: #6f6a61;
  --line: #ded8cc;
  --wall: #eee6d8;
  --deep: #111111;
  --red: #842119;
  --blue: #14223b;
  --olive: #26362b;
  --sand: #cab99e;
  --max: 1220px;
  --gutter: 34px;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

button {
  font: inherit;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

figure,
blockquote {
  margin: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: -9999px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  left: 12px;
}

:focus-visible {
  outline: 3px solid #355bff;
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 82px;
  background: rgba(251,250,246,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
}

.brand strong {
  font-size: 20px;
  font-weight: 780;
  letter-spacing: .29em;
}

.brand span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}

.cart-link {
  padding: 9px 13px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px var(--gutter);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .17em;
  text-transform: uppercase;
  font-weight: 650;
}

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: 78px;
  align-items: center;
}

.hero > *,
.featured > *,
.manifesto-inner > *,
.how-it-works > *,
.product-detail > * {
  min-width: 0;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 28px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(66px, 6vw, 96px);
  line-height: .92;
  letter-spacing: -.06em;
}

.hero-intro {
  max-width: 560px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.66;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.text-link {
  min-height: 50px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 14px;
  letter-spacing: .02em;
}

.text-link--solid {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.room-scene {
  position: relative;
  min-height: 590px;
  border: 1px solid var(--line);
  background:
    linear-gradient(to bottom, #eee7db 0 65%, #d8cbb8 65% 65.5%, #e7ddcd 65.5% 100%);
  overflow: hidden;
}

.room-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.28), transparent 34%, rgba(255,255,255,.2)),
    repeating-linear-gradient(90deg, rgba(17,17,17,.035) 0 1px, transparent 1px 148px);
  pointer-events: none;
}

.room-label {
  position: absolute;
  top: 26px;
  left: 28px;
  z-index: 6;
  margin: 0;
  color: rgba(17,17,17,.46);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.hero-artwork,
.featured-art {
  position: relative;
  z-index: 2;
  width: 370px;
  min-height: 470px;
  padding: 42px 34px;
  display: grid;
  align-content: center;
  justify-items: center;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 34px 82px rgba(17,17,17,.2);
  text-align: center;
}

.room-frame {
  position: absolute;
  top: 54px;
  left: 50%;
  z-index: 2;
  width: 292px;
  transform: translateX(-50%);
}

.room-frame::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 10px solid #efe7db;
  box-shadow: 0 0 0 1px rgba(17,17,17,.16);
  pointer-events: none;
}

.room-frame .hero-artwork {
  width: 292px;
  min-height: 370px;
  padding: 32px 27px;
  box-shadow: 0 24px 54px rgba(17,17,17,.18);
}

.art-signature,
.featured-art > span {
  display: block;
  margin-bottom: 22px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .2em;
  opacity: .62;
  text-transform: uppercase;
}

.art-copy,
.featured-art p {
  display: block;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: 39px;
  line-height: .98;
  letter-spacing: -.046em;
  text-transform: uppercase;
}

.hero-artwork strong,
.featured-art strong {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 66px;
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.06em;
  text-transform: uppercase;
}

.room-frame .art-copy {
  font-size: 30px;
}

.room-frame .hero-artwork strong {
  font-size: 51px;
}

.room-baseboard {
  position: absolute;
  left: 0;
  right: 0;
  top: 65%;
  height: 10px;
  border-top: 1px solid rgba(17,17,17,.12);
  border-bottom: 1px solid rgba(17,17,17,.08);
  background: rgba(255,254,251,.32);
  z-index: 1;
}

.floor-shadow {
  position: absolute;
  left: 62px;
  right: 62px;
  bottom: 54px;
  height: 72px;
  background: radial-gradient(ellipse at center, rgba(17,17,17,.16), transparent 70%);
  z-index: 2;
}

.sofa {
  position: absolute;
  left: 44px;
  right: 44px;
  bottom: 70px;
  height: 146px;
  z-index: 3;
}

.sofa-back {
  position: absolute;
  left: 32px;
  right: 32px;
  top: 0;
  height: 92px;
  border: 1px solid rgba(17,17,17,.08);
  background: #d9d0c2;
  border-radius: 30px 30px 16px 16px;
  box-shadow: inset 0 16px 28px rgba(255,255,255,.28);
}

.sofa-seat {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 78px;
  border: 1px solid rgba(17,17,17,.08);
  background: #cec3b2;
  border-radius: 22px;
  box-shadow: 0 20px 36px rgba(17,17,17,.10), inset 0 14px 28px rgba(255,255,255,.22);
}

.sofa-arm {
  position: absolute;
  bottom: 0;
  width: 76px;
  height: 112px;
  background: #c9bdac;
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 24px;
}

.sofa-arm--left {
  left: 0;
}

.sofa-arm--right {
  right: 0;
}

.pillow {
  position: absolute;
  top: 34px;
  width: 72px;
  height: 58px;
  border-radius: 14px;
  background: #eee7dc;
  border: 1px solid rgba(17,17,17,.06);
  box-shadow: 0 8px 14px rgba(17,17,17,.08);
}

.pillow--left {
  left: 122px;
  transform: rotate(-5deg);
}

.pillow--right {
  right: 132px;
  transform: rotate(5deg);
  background: #e4dacb;
}

.table {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 250px;
  height: 26px;
  transform: translateX(-50%);
  background: #7b6653;
  border-radius: 50%;
  z-index: 4;
  box-shadow: 0 18px 28px rgba(17,17,17,.18);
}

.table::before,
.table::after {
  content: "";
  position: absolute;
  top: 22px;
  width: 2px;
  height: 38px;
  background: #7b6653;
}

.table::before {
  left: 68px;
}

.table::after {
  right: 68px;
}

.plant {
  position: absolute;
  right: 34px;
  bottom: 42px;
  width: 92px;
  height: 190px;
  z-index: 5;
}

.plant-pot {
  position: absolute;
  bottom: 0;
  left: 27px;
  width: 44px;
  height: 48px;
  background: #9b8c73;
  border-radius: 7px 7px 14px 14px;
  border: 1px solid rgba(17,17,17,.1);
}

.leaf {
  position: absolute;
  bottom: 38px;
  left: 42px;
  width: 15px;
  height: 84px;
  background: #536951;
  border-radius: 100% 0 100% 0;
  transform-origin: bottom center;
}

.leaf--one {
  height: 88px;
  transform: rotate(-38deg);
}

.leaf--two {
  height: 110px;
  background: #64775d;
  transform: rotate(-18deg);
}

.leaf--three {
  height: 118px;
  transform: rotate(7deg);
}

.leaf--four {
  height: 100px;
  background: #62745a;
  transform: rotate(30deg);
}

.leaf--five {
  height: 80px;
  transform: rotate(52deg);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 44px;
  margin-bottom: 38px;
}

.section-heading h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 56px;
  line-height: .98;
  letter-spacing: -.047em;
}

.section-heading > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

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

.work-card-link {
  display: block;
}

.catalog-image {
  width: 100%;
  height: 342px;
  margin-bottom: 14px;
  display: block;
  object-fit: contain;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform .16s ease, border-color .16s ease;
}

.work-card:hover .catalog-image {
  transform: translateY(-2px);
  border-color: #c9bfaf;
}

.product-image-fallback {
  place-content: center;
  background: var(--deep);
  color: #fff;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  text-align: center;
}

.work-card-caption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.work-card-caption h3,
.work-card-caption p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.work-card-caption p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.work-card-caption .work-card-price {
  margin-top: 0;
  color: var(--ink);
  font-size: 14px;
  white-space: nowrap;
}

.catalog-status {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 180px;
  margin: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

.catalog-error {
  align-content: center;
  gap: 18px;
}

.catalog-error p {
  margin: 0;
}

.card-stage {
  position: relative;
  height: 342px;
  margin-bottom: 14px;
  padding: 24px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform .16s ease, border-color .16s ease;
}

.work-card:hover .card-stage {
  transform: translateY(-2px);
  border-color: #c9bfaf;
}

.mini-work {
  width: 68%;
  height: 78%;
  padding: 20px;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  font-family: var(--serif);
  font-size: 25px;
  line-height: .98;
  letter-spacing: -.04em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 18px 44px rgba(17,17,17,.09);
}

.mini-work--square {
  width: 74%;
  height: auto;
  aspect-ratio: 1;
}

.mini-work--wide {
  width: 86%;
  height: 50%;
}

.mini-work--black {
  background: #111;
}

.mini-work--red {
  background: var(--red);
  color: #fff;
}

.mini-work--blue {
  background: var(--blue);
  color: #fff;
}

.mini-work--olive {
  background: var(--olive);
  color: #fff;
}

.mini-work--sand {
  background: var(--sand);
  color: #111;
}

.mini-work--outline,
.mini-work--outline-dark {
  background: #fff;
  color: #111;
  border: 8px solid #111;
}

.work-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 5px;
  font-size: 14px;
}

.work-card h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}

.work-card figcaption p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.featured {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 74px;
  align-items: start;
}

.featured-visual {
  min-height: 650px;
  display: grid;
  place-items: center;
  background: var(--wall);
  border: 1px solid var(--line);
}

.featured-product-image {
  width: min(76%, 470px);
  max-height: 570px;
  display: block;
  object-fit: contain;
  box-shadow: 0 34px 82px rgba(17,17,17,.18);
}

.featured-art {
  transform: scale(1.04);
}

.featured-copy h2 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 58px;
  line-height: 1;
  letter-spacing: -.048em;
}

.edition-label {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.featured-description {
  max-width: 510px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

blockquote {
  margin-bottom: 22px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.manifesto {
  max-width: none;
  padding: 96px 0;
  background: var(--deep);
  color: #fff;
  border-bottom: none;
}

.manifesto-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 84px;
  align-items: start;
}

.manifesto h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 62px;
  line-height: .98;
  letter-spacing: -.047em;
}

.manifesto p {
  margin-bottom: 22px;
  color: rgba(255,255,255,.72);
  font-size: 20px;
  line-height: 1.65;
}

.manifesto .manifesto-line {
  margin-top: 30px;
  color: #fff;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -.035em;
}

.how-it-works {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 72px;
  align-items: start;
}

.how-it-works h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 58px;
  line-height: 1;
  letter-spacing: -.047em;
}

.steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  list-style: none;
}

.steps li {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.steps span {
  color: var(--muted);
  font-size: 13px;
}

.steps h3 {
  margin: 16px 0 10px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -.038em;
}

.steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  padding: 54px 32px;
  background: #111;
  color: #fff;
}

.footer-main,
.footer-meta {
  max-width: var(--max);
  margin-right: auto;
  margin-left: auto;
  display: flex;
  justify-content: space-between;
  gap: 42px;
  align-items: start;
}

.footer-main {
  padding-bottom: 42px;
}

.footer-main nav {
  display: flex;
  gap: 28px;
}

.footer-brand {
  margin: 0 0 10px;
  font-size: 1.17em;
  font-weight: 700;
  letter-spacing: .28em;
}

.site-footer p,
.site-footer a,
.footer-meta {
  display: block;
  margin: 0 0 8px;
  color: rgba(255,255,255,.68);
  font-size: 14px;
}

.footer-meta {
  margin-bottom: 0;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.cart-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,.34);
}

.cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(440px, 100vw);
  height: 100%;
  background: var(--paper);
  border-left: 1px solid var(--line);
  box-shadow: -28px 0 90px rgba(17,17,17,.18);
  transform: translateX(100%);
  transition: transform .28s ease;
  display: flex;
  flex-direction: column;
}

.cart-overlay.is-open .cart-drawer {
  transform: translateX(0);
}

.cart-drawer-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer-header strong {
  font-size: 16px;
  letter-spacing: .02em;
}

.cart-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.cart-drawer-body {
  padding: 26px;
  overflow: auto;
  flex: 1;
  display: grid;
  place-items: center;
}

.cart-empty {
  max-width: 300px;
  text-align: center;
}

.cart-empty-title {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.035em;
}

.cart-empty-copy {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: .02em;
}

.cart-items {
  width: 100%;
  align-self: start;
}

.cart-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item:first-child {
  padding-top: 0;
}

.cart-item-image {
  width: 92px;
  height: 112px;
  padding: 8px;
  display: grid;
  object-fit: contain;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 12px;
}

.cart-item-copy h3 {
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.1;
}

.cart-item-copy > p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-controls button {
  min-width: 30px;
  min-height: 30px;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}

.cart-item-controls button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.cart-item-controls .cart-item-remove {
  width: auto;
  margin-left: auto;
  padding: 0 6px;
  border: 0;
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
}

.cart-summary {
  margin-bottom: 12px;
}

.cart-summary p {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cart-checkout {
  width: 100%;
  min-height: 54px;
}

.cart-checkout:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.cart-error {
  margin: 0 0 14px;
  padding: 12px;
  background: #f7e9e7;
  color: #6e1e18;
  font-size: 13px;
}

.product-detail {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 76px;
  align-items: center;
}

.product-stage {
  min-height: 650px;
  padding: clamp(30px, 6vw, 78px);
  display: grid;
  place-items: center;
  background: var(--wall);
  border: 1px solid var(--line);
}

.product-image {
  width: 100%;
  max-height: 560px;
  display: grid;
  object-fit: contain;
  box-shadow: 0 28px 70px rgba(17,17,17,.14);
}

.product-copy h1,
.return-page h1 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(54px, 6vw, 86px);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.055em;
}

.product-price {
  margin-bottom: 8px;
  font-size: 22px;
}

.product-availability {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-description {
  max-width: 470px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.product-add:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.return-page {
  max-width: 760px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 14vh var(--gutter);
}

.return-page > p:not(.eyebrow) {
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.cart-drawer-footer {
  padding: 22px 26px 26px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.cart-continue {
  width: 100%;
  min-height: 54px;
}

body.cart-is-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .hero,
  .featured,
  .manifesto-inner,
  .how-it-works,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .primary-nav a,
  .brand span {
    display: none;
  }

  .product-stage {
    min-height: 520px;
  }
}

@media (max-width: 620px) {
  :root {
    --gutter: 20px;
  }

  .section-heading,
  .footer-main,
  .footer-meta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .section-heading > p {
    margin-top: 20px;
  }

  .footer-main nav {
    flex-wrap: wrap;
  }

  .brand strong {
    font-size: 16px;
    letter-spacing: .2em;
  }

  .cart-drawer {
    width: 100vw;
  }

  .product-detail {
    padding-top: 34px;
  }

  .product-stage {
    min-height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card-stage {
    transition: none;
  }

  .cart-overlay,
  .cart-drawer {
    transition-duration: .01ms;
  }
}
