/* Room 1: isolated stylesheet, does not modify the shared layout */
.qr1 {

  --gold: #e8c78a;

  --ink: #141210;

  --cream: #f0e3c9;

  background: #100f0d;

  color: #e8e3db;

  font-family: Arial,Helvetica,sans-serif;

  line-height: 1.7
}

.qr1 * {

  box-sizing: border-box
}

.qr1 h1, .qr1 h2, .qr1 h3, .qr1 blockquote {

  font-family: Georgia,'Times New Roman',serif;

  font-weight: 400
}

.qr1 p {

  margin: 0 0 18px
}

.qr1-hero {

  height: min(92svh,760px);

  min-height: 540px;

  background-color: #29221b;

  background-size: cover;

  background-position: center;

  position: relative;

  display: flex;

  align-items: flex-end;

  padding: 0 clamp(25px,7.5vw,110px) 65px
}

.qr1-hero-copy {

  position: relative;

  z-index: 1
}

.qr1-kicker {

  color: var(--gold);

  letter-spacing: 2px;

  font-size: 12px;

  font-weight: bold;

  margin-bottom: 20px !important
}

.qr1-hero h1 {

  font-size: clamp(55px,7vw,100px);

  line-height: 1.05;

  margin: 0;

  color: var(--cream)
}

.qr1-tabs {

  background: #151311;

  border-bottom: 1px solid #332c24;

  display: flex;

  gap: 48px;

  padding: 0 clamp(25px,7.5vw,110px);

  position: sticky;

  top: 0;

  z-index: 15;

  overflow: auto;

  scrollbar-width: thin
}

.qr1-tabs a {

  white-space: nowrap;

  color: #d5d0c9;

  text-decoration: none;

  letter-spacing: 2px;

  font-size: 12px;

  font-weight: bold;

  padding: 24px 0 19px;

  border-bottom: 2px solid transparent
}

.qr1-tabs a:hover, .qr1-tabs a.active {

  color: var(--gold);

  border-color: var(--gold)
}

.qr1-main {

  max-width: 1280px;

  margin: auto;

  padding: 0 clamp(25px,7.5vw,110px)
}

.qr1-section {

  padding: 80px 0 50px;

  scroll-margin-top: 85px
}

.qr1-num {

  font-size: 11px;

  color: var(--gold);

  letter-spacing: 2px;

  font-weight: bold;

  margin: 0 0 10px !important
}

.qr1-section > h2, .qr1-final h2 {

  color: var(--cream);

  font-size: clamp(27px,3vw,40px);

  line-height: 1.2;

  margin: 0 0 34px
}

.qr1-rule {

  height: 1px;

  background: #827a6e;

  margin-bottom: 32px
}

.qr1-split {

  display: grid;

  grid-template-columns: 32% minmax(0,1fr);

  gap: 4%;

  align-items: start
}

.qr1-spacious {

  padding: 25px 0 65px
}

.qr1-divider {

  border-top: 1px solid #302b25
}

.qr1-row {

  padding: 42px 0
}

.qr1-row h3 {

  font-size: 19px;

  line-height: 1.4;

  color: var(--cream);

  margin: 0;

  max-width: 260px
}

.qr1 p {

  font-size: 15px;

  line-height: 1.85;

  color: #d8d5d1
}

.qr1-prose p {

  font-size: 18px;

  line-height: 1.9
}

.qr1 p + p {

  margin-top: 22px
}

.qr1-source {

  color: #aaa39a !important;

  font-size: 13px !important
}

.qr1-source strong {

  color: #e5e0d8
}

.qr1 blockquote {

  margin: 0;

  color: var(--cream);

  font-size: clamp(20px,2.1vw,29px);

  line-height: 1.42;

  border-left: 2px solid var(--gold);

  padding: 0 0 0 24px
}

.qr1 blockquote small {

  display: block;

  margin-top: 18px;

  color: var(--gold);

  font: 10px/1.6 Arial,sans-serif;

  letter-spacing: 1px
}

.qr1-row blockquote + p {

  margin-top: 24px
}

