/* ===========================================================================
   Interiority
   Fonts are subset woff2 (Latin plus the punctuation and arrows in use).
   Only the weights the page actually draws are loaded: 400 and 600.
   =========================================================================== */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/cormorant-400.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/cormorant-400i.woff2) format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/manrope-400.woff2) format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/manrope-600.woff2) format('woff2');
}

/* ------------------------------------------------------------------ base -- */

:root {
  --cream: #f3eee5;
  --ink: #35241d;
  --wine: #381511;
  --copper: #9b5133;
  --line: #d5c9ba;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 85px }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
}
/* No overflow-x:hidden on html or body: it turns them into scroll containers and
   breaks position:sticky in Safari, which the whole story depends on. Sections
   that could overflow are clipped individually instead. */
body.modal-open { overflow: hidden }
button, a { -webkit-tap-highlight-color: transparent }
button, input { font: inherit }
button { cursor: pointer; border: 0; color: inherit; background: none }
a { color: inherit; text-decoration: none }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid #bf7955; outline-offset: 6px }
img { max-width: 100%; display: block }
h1, h2, h3, p, figure { margin: 0 }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02 }
h2 { font-size: clamp(48px, 5.6vw, 88px); letter-spacing: -.035em }
h3 { font-size: 34px }
em { font-weight: 400 }
p + p { margin-top: 20px }
::selection { background: #9b5133; color: #fff }

.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .2em; line-height: 1.7 }
.section-pad { padding: 100px 7vw }
.section-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 70px }
.small-note { font: italic 22px var(--serif) }
.text-link {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 40px;
  border-bottom: 1px solid currentColor; padding: 15px 0 10px; font-size: 14px;
}
.text-link > span { font-size: 24px; transition: transform .3s }
.text-link:hover > span { transform: translate(3px, -3px) }
.skip { position: fixed; top: -100px; left: 20px; z-index: 100; background: var(--cream); padding: 12px }
.skip:focus { top: 15px }

