/* Room Studio: room-studio.html and room-studio/<slug>.html
   Generated pages; see tools/room-studio/build_page.py. Builds on css/collection.css. */

/* ------------------------------------------------------------ hero (feed) */

.rs-hero {
  position: relative;
  min-height: clamp(520px, 82vh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #2A2620;
}

.rs-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 62%;
}

.rs-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 18, 13, 0) 0%, rgba(22, 18, 13, 0) 42%, rgba(22, 18, 13, .38) 70%, rgba(22, 18, 13, .70) 100%);
}

.rs-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: clamp(34px, 7vh, 72px);
  color: #fff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .25);
}

.pc .rs-on-dark { color: rgba(255, 255, 255, .86); }

.rs-hero-title {
  font-family: var(--pc-serif);
  font-weight: 400;
  font-size: clamp(42px, 6.4vw, 84px);
  line-height: .98;
  color: #fff;
  margin: 0 0 10px;
}

.rs-hero-by { font-size: 17px; color: rgba(255, 255, 255, .78); margin: 0; }

.pc .rs-shop {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 17px 34px;
  border-radius: 999px;
  background: #fff;
  color: var(--pc-ink);
  font: 500 18px/1 var(--pc-sans);
  text-decoration: none;
  text-shadow: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  transition: transform .2s ease, box-shadow .2s ease;
}

.pc .rs-shop:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(0, 0, 0, .24); color: var(--pc-ink); }
.rs-shop i { font-size: 20px; }

/* ------------------------------------------------------------ intro and theme rows */

.rs-intro { padding: clamp(44px, 6vw, 72px) 0 8px; }
.rs-h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1; margin: 0 0 14px; }
.pc .rs-intro .pc-lead { color: var(--pc-text); max-width: 640px; }

.rs-row { padding: clamp(28px, 4vw, 48px) 0; }

.rs-row-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--pc-line);
}

.rs-h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; margin: 0; }
.rs-row-blurb { margin: 0; font-size: 16px; color: var(--pc-muted); }

.rs-cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(80vw, 400px);
  gap: 22px;
  margin-top: 24px;
  padding-bottom: 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.pc .rs-card {
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  text-decoration: none;
  color: var(--pc-ink);
}

.rs-card-img {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background: var(--pc-stage);
}

.rs-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.rs-card:hover .rs-card-img img { transform: scale(1.03); }
.rs-card-title { font-family: var(--pc-serif); font-size: 26px; line-height: 1.15; margin-top: 14px; }
.rs-card-meta { font-size: 14px; color: var(--pc-muted); margin-top: 2px; }

/* ------------------------------------------------------------ room page */

.pc .rs-crumbs { color: var(--pc-muted); padding-top: clamp(26px, 4vw, 44px); margin-bottom: 22px; text-shadow: none; }
.pc .rs-crumbs a { border-bottom-color: var(--pc-line); }

.rs-look-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

@media (min-width: 992px) {
  .rs-look-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 52px;
    align-items: start;
  }
  .rs-look-media { position: sticky; top: 96px; }
}

.rs-look-media { margin: 0; }

.rs-look-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  background: var(--pc-stage);
}

.rs-look-media figcaption { font-size: 13px; color: var(--pc-muted); margin-top: 10px; }

.rs-title { font-size: clamp(38px, 4.4vw, 58px); line-height: 1.02; margin: 0 0 14px; }
.rs-summary { margin: 0; font-size: 17px; }

.rs-shop-h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 34px 0 0;
  font: 500 13px/1 var(--pc-sans) !important;
  letter-spacing: .24em !important;
  text-transform: uppercase;
  color: var(--pc-ink);
}

.rs-shop-h i { font-size: 17px; letter-spacing: 0; }

.rs-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin: 14px 0 0;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--pc-line);
  font-size: 15px;
  color: var(--pc-muted);
}

.rs-total span:last-child { font-family: var(--pc-serif); font-size: 26px; color: var(--pc-ink); }

.rs-items { list-style: none; margin: 0; padding: 0; }

.rs-item {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--pc-line);
}

.rs-item-thumb { display: block; }

.rs-item-img {
  display: block;
  width: 78px;
  height: 78px;
  border-radius: 16px;
  object-fit: cover;
  background: #F1EEE8;
}

.pc .rs-item-name {
  display: block;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.3;
  color: var(--pc-ink);
  text-decoration: none;
}

.pc .rs-item-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.rs-item-sub { display: block; font-size: 14px; color: var(--pc-muted); margin-top: 2px; }

.rs-item-act { display: flex; align-items: center; gap: 14px; white-space: nowrap; }

.pc .rs-price {
  font-size: 15px;
  font-weight: 500;
  color: var(--pc-ink);
  text-decoration: underline;
  text-decoration-color: var(--pc-accent);
  text-underline-offset: 4px;
}

.rs-price-num { font-family: var(--pc-serif); font-size: 22px; color: var(--pc-ink); }
.pc .rs-out { color: var(--pc-muted); font-size: 18px; text-decoration: none; }
.pc .rs-out:hover { color: var(--pc-ink); }

.pc .rs-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 15px 28px;
  border-radius: 999px;
  background: var(--pc-ink);
  color: #fff;
  font: 500 16px/1 var(--pc-sans);
  text-decoration: none;
  transition: background .2s ease;
}

.pc .rs-btn:hover { background: #000; color: #fff; }
.rs-btn i { color: var(--pc-accent); }

.rs-styling { margin: 18px 0 0; font-size: 14px; color: var(--pc-muted); }

.rs-finish {
  margin-top: clamp(44px, 6vw, 80px);
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--pc-line);
}

.rs-swatches {
  list-style: none;
  margin: 26px 0 30px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.rs-swatches li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  background: #FBFAF7;
  border: 1px solid var(--pc-line);
  font-size: 15px;
  line-height: 1.4;
}

.rs-swatches b { display: block; font-weight: 500; color: var(--pc-ink); }

.rs-sw {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .08);
}

.rs-note { padding: 0 0 28px; }
.rs-note p { max-width: 760px; margin: 0; font-size: 14px; color: var(--pc-muted); }

@media (max-width: 575px) {
  .pc-wrap { padding: 0 18px; }
  .rs-item { grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; }
  .rs-item-img { width: 64px; height: 64px; border-radius: 14px; }
  .rs-item-name { font-size: 16px; }
  .rs-item-act { gap: 10px; }
  .pc .rs-price { font-size: 14px; }
  .pc .rs-shop { padding: 15px 28px; font-size: 17px; }
}