.qr1-exhibit {

  min-height: 470px;

  margin: 30px 0 55px;

  background: radial-gradient(ellipse at center,#292018,#100f0d 70%);

  display: flex;

  align-items: flex-end;

  justify-content: center;

  text-align: center;

  padding: 60px 25px;

  border-bottom: 1px solid #302b25
}

.qr1-exhibit h3 {

  font-size: clamp(26px,3vw,40px);

  font-weight: bold;

  color: var(--cream)
}

.qr1-exhibit p {

  max-width: 520px;

  margin: auto
}

.qr1-three {

  display: grid;

  grid-template-columns: repeat(3,minmax(0,1fr));

  gap: 30px;

  padding: 45px 0
}

.qr1-three p {

  font-size: 12px;

  color: #aaa49c
}

.qr1-three strong {

  color: #ddd8d1
}

.qr1-gold {

  color: var(--gold);

  font-size: 10px;

  letter-spacing: 1px
}

.qr1-feature {

  border: 1px solid #766e61;

  border-radius: 16px;

  padding: 25px 32px;

  margin: 20px 0 30px
}

.qr1-feature h3 {

  font-weight: bold;

  font-size: 28px;

  margin: 0;

  color: var(--cream);

  line-height: 1.1
}

.qr1-feature > span {

  font: 24px Georgia,serif
}

.qr1-feature p {

  font-size: 13px;

  margin: 8px 0
}

.qr1-chip {

  display: table;

  border: 1px solid #6a6259;

  border-radius: 6px;

  padding: 2px 9px;

  color: #bdb7b0 !important
}

.qr1 ul {

  padding: 20px 25px 20px 45px;

  background: #1c1916;

  border: 1px solid #29241f;

  border-radius: 9px;

  margin: 18px 0 22px
}

.qr1 li {

  font-size: 14px;

  line-height: 1.85;

  margin: 10px 0
}

.qr1 li::marker {

  color: var(--gold)
}

.qr1-video {

  min-height: 280px;

  border: 1px solid var(--gold);

  border-radius: 13px;

  display: flex;

  align-items: center;

  justify-content: center;

  flex-direction: column;

  gap: 4px;

  background: radial-gradient(#27221b,#100f0d);

  text-align: center
}

.qr1-video > span {

  width: 74px;

  height: 74px;

  display: grid;

  place-items: center;

  border: 5px solid #fff0cf;

  border-radius: 50%;

  background: var(--gold);

  color: #19120c;

  font-size: 26px
}

.qr1-video p {

  margin: 6px 0 0
}

.qr1-video small {

  color: #a9a096
}

.qr1-final {

  padding: 75px 0
}

.qr1-image-missing {

  min-height: 420px;

  border: 1px solid #67583c;

  border-radius: 12px;

  background: #211a13;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  text-align: center;

  padding: 30px
}

.qr1-image-missing p {

  font: clamp(22px,3vw,38px) Georgia,serif;

  color: var(--cream)
}

.qr1-image-missing small {

  color: #b9ab95
}

.qr1-bottom {

  display: flex;

  justify-content: space-between;

  gap: 20px;

  padding: 30px max(25px,calc((100vw - 1060px)/2));

  background: #181512;

  border-top: 1px solid #29251f
}

.qr1-bottom a {

  display: inline-block;

  border: 1px solid #c4b8a8;

  border-radius: 30px;

  padding: 12px 24px;

  text-decoration: none;

  color: var(--cream);

  font-size: 13px
}

.qr1-bottom .qr1-next {

  background: var(--gold);

  color: #17120d;

  border-color: var(--gold)
}

.qr1-bottom a:hover {

  filter: brightness(1.14)
}

@media(max-width:760px) {

  .qr1-hero {

    height: 75svh;

    min-height: 450px;

    padding-bottom: 55px
  }

  .qr1-tabs {

    gap: 26px
  }

  .qr1-split {

    grid-template-columns: 1fr;

    gap: 18px
  }

  .qr1-split > div:empty {

    display: none
  }

  .qr1-row {

    padding: 30px 0
  }

  .qr1-section {

    padding-top: 55px
  }

  .qr1-prose p {

    font-size: 16px
  }

  .qr1-three {

    grid-template-columns: 1fr;

    gap: 8px
  }

  .qr1-exhibit {

    min-height: 320px
  }

  .qr1-bottom {

    flex-direction: column
  }

  .qr1-bottom a {

    text-align: center
  }

}

@media(prefers-reduced-motion:reduce) {

  .qr1 * {

    scroll-behavior: auto !important
  }

}

/* Room 1 viewport fit and stable sticky navigation */
.qr1 {

  width: 100%;

  max-width: none;

  min-height: 100vh;

  overflow: clip
}

.qr1 .qr1-hero {

  height: clamp(520px,82svh,820px);

  min-height: 520px;

  background-position: center;

  background-repeat: no-repeat
}

.qr1 .qr1-tabs {

  position: sticky;

  top: 0;

  width: 100%;

  max-width: none;

  z-index: 100;

  scroll-behavior: auto
}

.qr1 .qr1-tabs a, .qr1 .qr1-tabs a:hover {

  transform: none !important;

  animation: none !important;

  transition: color .15s ease,border-color .15s ease
}

.qr1 .qr1-tabs a.active, .qr1 .qr1-tabs a[aria-current=location] {

  border-bottom-color: var(--gold);

  color: var(--gold)
}

.qr1 .qr1-section {

  scroll-margin-top: 92px
}

html:has(.qr1) {

  scroll-padding-top: 92px
}

@media(max-width:760px) {

  .qr1 .qr1-hero {

    height: 70svh;

    min-height: 420px
  }

  .qr1 .qr1-tabs {

    gap: 20px
  }

  .qr1 .qr1-tabs a {

    font-size: 11px
  }

}

/* Room detail hero: keep the title visible and the page close to the Figma proportions. */
.qr1 .qr1-hero {

  height: clamp(470px,76svh,720px);

  min-height: 470px;

  padding-bottom: 64px
}

.qr1 .qr1-hero-copy {

  width: 100%
}

@media(max-width:760px) {

  .qr1 .qr1-hero {

    height: 68svh;

    min-height: 410px
  }

}

/* Full viewport Room 1 hero, including the fixed/overlay site navigation. */
.qr1 .qr1-hero {

  height: 100svh !important;

  min-height: 100svh !important;

  box-sizing: border-box;

  padding-bottom: clamp(56px,8vh,100px)
}

@supports not (height:100svh) {

  .qr1 .qr1-hero {

    height: 100vh !important;

    min-height: 100vh !important
  }

}

/* Reference layout: hero image plus room tabs fill exactly one screen. */
.qr1 .qr1-hero {

  height: calc(100svh - 52px) !important;

  min-height: 0 !important;

  padding: 0 clamp(25px,6.2vw,105px) clamp(50px,10.5vh,95px) !important;

  background-size: cover;

  background-position: center center !important
}

.qr1 .qr1-hero h1 {

  font-size: clamp(54px,6vw,84px);

  line-height: 1.08
}

.qr1 .qr1-kicker {

  font-size: 10px;

  letter-spacing: 1.5px;

  margin-bottom: 13px !important
}

.qr1 .qr1-tabs {

  height: 52px;

  min-height: 52px;

  align-items: stretch;

  padding: 0 clamp(25px,6.2vw,105px);

  gap: 38px
}

.qr1 .qr1-tabs a {

  display: flex;

  align-items: center;

  padding: 0;

  border-bottom-width: 2px;

  font-size: 10px;

  letter-spacing: 1.5px
}

@media(max-width:760px) {

  .qr1 .qr1-hero {

    height: calc(100svh - 52px) !important;

    padding-bottom: 55px !important
  }

  .qr1 .qr1-tabs {

    gap: 22px
  }

  .qr1 .qr1-tabs a {

    font-size: 10px
  }

}

/* Gallery 2: independent vertical scrollable exhibit flashcards */
.qr1 #gallery-2 .qr1-flashcard-heading {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 16px;

  margin: 0 0 16px;

  color: var(--gold)
}

.qr1 #gallery-2 .qr1-flashcard-heading p {

  margin: 0;

  font-size: 13px;

  color: #c6bdb0
}

