.size-hero { padding: 34px 0 84px; background: #f1edf8; }
.size-hero .breadcrumb { margin-bottom: 28px; }
.size-hero-grid {
  display: grid;
  grid-template-columns: minmax(360px, .78fr) minmax(560px, 1.22fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: center;
}
.size-hero-copy .display-title { max-width: 560px; }
.size-hero-copy .lead { max-width: 590px; }

.size-lab {
  padding: clamp(22px, 3vw, 34px);
  background: var(--white);
  box-shadow: 0 30px 80px rgba(50, 38, 65, .13);
}
.size-controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.size-control {
  min-height: 50px;
  padding: 8px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 13px;
  letter-spacing: .06em;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.size-control[aria-pressed="true"] { color: var(--white); background: var(--accent); border-color: var(--accent); }

.room-scene {
  position: relative;
  aspect-ratio: 1.26 / 1;
  overflow: hidden;
  background:
    linear-gradient(rgba(255,255,255,.54) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.54) 1px, transparent 1px),
    #d9d2df;
  background-size: 28px 28px;
  border: 1px solid #c8bfcc;
}
.room-wall {
  position: absolute;
  top: 0;
  right: 12%;
  left: 12%;
  height: 9%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #766e78;
  border-bottom: 2px solid #aaa0ae;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.room-floor {
  position: absolute;
  top: 52%;
  left: 50%;
  display: grid;
  place-items: center;
  width: var(--floor-size);
  aspect-ratio: 1;
  color: var(--white);
  background:
    linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px),
    linear-gradient(145deg, #251c35, #6545e6 56%, #b55cd9);
  background-size: 16.66% 16.66%, 16.66% 16.66%, auto;
  border: 3px solid #30243f;
  box-shadow: 0 18px 38px rgba(60, 42, 91, .25);
  transform: translate(-50%, -50%);
  transition: width .35s ease, top .35s ease;
}
.room-floor strong { font-family: var(--serif); font-size: clamp(22px, 3.1vw, 42px); font-weight: 400; }
.room-table {
  position: absolute;
  display: grid;
  place-items: center;
  width: 12%;
  aspect-ratio: 1;
  color: #6a626d;
  background: #f5f1f6;
  border: 2px solid #b5abb9;
  border-radius: 50%;
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  transition: top .35s ease, left .35s ease, opacity .25s ease, transform .35s ease;
}
.room-entry {
  position: absolute;
  right: 6%;
  bottom: 0;
  width: 18%;
  height: 8%;
  color: #766e78;
  border-top: 2px solid #aaa0ae;
  text-align: center;
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.room-scene[data-size="10"] { --floor-size: 31%; }
.room-scene[data-size="12"] { --floor-size: 37%; }
.room-scene[data-size="16"] { --floor-size: 49%; }
.room-scene[data-size="20"] { --floor-size: 61%; }
.table-a { top: 24%; left: 20%; }
.table-b { top: 24%; left: 80%; }
.table-c { top: 52%; left: 13%; }
.table-d { top: 52%; left: 87%; }
.table-e { top: 80%; left: 20%; }
.table-f { top: 80%; left: 80%; }
.room-scene[data-size="12"] .table-a { left: 17%; }
.room-scene[data-size="12"] .table-b { left: 83%; }
.room-scene[data-size="16"] .table-a { top: 18%; left: 16%; }
.room-scene[data-size="16"] .table-b { top: 18%; left: 84%; }
.room-scene[data-size="16"] .table-c { left: 8%; }
.room-scene[data-size="16"] .table-d { left: 92%; }
.room-scene[data-size="16"] .table-e { top: 84%; left: 13%; }
.room-scene[data-size="16"] .table-f { top: 84%; left: 87%; }
.room-scene[data-size="20"] .room-floor { top: 50%; }
.room-scene[data-size="20"] .table-a { top: 13%; left: 11%; transform: translate(-50%,-50%) scale(.88); }
.room-scene[data-size="20"] .table-b { top: 13%; left: 89%; transform: translate(-50%,-50%) scale(.88); }
.room-scene[data-size="20"] .table-c { top: 50%; left: 5%; transform: translate(-50%,-50%) scale(.82); }
.room-scene[data-size="20"] .table-d { top: 50%; left: 95%; transform: translate(-50%,-50%) scale(.82); }
.room-scene[data-size="20"] .table-e { top: 89%; left: 9%; transform: translate(-50%,-50%) scale(.82); }
.room-scene[data-size="20"] .table-f { top: 89%; left: 91%; transform: translate(-50%,-50%) scale(.82); }

.size-readout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: baseline;
  margin-top: 20px;
}
.size-readout strong { font-family: var(--serif); font-size: 38px; font-weight: 400; line-height: 1; }
.size-readout p { margin: 0; color: var(--muted); font-size: 13px; }

.scale-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: clamp(56px, 6vw, 82px); }
.scale-card { margin: 0; }
.scale-card .media-frame { display: block; aspect-ratio: 4 / 5; }
.scale-card img { object-position: 50% 72%; }
.scale-card:nth-child(2) img { object-position: 50% 74%; }
.scale-card:nth-child(3) img { object-position: 50% 72%; }
.scale-card figcaption { padding: 18px 2px 0; }
.scale-card strong { display: block; font-family: var(--serif); font-size: 32px; font-weight: 400; line-height: 1; }
.scale-card span { display: block; margin-top: 9px; color: var(--muted); font-size: 12px; }

.large-scale {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  background: var(--night);
}
.large-scale .media-frame { aspect-ratio: 3 / 2; margin: 0; }
.large-scale img { object-position: 50% 66%; }
.large-scale-copy {
  position: absolute;
  right: clamp(18px, 3vw, 42px);
  bottom: clamp(18px, 3vw, 42px);
  width: min(460px, 43%);
  padding: clamp(26px, 3vw, 40px);
  color: var(--white);
  background: rgba(12, 9, 17, .92);
}
.large-scale-copy h3 { margin: 0; font-family: var(--serif); font-size: clamp(38px, 4vw, 60px); font-weight: 400; line-height: .96; }
.large-scale-copy p { margin: 20px 0 0; color: rgba(255,255,255,.72); font-size: 15px; }

.recommend-strip {
  display: grid;
  grid-template-columns: .8fr repeat(3, 1fr);
  gap: 0;
  align-items: stretch;
  margin-top: 52px;
  border-block: 1px solid var(--line);
}
.recommend-intro,
.recommend-item { padding: 30px 28px; }
.recommend-intro { padding-left: 0; }
.recommend-item { border-left: 1px solid var(--line); }
.recommend-item span { display: block; color: var(--accent); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.recommend-item strong { display: block; margin-top: 14px; font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.05; }

@media (max-width: 1050px) {
  .size-hero-grid { grid-template-columns: minmax(300px, .7fr) minmax(500px, 1.3fr); gap: 32px; }
  .room-scene { aspect-ratio: 1.15 / 1; }
  .recommend-strip { grid-template-columns: 1fr 1fr; }
  .recommend-intro { grid-column: 1 / -1; }
  .recommend-item:nth-of-type(2) { border-left: 0; }
}

@media (max-width: 820px) {
  .size-hero { padding: 18px 0 58px; }
  .size-hero-grid { grid-template-columns: 1fr; }
  .size-hero-copy { max-width: 680px; }
  .size-lab { padding: 20px; }
  .room-scene { aspect-ratio: 1.32 / 1; }
  .scale-gallery { grid-template-columns: 1fr 1fr; }
  .scale-card:nth-child(3) { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 24px; }
  .scale-card:nth-child(3) .media-frame { aspect-ratio: 4 / 3; }
  .large-scale .media-frame { aspect-ratio: 4 / 3; }
  .large-scale-copy { width: min(440px, 52%); }
}

@media (max-width: 560px) {
  .size-hero .breadcrumb { margin-bottom: 22px; }
  .size-controls { grid-template-columns: 1fr 1fr; }
  .size-control { min-height: 46px; }
  .room-scene { aspect-ratio: .92 / 1; background-size: 22px 22px; }
  .room-table { width: 15%; font-size: 7px; }
  .room-scene[data-size="20"] .room-floor { width: 64%; }
  .room-floor strong { font-size: 24px; }
  .size-readout { grid-template-columns: 1fr; gap: 8px; }
  .scale-gallery { grid-template-columns: 1fr; }
  .scale-card:nth-child(3) { grid-column: auto; display: block; }
  .scale-card .media-frame,
  .scale-card:nth-child(3) .media-frame { aspect-ratio: 4 / 5; }
  .scale-gallery { padding-bottom: 44px; }
  .large-scale { margin-top: 0; }
  .large-scale .media-frame { aspect-ratio: 1 / 1; }
  .large-scale img { object-position: 50% 64%; }
  .large-scale-copy { position: static; width: auto; padding: 28px 20px 32px; }
  .large-scale-copy h3 { font-size: 39px; }
  .large-scale-copy p { margin-top: 16px; font-size: 14px; }
  .recommend-strip { grid-template-columns: 1fr; }
  .recommend-intro { grid-column: auto; padding: 0 0 22px; }
  .recommend-item { padding: 22px 0; border-top: 1px solid var(--line); border-left: 0; }
}
