:root{color-scheme:light;--lilac:#e8dff0;--ink:#31243c}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{margin:0;min-height:100%;background:var(--lilac);color:var(--ink);font-family:Tahoma,Arial,sans-serif}
button{color:inherit;font:inherit;cursor:pointer}
button:focus-visible,a:focus-visible{outline:3px solid #674d80;outline-offset:4px}
.landing{min-height:100svh;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;background:radial-gradient(ellipse at 28% 75%,#f5edf5 0%,var(--lilac) 61%,#dcd0e7 100%)}
.home{margin:clamp(20px,4vw,56px);width:max-content;text-decoration:none;color:inherit;font-weight:700}
.feature{align-self:flex-end;margin:0 clamp(20px,8vw,110px) clamp(25px,8vh,92px);display:grid;justify-items:start;direction:ltr;perspective:1100px}
h1{margin:0 0 22px;direction:rtl}
.title{border:0;background:none;padding:0;font-size:clamp(21px,3vw,37px);font-weight:800;text-align:right;animation:title-in .65s 1.23s both}
.arrival{border:0;padding:0;background:none;animation:fall 1.65s cubic-bezier(.32,.1,.56,1) both;transform-style:preserve-3d}
.model{position:relative;display:block;width:min(35vh,52vw,290px);aspect-ratio:900/1450;box-shadow:-5px 5px 0 #b9aabf,-12px 28px 43px #50355c48;transform:rotate(-9deg) rotateY(var(--tilt,0deg)) rotateX(var(--lift,0deg));transition:transform .25s;transform-style:preserve-3d}
.model img{display:block;width:100%;height:100%;position:relative;z-index:2;transform:translateZ(4px);animation:cover-breeze 1.65s both;transform-origin:right}
.leaf{position:absolute;inset:1px;background:linear-gradient(110deg,#e5d9d1,#fffaf2 45%,#ddd0ca);transform-origin:right;animation:breeze 1.65s both;backface-visibility:hidden}
.leaf:nth-of-type(2){animation-delay:.09s}.leaf:nth-of-type(3){animation-delay:.17s}
@keyframes fall{0%{transform:translate3d(25vw,-115vh,140px) rotateX(27deg) rotateY(-37deg) rotateZ(25deg)}75%{transform:translateY(9px) rotateY(0) rotateZ(-4deg)}89%{transform:translateY(-14px) rotateZ(2deg)}100%{transform:none}}
@keyframes breeze{0%,100%{transform:rotateY(0)}30%{transform:rotateY(-22deg)}48%{transform:rotateY(15deg)}70%{transform:rotateY(-8deg)}}
@keyframes cover-breeze{0%,100%{transform:translateZ(4px)}40%{transform:translateZ(4px) rotateY(19deg)}64%{transform:translateZ(4px) rotateY(-7deg)}}
@keyframes title-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
dialog{margin:0;inset:0;padding:0;border:0;width:100%;height:100dvh;max-width:none;max-height:none;background:#1d1721;color:white;overflow:hidden}
dialog::backdrop{background:#1d1721}
dialog[open] .paper{animation:zoom-in .48s ease-out both}
@keyframes zoom-in{from{transform:translate(-33vw,28vh) scale(.26);opacity:.52}to{transform:none;opacity:1}}
.stage{height:100%;display:grid;place-items:center}
.paper{position:relative;direction:ltr;width:min(100vw,calc(100dvh * 900 / 1450));aspect-ratio:900/1450;box-shadow:0 16px 50px #0007;isolation:isolate;transition:width .34s ease,aspect-ratio .34s ease}
.paper[data-spread]{width:min(100vw,calc(100dvh * 1800 / 1450));aspect-ratio:1800/1450}
.paper[data-back-cover]{width:min(100vw,calc(100dvh * 3 / 4));aspect-ratio:3/4}
.current,canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.current{object-fit:contain}
canvas{z-index:1;pointer-events:none}
.open{position:absolute;z-index:3;left:50%;top:56.8%;transform:translate(-50%,-50%);padding:.48em 1.1em;background:#fffdf9;border:1px solid #234344;border-radius:20px;color:#163a3c;font-weight:700;font-size:clamp(14px,3.7vw,19px)}
.close{position:absolute;z-index:5;top:max(8px,env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right));width:36px;height:36px;border:0;border-radius:50%;color:white;background:#211927dc;font-size:24px;line-height:1}
.edge{position:absolute;top:0;bottom:0;width:24%;z-index:2;border:0;background:transparent;touch-action:none}
.edge.next{left:0}.edge.previous{right:0}
.edge::after{position:absolute;bottom:14px;padding:4px 9px;border-radius:16px;background:#1c1523a8;color:white;opacity:0}
.edge.next::after{content:'‹';left:10px}.edge.previous::after{content:'›';right:10px}
.edge:is(:hover,:focus-visible)::after{opacity:1}
.status{position:absolute;overflow:hidden;width:1px;height:1px;clip-path:inset(50%)}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:1ms!important;animation-delay:0ms!important;transition:none!important}}
.open{width:24%;height:8%;border:0;background:transparent;color:transparent;padding:0}
.edge{width:44%}

/* The broad pool of light stays behind the book as the camera closes in. */
.landing{position:relative;isolation:isolate;background:#e8dff0}
.landing::before{content:"";position:absolute;inset:-20%;z-index:-1;pointer-events:none;background:
 radial-gradient(ellipse at 25% 76%,#fff6fd 0%,#f2e8f6 26%,transparent 59%),
 radial-gradient(ellipse at 95% 7%,#cab7dd 0%,transparent 62%),
 linear-gradient(142deg,#eee5f4,#ddd0e8);
 transform-origin:25% 75%;animation:camera-light 2.7s ease-out both}
.feature{perspective:1500px}
.feature::after{content:"";position:absolute;z-index:-1;inset:auto 0 -14px;height:22px;border-radius:50%;background:#533b69;filter:blur(18px);transform:scaleX(.78);animation:landing-shadow 2.7s both}
.title{animation-delay:2.15s}
.arrival{animation:cinema-fall 2.7s both;transform-origin:50% 74%}
.model{width:min(37vh,54vw,320px);box-shadow:-2px 2px 0 #e0d4db,-4px 5px 0 #c0afc5,-10px 14px 25px #47305344}
.model>img{animation:cinema-cover 2.7s both}
.leaf{animation:cinema-leaf 2.7s both;box-shadow:1px 0 #49305244;overflow:hidden;backface-visibility:visible}
.leaf img{animation:none;transform:none;width:100%;height:100%;opacity:.88}
.leaf:nth-of-type(2){animation-delay:.08s}
.leaf:nth-of-type(3){animation-delay:.14s}
@keyframes camera-light{0%{transform:scale(.83);filter:saturate(.8)}100%{transform:scale(1.08);filter:none}}
@keyframes cinema-fall{
 0%{transform:translate3d(32vw,-85svh,-650px) rotateX(31deg) rotateY(-40deg) rotateZ(26deg) scale(.22);opacity:0}
 12%{opacity:1}
 45%{transform:translate3d(18vw,-49svh,-260px) rotateX(20deg) rotateY(-19deg) rotateZ(13deg) scale(.48)}
 77%{transform:translate3d(0,8px,0) rotateX(1deg) rotateY(4deg) rotateZ(-2deg) scale(.93)}
 85%{transform:translate3d(0,-8px,0) rotateZ(1.5deg) scale(.97)}
 100%{transform:translate3d(0,0,0) scale(1);opacity:1}
}
@keyframes cinema-cover{
 0%,100%{transform:translateZ(8px)}
 33%{transform:translateZ(9px) rotateY(-31deg) rotateZ(2deg)}
 50%{transform:translateZ(10px) rotateY(-19deg) rotateZ(-2deg)}
 69%{transform:translateZ(8px) rotateY(-9deg)}
}
@keyframes cinema-leaf{
 0%,100%{transform:none}
 30%{transform:translateX(-9%) translateZ(5px) rotateY(-21deg) rotateZ(-4deg)}
 47%{transform:translateX(-11%) translateZ(6px) rotateY(18deg) rotateZ(3deg)}
 68%{transform:translateX(-2%) rotateY(-11deg)}
}
@keyframes landing-shadow{0%,57%{opacity:0;transform:scaleX(.35)}77%{opacity:.44;transform:scaleX(.86)}100%{opacity:.28;transform:scaleX(.75)}}

.landing{background:#b6a5c5}
.landing::before{background:
 radial-gradient(ellipse at 22% 82%,#f9eee5 0%,#ede4f2 30%,transparent 62%),
 linear-gradient(116deg,#aa97bb,#cbbbd6 51%,#e6daed 91%)}
.landing::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:repeating-linear-gradient(91deg,#4a31511a 0 1px,transparent 1px 4px),
 repeating-linear-gradient(4deg,#fff7 0 1px,transparent 1px 3px);
 mix-blend-mode:multiply;opacity:.18;mask-image:linear-gradient(#0008,#000)}
.leaf{transform-origin:right center}
@keyframes cinema-leaf{
 0%,100%{transform:rotateY(0)}
 32%{transform:rotateY(-9deg)}
 51%{transform:rotateY(7deg)}
 69%{transform:rotateY(-3deg)}
}
@keyframes cinema-cover{
 0%,100%{transform:translateZ(6px)}
 35%{transform:translateZ(6px) rotateY(-9deg)}
 51%{transform:translateZ(6px) rotateY(5deg)}
 70%{transform:translateZ(6px) rotateY(-3deg)}
}
.facing{position:absolute;left:0;top:0;width:50%;height:100%;object-fit:contain}
.paper[data-pair] .current{left:50%;width:50%}
.paper[data-pair]::after{content:"";position:absolute;top:0;bottom:0;left:calc(50% - 8px);width:16px;background:linear-gradient(90deg,transparent,#21182440 48%,#fff3 55%,transparent);pointer-events:none}
.zoom{position:absolute;z-index:2;border:0;background:transparent;inset:0 23%;cursor:zoom-in}
.paper[data-zoomed] .zoom{cursor:zoom-out}
.paper[data-pair] .current-zoom{left:51%;right:13%}
.paper[data-pair] .facing-zoom{left:13%;right:51%}
.edge{width:23%;z-index:3}
.paper[data-pair] .edge{width:13%}

.landing::after{
 inset:0;opacity:.79;mask-image:none;mix-blend-mode:normal;
 background:linear-gradient(145deg,#ece0f349,transparent 55%,#51355f3a),url("media/patina.webp") center/cover;
}
.landing::before{opacity:.58}
.leaf{animation:none;overflow:visible;transform-style:preserve-3d;background:none;box-shadow:none}
.leaf img{visibility:hidden}
.leaf .fiber{
 position:absolute;top:0;height:100%;left:0;
 transform-origin:left center;backface-visibility:visible;
 background-repeat:no-repeat;pointer-events:none;
}
.model>img{animation:bound-cover 2.7s both}
@keyframes bound-cover{
 0%,100%{transform:translateZ(5px)}
 36%{transform:translateZ(5px) rotateY(18deg)}
 54%{transform:translateZ(5px) rotateY(13deg)}
 75%{transform:translateZ(5px) rotateY(2deg)}
}

/* The magazine lands on a single wooden stage, with its lower corner making contact first. */
.landing{--table-height:clamp(105px,24svh,240px);--surface-top:clamp(60px,13svh,135px)}
.wood-table{
  position:absolute;z-index:0;inset:auto 0 0;height:var(--table-height);overflow:hidden;pointer-events:none;
  background:linear-gradient(180deg,#877082,#6d536b 74%,#624c63);
}
.wood-table::before{
  content:"";position:absolute;inset:0 0 auto;height:var(--surface-top);
  background:linear-gradient(105deg,#f1d9c278,transparent 50%,#5b425d55),url("media/wood.webp") center/100% 100%;
  box-shadow:0 2px 0 #b79b9f,0 7px 10px #362e414a;
}
.wood-table::after{
  content:"";position:absolute;inset:var(--surface-top) 0 0;
  background:linear-gradient(#7959676e,#60445cbd),url("media/wood.webp") center/100% 190%;
  border-top:1px solid #d7b8ad7d;box-shadow:inset 0 10px 22px #51384d41;
}
.home,.feature{position:relative;z-index:1}
.feature{margin-bottom:calc(var(--table-height) - var(--surface-top)*.51);perspective:1050px}
.feature::after{inset:auto -3% -9px;height:18px;filter:blur(9px);animation:table-contact 2.7s both}
.arrival{transform-origin:50% 100%;animation:top-volume-entry 2.7s both}
.model{transform:rotate(-2deg) rotateY(var(--tilt,0deg)) rotateX(var(--lift,0deg));box-shadow:-2px 2px 0 #dfd0cc,-4px 4px 0 #a993a5,0 11px 18px #45304642}
@keyframes top-volume-entry{
  0%{transform:translate3d(3vw,-106svh,-260px) rotateX(-74deg) rotateY(-14deg) rotateZ(12deg);opacity:0;animation-timing-function:cubic-bezier(.43,.04,.63,.7)}
  14%{opacity:1}
  45%{transform:translate3d(1.5vw,-54svh,-90px) rotateX(-40deg) rotateY(-21deg) rotateZ(16deg);animation-timing-function:cubic-bezier(.46,.05,.74,.61)}
  69%{transform:translate3d(0,0,0) rotateX(-12deg) rotateY(-6deg) rotateZ(7deg);animation-timing-function:ease-out}
  77%{transform:translate3d(0,-12px,0) rotateX(8deg) rotateY(3deg) rotateZ(-3deg);animation-timing-function:ease-in}
  85%{transform:translate3d(0,0,0) rotateX(-3deg) rotateZ(1deg);animation-timing-function:ease-out}
  92%{transform:translateY(-2px) rotateX(1deg)}
  100%{transform:none;opacity:1}
}
@keyframes table-contact{
  0%,30%{opacity:0;transform:scaleX(.5)}
  62%{opacity:.14;transform:scaleX(1.04);filter:blur(16px)}
  69%{opacity:.63;transform:scaleX(.92);filter:blur(5px)}
  77%{opacity:.30;filter:blur(10px)}
  85%,100%{opacity:.48;transform:scaleX(.89);filter:blur(6px)}
}

.arrival{animation:three-source-entry 2.95s both;transition:none}
.model>img{backface-visibility:hidden}
.model>.rear-cover{position:absolute;inset:0;z-index:0;object-fit:cover;animation:none;transform:translateZ(-4px) rotateY(180deg);backface-visibility:hidden}
@keyframes three-source-entry{
 0%{transform:translate3d(7vw,-105svh,-400px) rotateX(-81deg) rotateY(-30deg) rotateZ(14deg) scale(.56);opacity:0;animation-timing-function:ease-out}
 12%{transform:translate3d(6vw,-78svh,-280px) rotateX(-42deg) rotateY(9deg) rotateZ(13deg) scale(.69);opacity:1}
 27%{transform:translate3d(4vw,-54svh,-185px) rotateX(-24deg) rotateY(83deg) rotateZ(10deg) scale(.79);animation-timing-function:ease-out}
 43%{transform:translate3d(2vw,-34svh,-85px) rotateX(-12deg) rotateY(173deg) rotateZ(6deg) scale(.89);animation-timing-function:ease-in}
 55%{transform:translate3d(1vw,-20svh,-24px) rotateX(-25deg) rotateY(223deg) rotateZ(10deg) scale(.95)}
 69%{transform:translate3d(0,0,0) rotateX(-12deg) rotateY(352deg) rotateZ(7deg);animation-timing-function:ease-out}
 78%{transform:translateY(-11px) rotateX(7deg) rotateY(364deg) rotateZ(-3deg);animation-timing-function:ease-in}
 86%{transform:translateY(0) rotateX(-3deg) rotateY(359deg) rotateZ(1deg)}
 100%{transform:rotateY(360deg);opacity:1}
}
.feature::after{animation-duration:2.95s}

.landing{--table-height:60svh;--surface-top:calc(var(--table-height) - 16px)}
.wood-table::before{background:linear-gradient(110deg,#ffe0ab55,transparent 52%,#45203755),url("media/wood.webp") center/cover}
.wood-table::after{background:linear-gradient(#a67654,#654637)}
.feature{margin-bottom:clamp(60px,16svh,160px);perspective:1050px}
.feature::after{bottom:6%;height:16%;animation-duration:3.25s;filter:blur(9px)}
.title{animation-delay:2.5s;text-shadow:0 1px 9px #fce7d7}
.arrival{animation:oblique-entry 3.25s both;transform-origin:50% 67%}
.model>img{animation:opening-fan 3.25s both}
.model>.rear-cover{animation:none}
@keyframes oblique-entry{
 0%{transform:translate3d(19vw,-93svh,-400px) rotateX(-41deg) rotateY(-17deg) rotateZ(25deg) scale(.48);opacity:0}
 13%{opacity:1}
 30%{transform:translate3d(11vw,-49svh,-119px) rotateX(14deg) rotateY(95deg) rotateZ(16deg) scale(.81)}
 45%{transform:translate3d(5vw,-29svh,-42px) rotateX(18deg) rotateY(177deg) rotateZ(11deg) scale(.92)}
 60%{transform:translate3d(1vw,-13svh,10px) rotateX(34deg) rotateY(297deg) rotateZ(6deg);animation-timing-function:ease-in}
 72%{transform:translateY(3px) rotateX(58deg) rotateY(359deg);animation-timing-function:ease-out}
 81%{transform:translateY(-9px) rotateX(46deg) rotateY(365deg) rotateZ(-3deg)}
 91%{transform:translateY(1px) rotateX(55deg) rotateY(359deg) rotateZ(1deg)}
 100%{transform:rotateX(53deg) rotateY(360deg);opacity:1}
}
@keyframes opening-fan{
 0%,100%{transform:translateZ(6px)}
 37%{transform:translateZ(6px) rotateY(13deg)}
 54%{transform:translateZ(6px) rotateY(34deg)}
 67%{transform:translateZ(6px) rotateY(19deg)}
 76%{transform:translateZ(6px) rotateY(5deg)}
}

/* One continuous fall, followed by a short damped contact. */
.landing::before{animation:none;background:radial-gradient(ellipse at 23% 60%,#f5e4dd 0%,#e8daeb 39%,transparent 72%),linear-gradient(124deg,#b6a5c5,#d7c6dd)}
.landing::after{opacity:.46}
.wood-table{--table-height:51svh;--surface-top:calc(100% - 16px);box-shadow:none}
.wood-table::before{background:linear-gradient(112deg,#f2d5a85c,transparent 44%,#56374644),url("media/wood.webp") center/cover}
.feature{perspective:1250px}
.arrival{animation:soft-drop 3.4s both;transform-origin:50% 76%}
.model{box-shadow:-1px 2px 0 #ded4ca,-3px 4px 0 #a79082,0 7px 13px #34233330}
.model>img{animation:soft-cover 3.4s both}
.model>.rear-cover{animation:none}
.feature::after{background:#3f293a;animation:soft-shadow 3.4s both;bottom:6%;height:13%;filter:blur(10px)}
.title{animation-delay:2.72s}
@keyframes soft-drop{
 0%{transform:translate3d(14vw,-91svh,-340px) rotateX(-24deg) rotateY(-18deg) rotateZ(19deg) scale(.58);opacity:0;animation-timing-function:ease-out}
 13%{opacity:1}
 25%{transform:translate3d(9vw,-65svh,-210px) rotateX(-4deg) rotateY(61deg) rotateZ(15deg) scale(.71)}
 43%{transform:translate3d(5vw,-39svh,-90px) rotateX(13deg) rotateY(176deg) rotateZ(10deg) scale(.86)}
 60%{transform:translate3d(1.5vw,-17svh,-27px) rotateX(31deg) rotateY(281deg) rotateZ(6deg) scale(.95);animation-timing-function:cubic-bezier(.53,.03,.81,.64)}
 76%{transform:translate3d(0,0,0) rotateX(54deg) rotateY(358deg) rotateZ(1.5deg) scale(1);animation-timing-function:ease-out}
 84%{transform:translate3d(0,-4px,0) rotateX(49deg) rotateY(362deg) rotateZ(-.5deg) scale(1);animation-timing-function:ease-in-out}
 93%,100%{transform:translate3d(0,0,0) rotateX(53deg) rotateY(360deg) rotateZ(0) scale(1);opacity:1}
}
@keyframes soft-cover{
 0%,100%{transform:translateZ(6px) rotateY(0)}
 30%{transform:translateZ(6px) rotateY(6deg)}
 50%{transform:translateZ(6px) rotateY(17deg)}
 66%{transform:translateZ(6px) rotateY(9deg)}
 78%{transform:translateZ(6px) rotateY(2deg)}
 90%{transform:translateZ(6px) rotateY(0)}
}
@keyframes soft-shadow{
 0%,23%{opacity:0;transform:scale(.48);filter:blur(25px)}
 55%{opacity:.14;transform:scale(.78);filter:blur(19px)}
 76%{opacity:.48;transform:scale(.96);filter:blur(7px)}
 84%{opacity:.37;transform:scale(.94);filter:blur(9px)}
 93%,100%{opacity:.45;transform:scale(.96);filter:blur(7px)}
}

.landing.cinematic{
 min-height:100svh;display:grid;grid-template-rows:auto 1fr;
 background:radial-gradient(ellipse at 46% 45%,#e5d6e9,#baa6c8 75%);
}
.cinematic .home{grid-row:1;z-index:3;margin:clamp(14px,3vh,40px) clamp(17px,4vw,60px)}
.cinematic .wood-table,.cinematic .feature{display:none}
.cinema-scene{position:relative;grid-row:2;display:grid;place-items:center;min-height:0}
.cinema-stage{position:relative;width:min(100%,75svh,860px);aspect-ratio:1;isolation:isolate;direction:ltr}
.cinema-stage video{display:block;width:100%;height:100%;object-fit:contain;border-radius:clamp(0px,1vw,12px);box-shadow:0 17px 62px #49304c26}
.cinema-book{position:absolute;z-index:2;top:49%;left:10%;width:36%;height:37%;border:0;background:transparent;border-radius:7px}
.cinema-book:focus-visible{outline-color:#fff}
.cinema-controls{position:absolute;z-index:3;left:5%;right:5%;bottom:3%;display:flex;align-items:center;justify-content:space-between;gap:12px}
.cinema-title,.cinema-replay{background:#f8edf5e8;color:#34243b;border:1px solid #fff7;border-radius:6px;padding:.55em .76em}
.cinema-title{font-size:clamp(13px,2.4vw,21px);font-weight:750}
.cinema-replay{font-size:clamp(12px,2vw,16px)}
.cinema-stage[data-playing] .cinema-controls{opacity:0;pointer-events:none}
.cinema-controls{transition:opacity .34s ease}
@media(max-width:560px){.cinema-stage{width:100%}.cinema-stage video{border-radius:0}.cinema-title,.cinema-replay{padding:.46em .54em}}

.cinema-book{top:48%;left:32%;width:31%;height:30%}
.cinema-controls{position:static}
.cinema-title,.cinema-replay{position:absolute;z-index:3}
.cinema-title{top:29%;left:48%;transform:translateX(-50%);border:0;background:transparent;padding:.2em .5em;white-space:nowrap;line-height:1.25;text-align:center;color:#36213b;text-shadow:0 1px 7px #f3e4ee}
.cinema-title span,.cinema-title strong{display:block}
.cinema-title span{font-size:clamp(9px,1.8vw,15px);font-weight:600;margin-bottom:.24em}
.cinema-title strong{font-size:clamp(15px,3.5vw,29px);font-weight:800}
.cinema-replay{bottom:3%;right:5%}