.qr1 #gallery-2 .qr1-flashcard-heading span {

  font: 12px Arial,sans-serif;

  letter-spacing: 2px;

  white-space: nowrap
}

.qr1 #gallery-2 .qr1-flashcard-scroll {

  height: min(68svh,650px);

  min-height: 340px;

  overflow-y: auto;

  overscroll-behavior-y: contain;

  scroll-snap-type: y proximity;

  scrollbar-width: thin;

  scrollbar-color: #b99b62 #1c1916;

  padding: 12px 15px 20px 4px;

  display: flex;

  flex-direction: column;

  gap: 18px;

  border-radius: 12px
}

.qr1 #gallery-2 .qr1-flashcard-scroll:focus-visible {

  outline: 2px solid var(--gold);

  outline-offset: 3px
}

.qr1 #gallery-2 .qr1-flashcard {

  flex: 0 0 auto;

  scroll-snap-align: start;

  background: #201c18;

  border: 1px solid #71695e;

  border-radius: 17px;

  padding: clamp(22px,3vw,34px);

  min-height: 190px;

  box-shadow: 0 8px 22px rgba(0,0,0,.12)
}

.qr1 #gallery-2 .qr1-flashcard:nth-child(even) {

  background: #29241e
}

.qr1 #gallery-2 .qr1-flashcard h3 {

  font: 700 clamp(23px,2.5vw,31px)/1.15 Georgia,serif;

  color: var(--cream);

  margin: 0;

  max-width: 100%
}

