/* The rooms as one wall you walk along, built from the approved prototype. */
:root {
  --wall: #1A1110; --chrome: var(--cream);
  --vh: 1vh; --vw: 1vw; --floor: calc(var(--vh) * 9);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: #1A1110; scrollbar-width: none; overscroll-behavior: none; }
/* Up and down belong to the browser, sideways to the walk. */
.walk-page { touch-action: pan-y pinch-zoom; }
html::-webkit-scrollbar { display: none; }
body { margin: 0; background: var(--wall); color: var(--cream); font-family: var(--body); -webkit-font-smoothing: antialiased; }

/* The room */
.world { position: fixed; inset: 0; overflow-x: clip; overflow-y: visible; background: var(--wall); }
html, body { overflow-x: hidden; }
.floor { position: absolute; left: 0; right: 0; bottom: calc(var(--vh) * -100); height: calc(var(--floor) + var(--vh) * 100); background: linear-gradient(to bottom, rgba(0,0,0,.18), rgba(0,0,0,.34) calc(var(--floor)), rgba(0,0,0,.34)); border-top: 1px solid rgba(255,255,255,.06); pointer-events: none; z-index: 1; }
.track { position: absolute; left: 0; top: 0; bottom: 0; display: flex; align-items: center; padding: 0 0 calc(var(--floor) * .45) calc(var(--vw) * 12); will-change: transform; z-index: 2; }
.track > * { flex: none; }

/* Pieces: photo plus wall label beside it */
.piece { position: relative; display: flex; align-items: flex-end; gap: 22px; margin-right: var(--space, calc(var(--vw) * 16)); }
.piece .light { position: absolute; left: -30%; right: -30%; top: -34%; height: 120%; pointer-events: none; z-index: 0;
  background: radial-gradient(50% 60% at 50% 0%, var(--lightc) 0%, transparent 72%); opacity: var(--lit, .08); transition: opacity .9s var(--ease); }
.works { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: calc(var(--vw) * 3); }
.work { margin: 0; position: relative; }
.work img, .work .ph { display: block; width: min(calc(var(--h) * var(--r)), var(--maxw, calc(var(--vw) * 78))); aspect-ratio: var(--r); height: auto; object-fit: cover;
  filter: contrast(1.08) brightness(calc(.42 + .58 * var(--lit, .1))); transition: filter .9s var(--ease);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.75), 0 2px 6px rgba(0,0,0,.35); }