/* Play and pause marks, drawn in CSS so no icon font is needed. */
.icon-play {
  width: 0; height: 0; border-left: 9px solid currentColor;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.icon-pause {
  width: 11px; height: 12px;
  border-left: 3px solid currentColor; border-right: 3px solid currentColor;
}

/* ---------------------------------------------------------------- header -- */

.header {
  height: 100px; position: absolute; top: 0; left: 0; width: 100%; z-index: 20;
  padding: 0 4vw; display: flex; align-items: center; justify-content: space-between;
  color: #fff8ed; border-bottom: 1px solid #fff3;
}
.wordmark { font: 30px/.95 var(--serif); letter-spacing: .05em }
.wordmark span { display: block; font: 8px var(--sans); letter-spacing: .22em; margin-top: 10px }
.header nav { display: flex; gap: 37px; font-size: 13px }
.header nav a, .contact-link { position: relative }
.header nav a:after {
  content: ''; height: 1px; position: absolute; bottom: -5px; left: 0; width: 0;
  background: currentColor; transition: width .3s;
}
.header nav a:hover:after { width: 100% }
.contact-link { font-size: 14px; border-bottom: 1px solid #fff8; padding: 8px 0; display: flex; gap: 35px }
.menu-toggle { display: none; color: inherit }
.mobile-nav { position: absolute; top: 100px; left: 0; width: 100%; z-index: 21; background: var(--wine); padding: 30px; color: var(--cream) }
.mobile-nav a { display: block; padding: 14px }

/* --------------------------------------------------------------- arrival -- */

.hero { height: 190svh; background: #30241d }
.hero-pin { height: 100svh; position: sticky; top: 0; overflow: hidden; color: #fff8eb }
.hero-still { position: absolute; inset: 0 }
.hero-still img, .hero video { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0 }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20, 13, 8, .54), rgba(20, 13, 8, .03) 85%),
              linear-gradient(0deg, rgba(18, 12, 7, .48), transparent 45%, rgba(10, 8, 5, .25));
}
.hero-copy { position: absolute; top: 33%; left: 7vw; will-change: transform, opacity }
.hero h1 { font-size: clamp(64px, 7.7vw, 122px); letter-spacing: -.035em; line-height: .98; margin: 25px 0 }
.hero h1 em { color: #e4d1b6 }
.hero-description { font-size: 15px; line-height: 1.8 }
.hero-bottom { position: absolute; bottom: 40px; left: 4vw; right: 4vw; display: flex; justify-content: space-between; align-items: end; gap: 20px }
.scroll-cue { display: flex; align-items: center; gap: 18px; font-size: 10px; letter-spacing: .16em }
.line-down { height: 48px; width: 1px; background: #fff8; position: relative }
.line-down:after {
  content: ''; position: absolute; bottom: 0; width: 5px; height: 5px;
  border-right: 1px solid #fff; border-bottom: 1px solid #fff; transform: translateX(-2px) rotate(45deg);
}
.hero-caption { font-size: 10px; letter-spacing: .18em }
.hero-caption span { display: block; font: italic 18px var(--serif); letter-spacing: 0; margin-top: 7px }
.motion-toggle {
  font-size: 12px; color: inherit; border: 1px solid #fff5; border-radius: 30px;
  padding: 9px 18px; display: flex; align-items: center; gap: 15px;
}
.film-progress { position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: #ffffff20 }
.film-progress i { display: block; height: 100%; width: 100%; background: #cda984; transform: scaleX(0); transform-origin: left }

/* --------------------------------------------------------------- feeling -- */

.intro { padding-top: 85px; padding-bottom: 50px }
.intro-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 7vw; align-items: start }
.intro h2 { font-size: clamp(45px, 5.2vw, 82px) }
.intro h2 em { color: var(--copper) }
.intro-body { max-width: 440px; padding-top: 7px; color: #67574b }
.intro-body p:first-child { font: 27px/1.35 var(--serif); color: var(--ink) }
.intro-body .text-link { margin-top: 15px; color: var(--ink) }
.material-line {
  border-top: 1px solid var(--line); margin-top: 80px; padding-top: 23px;
  display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .24em; color: #887567;
}

/* -------------------------------------------------------------- everyday -- */

.rooms { height: 330svh; position: relative; background: #e7ddcf }
.room-sticky {
  height: 100svh; position: sticky; top: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; gap: 6vw; padding: 0 7vw;
}
.room-stage { justify-self: end; width: min(100%, 430px) }
.room-frame {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #d8cab7;
  box-shadow: 0 40px 80px -45px rgba(46, 26, 17, .55);
}
.room-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease }
.room-slide.active { opacity: 1 }
.room-slide img, .room-slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.room-caption { margin-top: 18px; font-size: 10px; letter-spacing: .15em; color: #7c6755 }
.room-text { display: flex; flex-direction: column; justify-content: center }
.room-chapters { display: grid; margin: 45px 0 }
.room-chapter {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: opacity .6s, transform .6s, visibility .6s;
}
.room-chapter.active { opacity: 1; visibility: visible; transform: translateY(0) }
.chapter-number { font-size: 11px; letter-spacing: .15em; color: #87684e }
.room-chapter h2 { font-size: clamp(42px, 4.4vw, 68px); margin: 25px 0 28px }
.room-chapter h2 em { color: #925235 }
.room-chapter p { font-size: 15px; color: #6e5b4b; max-width: 340px }
.room-controls { display: flex; align-items: center; max-width: 290px; gap: 15px }
.room-controls button { font: 18px var(--serif); width: 34px; height: 34px; border-radius: 50%; transition: background .3s }
.room-controls button.active { background: var(--wine); color: var(--cream) }
.room-controls span { height: 1px; background: #c4ad95; flex: 1 }
.room-hint { font-size: 9px; letter-spacing: .15em; margin-top: 30px; color: #7c6755 }

/* --------------------------------------------------------------- kitchen -- */

.kitchen { height: 190svh }
.kitchen-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; color: #fff; background: #283829 }
.kitchen-still { position: absolute; inset: 0 }
.kitchen-still img, .kitchen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.kitchen-shade { position: absolute; inset: 0; background: linear-gradient(0deg, #15251dd9, transparent 80%) }
.kitchen-copy { position: absolute; bottom: 16%; left: 7vw }
.kitchen-copy h2 { font-size: clamp(53px, 7vw, 110px); margin: 20px 0 }
.kitchen-copy p:last-child { font-size: 15px; color: #e0e3d9 }
.kitchen-caption { position: absolute; bottom: 35px; left: 7vw; font-size: 10px; letter-spacing: .16em }

/* --------------------------------------------------------- selected work -- */

.portfolio { padding-bottom: 150px }
.portfolio-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 70px }
.portfolio-heading h2 { margin-top: 25px }
.portfolio-heading h2 em { color: var(--copper) }
.portfolio-heading > p { font-size: 14px; color: #7b6b5c; margin-bottom: 6px }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 65px 45px }
.project { padding: 0; text-align: left; width: 100% }
.project:nth-child(even) { transform: translateY(70px) }
.project-img { position: relative; overflow: hidden; background: #dfd1c2 }
.project-img img { height: 420px; width: 100%; object-fit: cover; transition: transform 1s }
.project-wide .project-img img { height: 490px }
.project:hover img { transform: scale(1.035) }
.project-meta { display: flex; align-items: baseline; justify-content: space-between; margin-top: 20px; gap: 15px }
.project-meta h3 { font-size: 32px }
.project-meta > span { font-size: 9px; letter-spacing: .1em }
.project-full { grid-column: 1 / -1; margin-top: 70px }
.project-full .project-img img { height: 440px; object-position: center 38% }

/* ------------------------------------------------------------ commercial -- */

.commercial { background: #ded2c1 }
.commercial-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 60px }
.commercial-head h2 { font-size: clamp(45px, 4.5vw, 75px); margin-top: 25px }
.commercial-head h2 em { color: var(--copper) }
.commercial-head > p { font-size: 15px; color: #6c5948; max-width: 380px; margin-bottom: 6px }
.commercial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 45px }
.commercial-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #cfc1ae }
.commercial-media img, .commercial-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.commercial-video { opacity: 0; transition: opacity .5s }
.commercial-video.ready { opacity: 1 }
.office-play {
  position: absolute; bottom: 20px; left: 20px; background: var(--cream); color: var(--ink);
  border-radius: 40px; padding: 12px 22px; font-size: 13px; display: inline-flex; align-items: center; gap: 24px;
}
.commercial-card figcaption { margin-top: 22px }
.commercial-card h3 { font-size: 30px }
.commercial-card figcaption > span { display: block; font-size: 9px; letter-spacing: .12em; margin-top: 9px; color: #6c5948 }
.commercial-card .text-link { margin-top: 10px; font-size: 13px; gap: 28px }

/* ---------------------------------------------------------------- studio -- */

.studio-heading { display: grid; grid-template-columns: 1.4fr 1fr; gap: 9vw; align-items: center }
.studio-heading p { color: #71604f; font-size: 15px }
.studio-heading em { color: var(--copper) }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; margin: 75px 0 100px }
.principles article { border-top: 1px solid var(--line); padding-top: 20px }
.principles article > span { font: italic 26px var(--serif); color: var(--copper) }
.principles h3 { font-size: 31px; margin: 20px 0 15px }
.principles p { font-size: 14px; color: #776653 }
.process { border-top: 1px solid var(--line); padding-top: 60px; display: grid; grid-template-columns: 1fr 1.5fr; gap: 9vw }
.process h3 { font-size: 42px; margin-top: 20px }
.process details { border-bottom: 1px solid var(--line) }
.process summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 30px; font: 27px var(--serif); padding: 21px 0 }
.process summary::-webkit-details-marker { display: none }
.process summary span { font: 12px var(--sans); color: var(--copper) }
.process summary i { margin-left: auto; font: 22px var(--sans); font-style: normal; transition: transform .3s }
.process details[open] summary i { transform: rotate(45deg) }
.process details p { font-size: 14px; max-width: 500px; padding: 0 25px 25px 47px; color: #73624f }

/* --------------------------------------------------------------- contact -- */

.contact { background: #331813; color: #eee2d0; position: relative; overflow: hidden; padding-bottom: 0 }
.contact > .eyebrow { color: #be8e6e }
.contact-heading { display: flex; align-items: center; justify-content: space-between; margin: 35px 0 70px }
.contact h2 { font-size: clamp(60px, 8vw, 125px) }
.contact h2 em { color: #cfaa82 }
.contact-circle {
  border: 1px solid #b89775; width: 120px; height: 120px; border-radius: 50%;
  display: grid; place-items: center; font-size: 45px; transition: background .3s, color .3s;
}
.contact-circle:hover { background: #cfaa82; color: #331813 }
.contact-details { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 65px }
.contact-details > div > span { display: block; font-size: 10px; letter-spacing: .18em; color: #bd9679; margin-bottom: 20px }
.contact-details a:not(.text-link) { display: block; font: 26px/1.6 var(--serif) }
.contact-details p { font-size: 14px }
.contact-details .text-link { font-size: 13px }
.footer-bottom {
  border-top: 1px solid #fff3; padding: 25px 0; display: flex; justify-content: space-between;
  gap: 20px; font-size: 9px; letter-spacing: .1em; color: #cbb5a1;
}
.footer-wordmark {
  font: clamp(60px, 13.15vw, 240px)/1.05 var(--serif); letter-spacing: -.045em;
  color: #c59e7960; white-space: nowrap; margin-left: -.4vw;
}

/* ------------------------------------------------------- rail and reveal -- */

.chapter-rail {
  position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 12;
  display: flex; flex-direction: column; gap: 18px; mix-blend-mode: difference;
}
.chapter-rail a { width: 16px; height: 16px; display: grid; place-items: center; position: relative }
.chapter-rail a:after { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #fff }
.chapter-rail a.active { border: 1px solid #fff9; border-radius: 50% }
.chapter-rail span { position: absolute; right: 28px; color: #fff; white-space: nowrap; font-size: 11px; opacity: 0; transition: opacity .2s }
.chapter-rail a:hover span, .chapter-rail a:focus-visible span { opacity: 1 }
.reveal { opacity: 1 }
.js-motion .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s, transform 1s }
.js-motion .reveal.visible { opacity: 1; transform: none }

/* ---------------------------------------------------------------- dialog -- */

dialog { padding: 0; border: 0; background: var(--cream); color: var(--ink); max-width: 1100px; width: 92vw; max-height: 90svh; overscroll-behavior: contain }
dialog::backdrop { background: #160c09d9; backdrop-filter: blur(8px) }
.dialog-close {
  position: sticky; top: 15px; float: right; margin: 15px 20px -55px 0; z-index: 2;
  background: var(--cream); border-radius: 30px; padding: 10px 20px; font-size: 13px;
}
.dialog-content { padding: 50px }
.dialog-content .eyebrow { color: var(--copper) }
.dialog-content h2 { font-size: 65px; margin: 15px 0 25px }
.dialog-content > p { max-width: 650px; margin-bottom: 30px }
.dialog-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px }
.dialog-gallery img { width: 100%; height: 420px; object-fit: cover }
.dialog-gallery > :first-child { grid-column: 1 / -1 }
.dialog-gallery > :first-child img { height: 500px }

/* ------------------------------------------------------------ responsive -- */

@media (min-width: 1600px) {
  .hero-copy { top: 35% }
  .section-pad { padding-left: max(7vw, calc((100vw - 1450px) / 2)); padding-right: max(7vw, calc((100vw - 1450px) / 2)) }
  .room-sticky { padding-left: max(7vw, calc((100vw - 1450px) / 2)); padding-right: max(7vw, calc((100vw - 1450px) / 2)) }
}

@media (max-width: 900px) {
  .header nav { gap: 20px }
  .section-pad { padding: 70px 6vw }
  .intro-grid { grid-template-columns: 1fr; gap: 35px }
  .intro-body { max-width: 580px }
  .section-top { margin-bottom: 45px }
  .room-sticky { gap: 4vw; padding: 0 6vw }
  .room-stage { width: min(100%, 330px) }
  .room-chapter h2 { font-size: 46px }
  .room-chapter p { font-size: 14px }
  .portfolio-heading { display: block }
  .portfolio-heading > p { margin-top: 25px }
  .project-img img, .project-wide .project-img img, .project-full .project-img img { height: 360px }
  .project-meta { display: block }
  .project-meta > span { display: block; margin-top: 8px }
  .commercial-head { display: block }
  .commercial-head > p { margin-top: 25px }
  .commercial-grid { grid-template-columns: 1fr; gap: 50px }
  .studio-heading { gap: 40px }
  .principles { gap: 25px }
  .contact-circle { width: 90px; height: 90px }
  .chapter-rail { right: 9px }
  .footer-bottom span:nth-child(2) { display: none }
  .portfolio { padding-bottom: 120px }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 20px }
  .header { height: 85px; padding: 0 6vw }
  .wordmark { font-size: 25px }
  .wordmark span { font-size: 7px }
  .header nav, .header .contact-link { display: none }
  .menu-toggle { display: block; font-size: 13px }
  .mobile-nav { top: 85px }
  .hero { height: 165svh }
  .hero-copy { left: 7vw; top: 34%; right: 6vw }
  .hero h1 { font-size: clamp(53px, 12vw, 72px); margin: 20px 0 }
  .hero .eyebrow { font-size: 9px; letter-spacing: .15em }
  .hero-description { font-size: 13px }
  .hero-still img, .hero video { object-position: 53% center }
  .hero-shade { background: linear-gradient(90deg, #170e0a88, #170e0a33), linear-gradient(0deg, #170e0a77, transparent 60%) }
  .hero-bottom { bottom: 27px; left: 7vw; right: 7vw; align-items: center }
  .hero-caption { display: none }
  .scroll-cue { font-size: 8px; gap: 12px }
  .motion-toggle { font-size: 10px; padding: 8px 12px; gap: 8px }
  .section-pad { padding: 65px 7vw }
  .section-top { margin-bottom: 38px }
  .small-note { font-size: 17px }
  .eyebrow { font-size: 10px }
  .intro h2 { font-size: 47px }
  .intro-body p:first-child { font-size: 25px }
  .intro-body p { font-size: 14px }
  .material-line { margin-top: 45px; font-size: 8px }
  .rooms { height: 320svh }
  .room-sticky { grid-template-columns: 1fr; align-content: center; gap: 24px; padding: 0 7vw }
  .room-stage { justify-self: center; width: min(66vw, 260px) }
  .room-caption { margin-top: 12px; font-size: 8px; text-align: center }
  .room-text > .eyebrow { display: none }
  .room-chapters { margin: 0 }
  .room-chapter h2 { font-size: 38px; margin: 11px 0 12px }
  .room-chapter p { font-size: 14px; line-height: 1.6; max-width: 100% }
  .chapter-number { font-size: 9px }
  .room-controls { margin-top: 18px; max-width: 180px; gap: 8px }
  .room-controls button { width: 28px; height: 28px; font-size: 16px }
  .room-hint { font-size: 7px; margin-top: 12px }
  .kitchen { height: 170svh }
  .kitchen-copy { bottom: 18%; right: 7vw }
  .kitchen-copy h2 { font-size: 55px }
  .kitchen-copy p:last-child { font-size: 13px }
  .kitchen-copy p br { display: none }
  .kitchen-caption { right: 7vw; font-size: 8px }
  .kitchen-still img, .kitchen video { object-position: 58% center }
  .portfolio-heading h2 { font-size: 48px }
  .portfolio-heading { margin-bottom: 35px }
  .project-grid { gap: 35px; grid-template-columns: 1fr }
  .project:nth-child(even) { transform: none }
  .project-full { margin-top: 0 }
  .project-meta { display: flex }
  .project-meta h3 { font-size: 29px }
  .project-meta > span { font-size: 8px }
  .commercial-head h2 { font-size: 52px }
  .commercial-grid { gap: 40px }
  .commercial-card h3 { font-size: 27px }
  .office-play { font-size: 12px; padding: 10px 18px; gap: 18px; bottom: 15px; left: 15px }
  .studio-heading { grid-template-columns: 1fr; gap: 30px }
  .studio-heading h2 { font-size: 52px }
  .principles { grid-template-columns: 1fr; gap: 30px; margin: 45px 0 55px }
  .principles article { display: grid; grid-template-columns: 30px 1fr; column-gap: 20px }
  .principles article > span { grid-row: 1 / 3 }
  .principles h3 { margin: 0 0 10px; font-size: 30px }
  .principles p { grid-column: 2 }
  .process { grid-template-columns: 1fr; gap: 25px; padding-top: 35px }
  .process h3 { font-size: 37px }
  .process summary { font-size: 26px; gap: 20px }
  .process details p { padding-left: 35px; font-size: 13px }
  .contact h2 { font-size: 54px }
  .contact-heading { margin: 25px 0 40px; gap: 10px }
  .contact-circle { flex-shrink: 0; width: 55px; height: 55px; font-size: 28px }
  .contact-details { grid-template-columns: 1fr 1fr; gap: 30px; padding-bottom: 35px }
  .contact-details > div:last-child { grid-column: 1 / -1 }
  .contact-details > div > span { font-size: 8px; margin-bottom: 12px }
  .contact-details a:not(.text-link) { font-size: 21px }
  .contact-details p { font-size: 13px }
  .footer-bottom { font-size: 7px; gap: 20px }
  .footer-bottom span { max-width: 180px }
  .footer-wordmark { font-size: 13.1vw; margin-top: 10px }
  .chapter-rail { display: none }
  .dialog-content { padding: 55px 22px 25px }
  .dialog-content h2 { font-size: 46px }
  .dialog-content > p { font-size: 14px }
  .dialog-gallery { grid-template-columns: 1fr }
  .dialog-gallery img, .dialog-gallery > :first-child img { height: 350px }
  .dialog-gallery > :first-child { grid-column: auto }
  .dialog-close { margin-right: 12px }
}

/* Taller phones get a little more room for the everyday stage. */
@media (max-width: 600px) and (min-height: 780px) {
  .room-stage { width: min(72vw, 300px) }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *:before, *:after { transition: none !important; animation: none !important }
  .js-motion .reveal { opacity: 1; transform: none }
  .hero, .kitchen { height: 100svh }
}

body.motion-off { scroll-behavior: auto }
body.motion-off .reveal { opacity: 1; transform: none }
body.motion-off * { transition: none !important }