.qr1 #gallery-2 .qr1-card-year {

  font: 25px/1.15 Georgia,serif;

  color: var(--cream);

  margin: 2px 0 10px
}

.qr1 #gallery-2 .qr1-card-tags {

  display: flex;

  gap: 8px;

  flex-wrap: wrap;

  margin: 8px 0 12px
}

.qr1 #gallery-2 .qr1-card-tags span {

  font: 11px/1.3 Arial,sans-serif;

  color: #dfbd76;

  background: #171513;

  border: 1px solid #756d61;

  border-radius: 6px;

  padding: 7px 10px
}

.qr1 #gallery-2 .qr1-card-tags span:first-child {

  color: #bcb6af
}

.qr1 #gallery-2 .qr1-card-body {

  position: relative;

  padding-left: 24px
}

.qr1 #gallery-2 .qr1-card-body:before {

  content: "★";

  position: absolute;

  top: 1px;

  left: 0;

  color: #dfbd76;

  font-size: 16px
}

.qr1 #gallery-2 .qr1-card-text {

  font: 13px/1.65 Arial,sans-serif;

  color: #ddd7d0;

  margin: 0 0 8px
}

.qr1 #gallery-2 .qr1-card-text:last-child {

  margin-bottom: 0
}

@media(max-width:760px) {

  .qr1 #gallery-2 .qr1-flashcard-scroll {

    height: 65svh;

    min-height: 300px;

    padding-right: 8px
  }

  .qr1 #gallery-2 .qr1-flashcard {

    padding: 20px
  }

  .qr1 #gallery-2 .qr1-flashcard-heading {

    align-items: flex-start
  }

  .qr1 #gallery-2 .qr1-flashcard-heading p {

    font-size: 12px
  }

}

/* Gallery 2: show exactly one historical card at a time */
.qr1 #gallery-2 .qr1-flashcard-scroll {

  height: auto;

  min-height: 0;

  overflow: visible;

  display: block;

  padding: 4px 2px 18px;

  scroll-snap-type: none
}

.qr1 #gallery-2 .qr1-flashcard {

  display: none;

  min-height: 230px;

  margin: 0;

  animation: qr1-card-in .24s ease both
}

.qr1 #gallery-2 .qr1-flashcard.qr1-card-active {

  display: block
}

.qr1 #gallery-2 .qr1-flashcard-controls {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 16px;

  margin: 10px 0 14px
}

.qr1 #gallery-2 .qr1-flashcard-controls button {

  background: #29241e;

  border: 1px solid #796b55;

  border-radius: 8px;

  color: var(--cream);

  padding: 11px 17px;

  cursor: pointer;

  font: 12px Arial,sans-serif
}

.qr1 #gallery-2 .qr1-flashcard-controls button:hover:not(:disabled) {

  background: #3c3327;

  border-color: var(--gold)
}

.qr1 #gallery-2 .qr1-flashcard-controls button:disabled {

  opacity: .35;

  cursor: default
}

.qr1 #gallery-2 .qr1-card-counter {

  font: 12px Arial,sans-serif;

  letter-spacing: 2px;

  color: var(--gold)
}

@keyframes qr1-card-in {

  from {

    opacity: .35;

    transform: translateY(8px)
  }

  to {

    opacity: 1;

    transform: translateY(0)
  }

}

