/* Home page album, magazine edition.
   Each spread = one text page + one collage page of 2-4 photos. Bigger book, one-line heading, opens when the section arrives. */

/* ---- section layout: heading row, big book, controls row ---- */
.wall.wall{position:relative;z-index:45;
  --ar:1.05;--hdr:92px;
  --pw:max(220px,min(640px,calc((100vw - 64px)/2),calc((100vh - var(--hdr) - 150px)/var(--ar))));
  --pw:max(220px,min(640px,calc((100vw - 64px)/2),calc((100svh - var(--hdr) - 150px)/var(--ar))))}
.wall .wrap.bk-grid{padding-top:0;padding-bottom:0;row-gap:6px;column-gap:18px;align-items:center;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto auto;
  grid-template-areas:"hd nav nav" "stage stage stage" "cta ctl ." "bar bar bar"}
.wl-hd{grid-area:hd;display:flex;align-items:center;gap:14px;min-width:0}
.wl-hd .wl-eye{display:none}
.wl-hd h2,.bk-txt .wl-hd h2{font-family:'Playfair Display',Georgia,serif;font-weight:700;font-size:clamp(1.3rem,2.3vw,2rem);line-height:1.1;margin:0;white-space:nowrap;color:#0b3f39}
.wl-hd h2 em{font-style:italic;font-weight:700}
.bk-txt>p{display:none}
.wl-nav{grid-area:nav;justify-self:end;gap:6px;flex-wrap:nowrap}
.wl-nav button{padding:6px 12px;font-size:.72rem;white-space:nowrap}
.wl-cta{grid-area:cta;justify-self:start;margin:0;gap:14px}
.bk-ctl{grid-area:ctl;justify-self:center}
.bk-b{width:40px;height:40px}
.bk-bar{grid-area:bar;margin-top:4px}
.bk-stage{padding:8px 0 22px}

/* the book itself: wider, slightly shorter pages so landscape photos fit */
.bk-wrap{height:calc(var(--pw)*var(--ar))}
.bp{font-size:calc(var(--pw)*.04)}

/* ---- text page ---- */
.bp-tx{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;text-align:left;padding:6.5% 8% 5.5%;overflow:hidden;
  background:radial-gradient(120% 90% at 50% 0%,#fffdf6,#f5ecd6)}
.bp-tx::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(#0a6b6224 1.2px,transparent 1.4px);background-size:1.6em 1.6em;
  -webkit-mask-image:linear-gradient(160deg,#000,#0000 45%);mask-image:linear-gradient(160deg,#000,#0000 45%)}
.tx-top{position:relative;display:flex;justify-content:space-between;align-items:baseline;gap:1em;font-size:.64em;font-weight:600;color:#0a6b62;
  padding-bottom:.7em;border-bottom:1px solid #0a6b6230;letter-spacing:.03em}
.tx-top b{color:#b98a12;font-weight:700;white-space:nowrap}
.tx-big{position:absolute;right:6%;top:7%;font-family:'Playfair Display',Georgia,serif;font-weight:700;font-size:6em;line-height:1;letter-spacing:-.03em;
  color:transparent;-webkit-text-stroke:1.2px #0a6b6228;opacity:0;pointer-events:none}
.live .tx-big{animation:stNum 1.3s cubic-bezier(.2,.7,.2,1) .05s both}
.tx-ch .tx-big{-webkit-text-stroke:0;color:#e6b4222e}
.tx-h{position:relative;font-family:'Playfair Display',Georgia,serif;font-weight:800;font-size:2.15em;line-height:1.08;letter-spacing:-.01em;color:#0b3f39;margin:.62em 0 .4em;max-width:88%}
.tx-ch .tx-h{font-size:1.8em;max-width:100%}
.tx-h mark{background:linear-gradient(transparent 64%,#f3c94dcc 64%);color:#0a8e80;font-style:italic;padding:0 .04em}
.tx-lead{position:relative;font-family:"Playfair Display",Georgia,serif;font-weight:500;font-size:1.06em;line-height:1.58;color:#33514c}
.tx-lead::first-letter{float:left;font-weight:800;font-size:3.05em;line-height:.82;padding:.06em .1em 0 0;color:#0a8e80}
.tx-tags{position:relative;display:flex;flex-wrap:wrap;gap:.45em;margin-top:.9em}
.tx-tags span{padding:.4em .95em;border-radius:99px;border:1px solid #0a6b6240;background:#ffffffb8;font-size:.64em;font-weight:600;color:#0a6b62}
.tx-cap{position:relative;list-style:none;margin:auto 0 0;padding:.8em 0 0;border-top:1px solid #0a6b6230;display:grid;gap:.7em}
.tx-cap li{display:grid;grid-template-columns:1.9em 1fr;gap:.7em;align-items:start}
.tx-cap b{display:grid;place-items:center;width:1.85em;height:1.85em;border-radius:50%;background:#f3c94d;color:#06403b;font-size:.66em;font-weight:700;margin-top:.15em}
.tx-cap strong{display:block;font-size:.8em;font-weight:700;color:#0b3f39;line-height:1.25}
.tx-cap span{display:block;font-size:.7em;line-height:1.5;color:#4b6460;margin-top:.2em}
.tx-mini{gap:.4em}.tx-mini strong{font-size:.86em}
.tx-ft{position:relative;display:flex;align-items:center;gap:1em;margin-top:.9em;font-size:.56em;letter-spacing:.14em;font-weight:700;color:#0a6b62b0;text-transform:uppercase}
.tx-ft u{flex:1;display:block;height:2px;border-radius:2px;background:#0a6b6224;position:relative;text-decoration:none}
.tx-ft s{position:absolute;left:0;top:0;bottom:0;width:0;background:#e6b422;text-decoration:none;border-radius:2px}
.live .tx-ft s{width:var(--w);transition:width 1.8s .7s ease}

/* ---- collage page: 2 to 4 photos laid out like a magazine spread ---- */
.bp-co{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;text-align:left;padding:6.5% 6.5% 6%;
  background:radial-gradient(120% 90% at 50% 0%,#fffdf6,#f3e9cf)}
.co-top{display:flex;justify-content:space-between;align-items:baseline;gap:1em;font-size:.64em;font-weight:600;color:#0a6b62;letter-spacing:.03em;padding:0 .3em .75em}
.co-top b{color:#b98a12;font-weight:700;white-space:nowrap}
.co-g{position:relative;flex:1;min-height:0;display:grid;gap:.75em}
.cf{position:relative;min-width:0;min-height:0;margin:0;cursor:zoom-in;--rot:0deg;transform:rotate(var(--rot))}
.bp-hero .cf{cursor:default}
.f0{grid-area:a}.f1{grid-area:b;--rot:-.7deg}.f2{grid-area:c;--rot:.6deg}.f3{grid-area:d;--rot:-.5deg}
.cf-fr{position:absolute;inset:0;overflow:hidden;box-sizing:border-box;border:.3em solid #fff;background:#0b4f48;box-shadow:0 .55em 1.1em -.55em #0a3a35aa,0 0 0 1px #0a3a3514}
.cf-fr img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.1);transition:opacity .9s ease,transform 10s cubic-bezier(.2,.6,.3,1)}
.cf-fr img.ok{opacity:1}
.live .cf-fr img{transform:scale(1)}
.cf figcaption{position:absolute;z-index:3;left:.7em;bottom:.7em;max-width:calc(100% - 1.4em);padding:.38em .9em;border-radius:.9em;background:#04302cd0;color:#fff;font-size:.58em;font-weight:600;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);opacity:0;transform:translateY(.6em);transition:opacity .6s .4s,transform .6s .4s}
.live .cf figcaption{opacity:1;transform:none}
.cf-no{position:absolute;z-index:3;top:.65em;left:.65em;display:grid;place-items:center;width:2em;height:2em;border-radius:50%;background:#f3c94d;color:#06403b;font-size:.6em;font-weight:700;
  box-shadow:0 .4em .8em -.3em #0008;transform:scale(0);transition:transform .6s cubic-bezier(.3,1.6,.5,1) calc(.35s + var(--i,0)*.12s)}
.live .cf-no{transform:scale(1)}

/* layouts (cycled so neighbouring spreads never look the same) */
[data-l="A"][data-c="3"] .co-g{grid-template-columns:1fr 1fr;grid-template-rows:1.3fr 1fr;grid-template-areas:"a a" "b c"}
[data-l="A"][data-c="4"] .co-g{grid-template-columns:1fr 1fr 1fr;grid-template-rows:1.45fr 1fr;grid-template-areas:"a a a" "b c d"}
[data-l="B"][data-c="3"] .co-g{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1.3fr;grid-template-areas:"a b" "c c"}
[data-l="B"][data-c="4"] .co-g,[data-l="C"][data-c="4"] .co-g{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;grid-template-areas:"a b" "c d"}
[data-l="C"][data-c="3"] .co-g{grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr 1fr 1fr;grid-template-areas:"a a ." ". b b" "c c ."}
[data-c="2"] .co-g{grid-template-columns:1fr;grid-template-rows:1fr 1fr;grid-template-areas:"a" "b"}
[data-l="C"][data-c="3"] .f0{--rot:-.5deg}

/* contents page, fitted to the shorter page */
.bp-intro{padding:7% 9%}
.bp-intro h3{font-family:'Playfair Display',Georgia,serif;font-size:1.75em;margin:.3em 0 .6em}
.in-l{gap:.38em}
.in-l button{padding:.5em .9em}
.in-n{margin-top:.8em}
.bp-story{padding-top:8%;padding-bottom:10%}
.st-t{font-size:2.2em}
.bp-end{padding:7% 9%}

/* ---- tablets / phones ---- */
@media(max-width:1179px){.wl-nav{display:none}.wl-hd{grid-column:1/-1}}
@media(max-width:999px){
  .wall.wall{--chrome:196px}
  .wall .wrap.bk-grid{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr) auto auto;grid-template-areas:"hd" "stage" "ctl" "bar";justify-items:center;padding-top:72px}
  .wl-hd{justify-self:center}
  .wl-nav,.wl-cta{display:none}
}
@media(max-width:699px){
  .wall.wall{--ar:1.34;--chrome:268px;
    --pw:max(200px,min(92vw,420px,calc((100vh - var(--chrome))/var(--ar))));
    --pw:max(200px,min(92vw,420px,calc((100svh - var(--chrome))/var(--ar))))}
  .wl-hd h2,.bk-txt .wl-hd h2{font-size:1.25rem}
  .wall .wrap.bk-grid{padding-bottom:74px}
  .bp{font-size:calc(var(--pw)*.04)}
}

@media(prefers-reduced-motion:reduce){.cf figcaption,.cf-no{opacity:1!important;transform:none!important;transition:none!important}.tx-big{opacity:1!important;animation:none!important}.live .tx-ft s{transition:none!important;width:var(--w)!important}}

/* cover headline: keep it on two lines at the larger page size */
.cv-t{font-size:2.25em}
.cv-s{font-size:.62em}

/* keep the video-tour / book-a-visit links clear of the site's floating "Play & get 5% off" button */
@media(min-width:1000px){.wl-cta{margin-left:130px}}


/* ===== v3: the section is exactly one screen tall (below the header), book sized to fit it, overlapping-photo collages ===== */
.wall.wall{height:100vh;height:100svh;min-height:520px;box-sizing:border-box;overflow:clip;padding:calc(var(--hdr) + 8px) 0 10px}
.wall.wall .wl-bg{position:absolute;inset:0;height:auto;margin:0}
.wall.wall .wrap.bk-grid{position:relative;top:auto;box-sizing:border-box;height:100%;padding:0 clamp(16px,3vw,40px);row-gap:8px;align-items:center}
.wall.wall .bk-stage{padding:6px 0;min-height:0}
.wall.wall .bk-wrap{height:calc(var(--pw)*var(--ar))}
.wall.wall .bk-bar{margin-top:0}
.wl-hd h2,.bk-txt .wl-hd h2{font-size:clamp(1.3rem,2.3vw,2rem)}
@media(max-width:999px){
  .wall.wall{--hdr:86px;
    --pw:max(200px,min(calc((100vw - 48px)/2),480px,calc((100vh - var(--hdr) - 150px)/var(--ar))));
    --pw:max(200px,min(calc((100vw - 48px)/2),480px,calc((100svh - var(--hdr) - 150px)/var(--ar))))}
}
@media(max-width:699px){
  .wall.wall{--ar:1.34;--hdr:78px;
    --pw:max(190px,min(92vw,420px,calc((100vh - var(--hdr) - 150px)/var(--ar))));
    --pw:max(190px,min(92vw,420px,calc((100svh - var(--hdr) - 150px)/var(--ar))))}
  .wall.wall .wrap.bk-grid{padding-bottom:0}
}

/* ===== v4: magazine-style page designs (5 layouts, cycled by book.js) ===== */
.wall .bp-co{display:block;padding:0}
.wall .co-top{position:absolute;left:0;right:0;top:0;z-index:6;padding:5.2% 7% 0;pointer-events:none}
.wall .co-g{position:absolute;inset:11% 5.5% 5.5%;display:block;flex:none}
.wall .co-g .cf{position:absolute;left:var(--x);top:var(--y);width:var(--w);height:var(--h);z-index:var(--z,1);transform:rotate(var(--rot,0deg))}
.wall .cf-fr{box-shadow:0 .7em 1.3em -.55em #0a3a35d0,0 0 0 1px #0a3a3516}
/* full-bleed layouts (A, D): one photo covers the whole page, the others sit on top of it */
.bp-co[data-l="A"] .co-g,.bp-co[data-l="D"] .co-g{inset:0}
.bp-co[data-l="A"] .co-top,.bp-co[data-l="D"] .co-top{color:#fff;text-shadow:0 1px 6px #0009;padding-bottom:14%;background:linear-gradient(#04201dd0,#0000)}
.bp-co[data-l="A"] .co-top b,.bp-co[data-l="D"] .co-top b{color:#f3c94d}
.bp-co[data-l="A"] .f0 .cf-fr,.bp-co[data-l="D"] .f0 .cf-fr{border:0;box-shadow:none}
.bp-co[data-l="A"] .f0 .cf-no,.bp-co[data-l="D"] .f0 .cf-no{top:11%;left:5.5%}
.bp-co[data-l="A"] .f0 figcaption{left:5.5%;bottom:31%}
.bp-co[data-l="D"] .f0 figcaption{left:5.5%;bottom:2.5%}
.bp-co[data-l="A"] .f1 figcaption,.bp-co[data-l="A"] .f2 figcaption,.bp-co[data-l="A"] .f3 figcaption{font-size:.5em}
.bp-co[data-l="B"] .f0 figcaption{bottom:7%}
.bp-hero .cf figcaption{left:.7em}
.bp-hero[data-l="A"] .f0 figcaption{left:5.5%}
/* A: cover feature */
.bp-co[data-l="A"] .f0{--x:0%;--y:0%;--w:100%;--h:100%;--z:1}
.bp-co[data-l="A"][data-c="3"] .f1{--x:5%;--y:71%;--w:43%;--h:23%;--z:2}
.bp-co[data-l="A"][data-c="3"] .f2{--x:52%;--y:71%;--w:43%;--h:23%;--z:2}
.bp-co[data-l="A"][data-c="4"] .f1{--x:5%;--y:71%;--w:28%;--h:23%;--z:2}
.bp-co[data-l="A"][data-c="4"] .f2{--x:36%;--y:71%;--w:28%;--h:23%;--z:2}
.bp-co[data-l="A"][data-c="4"] .f3{--x:67%;--y:71%;--w:28%;--h:23%;--z:2}
.bp-co[data-l="A"][data-c="2"] .f1{--x:38%;--y:62%;--w:57%;--h:32%;--z:2}
/* B: wide hero on top, photos side by side below */
.bp-co[data-l="B"][data-c="3"] .f0{--x:0%;--y:0%;--w:100%;--h:58%;--z:1}
.bp-co[data-l="B"][data-c="3"] .f1{--x:0%;--y:54%;--w:52%;--h:46%;--rot:-.5deg;--z:2}
.bp-co[data-l="B"][data-c="3"] .f2{--x:48%;--y:54%;--w:52%;--h:46%;--rot:.5deg;--z:3}
.bp-co[data-l="B"][data-c="4"] .f0{--x:0%;--y:0%;--w:100%;--h:54%;--z:1}
.bp-co[data-l="B"][data-c="4"] .f1{--x:0%;--y:50%;--w:35%;--h:50%;--rot:-.5deg;--z:2}
.bp-co[data-l="B"][data-c="4"] .f2{--x:32.5%;--y:50%;--w:35%;--h:50%;--rot:.4deg;--z:3}
.bp-co[data-l="B"][data-c="4"] .f3{--x:65%;--y:50%;--w:35%;--h:50%;--rot:-.4deg;--z:4}
.bp-co[data-l="B"][data-c="2"] .f0{--x:0%;--y:0%;--w:100%;--h:54%;--z:1}
.bp-co[data-l="B"][data-c="2"] .f1{--x:0%;--y:50%;--w:100%;--h:50%;--z:2}
/* C: tall photo on the left, the others stacked on the right */
.bp-co[data-l="C"] .f0{--x:0%;--y:0%;--w:56%;--h:100%;--z:1}
.bp-co[data-l="C"][data-c="3"] .f1{--x:52%;--y:0%;--w:48%;--h:52%;--z:2}
.bp-co[data-l="C"][data-c="3"] .f2{--x:52%;--y:48%;--w:48%;--h:52%;--z:3}
.bp-co[data-l="C"][data-c="4"] .f1{--x:52%;--y:0%;--w:48%;--h:36%;--z:2}
.bp-co[data-l="C"][data-c="4"] .f2{--x:52%;--y:32%;--w:48%;--h:36%;--z:3}
.bp-co[data-l="C"][data-c="4"] .f3{--x:52%;--y:64%;--w:48%;--h:36%;--z:4}
.bp-co[data-l="C"][data-c="2"] .f0{--w:58%}
.bp-co[data-l="C"][data-c="2"] .f1{--x:44%;--y:14%;--w:56%;--h:86%;--z:2}
/* D: full-bleed photo with tilted prints on top */
.bp-co[data-l="D"] .f0{--x:0%;--y:0%;--w:100%;--h:100%;--z:1}
.bp-co[data-l="D"][data-c="3"] .f1{--x:54%;--y:11%;--w:40%;--h:27%;--rot:2deg;--z:2}
.bp-co[data-l="D"][data-c="3"] .f2{--x:6%;--y:62%;--w:42%;--h:28%;--rot:-2deg;--z:2}
.bp-co[data-l="D"][data-c="4"] .f1{--x:54%;--y:11%;--w:40%;--h:27%;--rot:2deg;--z:2}
.bp-co[data-l="D"][data-c="4"] .f2{--x:6%;--y:62%;--w:40%;--h:28%;--rot:-2deg;--z:2}
.bp-co[data-l="D"][data-c="4"] .f3{--x:54%;--y:62%;--w:40%;--h:28%;--rot:1.5deg;--z:2}
.bp-co[data-l="D"][data-c="2"] .f1{--x:48%;--y:58%;--w:46%;--h:32%;--rot:2deg;--z:2}
/* E: staggered overlap */
.bp-co[data-l="E"][data-c="3"] .f0{--x:0%;--y:0%;--w:62%;--h:46%;--rot:-.8deg;--z:1}
.bp-co[data-l="E"][data-c="3"] .f1{--x:36%;--y:30%;--w:64%;--h:40%;--rot:.8deg;--z:2}
.bp-co[data-l="E"][data-c="3"] .f2{--x:12%;--y:62%;--w:88%;--h:38%;--rot:-.6deg;--z:3}
.bp-co[data-l="E"][data-c="4"] .f0{--x:0%;--y:0%;--w:58%;--h:44%;--rot:-.8deg;--z:1}
.bp-co[data-l="E"][data-c="4"] .f1{--x:42%;--y:8%;--w:58%;--h:40%;--rot:.8deg;--z:2}
.bp-co[data-l="E"][data-c="4"] .f2{--x:0%;--y:46%;--w:52%;--h:54%;--rot:.6deg;--z:3}
.bp-co[data-l="E"][data-c="4"] .f3{--x:40%;--y:52%;--w:60%;--h:48%;--rot:-.6deg;--z:4}
.bp-co[data-l="E"][data-c="2"] .f0{--x:0%;--y:0%;--w:78%;--h:54%;--rot:-1deg;--z:1}
.bp-co[data-l="E"][data-c="2"] .f1{--x:22%;--y:46%;--w:78%;--h:54%;--rot:1deg;--z:2}

/* ===== v4 desktop: heading + chapters + controls move to a left column, the book gets the whole screen height ===== */
@media(min-width:1100px){
  .wall.wall{--lc:clamp(250px,23vw,310px);
    --pw:max(220px,min(640px,calc((100vh - var(--hdr) - 44px)/var(--ar)),calc((100vw - 2*clamp(16px,3vw,40px) - var(--lc) - 44px)/2)));
    --pw:max(220px,min(640px,calc((100svh - var(--hdr) - 44px)/var(--ar)),calc((100vw - 2*clamp(16px,3vw,40px) - var(--lc) - 44px)/2)));
    --ar:1.28}
  .wall.wall .wrap.bk-grid{grid-template-columns:var(--lc) minmax(0,1fr);column-gap:28px;row-gap:14px;align-items:start;
    grid-template-rows:minmax(0,.6fr) auto auto auto auto auto minmax(0,1.4fr);
    grid-template-areas:". stage" "hd stage" "nav stage" "ctl stage" "cta stage" "bar stage" ". stage"}
  .wall.wall .bk-stage{grid-area:stage;align-self:center;padding:0}
  .wall.wall .wl-hd{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
  .wall.wall .wl-hd .wl-eye{display:inline-flex;font-size:.7rem}
  .wall.wall .wl-hd h2,.wall.wall .bk-txt .wl-hd h2{white-space:normal;font-size:clamp(1.9rem,2.5vw,2.5rem);line-height:1.12}
  .wall.wall .wl-nav{display:flex;flex-wrap:wrap;justify-self:start;gap:6px}
  .wall.wall .bk-ctl{justify-self:start;margin-top:4px}
  .wall.wall .wl-cta{justify-self:start;margin:0;flex-wrap:wrap;gap:12px}
  .wall.wall .bk-bar{margin-top:6px}
}
/* 1000-1099px: stacked layout, links right of the controls */
@media(min-width:1000px) and (max-width:1099px){
  .wall.wall .wrap.bk-grid{grid-template-areas:"hd nav nav" "stage stage stage" ". ctl cta" "bar bar bar"}
  .wall.wall .wl-cta{display:none}
}

/* captions that a neighbouring photo would cover */
.bp-co[data-l="C"][data-c="3"] .f1 figcaption{bottom:11%}
.bp-co[data-l="C"][data-c="4"] .f1 figcaption,.bp-co[data-l="C"][data-c="4"] .f2 figcaption{bottom:11%}
.bp-co[data-l="B"][data-c="4"] .f1 figcaption,.bp-co[data-l="B"][data-c="4"] .f2 figcaption{bottom:.7em}
/* taller pages: a bit more presence for the text pages */
.wall .tx-h{font-size:2.45em;line-height:1.06}
.wall .tx-ch .tx-h{font-size:2.05em}
.wall .tx-lead{font-size:1.2em;line-height:1.6}
.wall .tx-cap strong{font-size:.9em}
.wall .tx-cap span{font-size:.78em}

/* ===== v6: polish ===== */
/* ---- background: slow drifting colour, tiny sparkles ---- */
@keyframes wlDrift{0%{transform:translate3d(0,0,0) scale(1)}100%{transform:translate3d(46px,-30px,0) scale(1.12)}}
@keyframes wlTwinkle{0%,100%{opacity:.25}50%{opacity:.9}}
.wall.wall .wl-bg i{animation:wlDrift 16s ease-in-out infinite alternate}
.wall.wall .wl-bg i.b{animation-duration:21s;animation-direction:alternate-reverse}
.wall.wall .wl-bg::before{content:"";position:absolute;left:18%;bottom:-14%;width:520px;height:520px;border-radius:50%;filter:blur(90px);background:radial-gradient(#0a8e8040,transparent 70%);animation:wlDrift 24s ease-in-out infinite alternate-reverse}
.wall.wall .wl-bg::after{content:"";position:absolute;inset:0;pointer-events:none;animation:wlTwinkle 5s ease-in-out infinite;
  background:
   radial-gradient(circle,#e6b422 0 2px,transparent 3px) 38% 18%/100% 100% no-repeat,
   radial-gradient(circle,#e6b422 0 1.5px,transparent 2.5px) 93% 30%/100% 100% no-repeat,
   radial-gradient(circle,#0a8e80 0 1.5px,transparent 2.5px) 12% 86%/100% 100% no-repeat,
   radial-gradient(circle,#e6b422 0 2px,transparent 3px) 58% 93%/100% 100% no-repeat}

/* ---- the book: gold-stitched leather cover, ribbon bookmark, warm spotlight ---- */
.wall.wall .bk-bl,.wall.wall .bk-br{background:linear-gradient(135deg,#118a7d,#05403a 70%);border-color:#e6b422cc;
  box-shadow:0 50px 70px -36px #0a3a35bb,0 2px 0 #f3c94d55 inset,inset 0 0 0 3px #ffffff14}
.wall.wall .bk-bl::before,.wall.wall .bk-br::before{content:"";position:absolute;inset:5px;border:1px dashed #f3c94d77;border-radius:inherit;pointer-events:none}
.wall.wall .bk-wrap::before{content:"";position:absolute;left:calc(50% - 8px);top:-16px;width:16px;height:min(26%,110px);z-index:1200;pointer-events:none;
  background:linear-gradient(90deg,#9f1f18,#e24a3e 50%,#9f1f18);clip-path:polygon(0 0,100% 0,100% 100%,50% 88%,0 100%)}
.wall.mob .bk-wrap::before{display:none}
.wall.wall .bk-stage::before{background:radial-gradient(closest-side,#fff7d9cc,#fff7d900 72%);filter:blur(8px);width:min(100%,1100px)}
/* paper grain on every page */
.wall .bp-tx{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .3 0 0 0 0 .1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E"),radial-gradient(120% 90% at 50% 0%,#fffdf6,#f5ecd6)}
.wall .bp-co[data-l="B"],.wall .bp-co[data-l="C"],.wall .bp-co[data-l="E"]{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .3 0 0 0 0 .1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E"),radial-gradient(120% 90% at 50% 0%,#fffdf6,#f3e9cf)}
/* washi tape on the tilted prints */
.bp-co[data-l="D"] .f1::before,.bp-co[data-l="D"] .f2::before,.bp-co[data-l="D"] .f3::before,.bp-co[data-l="E"] .cf::before{content:"";position:absolute;z-index:6;top:-.55em;left:50%;width:3.6em;height:1.25em;
  transform:translateX(-50%) rotate(-3deg);background:linear-gradient(90deg,#f3c94dcc,#f7dc86cc);box-shadow:0 .15em .3em -.1em #0004;
  -webkit-mask:repeating-linear-gradient(90deg,#000 0 .35em,#0009 .35em .4em);mask:repeating-linear-gradient(90deg,#000 0 .35em,#0009 .35em .4em)}
.bp-co[data-l="D"] .f2::before,.bp-co[data-l="E"] .f1::before{transform:translateX(-50%) rotate(3deg)}
/* nicer captions */
.wall .cf figcaption{letter-spacing:.02em;background:linear-gradient(135deg,#05403ae6,#0a6b62d9);box-shadow:0 .3em .8em -.4em #0007}

/* ---- left column ---- */
.wall.wall .wl-hd .wl-eye{position:relative;padding:.55em 1.1em .55em 2.3em;background:#fff;border:1px solid #e6b42255;border-radius:99px;box-shadow:0 .6em 1.2em -.8em #b98a12aa;letter-spacing:.16em}
.wall.wall .wl-hd .wl-eye i{position:absolute;left:1em;top:50%;width:.7em;height:.7em;margin-top:-.35em;border-radius:50%;background:#e6b422;
  box-shadow:0 0 0 0 #e6b42288;animation:wlPulse 2.4s ease-out infinite}
@keyframes wlPulse{70%{box-shadow:0 0 0 .7em #e6b42200}100%{box-shadow:0 0 0 0 #e6b42200}}
.wall.wall .wl-hd h2 em{background:linear-gradient(100deg,#0a8e80,#0a6b62);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.wall.wall .wl-nav button{display:inline-flex;align-items:center;gap:.55em;transition:background .3s,color .3s,transform .3s,box-shadow .3s}
.wall.wall .wl-nav button i{font-style:normal;font-size:.72rem;font-weight:700;line-height:1;padding:.28em .55em;border-radius:99px;background:#0a6b6214;color:#0a6b62}
.wall.wall .wl-nav button:hover{box-shadow:0 .8em 1.4em -.8em #0a6b62cc}
.wall.wall .wl-nav button:hover i,.wall.wall .wl-nav button.on i{background:#f3c94d;color:#06403b}
.wall.wall .bk-ctl{flex-wrap:wrap;row-gap:8px}
.wall.wall .bk-b{width:40px;height:40px;transition:background .3s,color .3s,transform .3s,box-shadow .3s}
.wall.wall .bk-b:hover{box-shadow:0 .8em 1.4em -.7em #b98a12}
.wall.wall .bk-pp{background:linear-gradient(135deg,#f3c94d,#e6b422);color:#06403b;border-color:#e6b422}
.wall.wall .bk-pp.off{background:#fff;color:#0a6b62;border-color:#0a6b6233}
.wall.wall .bk-cnt{margin-left:0;box-shadow:0 .6em 1.2em -.9em #0a6b6299}
.wall.wall .bk-bar{height:5px}
.wall.wall .bk-bar u{position:relative;border-radius:5px}
.wall.wall .bk-bar u::after{content:"";position:absolute;right:0;top:50%;width:11px;height:11px;margin:-5.5px -2px 0 0;border-radius:50%;background:#e6b422;box-shadow:0 0 0 3px #e6b42244,0 0 12px #e6b422}
.wall.wall .bk-bar{overflow:visible}

/* ---- intro: the text and the book glide in when the section arrives ---- */
.wall.wall .bk-txt>*{transition:opacity .7s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
.wall.wall .bk-txt>*:nth-child(2){transition-delay:.08s}.wall.wall .bk-txt>*:nth-child(3){transition-delay:.16s}
.wall.wall .bk-txt>*:nth-child(4){transition-delay:.24s}.wall.wall .bk-txt>*:nth-child(5){transition-delay:.32s}
.wall.wall .bk-txt>*:nth-child(6){transition-delay:.4s}.wall.wall .bk-txt>*:nth-child(7){transition-delay:.48s}
.wall.wall .bk-stage{transition:opacity .9s ease .15s,transform 1.1s cubic-bezier(.2,.7,.2,1) .15s}
.wall.pre .bk-txt>*{opacity:0;transform:translateY(16px)}
.wall.pre .bk-stage{opacity:0;transform:translateY(30px) scale(.97)}
@media(prefers-reduced-motion:reduce){.wall.wall .wl-bg i,.wall.wall .wl-bg::before,.wall.wall .wl-bg::after,.wall.wall .wl-hd .wl-eye i{animation:none!important}}

/* compact controls row so the left column ends well above the floating Play button */
.wall.wall .bk-ctl{flex-wrap:nowrap;gap:7px}
.wall.wall .bk-b{width:36px;height:36px}
.wall.wall .bk-cnt{margin-left:3px;padding:7px 12px;font-size:.72rem}
@media(min-width:1100px){.wall.wall .wrap.bk-grid{row-gap:12px}}
