@font-face { font-family: "Afacad Flux"; src: url("./assets/fonts/AfacadFlux.ttf") format("truetype"); font-weight: 100 1000; font-display: swap; }
:root { --void: #121316; --paper: #efe6c6; --muted: #b4b0a0; --line: #efe6c633; --love: #e62d1c; --dream: #1c58e6; --truth: #f7c707; --accent: var(--paper); --title: "Afacad Flux", sans-serif; --body: "Avenir Next", "Helvetica Neue", Arial, sans-serif; color-scheme: dark; font-synthesis: none; }
* { box-sizing: border-box; }
html { background: var(--void); scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--void); color: var(--paper); font-family: var(--body); }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; font: inherit; }
button:disabled { cursor: default; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--paper); outline-offset: 6px; }
[hidden] { display: none !important; }
.next-skip { position: fixed; z-index: 200; top: 12px; left: 12px; padding: 16px; background: var(--paper); color: var(--void); transform: translateY(-200%); }
.next-skip:focus { transform: none; }
.experience-header { position: absolute; z-index: 50; top: 0; right: 0; left: 0; display: flex; min-height: 88px; padding: 20px clamp(22px, 4vw, 64px); align-items: center; justify-content: space-between; gap: 25px; background: linear-gradient(#080a0ccc, transparent); }
.identity { display: flex; align-items: center; gap: 11px; font: 600 15px var(--title); letter-spacing: .08em; text-transform: uppercase; }
.identity i { width: 0; height: 0; border-right: 6px solid transparent; border-left: 6px solid transparent; border-bottom: 10px solid var(--paper); }
.identity__name { margin-left: 8px; font-size: 10px; letter-spacing: .14em; }
.header-actions { display: flex; align-items: center; gap: 26px; }
.original-link { display: flex; min-height: 44px; align-items: center; gap: 16px; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.original-link > span { font-size: 17px; }
.scene { position: relative; isolation: isolate; min-height: 100svh; overflow: hidden; }
.entry__landscape, .entry__shade, .room__background, .room__shade, .room__wash, .room__symbols { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.entry__landscape { transform-origin: 28% 56%; }
.entry__landscape img, .room__background img { display: block; width: 100%; height: 100%; object-fit: cover; }
.entry__landscape img { object-position: 38% 50%; }
.entry__shade { background: linear-gradient(90deg, #080e130a 10%, #080e1366 45%, #080e13cc 100%), linear-gradient(0deg, #080e13bd 0%, transparent 45%); }
.entry__copy { position: relative; width: 46%; margin-left: 50%; padding: clamp(116px, 14vh, 180px) 6vw 64px 0; }
.eyebrow { margin: 0 0 22px; font-size: 9px; line-height: 1.6; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.entry h1 { margin: 0 0 27px; font: 600 clamp(110px, 14.5vw, 230px)/.72 var(--title); letter-spacing: -.05em; text-transform: uppercase; }
.entry h1 > span:first-child { display: block; margin-bottom: 18px; font-family: Didot, "Bodoni 72", "Times New Roman", serif; font-size: .43em; font-weight: 400; font-style: italic; letter-spacing: -.035em; text-transform: none; }
.title-stop { color: var(--love); }
.entry__story { max-width: 410px; margin: 0; color: #f1e8d6; font-size: 15px; line-height: 1.75; }
.entry__story p { margin: 0; }
.entry__story p + p { margin-top: 13px; }
.entry__invitation { margin: 18px 0 28px; font: 400 22px/1.3 var(--title); }
.entry__actions { display: flex; align-items: flex-start; flex-direction: column; gap: 16px; }
.primary-button { display: inline-flex; width: min(100%, 300px); min-height: 59px; padding: 0 22px; align-items: center; justify-content: space-between; gap: 35px; border: 1px solid var(--paper); background: var(--paper); color: var(--void); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transition: background 200ms ease, transform 200ms ease; }
.primary-button > span:last-child { font-size: 23px; font-weight: 400; }
.primary-button:hover { background: #fff5d5; transform: translateY(-3px); }
.quiet-link { display: inline-flex; min-height: 44px; padding: 0; align-items: center; gap: 18px; border: 0; background: transparent; font-size: 10px; line-height: 1.5; }
.quiet-link:hover, .retailer-link:hover, .reading-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.house-hotspot { position: absolute; left: 27%; top: 54%; display: flex; width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.house-hotspot__ring { position: relative; width: 35px; height: 35px; border: 1px solid #efe6c6aa; border-radius: 50%; }
.house-hotspot__ring::before, .house-hotspot__ring::after { position: absolute; top: 50%; left: 50%; width: 8px; height: 1px; background: var(--paper); content: ""; transform: translate(-50%, -50%); }
.house-hotspot__ring::after { transform: translate(-50%, -50%) rotate(90deg); }
.entry.is-leaving .entry__copy, .entry.is-leaving .house-hotspot { opacity: 0; transition: opacity 250ms ease; }
.entry.is-leaving .entry__landscape { transform: scale(3.4); filter: brightness(.45); transition: transform 1000ms cubic-bezier(.65, 0, .25, 1), filter 1000ms ease; }
.room { display: flex; min-height: 100svh; padding: 120px 4vw 32px; flex-direction: column; }
.room__background img { object-position: 50% 50%; }
.room__shade { background: linear-gradient(180deg, #080a0ce6 0%, #080a0c85 38%, #080a0c33 60%, #080a0cf2 100%); }
.room__wash { z-index: 0; background: var(--preview-color, transparent); mix-blend-mode: color; opacity: .64; transition: background 450ms ease; }
.room[data-preview="love"] { --preview-color: var(--love); }
.room[data-preview="dream"] { --preview-color: var(--dream); }
.room[data-preview="truth"] { --preview-color: var(--truth); }
.room__symbols { z-index: 0; inset: 30% 9% 20%; }
.room-symbol { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; fill: none; stroke-width: 1; transition: opacity 500ms ease, transform 600ms ease; transform: scale(.92); }
.room-symbol--love { stroke: var(--love); fill: #e62d1c14; }
.room-symbol--dream { stroke: #4a84ff; }
.room-symbol--truth { stroke: var(--truth); }
.room[data-preview="love"] .room-symbol--love, .room[data-preview="dream"] .room-symbol--dream, .room[data-preview="truth"] .room-symbol--truth { opacity: .3; transform: scale(1); }
.room__heading { position: relative; z-index: 1; text-align: center; text-shadow: 0 2px 18px #0007; }
.room h2 { margin: 0; font: 500 clamp(35px, 4.7vw, 68px)/.95 var(--title); letter-spacing: -.025em; }
.room h2 em { font-family: Didot, "Bodoni 72", "Times New Roman", serif; font-weight: 400; }
.desk { position: relative; z-index: 2; display: grid; width: min(980px, 100%); margin: 38px auto 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 5vw, 85px); perspective: 1400px; }
.desk-book { --book-accent: var(--paper); position: relative; display: flex; min-width: 0; align-items: center; flex-direction: column; text-align: center; outline-offset: 10px; }
.desk-book--love { --book-accent: var(--love); --book-turn: -10deg; }
.desk-book--dream { --book-accent: var(--dream); --book-turn: 0deg; }
.desk-book--truth { --book-accent: var(--truth); --book-turn: 10deg; }
.desk-book__question { display: flex; min-height: 46px; margin-bottom: 16px; align-items: flex-end; justify-content: center; font: 400 clamp(18px, 1.9vw, 27px)/1.15 var(--title); text-shadow: 0 1px 12px #000; }
.book-object { position: relative; display: block; width: min(100%, 200px); aspect-ratio: 990 / 1588; transform: rotateY(var(--book-turn)) rotateX(var(--book-pitch, 0deg)); transform-style: preserve-3d; transition: transform 550ms cubic-bezier(.2,.75,.2,1); }
.book-object__cover { position: relative; z-index: 2; display: block; width: 100%; height: 100%; border-radius: 1px 3px 3px 1px; box-shadow: inset 5px 0 #0004, 0 14px 26px #0008; transform-origin: left center; transition: transform 550ms cubic-bezier(.35,.05,.2,1); backface-visibility: hidden; }
.book-object__pages { position: absolute; inset: 3px -5px 3px 4px; border-radius: 2px; background: repeating-linear-gradient(90deg, #c8bea6 0 1px, #eee4ca 1px 2px); box-shadow: 0 10px 25px #0008; }
.book-object__shadow { position: absolute; z-index: -1; left: -18%; bottom: -8px; width: 135%; height: 16px; background: #000b; border-radius: 50%; filter: blur(8px); transform: rotateX(25deg); }
.desk-book:hover .book-object, .desk-book:focus-visible .book-object { transform: translateY(-14px) rotateY(0deg) rotateX(-3deg); }
.desk-book.is-opening .book-object__cover { transform: rotateY(-75deg); }
.desk-book__caption { display: flex; margin-top: 20px; align-items: center; flex-direction: column; }
.desk-book__caption > span:first-child { display: flex; align-items: center; gap: 7px; font-size: 8px; letter-spacing: .18em; text-transform: uppercase; }
.desk-book__caption i { width: 0; height: 0; border-right: 3px solid transparent; border-left: 3px solid transparent; border-bottom: 6px solid var(--book-accent); }
.desk-book__caption strong { margin: 6px 0 7px; font: 500 26px/1 var(--title); }
.desk-book__meaning { display: block; margin: 2px 0 4px; color: #efe6c6d9; font-size: 12px; line-height: 1.5; }
.desk-book__open { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; color: #efe6c6d9; font-size: 11px; }
.desk-book__open b { color: var(--book-accent); font-size: 18px; font-weight: 400; }
.desk-book:hover .desk-book__open, .desk-book:focus-visible .desk-book__open { color: var(--paper); }
.room__bottom { position: relative; z-index: 3; width: 100%; margin-top: auto; padding-top: 12px; }
.world { --accent: var(--love); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); overflow: visible; background: var(--void); }
.world[data-book="dream"] { --accent: var(--dream); }
.world[data-book="truth"] { --accent: var(--truth); }
.world.is-portal { position: fixed; z-index: 40; inset: 0; overflow-y: auto; }
.world__art { position: sticky; top: 0; align-self: start; height: 100svh; min-width: 0; min-height: 540px; overflow: hidden; background: var(--void); }
.world__cover-scene { position: absolute; inset: -3%; background-repeat: no-repeat; background-size: auto 210%; background-position: center top; opacity: 0; }
.world__cover-scene--love { background-image: url("./assets/cover-love-message.webp"); }
.world__cover-scene--dream { background-image: url("./assets/cover-dream-diary.webp"); background-size: auto 275%; background-position: center 78%; }
.world__cover-scene--truth { background-image: url("./assets/cover-truth-playing-with-god.webp"); background-size: auto 200%; background-position: 25% top; }
.world[data-book="love"] .world__cover-scene--love, .world[data-book="dream"] .world__cover-scene--dream, .world[data-book="truth"] .world__cover-scene--truth { opacity: .94; }
.world__motion { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.world__vignette { position: absolute; inset: 0; background: linear-gradient(90deg, #12131600 60%, #121316), linear-gradient(0deg, #121316e6 0%, transparent 35%, #12131640 100%); }
.world__reading { position: relative; min-width: 0; padding: 112px clamp(28px, 5vw, 88px) 52px 3vw; align-self: start; }
.world__back { margin-bottom: 20px; color: var(--muted); }
.world__reading .eyebrow { margin-bottom: 20px; padding-left: 10px; border-left: 2px solid var(--accent); color: var(--paper); }
.is-enhanced .answer__static-title { display: none; }
.world h2 { margin: 0 0 24px; font: 500 clamp(52px, 6vw, 94px)/.96 var(--title); letter-spacing: -.035em; text-transform: uppercase; text-wrap: balance; }
.world h2:focus, .room h2:focus, .entry h1:focus { outline: none; }
.answer__idea { margin: 0 0 20px; color: var(--paper); font: 400 27px/1.2 var(--title); }
.answer__description { max-width: 450px; margin: 0; color: #c8c4b5; font-size: 15px; line-height: 1.8; }
.answer__links { display: flex; margin-top: 30px; flex-direction: column; align-items: flex-start; gap: 12px; }
.primary-button--paper { border-left: 5px solid var(--accent); }
.retailer-link { display: inline-flex; min-height: 44px; align-items: center; gap: 20px; font-size: 11px; }
.reading-link { display: inline-flex; min-height: 44px; margin-top: 12px; align-items: center; gap: 15px; color: var(--muted); font-size: 10px; }
.world-switcher { display: flex; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); gap: 25px; }
.world-switcher button { display: inline-flex; min-height: 44px; padding: 0; align-items: center; gap: 7px; border: 0; background: transparent; color: var(--muted); font-size: 10px; }
.world-switcher button[aria-pressed="true"] { color: var(--paper); text-decoration: underline; text-underline-offset: 6px; }
.world-switcher i { width: 5px; height: 5px; background: var(--love); }
.world-switcher [data-switch="dream"] i { background: var(--dream); }
.world-switcher [data-switch="truth"] i { background: var(--truth); }
.experience-status { position: fixed; top: 0; left: 0; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.no-script-note { margin: 30px; font-size: 14px; }
body:not(.is-enhanced) .world .answer { margin: 40px 0; padding-top: 30px; border-top: 1px solid var(--line); }
body:not(.is-enhanced) .world-switcher { display: none; }
html[data-motion="on"] .entry:not(.is-leaving) .entry__landscape { animation: outside-breath 20s ease-in-out infinite alternate; }
html[data-motion="on"] .house-hotspot__ring { animation: invitation-pulse 2600ms ease-in-out infinite; }
html[data-motion="on"] .world__cover-scene { animation: world-drift 14s ease-in-out infinite alternate; }
html[data-motion="off"] { scroll-behavior: auto; }
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
html.is-suspended *, html.is-suspended *::before, html.is-suspended *::after { animation-play-state: paused !important; }
@keyframes outside-breath { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes invitation-pulse { 50% { box-shadow: 0 0 0 12px #efe6c600, 0 0 0 1px #efe6c625; transform: scale(1.12); } }
@keyframes world-drift { to { transform: scale(1.08) translate(-1%, -1%); } }
@media (min-width: 1800px) { .entry__copy { padding-right: max(6vw, calc((100vw - 1600px)/2)); } .desk { width: 1100px; } .book-object { width: 230px; } }
@media (max-height: 820px) and (min-width: 901px) { .entry__copy { padding-top: 116px; } .entry h1 { font-size: clamp(130px, 12vw, 170px); } .room { padding-top: 108px; } .room h2 { font-size: 44px; } .book-object { width: 145px; } .desk { margin-top: 26px; gap: 36px; } }
@media (max-width: 1000px) { .entry__copy { width: 48%; } .house-hotspot { left: 23%; } .world { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); } .world__reading { padding-left: 20px; } .world-switcher { gap: 20px; } }
@media (max-width: 900px) {
  .experience-header { min-height: 74px; padding: 14px 20px; gap: 12px; }
  .identity__name { display: none; } .identity { font-size: 19px; }
  .header-actions { gap: 16px; } .original-link { font-size: 8px; gap: 9px; }
  .scene { min-height: 100svh; }
  .entry__landscape img { object-position: 36% 50%; }
  .entry__shade { background: linear-gradient(180deg, #080e13a6 0%, #080e13b3 50%, #080e1366 100%); }
  .entry__copy { width: 100%; margin: 0; padding: 112px 24px 56px; }
  .entry .eyebrow { margin-bottom: 20px; font-size: 8px; }
  .entry h1 { font-size: clamp(115px, 26vw, 190px); }
  .entry__story { max-width: 430px; font-size: 14px; line-height: 1.75; }
  .entry__invitation { font-size: 20px; margin: 15px 0 23px; }
  .primary-button { min-height: 54px; width: min(100%, 290px); font-size: 9px; }
  .house-hotspot { display: none; }
  .room { min-height: 100svh; padding: 108px 18px 28px; }
  .room__background img { object-position: 50% 50%; }
  .room__shade { background: linear-gradient(180deg, #080a0ce6 0%, #080a0c85 38%, #080a0c33 55%, #080a0cf2 100%); }
  .room__heading { padding: 0; }
  .room h2 { font-size: clamp(31px, 7vw, 50px); }
  .desk { width: 100%; margin: 32px auto 24px; gap: 14px; }
  .book-object { width: 100%; max-width: 165px; }
  .desk-book__question { min-height: 48px; font-size: clamp(16px, 3.4vw, 24px); margin-bottom: 14px; }
  .desk-book__caption { margin-top: 18px; }
  .desk-book__caption > span:first-child { font-size: 7px; letter-spacing: .1em; gap: 4px; }
  .desk-book__caption strong { font-size: clamp(19px, 4vw, 26px); min-height: 44px; line-height: 1.1; }
  .desk-book__meaning { min-height: 33px; font-size: 11px; line-height: 1.5; }
  .desk-book__open { gap: 6px; font-size: 11px; }
  .desk-book__open b { font-size: 14px; }
  .room__bottom { padding-top: 0; }
  .world { display: block; }
  .world__art { position: relative; top: auto; min-height: 280px; height: 40svh; max-height: 440px; }
  .world__cover-scene { background-size: auto 220%; }
  .world__cover-scene--dream { background-size: auto 280%; }
  .world__vignette { background: linear-gradient(0deg, #121316 0%, #12131600 50%, #12131666); }
  .world__reading { padding: 16px 24px 40px; }
  .world__back { margin-bottom: 20px; }
  .world h2 { font-size: clamp(48px, 12vw, 78px); max-width: 600px; }
  .answer__idea { font-size: 24px; margin-bottom: 20px; }
  .answer__description { font-size: 15px; }
  .answer__links { margin-top: 24px; }
  .world-switcher { margin-top: 24px; gap: 30px; }
}
@media (max-width: 370px) { .entry h1 { font-size: 115px; } .entry__copy { padding-right: 20px; padding-left: 20px; } .desk { gap: 10px; width: 100%; } .desk-book__question { font-size: 15px; } .desk-book__caption strong { font-size: 18px; } .room h2 { font-size: 30px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* Keep the full book descriptions separate from the artwork and controls. */
.room__context { max-width: 650px; margin: 18px auto 0; color: #efe6c6e6; font-size: 13px; line-height: 1.75; }
.answer__question { margin: 0 0 8px; font: italic 400 clamp(26px, 2.5vw, 37px)/1.2 Didot, "Bodoni 72", "Times New Roman", serif; }
.answer__details { display: grid; max-width: 450px; margin-top: 26px; padding-top: 25px; gap: 24px; border-top: 1px solid var(--line); }
.answer__details h3 { margin: 0 0 10px; color: var(--paper); font-size: 10px; font-weight: 500; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.answer__details p { margin: 0; color: #c8c4b5; font-size: 15px; line-height: 1.8; }
@media (max-width: 900px) { .room__context { max-width: 450px; font-size: 13px; } .answer__question { font-size: 28px; } }