@media(prefers-reduced-motion:reduce) {

  .qr1 #gallery-2 .qr1-flashcard {

    animation: none
  }

}

@media(max-width:500px) {

  .qr1 #gallery-2 .qr1-flashcard-controls {

    gap: 7px
  }

  .qr1 #gallery-2 .qr1-flashcard-controls button {

    padding: 10px 9px;

    font-size: 11px
  }

}

/* Smooth directional card transitions with a short exit and gentle entrance */
.qr1 #gallery-2 .qr1-flashcard {

  animation: none;

  transition: opacity .28s ease,transform .28s cubic-bezier(.2,.7,.2,1);

  opacity: 1;

  transform: translateY(0);

  will-change: opacity,transform
}

.qr1 #gallery-2 .qr1-flashcard.qr1-card-exit {

  opacity: 0;

  transform: translateY(var(--qr1-slide,-12px));

  transition-duration: .18s
}

.qr1 #gallery-2 .qr1-flashcard.qr1-card-enter {

  opacity: 0;

  transform: translateY(var(--qr1-enter,12px));

  transition: none
}

@media(prefers-reduced-motion:reduce) {

  .qr1 #gallery-2 .qr1-flashcard {

    transition: none
  }

}

/* Room 1 editorial motion: subtle, accessible, and scoped to this page */
@keyframes qr1-hero-reveal {

  from {

    opacity: 0;

    transform: translate3d(0,22px,0)
  }

  to {

    opacity: 1;

    transform: translate3d(0,0,0)
  }

}

@keyframes qr1-image-settle {

  from {

    background-size: 105% auto
  }

  to {

    background-size: 100% auto
  }

}

.qr1 .qr1-hero {

  isolation: isolate
}

.qr1 .qr1-hero-copy {

  animation: qr1-hero-reveal .95s cubic-bezier(.2,.7,.2,1) both
}

.qr1 .qr1-hero-copy h1 {

  animation: qr1-hero-reveal 1.1s .14s cubic-bezier(.2,.7,.2,1) both
}

.qr1 .qr1-tabs a {

  position: relative;

  transition: color .25s ease,border-color .25s ease !important
}

.qr1 .qr1-tabs a:focus-visible, .qr1 .qr1-bottom a:focus-visible, .qr1 #gallery-2 button:focus-visible {

  outline: 2px solid var(--gold);

  outline-offset: 4px
}

.qr1 .qr1-reveal-ready {

  opacity: 0;

  transform: translate3d(0,20px,0);

  transition: opacity .72s cubic-bezier(.2,.7,.2,1),transform .72s cubic-bezier(.2,.7,.2,1)
}

.qr1 .qr1-reveal-ready.qr1-in-view {

  opacity: 1;

  transform: translate3d(0,0,0)
}

.qr1 .qr1-row, .qr1 .qr1-feature, .qr1 .qr1-exhibit, .qr1 .qr1-image-missing {

  transition-property: border-color,background-color,box-shadow;

  transition-duration: .35s;

  transition-timing-function: ease
}

.qr1 .qr1-exhibit:hover, .qr1 .qr1-feature:hover {

  border-color: #c9a96f;

  box-shadow: 0 14px 42px rgba(0,0,0,.18)
}

.qr1 .qr1-bottom a {

  transition: background-color .25s ease,border-color .25s ease,box-shadow .25s ease,transform .25s ease
}

.qr1 .qr1-bottom a:hover {

  transform: translateY(-2px);

  box-shadow: 0 8px 22px rgba(0,0,0,.25)
}

.qr1 #gallery-2 .qr1-flashcard {

  transition: opacity .28s cubic-bezier(.2,.7,.2,1),transform .28s cubic-bezier(.2,.7,.2,1),box-shadow .3s ease,border-color .3s ease
}

.qr1 #gallery-2 .qr1-flashcard.qr1-card-active:hover {

  border-color: #bda071;

  box-shadow: 0 18px 42px rgba(0,0,0,.24)
}

.qr1 #gallery-2 .qr1-flashcard-controls button {

  transition: background-color .22s ease,border-color .22s ease,transform .22s ease
}

.qr1 #gallery-2 .qr1-flashcard-controls button:hover:not(:disabled) {

  transform: translateY(-2px)
}

.qr1 #gallery-2 .qr1-flashcard-controls button:active:not(:disabled) {

  transform: translateY(0)
}