.mat .work { background: #F6F2EA; padding: 14px; box-shadow: 0 18px 36px -20px rgba(40,30,10,.55), 0 2px 5px rgba(40,30,10,.18); }
.mat .work img { box-shadow: none; }

.label { position: relative; z-index: 1; width: 210px; display: flex; flex-direction: column; gap: 6px; padding-bottom: 4px; opacity: calc(.35 + .65 * var(--lit, .1)); transition: opacity .9s var(--ease); }
.label i { font: italic 400 22px/1.1 var(--serif); }
.label span { font: 500 10px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.label p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; opacity: .85; }

/* Room colours for text and light */
.r-couples { color: var(--cream); --lightc: rgba(255, 196, 150, .30); }
.r-families { color: #24392C; --lightc: rgba(255, 252, 240, .9); }
.r-portraits { color: var(--cream); --lightc: rgba(220, 235, 225, .2); }
.r-between { color: var(--cream); --lightc: rgba(242, 235, 221, .07); }
.door-between .vname { color: var(--pink); }

/* Entrance lettering, painted on the wall */
.entrance { display: flex; align-items: flex-end; gap: clamp(20px, calc(var(--vw) * 3), 48px); margin-right: calc(var(--vw) * 16); }
.etext { display: flex; flex-direction: column; gap: 10px; padding-bottom: 1.2%; width: min(calc(var(--vw) * 60), 340px); }
.etext-big { width: min(calc(var(--vw) * 70), 520px); }
.etext-big p { font-size: clamp(20px, calc(var(--vw) * 1.9), 28px); line-height: 1.4; }
h1.vname, h2.vname { margin: 0; }
/* Safari would otherwise squeeze the box of the name, and the text beside it slides under the letters. */
.entrance, .entrance > .vname { flex: none; }
.vname { writing-mode: vertical-rl; transform: rotate(180deg); font: 400 120px/.84 var(--display); text-transform: uppercase; white-space: nowrap; }
.entrance em { font: italic 400 clamp(22px, calc(var(--vw) * 2.4), 34px)/1 var(--serif); opacity: .8; }
.entrance p { margin: 0; max-width: 34ch; font-size: clamp(16px, calc(var(--vw) * 1.4), 20px); line-height: 1.5; opacity: .82; }

/* Text panel: a pause */
.panel { margin-right: calc(var(--vw) * 18); width: min(calc(var(--vw) * 62), 760px); font: 400 clamp(40px, calc(var(--vw) * 5.4), 84px)/1 var(--display); text-transform: uppercase; text-wrap: balance; }
.voice blockquote { margin: 0; position: relative; z-index: 1; width: min(calc(var(--vw) * 58), 700px); opacity: calc(.35 + .65 * var(--lit, .1)); transition: opacity .9s var(--ease); }
.voice blockquote p { margin: 0; font: italic 400 clamp(30px, calc(var(--vw) * 3.9), 60px)/1.12 var(--serif); text-wrap: balance; }
.voice footer { margin-top: 20px; font: 500 10px/1.5 var(--mono); letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.voice .demo { display: block; margin-top: 10px; font: 500 10px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--pink); }
.voice-print { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 22px; }
.panel small { display: block; margin-top: 22px; font: 500 10px/1 var(--mono); letter-spacing: .16em; opacity: .55; }

/* Contact sheet */
.sheet { background: #EEE9DF; padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 10px; width: min(calc(var(--vh) * 56) * 1.25, calc(var(--vw) * 76));
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.75); filter: brightness(calc(.5 + .5 * var(--lit, .1))); transition: filter .9s var(--ease); }
.strip { background: #0E0E0E; padding: 9px 7px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; position: relative; }
.strip::before, .strip::after { content: ""; position: absolute; left: 4px; right: 4px; height: 3px; background: repeating-linear-gradient(90deg, #3A3A3A 0 6px, transparent 6px 12px); }
.strip::before { top: 3px; } .strip::after { bottom: 3px; }
.fr { position: relative; aspect-ratio: 1024 / 688; background: #1c1c1c; }
.fr .ph { position: absolute; inset: 0; background-image: var(--src); background-repeat: no-repeat; background-size: var(--bs, cover); background-position: var(--bp, 50% 50%); filter: var(--ff, contrast(1.1)); }
.fr b { position: absolute; left: 2px; bottom: -9px; font: 500 6.5px/1 var(--mono); color: #9A9A9A; letter-spacing: .08em; }
.fr.chosen svg { position: absolute; left: -16%; top: -26%; width: 132%; height: 152%; overflow: visible; filter: none; }
.sheet .note { display: flex; justify-content: space-between; font: 500 9px/1 var(--mono); letter-spacing: .14em; color: #6B6B6B; text-transform: uppercase; }

/* Invitation to book */
.invite { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-right: calc(var(--vw) * 12); width: min(calc(var(--vw) * 70), 460px); }
.invite p { margin: 0; font: 400 clamp(30px, calc(var(--vw) * 3.6), 52px)/1.02 var(--display); text-transform: uppercase; }
.book { font: 600 15px/1 var(--body); background: var(--pink); color: var(--ink); padding: 16px 22px; border-radius: 3px; text-decoration: none; }

/* Doorway into the next room */
.door { align-self: flex-end; margin-bottom: calc(-.45 * var(--floor)); height: calc(var(--vh) * 100 + var(--floor) * .45 + 40px); width: clamp(240px, calc(var(--vw) * 30), 460px); margin-right: calc(var(--vw) * 14); position: relative;
  background: var(--next); box-shadow: inset 22px 0 30px -12px rgba(0,0,0,.45), inset -6px 0 14px -6px rgba(0,0,0,.3), inset 0 18px 26px -14px rgba(0,0,0,.4);
  display: flex; align-items: flex-end; padding: 0 0 calc(var(--floor) + var(--vh) * 4) clamp(18px, calc(var(--vw) * 2.4), 36px); color: var(--nextfg); }
.door em { position: absolute; top: calc(40px + var(--vh) * 14); left: clamp(18px, calc(var(--vw) * 2.4), 36px); }
.door em { font: italic 400 20px/1 var(--serif); opacity: .8; }

.door::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: calc(var(--vh) * 100); background: linear-gradient(rgba(0,0,0,.22), rgba(0,0,0,.22)), var(--next); }
.door::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--floor); background: linear-gradient(to bottom, rgba(0,0,0,.08), rgba(0,0,0,.22)); }

/* Window light in Families: soft shadow of a window frame drifting across the wall */
.window { position: absolute; inset: -20% -10%; pointer-events: none; z-index: 3; mix-blend-mode: multiply; opacity: 0;
  background:
    linear-gradient(90deg, transparent 27%, rgba(60,45,20,.5) 32.5%, transparent 38%, transparent 60%, rgba(60,45,20,.5) 65.5%, transparent 71%),
    linear-gradient(0deg, transparent 42%, rgba(60,45,20,.45) 48%, transparent 54%),
    linear-gradient(90deg, rgba(60,45,20,.35) 0, transparent 9%, transparent 91%, rgba(60,45,20,.35) 100%);
  transform: skewX(-14deg) translateX(-6%); animation: sun 70s ease-in-out infinite alternate; }
@keyframes sun { to { transform: skewX(-18deg) translateX(8%); } }

/* Portraits: lit only where your light falls. Between: in near darkness, sharp only inside the viewfinder.
   The dim or soft photo stays underneath; a copy on top holds the light or the focus. */
.torch-glow { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background: radial-gradient(circle calc(var(--vh) * 42) at var(--gx, 50%) var(--gy, 40%), rgba(226,238,228,.13), transparent 100%); }
.work[data-look] { touch-action: pan-y; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
/* While a finger leads the window it keeps up, instead of gliding after it. */
.wandering .finder-sharp { transition: opacity .9s var(--ease), clip-path .06s linear; }
.wandering .finder-frame { transition: left .06s linear, top .06s linear, opacity .9s var(--ease); }
.torch-on > picture:first-child img { filter: brightness(calc(.16 + .18 * var(--lit, .1))) contrast(1.05); }
.torch-lit, .finder-sharp { position: absolute; inset: 0; display: block; pointer-events: none; opacity: var(--lit, .1); transition: opacity .9s var(--ease); }
.torch-lit img, .finder-sharp img { width: 100%; height: 100%; filter: contrast(1.08) brightness(.96); box-shadow: none; transition: none; }
.torch-lit { -webkit-mask-image: radial-gradient(circle var(--r, 220px) at var(--x, 50%) var(--y, 45%), #000 30%, transparent 100%); mask-image: radial-gradient(circle var(--r, 220px) at var(--x, 50%) var(--y, 45%), #000 30%, transparent 100%); }
.finder-on { overflow: hidden; cursor: crosshair; box-shadow: 0 18px 40px -18px rgba(0,0,0,.75); }
.finder-on > picture:first-child img { filter: blur(3.5px) brightness(calc(.3 + .34 * var(--lit, .1))) contrast(1.1); box-shadow: none; }
.finder-sharp { clip-path: inset(0 100% 100% 0); transition: opacity .9s var(--ease), clip-path .3s var(--ease); }
.finder-frame { position: absolute; z-index: 2; pointer-events: none; opacity: var(--lit, .1); transition: left .3s var(--ease), top .3s var(--ease), opacity .9s var(--ease); }
.finder-frame i { position: absolute; width: 22%; height: 22%; border: 0 solid var(--pink); }
.finder-frame i:nth-child(1) { left: 0; top: 0; border-width: 2px 0 0 2px; }
.finder-frame i:nth-child(2) { right: 0; top: 0; border-width: 2px 2px 0 0; }
.finder-frame i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 2px 2px; }
.finder-frame i:nth-child(4) { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
/* Keyboard visitors cannot aim, so for them every photo stays whole. */
.no-look .torch-on > picture:first-child img, .no-look .finder-on > picture:first-child img { filter: contrast(1.08) brightness(calc(.42 + .58 * var(--lit, .1))); }
.no-look .torch-lit, .no-look .finder-sharp, .no-look .finder-frame { display: none; }
.look-hint { display: none; font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; opacity: .55; margin-top: 8px; }
@media (hover: hover) and (pointer: fine) { .js .look-hint-mouse { display: block; } }

/* Room V. The last door opens: the camera goes through it, the walk turns into going down over her work table. */
.threshold { position: fixed; inset: 0; z-index: 5; visibility: hidden; overflow: hidden; background: #0D0D0D; }
.th-room { position: absolute; inset: 0; --strip: clamp(56px, calc(var(--vw) * 15.6), calc(var(--vh) * 26)); }
.th-photo { position: absolute; left: var(--strip); right: 0; top: 0; bottom: 0; margin: 0; display: flex; justify-content: center; }
/* Her photo melts into the dark room: no edge shows. */
.th-photo picture { display: block; height: 100%; aspect-ratio: 1442 / 1600; max-width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent), linear-gradient(transparent, #000 8%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent), linear-gradient(transparent, #000 8%); mask-composite: intersect; }
.th-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.th-strip { position: absolute; left: 0; top: 0; bottom: 0; width: var(--strip); display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--forest); color: var(--cream); }
.th-words { position: absolute; right: max(24px, calc(var(--vw) * 5)); bottom: calc(var(--vh) * 14); width: min(calc(var(--vw) * 24), 320px); display: flex; flex-direction: column; gap: 10px; color: var(--cream); }
.th-words em { font: italic 400 clamp(22px, calc(var(--vw) * 2.4), 34px)/1 var(--serif); opacity: .8; }
.th-words p { margin: 0; font-size: clamp(16px, calc(var(--vw) * 1.4), 20px); line-height: 1.5; opacity: .82; }
.th-veil { position: absolute; inset: 0; pointer-events: none; }
.th-pass { position: absolute; inset: 0; pointer-events: none; }
.th-pass .door { position: absolute; bottom: 0; margin: 0; background: transparent; }
.th-pass .door::before { display: none; }

.walk-space { pointer-events: none; }
/* Greta's room waits below the fold until the walk has measured its length. */
.js .walk-space { height: 1000vh; }
.greta-room { position: relative; z-index: 6; color: var(--cream); --table: #211B16; }
.table-edge { height: calc(var(--vh) * 70); background: linear-gradient(to bottom, rgba(33,27,22,0), rgba(33,27,22,.55) 45%, var(--table)); pointer-events: none; }
.table { position: relative; background: var(--table); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, calc(var(--vw) * 2), 32px); row-gap: clamp(56px, calc(var(--vw) * 8), 120px); padding: calc(var(--vh) * 6) max(20px, calc(var(--vw) * 7)) calc(var(--vh) * 18); align-items: center; }
/* The lamp stays where it is while the table slides under it. */
.table::before { content: ""; position: sticky; top: 0; grid-column: 1 / -1; grid-row: 1 / span 8; align-self: start; height: calc(var(--vh) * 100); margin-inline: calc(var(--vw) * -7); pointer-events: none; background: radial-gradient(50% 50% at 56% 50%, rgba(255,214,170,.1), transparent 100%); }
.table > :not(.print) { position: relative; }
.words { margin: 0; font: 400 clamp(22px, calc(var(--vw) * 2), 30px)/1.32 var(--serif); color: var(--cream-soft); }
.words-1 { grid-column: 2 / 8; grid-row: 1; font-size: clamp(27px, calc(var(--vw) * 2.9), 44px); line-height: 1.22; color: var(--cream); }
.print { margin: 0; position: relative; background: #F6F2EA; padding: clamp(8px, calc(var(--vw) * .9), 14px) clamp(8px, calc(var(--vw) * .9), 14px) 0; rotate: var(--tilt, 0deg); box-shadow: 0 26px 48px -22px rgba(0,0,0,.85), 0 3px 8px rgba(0,0,0,.4); transition: opacity 1s var(--ease), rotate 1.2s var(--ease), scale 1.2s var(--ease); }
.print img { display: block; width: 100%; height: auto; filter: contrast(1.08) brightness(.96); }
.print figcaption { font: 500 9px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #6B6B6B; padding: 9px 0 10px; }
.js .print:not(.laid) { opacity: 0; scale: 1.05; rotate: calc(var(--tilt, 0deg) * 2.4); }
.print-02 { grid-column: 8 / 13; grid-row: 1; }
.print-03 { grid-column: 2 / 6; grid-row: 2; }
.words-2 { grid-column: 7 / 12; grid-row: 2; }
.print-04 { grid-column: 5 / 12; grid-row: 3; }
.words-3 { grid-column: 2 / 7; grid-row: 4; }
.print-05 { grid-column: 8 / 12; grid-row: 4; }
.table-end { grid-column: 2 / 10; grid-row: 5; display: flex; flex-direction: column; gap: clamp(32px, calc(var(--vw) * 4), 56px); }
.conviction { margin: 0; font: italic 400 clamp(24px, calc(var(--vw) * 2.5), 38px)/1.22 var(--serif); color: var(--cream); }
.table-end .invite { margin: 0; }
.contact { display: flex; align-items: flex-start; gap: 18px; font: 500 12px/1.9 var(--mono); font-style: normal; letter-spacing: .04em; color: var(--cream); }
.contact img { flex: none; width: 33px; height: 40px; margin-top: 5px; }
.contact strong { display: block; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.contact a { display: block; color: inherit; opacity: .75; text-decoration: none; }
.contact a:hover, .contact a:focus-visible { opacity: 1; color: var(--pink); }
.contact span { display: block; opacity: .75; }
.desk-links { display: flex; gap: 20px; }
.desk-links a { font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--cream); text-decoration: none; opacity: .65; padding: 12px 0; }
.desk-links a:hover, .desk-links a:focus-visible { opacity: 1; }
.table-links { display: flex; flex-wrap: wrap; gap: 0 28px; }
.from-journal { display: block; margin-top: 12px; color: inherit; font: italic 400 18px/1.3 var(--serif); text-underline-offset: 4px; }
.back-hall { align-self: flex-start; color: var(--cream); font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; opacity: .65; padding: 12px 0; }
.back-hall:hover, .back-hall:focus-visible { opacity: 1; }
.in-room .map { opacity: 0; pointer-events: none; }
.map { transition: color .6s ease, opacity .5s ease; }
@media (max-width: 640px) {
  .th-photo picture { width: 100%; aspect-ratio: auto; -webkit-mask-image: none; mask-image: none; }
  .th-photo img { object-position: 50% 28%; }
  .th-words { left: calc(var(--strip) + 18px); right: 18px; width: auto; bottom: calc(var(--vh) * 9); text-shadow: 0 1px 12px rgba(0,0,0,.9); }
  .table { grid-template-columns: minmax(0, 1fr); row-gap: 48px; padding-top: 16px; }
  .table > * { grid-column: 1 !important; grid-row: auto !important; }
  .table::before { display: none; }
  .print { rotate: calc(var(--tilt, 0deg) * .6); }
  .js .print:not(.laid) { rotate: calc(var(--tilt, 0deg) * 1.6); }
  .print-03, .print-05 { width: 78%; justify-self: end; }
}

/* Finish */
.vignette { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: radial-gradient(130% 100% at 50% 42%, rgba(0,0,0,0) 50%, rgba(6,8,6,var(--vig, .5)) 100%); }
.grain { position: fixed; inset: 0 0 calc(var(--vh) * -100) 0; z-index: 8; pointer-events: none; opacity: .2; mix-blend-mode: overlay; background: url(/grain.png) 0 0 / 180px 180px; }

/* Quiet chrome */
.chrome { position: fixed; z-index: 10; color: var(--chrome); transition: color .6s ease; }
.back { top: max(18px, env(safe-area-inset-top, 0px)); left: max(18px, env(safe-area-inset-left, 0px)); font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; opacity: .5; padding: 12px 0; transition: opacity .3s ease, color .6s ease; }
.back:hover, .back:focus-visible { opacity: 1; }
.sound { top: max(14px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1 var(--mono); letter-spacing: .08em; background: transparent; border: 0; padding: 12px 4px; opacity: .5; cursor: pointer; transition: opacity .3s ease, color .6s ease; }
.sound:hover, .sound:focus-visible, .sound[aria-pressed="true"] { opacity: 1; }
.sound svg { width: 14px; height: 14px; }
.map { bottom: max(8px, env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); display: flex; gap: 18px; font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.map a { color: inherit; text-decoration: none; padding: 8px 0; opacity: .3; transition: opacity .6s ease; white-space: nowrap; }
.map a.here { opacity: .95; }
.map a b { font-weight: 500; display: none; margin-left: 6px; }
.map a.here b { display: inline; }
.walk { bottom: max(16px, env(safe-area-inset-bottom, 0px)); left: max(18px, env(safe-area-inset-left, 0px)); font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; opacity: .55; transition: opacity .8s ease; }
.walk.gone { opacity: 0; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }


/* Lead magnet: "Your moment". A side room where five answers fill a contact sheet, Greta circles one frame. */
.book { border: 0; cursor: pointer; }
.invite .sub { font-size: 13.5px; line-height: 1.5; opacity: .75; max-width: 34ch; }
.invite .sub a { color: inherit; }
.moment-room { position: fixed; inset: 0; z-index: 20; background: #16291F; color: var(--cream); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, calc(var(--vw) * 5), 80px); align-items: center;
  padding-block: 72px 48px; padding-left: max(24px, calc(var(--vw) * 7), env(safe-area-inset-left, 0px)); padding-right: max(24px, calc(var(--vw) * 5), env(safe-area-inset-right, 0px)); overflow-y: auto; opacity: 0; transition: opacity .6s var(--ease); }
.moment-room[hidden] { display: none !important; }
.moment-room.on { opacity: 1; }
.moment-room .grain2 { position: fixed; inset: 0; pointer-events: none; opacity: .2; mix-blend-mode: overlay; background: url(/grain.png) 0 0 / 180px 180px; }
.m-close { position: fixed; top: max(14px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(242,235,221,.35); background: transparent; color: var(--cream); cursor: pointer; font-size: 18px; }
.m-ask { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.m-eyebrow { font: 500 10px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; opacity: .6; }
.m-step { font: italic 400 22px/1 var(--serif); color: var(--cream-soft); }
.m-q { margin: 0; font: 400 clamp(34px, calc(var(--vw) * 4.4), 68px)/.98 var(--display); text-transform: uppercase; text-wrap: balance; }
.m-intro { margin: 0; max-width: 40ch; font-size: 16px; line-height: 1.55; color: var(--cream-soft); }
.m-answers { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.m-answers button { text-align: left; background: none; border: 0; padding: 8px 0; color: var(--cream); cursor: pointer; font: 400 clamp(20px, calc(var(--vw) * 2), 28px)/1.15 var(--serif); font-style: italic; opacity: .78; transition: opacity .25s ease, transform .35s var(--ease); }
.m-answers button:hover, .m-answers button:focus-visible { opacity: 1; transform: translateX(10px); }
.m-start { align-self: flex-start; }
.m-back { align-self: flex-start; background: none; border: 0; color: var(--cream); opacity: .5; font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; padding: 12px 0; cursor: pointer; }
.m-sheet-wrap { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.m-sheet { background: #EEE9DF; padding: 16px 16px 12px; display: flex; flex-direction: column; gap: 9px; box-shadow: 0 24px 50px -24px rgba(0,0,0,.8); }
.m-sheet .strip { grid-template-columns: repeat(3, 1fr); }
.m-sheet .fr { background: #242424; outline: 1px solid #2e2e2e; }
.m-sheet .fr.empty .ph { display: none; }
.m-sheet .fr.new { animation: frin .9s var(--ease); }
@keyframes frin { from { opacity: 0; } to { opacity: 1; } }
.m-sheet .fr b { font-size: 7px; }
.m-sheet .note { display: flex; justify-content: space-between; font: 500 9px/1 var(--mono); letter-spacing: .14em; color: #6B6B6B; text-transform: uppercase; }
.m-sheet .fr.chosen svg path { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 1.4s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.m-label { display: flex; flex-direction: column; gap: 6px; max-width: 46ch; }
.m-label i { font: italic 400 26px/1.1 var(--serif); }
.m-label span { font: 500 10px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .65; }
.m-label p { margin: 6px 0 0; font-size: 15px; line-height: 1.55; color: var(--cream-soft); }
.m-send { display: inline-block; align-self: flex-start; text-decoration: none; }
.m-save { align-self: flex-start; min-height: 44px; padding: 0 18px; font: 500 12px/1 var(--mono); letter-spacing: .08em; color: var(--cream); background: transparent; border: 1px solid rgba(242,235,221,.45); border-radius: 4px; cursor: pointer; }
.m-save:hover, .m-save:focus-visible { border-color: var(--pink); color: var(--pink); }
.m-small { font-size: 12.5px; line-height: 1.5; opacity: .6; max-width: 44ch; margin: 0; }
@media (max-width: 760px) {
  .moment-room { grid-template-columns: minmax(0, 1fr); align-items: start; padding-block: 64px 32px; gap: 22px; }
  .m-sheet-wrap { order: -1; }
  .m-sheet { padding: 10px 10px 8px; }
  .m-q { font-size: clamp(30px, calc(var(--vw) * 9), 44px); }
}
@media (prefers-reduced-motion: reduce) { .m-sheet .fr.chosen svg path { animation: none; stroke-dashoffset: 0; } .m-sheet .fr.new { animation: none; } }

@media (max-width: 640px) {
  :root { --floor: calc(var(--vh) * 8); }
  .track { padding-left: calc(var(--vw) * 10); }
  .piece { flex-direction: column; align-items: flex-start; gap: 14px; margin-right: var(--space-m, calc(var(--vw) * 22)); }
  .works { gap: calc(var(--vw) * 4); }
  .label { width: min(calc(var(--vw) * 78), 300px); }
  /* On a phone a voice takes one screen of its own, like a work. */
  .voice { min-width: calc(var(--vw) * 84); }
  .voice blockquote { width: calc(var(--vw) * 84); }
  .voice-print { flex-direction: column; align-items: flex-start; gap: 14px; }
  .label p { font-size: 13px; }
  .map { gap: 10px; } .map a:not(.here) b { display: none; }
  .walk { display: none; }
  .etext { width: calc(var(--vw) * 36); }
  .entrance > .vname + .etext p { font-size: 14px; }
  .etext-big { width: calc(var(--vw) * 78); }
  }
@media (prefers-reduced-motion: reduce) {
  .window { animation: none; }
  .piece .light, .work img, .label, .sheet { transition: none; }
  .look-hint { display: none !important; }
  .print { transition: none; }
  .js .print:not(.laid) { opacity: 1; scale: none; rotate: var(--tilt, 0deg); }
}
.label .demo { opacity: .5; }
.greta-voice { align-self: flex-start; margin-top: 6px; min-height: 40px; padding: 0 14px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 999px; cursor: pointer; }
.book-note { font: 500 10px/1.4 var(--mono); letter-spacing: .08em; opacity: .65; }
.sheet .fr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Without the main script: the same works and words, simply one after the other. */
html:not(.js) .world { position: static; overflow: visible; }
html:not(.js) .floor, html:not(.js) .window, html:not(.js) .vignette, html:not(.js) .grain, html:not(.js) .walk, html:not(.js) .door { display: none; }
html:not(.js) .track { position: static; flex-direction: column; align-items: flex-start; gap: 64px; padding: 72px 24px; }
html:not(.js) .chrome { position: static; display: inline-flex; margin: 12px; }
html:not(.js) .sound { display: none; }
html:not(.js) .threshold { position: static; visibility: visible; background: none; }
html:not(.js) .th-room { position: static; }
html:not(.js) .th-photo, html:not(.js) .th-strip, html:not(.js) .th-words { position: static; width: auto; }
html:not(.js) .th-strip { background: none; padding: 24px; justify-content: flex-start; }
html:not(.js) .th-photo picture { height: auto; max-width: 760px; -webkit-mask-image: none; mask-image: none; }
html:not(.js) .th-photo img { height: auto; }
html:not(.js) .th-veil, html:not(.js) .th-pass, html:not(.js) .walk-space, html:not(.js) .table-edge { display: none; }
html:not(.js) .work img { filter: none; width: min(90vw, 760px); }
html:not(.js) .piece { flex-wrap: wrap; margin: 0; }
html:not(.js) .door.named { display: block; height: auto; width: auto; margin: 0; background: none; box-shadow: none; padding: 24px 0 0; color: var(--cream); }
html:not(.js) .r-families { color: var(--cream); }
html:not(.js) .piece { --lit: 1; }
html:not(.js) .piece .light { display: none; }
html:not(.js) .door.named em { position: static; display: block; }
html:not(.js) .vname { writing-mode: horizontal-tb; transform: none; font-size: 64px; }

.invite .sub .write-link { color: inherit; }
.invite .sub .book-note { display: block; margin-top: 8px; }
html:not(.js) .moment-room, html:not(.js) .invite button { display: none !important; }
