/* Selected editorial pair: original RM photography, shared brand tokens. */
.real-space-story, .real-bed-story { background: var(--rm-paper); }
.full-scroll-home .real-space-story, .full-scroll-home .real-bed-story { padding-block: clamp(40px, 6vw, 88px); }
.real-story-heading { margin-bottom: 24px; }
.real-story-heading .section-label { display: block; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; margin-bottom: 12px; }
.real-story-heading h2 { font-size: clamp(38px, 9.8vw, 72px); line-height: 1.03; letter-spacing: -.055em; font-weight: 800; }
.real-space-story figure, .real-bed-story figure { margin: 0; }
.real-space-story img, .real-bed-story img { display: block; width: 100%; height: auto; }
.real-kitchen-main img { aspect-ratio: 1.77; object-fit: cover; object-position: center 45%; }
.real-kitchen-detail { display: grid; grid-template-columns: .43fr .57fr; gap: 20px 14px; margin-top: 8px; align-items: start; }
.real-kitchen-detail h3 { font-size: clamp(32px, 8.4vw, 58px); line-height: 1.06; letter-spacing: -.055em; font-weight: 800; padding-top: 6px; }
.real-kitchen-detail figure { grid-column: 2; grid-row: 1 / 3; }
.real-kitchen-detail figure img { aspect-ratio: 1.7; object-fit: cover; }
.real-kitchen-detail > p { font-size: 16px; font-weight: 650; line-height: 1.4; color: #17264e; grid-column: 1 / -1; max-width: 25ch; margin-top: 0; }
.real-kitchen-link { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 19px; font-weight: 750; text-decoration: none; min-height: 48px; }
.real-kitchen-link > span:first-child { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.story-circle { display: grid; place-items: center; border-radius: 50%; background: var(--rm-blue); color: white; width: 48px; height: 48px; flex: none; }
.real-space-story .icon, .real-bed-story .icon, .kitchen-gallery .icon { mask: url('../assets/icons/arrow-right.svg') center/contain no-repeat; }
.real-kitchen-link:hover .story-circle { transform: translateX(3px); }
.real-bed-story { border-top: 1px solid var(--rm-blue); }
.real-bed-stage { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px 12px; align-items: start; }
.real-bed-main { grid-column: 1; grid-row: 1 / 3; position: relative; overflow: hidden; }
.real-bed-main img, .real-bed-inset img { aspect-ratio: 3 / 4; object-fit: contain; }
.real-bed-main img, .real-bed-inset img { transition: opacity 520ms cubic-bezier(.22,1,.36,1), transform 520ms cubic-bezier(.22,1,.36,1); }
.real-bed-story .bed-photo-alternate { position: absolute; inset: 0; opacity: 0; transform: translateX(16px) scale(1.015); }
.real-bed-inset .bed-photo-alternate { transform: translateX(-12px) scale(1.015); }
.real-bed-story.is-open .bed-photo-default { opacity: 0; transform: translateX(-16px) scale(.99); }
.real-bed-story.is-open .real-bed-inset .bed-photo-default { transform: translateX(12px) scale(.99); }
.real-bed-story.is-open .bed-photo-alternate { opacity: 1; transform: none; }
.real-bed-controls { grid-column: 2; grid-row: 1; padding-top: 8px; }
.bed-picker { position: relative; isolation: isolate; display: flex; border: 1px solid var(--rm-blue); border-radius: 28px; overflow: hidden; }
.bed-picker::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 50%; background: var(--rm-blue); border-radius: inherit; transition: transform 520ms cubic-bezier(.22,1,.36,1); pointer-events: none; }
.is-open .bed-picker::before { transform: translateX(100%); }
.bed-picker[hidden] { display: none; }
.bed-picker button { position: relative; flex: 1; min-width: 0; min-height: 44px; padding: 8px 4px; border: 0; border-radius: 24px; background: transparent; color: var(--rm-blue); font-weight: 750; font-size: 14px; transition: color 180ms ease; }
.bed-picker button[aria-pressed="true"] { color: white; }
.bed-picker button:focus-visible { outline-offset: -4px; }
.real-bed-controls p { color: #17264e; font-weight: 700; font-size: 16px; line-height: 1.4; margin-top: 16px; }
.real-bed-inset { grid-column: 2; grid-row: 2; position: relative; overflow: hidden; margin-left: -22px !important; border: 4px solid white; }
.real-bed-cta { grid-column: 1 / -1; grid-row: 3; justify-content: space-between; width: fit-content; max-width: 100%; gap: 16px; margin-top: 6px; }
.kitchen-gallery { width: min(100% - 32px, 1060px); max-height: calc(100dvh - 32px); padding: 24px; border: 0; color: var(--rm-blue); background: white; overscroll-behavior: contain; }
.kitchen-gallery::backdrop { background: #07132dbd; }
html:has(.kitchen-gallery[open]) { overflow: hidden; }
.kitchen-gallery-heading { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 20px; }
.kitchen-gallery-heading .section-label { margin-bottom: 6px; }
.kitchen-gallery h2 { font-size: clamp(30px, 5vw, 48px); }
.gallery-close { display: grid; place-items: center; min-width: 44px; height: 44px; border: 1px solid var(--rm-rule); border-radius: 50%; color: var(--rm-blue); background: white; }
.kitchen-gallery .gallery-close .icon { mask: url('../assets/icons/x.svg') center/contain no-repeat; }
.kitchen-gallery-image { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 52dvh; object-fit: contain; background: #f5f7fc; }
.gallery-navigation { display: flex; gap: 8px; margin: 16px 0 24px; }
.gallery-navigation button { min-height: 44px; padding: 8px 20px; border: 1px solid var(--rm-blue); border-radius: 24px; background: white; color: var(--rm-blue); font-weight: 700; }
.gallery-navigation button[aria-pressed="true"] { background: var(--rm-blue); color: white; }
@media (min-width: 600px) {
  .real-bed-stage { grid-template-columns: 1.2fr .8fr; gap: 24px; }
  .bed-picker { max-width: 220px; }
  .real-bed-controls p { font-size: 22px; }
  .real-bed-inset { margin-left: -44px !important; }
  .real-bed-cta { grid-column: 1; grid-row: 3; align-self: start; }
}
@media (min-width: 900px) {
  .real-story-heading .section-label { font-size: 14px; }
  .real-space-story { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px 44px; align-items: start; }
  .real-story-heading h2 { font-size: clamp(60px, 5.6vw, 82px); }
  .real-space-story .real-story-heading { grid-column: 1 / -1; margin-bottom: 0; }
  .real-kitchen-main img { aspect-ratio: 1.22; object-position: 48% center; }
  .real-kitchen-detail { grid-template-columns: 1fr; gap: 24px; margin-top: 0; }
  .real-kitchen-detail h3 { grid-row: 1; font-size: 52px; padding: 0; }
  .real-kitchen-detail figure { grid-column: 1; grid-row: 2; }
  .real-kitchen-detail > p { font-size: 19px; }
  .real-kitchen-link { font-size: 21px; }
  .real-bed-story > .content-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
  .real-bed-story .real-story-heading { position: sticky; top: 120px; }
  .real-bed-story h2 { font-size: clamp(54px, 4.9vw, 72px); }
  .real-bed-stage { gap: 20px 18px; }
  .real-bed-controls p { font-size: 18px; }
}