@media(prefers-reduced-motion:reduce) {

  .qr1 .qr1-hero-copy, .qr1 .qr1-hero-copy h1 {

    animation: none !important
  }

  .qr1 .qr1-reveal-ready {

    opacity: 1 !important;

    transform: none !important;

    transition: none !important
  }

  .qr1 .qr1-bottom a, .qr1 #gallery-2 .qr1-flashcard, .qr1 #gallery-2 .qr1-flashcard-controls button {

    transition: none !important
  }

  .qr1 .qr1-bottom a:hover, .qr1 #gallery-2 .qr1-flashcard-controls button:hover {

    transform: none !important
  }

}

/* Room 1 Figma: only three photographs — hero, Ortigas portrait, and Manila plan */
.qr1 .qr1-ortigas-exhibit {

  position: relative;

  isolation: isolate;

  display: flex;

  align-items: flex-end;

  justify-content: center;

  min-height: clamp(390px,53vw,620px);

  margin: 36px 0 60px;

  padding: 0;

  overflow: hidden;

  border: 0;

  border-radius: 0;

  background: radial-gradient(ellipse at center,#251b12 0%,#100f0d 76%)
}

.qr1 .qr1-ortigas-photo {

  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  object-fit: contain;

  object-position: center top;

  z-index: -2
}

.qr1 .qr1-ortigas-exhibit:after {

  content: "";

  position: absolute;

  inset: 0;

  z-index: -1;

  background: linear-gradient(0deg,#100f0d 0%,rgba(16,15,13,.94) 13%,rgba(16,15,13,.15) 55%,transparent 85%);

  pointer-events: none
}

.qr1 .qr1-ortigas-caption {

  width: 100%;

  padding: clamp(26px,5vw,56px) 20px 24px;

  text-align: center
}

.qr1 .qr1-ortigas-caption h3 {

  font: 700 clamp(21px,3vw,36px)/1.25 Georgia,serif;

  color: var(--cream);

  margin: 0 auto 12px
}

.qr1 .qr1-caption-line {

  display: block;

  width: 45px;

  height: 1px;

  background: var(--gold);

  margin: 0 auto 14px
}

.qr1 .qr1-ortigas-caption p {

  max-width: 520px;

  margin: 0 auto;

  color: #e5dfd6;

  font-size: clamp(13px,1.5vw,16px);

  line-height: 1.65
}

.qr1 .qr1-beautification-figure {

  margin: 0;

  overflow: hidden;

  border-radius: 12px
}

.qr1 .qr1-beautification-figure img {

  display: block;

  width: 100%;

  height: auto;

  max-height: 720px;

  object-fit: contain;

  object-position: center;

  border-radius: 12px
}

.qr1 .qr1-beautification-figure figcaption {

  color: #b7aa97;

  font: 12px/1.6 Arial,sans-serif;

  padding: 12px 3px
}

@media(max-width:760px) {

  .qr1 .qr1-ortigas-exhibit {

    min-height: 390px
  }

  .qr1 .qr1-ortigas-caption {

    padding: 22px 14px
  }

  .qr1 .qr1-beautification-figure {

    border-radius: 8px
  }

}

/* Room 1: full-width editorial layout instead of a narrow centered canvas. */
@media (min-width: 900px) {

  .qr1 .qr1-main {

    max-width: none;

    width: 100%;

    padding-inline: clamp(30px,4vw,80px);

  }

  .qr1 .qr1-tabs {

    padding-inline: clamp(30px,4vw,80px);

  }

  .qr1 #audio-visual .qr1-spacious {

    display: block;

    padding-top: clamp(18px,2.5vw,38px);

  }

  .qr1 #audio-visual .qr1-spacious > div:first-child:empty {

    display: none;

  }

  .qr1 #audio-visual .qr1-prose {

    width: 100%;

    max-width: none;

    column-count: 2;

    column-gap: clamp(36px,5vw,100px);

  }

  .qr1 #audio-visual .qr1-prose p {

    break-inside: avoid;

    line-height: 1.8;

  }

  .qr1 #gallery-1 .qr1-split, .qr1 #gallery-2 .qr1-split {

    grid-template-columns: minmax(220px,25%) minmax(0,1fr);

    gap: clamp(26px,3vw,60px);

  }

}

@media (min-width: 900px) and (max-width: 1200px) {

  .qr1 #audio-visual .qr1-prose {

    column-gap: 38px;

  }

}

@media (max-width: 899px) {

  .qr1 #audio-visual .qr1-spacious {

    display: block;

  }

  .qr1 #audio-visual .qr1-spacious > div:first-child:empty {

    display: none;

  }

  .qr1 #audio-visual .qr1-prose {

    width: 100%;

  }

}

/* Restore Room 1's own typography without changing the shared navbar. */
.qr1 {

  --gold: #E5C285;

  --cream: #F3E5C8;

  font-family: 'Inter', Arial, sans-serif;

}

.qr1 :is(h1,h2,h3,blockquote) {

  font-family: 'Playfair Display', Georgia, serif;

}

/* Leave 110px above the banner text and keep the title at the lower left. */
.qr1 .qr1-hero {

  height: 100vh !important;

  height: 100svh !important;

  min-height: 560px !important;

  padding: 110px clamp(22px, 6.25vw, 80px) 88px !important;

  background-size: cover;

  background-position: center;

}

.qr1 .qr1-hero-copy {

  max-width: 760px;

}

.qr1 .qr1-hero-copy .qr1-kicker {

  font: 600 12px/16px 'Inter', Arial, sans-serif;

  color: #E5C285;

  letter-spacing: .14em;

  margin: 0 0 16px !important;

}

.qr1 .qr1-hero h1 {

  font-size: 72px;

  line-height: 80px;

  letter-spacing: .02em;

}

/* Keep the tabs together and the section count on the right. */
.qr1 .qr1-tabs {

  display: flex;

  align-items: center;

  gap: 28px;

  height: 72px;

  min-height: 72px;

  padding: 0 clamp(22px, 6.25vw, 80px);

  background: #141210;

  z-index: 60;

}

.qr1 .qr1-tabs a {

  display: inline-flex;

  align-items: center;

  min-height: 34px;

  padding: 0 0 8px;

  flex-shrink: 0;

  font: 600 12px/16px 'Inter', Arial, sans-serif;

  letter-spacing: .14em;

  text-decoration: none !important;

}

.qr1 .qr1-tabs a.active, .qr1 .qr1-tabs a[aria-current="location"] {

  color: #E5C285;

  border-bottom: 2px solid #E5C285;

}

.qr1 .qr1-tabs .km-room-status {

  display: block;

  margin-left: auto;

  margin-right: 24px;

  flex-shrink: 0;

}

/* Match the wide title rail and right-hand reading column from Figma. */
.qr1 .qr1-main {

  max-width: 1280px;

  padding-inline: clamp(22px, 6.25vw, 80px);

}

.qr1 .qr1-section {

  padding: 112px 0;

  scroll-margin-top: 88px;

}

.qr1 .qr1-section > .qr1-num {

  color: #E5C285;

  margin: 0 0 12px !important;

  font: 600 12px/16px 'Inter', Arial, sans-serif;

  letter-spacing: .14em;

}

.qr1 .qr1-section > h2 {

  margin: 0 0 40px;

  font: 700 32px/40px 'Playfair Display', Georgia, serif;

  letter-spacing: 0;

}

.qr1 .qr1-rule {

  margin: 0;

  background: rgba(243,229,200,.35);

}

.qr1 .qr1-split,
.qr1 #audio-visual .qr1-spacious,
.qr1 #gallery-1 .qr1-split,
.qr1 #gallery-2 .qr1-split {

  display: grid;

  grid-template-columns: minmax(0, 280px) minmax(0, 660px);

  gap: 80px;

  padding-block: 56px;

}

.qr1 #audio-visual .qr1-spacious > div:first-child:empty {

  display: block;

}

.qr1 #audio-visual .qr1-prose {

  column-count: 1;

  width: 100%;

  max-width: 660px;

}

.qr1 .qr1-prose p {

  font-size: 17px;

  line-height: 30px;

  margin: 0;

}

.qr1 #audio-visual .qr1-prose > p:first-child {

  font-size: 19px;

  line-height: 32px;

}

.qr1 .qr1-prose p + p {

  margin-top: 24px;

}

.qr1 .qr1-prose .qr1-source {

  font-size: 14px !important;

  line-height: 22px;

}

/* Headings and paragraphs keep the same appearance when the mouse passes over. */
.qr1 :is(h1,h2,h3,p,blockquote) {

  text-shadow: none;

  text-decoration: none;

}

/* Let the same columns fit smaller windows without cutting off words. */
@media (max-width: 1100px) {

  .qr1 .qr1-split, .qr1 #audio-visual .qr1-spacious,
  .qr1 #gallery-1 .qr1-split, .qr1 #gallery-2 .qr1-split {

    grid-template-columns: minmax(0, 28fr) minmax(0, 66fr);

    gap: 40px;

  }

}

@media (max-width: 760px) {

  .qr1 .qr1-hero {

    min-height: 500px !important;

    padding-bottom: 56px !important;

  }

  .qr1 .qr1-hero h1 {

    font-size: 56px;

    line-height: 64px;

  }

  .qr1 .qr1-tabs {

    height: auto;

    min-height: 72px;

    flex-wrap: wrap;

    gap: 14px 28px;

    padding-block: 14px;

  }

  .qr1 .qr1-tabs .km-room-status {

    margin-right: 0;

  }

  .qr1 .qr1-split, .qr1 #audio-visual .qr1-spacious,
  .qr1 #gallery-1 .qr1-split, .qr1 #gallery-2 .qr1-split {

    grid-template-columns: minmax(0,1fr);

    gap: 24px;

  }

  .qr1 #audio-visual .qr1-spacious > div:first-child:empty {

    display: none;

  }

  .qr1 .qr1-section {

    padding-block: 64px;

  }

}

/* Responsive YouTube recording in Room 1, preserving the gold frame. */
.qr1 .qr1-video.qr1-video-embed {

  display: block;

  position: relative;

  width: 100%;

  min-height: 0;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  background: #100f0d;

}

.qr1 .qr1-video.qr1-video-embed iframe {

  display: block;

  width: 100%;

  height: 100%;

  border: 0;

}

/* Widescreen Room 1 fluid canvas: remove later fixed-width editorial overrides. */
@media (min-width: 1200px) {

  .qr1 .qr1-main {

    width: 100%;

    max-width: none;

    margin-inline: 0;

    padding-inline: clamp(32px, 4vw, 88px);

  }

  .qr1 .qr1-tabs {

    padding-inline: clamp(32px, 4vw, 88px);

  }

  .qr1 .qr1-split,
  .qr1 #gallery-1 .qr1-split,
  .qr1 #gallery-2 .qr1-split {

    grid-template-columns: minmax(220px, 28fr) minmax(0, 72fr);

    gap: clamp(32px, 4vw, 80px);

  }

  .qr1 #audio-visual .qr1-spacious {

    display: block;

  }

  .qr1 #audio-visual .qr1-spacious > div:first-child:empty {

    display: none;

  }

  .qr1 #audio-visual .qr1-prose {

    display: block;

    width: 100%;

    max-width: none;

    column-count: 2;

    column-gap: clamp(32px, 4vw, 80px);

  }

  .qr1 #audio-visual .qr1-prose > * {

    break-inside: avoid;

  }

}

/* Room 1 compact historical recording: keep the widescreen page, not an oversized player. */
.qr1 .qr1-video.qr1-video-embed {

  width: min(100%, 700px);

  max-width: 700px;

  min-height: 0;

  height: auto;

  aspect-ratio: 16 / 9;

  margin: 20px 0 28px;

}

.qr1 .qr1-video.qr1-video-embed iframe {

  width: 100%;

  height: 100%;

  aspect-ratio: 16 / 9;

}

@media (max-width: 760px) {

  .qr1 .qr1-video.qr1-video-embed {

    width: 100%;

    max-width: none;

  }

}

/* Source citation immediately below the historical YouTube recording. */
.qr1 .qr1-video-credit {

  width: min(100%, 700px);

  max-width: 700px;

  margin: 8px 0 28px !important;

  color: #ada498;

  font: 400 12px/1.6 Arial, Helvetica, sans-serif;

  overflow-wrap: anywhere;

}

.qr1 .qr1-video-credit a {

  color: #e7c68b;

  text-decoration: underline;

  text-underline-offset: 3px;

}

.qr1 .qr1-video-credit a:hover,
.qr1 .qr1-video-credit a:focus-visible {

  color: #f5dfb8;

}
