/* R90.93 WATER & LIFE — design preview (candidate; written from r9092-wl.css, which stays as it is).
   One pinned scene. The figure is the approved film, drawn frame by frame on .wl9__fig; the water before dawn and the
   daylight are drawn on .wl9__gl (r9093-wl.js).
   The script writes on .wl9:  --b beat position · --nx the COL-01 room coming in · --dawn daylight · --fig the studio (1) giving
   way to the water (0) · --no the "70%" note · --ax / --ay where that note touches the forearm (px) · --fx the outermost point
   of the figure on the side of the words (px) · --sipw / --sipy where the five moments stand · and per beat --o (opacity),
   --d (distance from where it is read); on the second beat --s1 / --s2 (its sentence, its two lines).
   Deep navy studio, silver-blue light, champagne gold; ivory type. The last beat stands in daylight (ink type).
   Fonts: Noto Serif KR + Pretendard only. */
@font-face{font-family:"Noto Serif KR";src:url("../../assets/fonts/NotoSerifKR-VF.ttf") format("truetype");font-weight:200 900;font-display:swap}
@font-face{font-family:"Pretendard";src:url("../../assets/fonts/Pretendard-Light.ttf") format("truetype");font-weight:300;font-display:swap}
@font-face{font-family:"Pretendard";src:url("../../assets/fonts/Pretendard-Regular.ttf") format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:"Pretendard";src:url("../../assets/fonts/Pretendard-Medium.ttf") format("truetype");font-weight:500;font-display:swap}

body.pv{margin:0;background:#010316}
.pv-note{position:fixed;z-index:50;right:1.2vw;top:1.2vh;margin:0;padding:.5em .9em;font:400 12px/1.4 "Pretendard",system-ui,sans-serif;
  color:#172D3C;background:rgba(255,255,255,.72);border:1px solid rgba(23,45,60,.18);letter-spacing:.01em}

.wl9{--ivory:#F3F2EC;--ivory-2:rgba(228,236,240,.86);--ivory-3:rgba(198,212,220,.74);--gold:#DCC393;--gold-d:#86663A;
  --ink:#172D3C;--ink-2:rgba(23,45,60,.82);--ink-3:rgba(23,45,60,.62);--night:#050D15;--studio:#010316;
  --serif:"Noto Serif KR","Noto Serif CJK KR",serif;--sans:"Pretendard",system-ui,-apple-system,"Malgun Gothic",sans-serif;
  --vh:1vh;--mx:9vw;--b:0;--nx:0;--dawn:0;--fig:1;--no:0;--ax:60vw;--ay:60vh;--fx:62vw;--sipw:14.5%;--sipy:66%;
  position:relative;color:var(--ivory);font-family:var(--sans);background:var(--studio);word-break:keep-all;overflow-wrap:break-word}
@supports (height:1svh){.wl9{--vh:1svh}}
.wl9 *{box-sizing:border-box}
.wl9 :where(h2,h3,p,ul,ol,figure){margin:0;padding:0}
.wl9 :where(ul,ol){list-style:none}
.wl9 .m-br{display:none}
.wl9__sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* ---- without the script: a plain article on the night ground ---- */
.wl9:not(.is-live) :is(.wl9__gl,.wl9__fig,.wl9__num,.wl9__next){display:none}
.wl9:not(.is-live) .wl9__stage{padding:12vh var(--mx)}
.wl9:not(.is-live) .wl9__beat{margin-top:9vh;max-width:40em}
.wl9:not(.is-live) .wl9__say{font:400 clamp(28px,4.4vw,52px)/1.4 var(--serif);letter-spacing:-.02em}
.wl9:not(.is-live) :is(.wl9__under,.wl9__pair,.wl9__day,.wl9__trio,.wl9__taste,.wl9__links){margin-top:2.4vh;font-size:17px;line-height:1.8}
.wl9:not(.is-live) .wl9__pair b,.wl9:not(.is-live) .wl9__trio b{margin-right:.8em}
.wl9:not(.is-live) .wl9__day{display:flex;flex-wrap:wrap;gap:.2em 1.6em}
.wl9:not(.is-live) .wl9__links a{color:inherit;margin-right:2em}

/* ---- pinned scene: 7.3 beats of 84 screen-percent each ---- */
.wl9.is-live{height:calc(100vh + 613.2 * var(--vh))}
.wl9.is-live .wl9__stage{position:sticky;top:0;height:calc(100 * var(--vh));overflow:hidden;background:var(--studio)}
@supports (height:1dvh){.wl9.is-live .wl9__stage{height:100dvh}}

.wl9__gl,.wl9__fig{position:absolute;inset:0;display:block;width:100%;height:100%}
.wl9__fig{z-index:1;opacity:var(--fig)}
/* no WebGL: the same journey as plain gradients (the water before dawn, then daylight) */
.wl9.no-gl .wl9__gl{display:none}
.wl9.no-gl.is-live .wl9__stage{background:
  linear-gradient(180deg,rgba(206,219,232,calc(var(--dawn))) 0,rgba(244,236,224,calc(var(--dawn))) 62%,rgba(214,224,230,calc(var(--dawn))) 100%),
  linear-gradient(180deg,#03080F 0,#0E1B29 var(--sipy),#0C1722 var(--sipy),#02060B 100%)}

.wl9__title{position:absolute;z-index:2;left:var(--mx);top:calc(8.6 * var(--vh));font-family:var(--serif);font-weight:500;font-size:max(13px,calc(2.15 * var(--vh)));
  line-height:1.4;letter-spacing:.06em;color:var(--ivory);opacity:calc((1 - var(--nx)) * (1 - 4 * var(--dawn) * (1 - var(--dawn))))}
.wl9__title span{font-family:var(--sans);font-weight:300;font-size:max(11px,.72em);letter-spacing:.05em;color:var(--ivory-3);margin-left:.9em}
.wl9[data-tone="day"] .wl9__title{color:var(--ink)}
.wl9[data-tone="day"] .wl9__title span{color:var(--ink-3)}

/* ---- the "70%" note: a hairline from the margin to the outside of the forearm. It is a note on the muscle of the arm,
        shown once the figure is full, so it is never read as a level of the water ---- */
.wl9__num{position:absolute;z-index:2;left:var(--mx);top:var(--ay);width:calc(var(--ax) - var(--mx));height:0;opacity:var(--no);pointer-events:none}
.wl9__num::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;transform-origin:0 50%;transform:scaleX(var(--no));
  background:linear-gradient(90deg,rgba(220,195,147,.95) 0,rgba(220,195,147,.6) 100%)}
.wl9__num::after{content:"";position:absolute;right:-4px;top:-4px;width:9px;height:9px;border-radius:50%;background:#F4E2BC;
  box-shadow:0 0 0 4px rgba(244,226,188,.16),0 0 18px rgba(244,226,188,.9);opacity:calc((var(--no) - .7) * 3.4)}
.wl9__num b{position:absolute;left:-.04em;bottom:calc(1.1 * var(--vh));font-family:var(--serif);font-weight:200;font-size:calc(14.5 * var(--vh));line-height:.82;
  letter-spacing:-.035em;color:var(--gold);font-feature-settings:"lnum","tnum";white-space:nowrap}
.wl9__num b small{font-family:var(--sans);font-weight:300;font-size:.3em;letter-spacing:0;margin-left:.14em}
.wl9__num span{position:absolute;left:0;top:calc(1.8 * var(--vh));font-size:max(12px,calc(1.95 * var(--vh)));line-height:1.6;color:var(--ivory-2);white-space:nowrap}
.wl9__num span br{display:none}

/* ---- the beats ---- */
.wl9__beat{position:absolute;z-index:2;inset:0;--o:0;--d:0;opacity:var(--o);pointer-events:none}
.wl9__beat.is-on{pointer-events:auto}
.wl9__txt{position:absolute;left:var(--mx);top:calc(20 * var(--vh));width:min(48vw,44em)}
.wl9__say{font-family:var(--serif);font-weight:400;font-size:min(calc(6.2 * var(--vh)),4.5vw);line-height:1.36;letter-spacing:-.022em;
  transform:translate3d(0,calc(var(--d) * 1.4 * var(--vh)),0)}
.wl9__under{text-wrap:pretty;margin-top:calc(3.3 * var(--vh));max-width:31em;font-size:calc(2.35 * var(--vh));line-height:1.85;letter-spacing:-.005em;color:var(--ivory-2)}

/* 1, 2 — beside the figure: the words keep clear of its outermost point (--fx) */
.wl9__beat--body .wl9__txt,.wl9__beat--use .wl9__txt{width:min(48vw,44em,calc(var(--fx) - var(--mx) - 3.2vw))}
.wl9__beat--body .wl9__say,.wl9__beat--use .wl9__say{font-size:min(calc(6.2 * var(--vh)),4.5vw,calc((var(--fx) - var(--mx) - 3.2vw) / 11.3))}
.wl9__beat--body .wl9__txt{top:calc(18.5 * var(--vh))}
.wl9__beat--use .wl9__txt{top:calc(17 * var(--vh))}
.wl9__beat--use{--s1:1;--s2:1}
.wl9__beat--use .wl9__under{opacity:var(--s1)}
.wl9__pair{margin-top:calc(5.6 * var(--vh));display:grid;grid-template-columns:1fr 1fr;column-gap:2.6vw;opacity:var(--s2)}
.wl9__pair li{border-top:1px solid rgba(220,195,147,.62);padding-top:calc(2.1 * var(--vh))}
.wl9__pair b{display:block;font-family:var(--serif);font-weight:500;font-size:calc(2.95 * var(--vh));line-height:1.4;letter-spacing:-.012em}
.wl9__pair span{display:block;margin-top:calc(.9 * var(--vh));font-size:calc(2.15 * var(--vh));line-height:1.75;color:var(--ivory-2);text-wrap:balance}

/* 3 — before dawn: the five moments of a day stand on the horizon */
.wl9__beat--habit .wl9__txt{top:calc(17 * var(--vh))}
.wl9__day{position:absolute;inset:0;pointer-events:none}
.wl9__sip{position:absolute;left:calc(50% + (var(--k) - 2) * var(--sipw));top:var(--sipy);--on:0;transform:translate(-50%,-100%);
  padding-bottom:calc(3.4 * var(--vh));font-size:max(12px,calc(1.9 * var(--vh)));line-height:1.4;letter-spacing:.01em;white-space:nowrap;
  color:var(--ivory);opacity:calc(.34 + .66 * var(--on));text-shadow:0 0 14px rgba(4,12,20,.9),0 0 4px rgba(4,12,20,.7)}
.wl9__sip::after{content:"";position:absolute;left:50%;bottom:0;width:1px;height:calc(2.4 * var(--vh));min-height:12px;background:var(--gold);
  transform-origin:50% 100%;transform:scaleY(calc(.3 + .7 * var(--on)))}

/* 4 — first light */
.wl9__beat--choice .wl9__txt{left:50%;top:calc(27 * var(--vh));width:min(76vw,46em);transform:translateX(-50%);text-align:center}
.wl9__beat--choice .wl9__say{font-size:min(calc(6.8 * var(--vh)),5vw)}
.wl9__beat--choice .wl9__under{margin:calc(5.4 * var(--vh)) auto 0;padding-top:calc(3.2 * var(--vh));position:relative;font-family:var(--serif);font-weight:400;
  font-size:calc(2.9 * var(--vh));line-height:1.6;letter-spacing:-.012em;color:var(--gold)}
.wl9__beat--choice .wl9__under::before{content:"";position:absolute;left:50%;top:0;width:calc(6 * var(--vh));height:1px;margin-left:calc(-3 * var(--vh));background:var(--gold)}

/* 5 — the last beat stands in daylight */
.wl9__beat--q{color:var(--ink)}
.wl9__beat--q .wl9__txt{top:calc(15.5 * var(--vh))}
.wl9__trio{position:absolute;left:var(--mx);right:var(--mx);top:calc(41.5 * var(--vh));display:grid;grid-template-columns:repeat(3,1fr);column-gap:3.4vw}
.wl9__trio li{border-top:1px solid rgba(23,45,60,.3);padding-top:calc(2.3 * var(--vh))}
.wl9__trio b{display:block;font-family:var(--serif);font-weight:500;font-size:calc(3 * var(--vh));line-height:1.4;letter-spacing:-.012em}
.wl9__trio b[lang="en"]{letter-spacing:.01em}
.wl9__trio span{display:block;margin-top:calc(1 * var(--vh));font-size:calc(2.2 * var(--vh));line-height:1.75;color:var(--ink-2);max-width:23em}
.wl9__taste{position:absolute;left:var(--mx);top:calc(63 * var(--vh));font-family:var(--serif);font-weight:400;font-size:calc(3.1 * var(--vh));line-height:1.6;
  letter-spacing:-.012em;color:var(--ink)}
.wl9__links{position:absolute;left:var(--mx);top:calc(73.5 * var(--vh));display:flex;gap:2.6em;font-size:calc(2.05 * var(--vh))}
.wl9__links a{color:var(--ink);text-decoration:none;padding-bottom:.42em;border-bottom:1px solid var(--gold-d);font-weight:500;letter-spacing:.005em;
  transition:border-color .2s,color .2s}
.wl9__links a:hover{color:#0D1D28;border-bottom-color:var(--ink)}
.wl9__links a:focus-visible{outline:2px solid var(--ink);outline-offset:.42em}

.wl9__next{position:absolute;z-index:3;inset:0;opacity:var(--nx);pointer-events:none}
/* the same closer framing as the opening of the Collection (r9092-co.css, --kz: 0), so the hand-over cannot be seen */
.wl9__next img{display:block;width:100%;height:100%;object-fit:cover;transform-origin:0 0;transform:translate3d(-20%,-16.5%,0) scale(1.3)}

/* ---- phone and upright tablets: words above, the figure below (its crown at 42.5% of the screen) ---- */
@media (max-width:900px),(max-aspect-ratio:1/1){
  .wl9__next img{transform:translate3d(-7.5%,-11.7%,0) scale(1.15)}
  .wl9{--mx:6.4vw;--u:min(1vw,calc(.52 * var(--vh)))}
  .wl9 .m-br{display:inline}
  .wl9__title{top:calc(6.4 * var(--vh));font-size:max(13px,calc(3.7 * var(--u)))}
  .wl9__txt,.wl9__beat--body .wl9__txt,.wl9__beat--use .wl9__txt,.wl9__beat--habit .wl9__txt,.wl9__beat--q .wl9__txt{
    left:var(--mx);right:var(--mx);top:calc(13 * var(--vh));width:auto}
  .wl9__say,.wl9__beat--body .wl9__say,.wl9__beat--use .wl9__say,.wl9__beat--choice .wl9__say{font-size:calc(7.1 * var(--u));line-height:1.42}
  .wl9__under{margin-top:calc(2.2 * var(--vh));font-size:max(13px,calc(4.05 * var(--u)));line-height:1.78;max-width:none}
  /* the second beat: its sentence, then its two lines, in the same place above the figure */
  .wl9__more{display:grid}
  .wl9__more > *{grid-area:1/1}
  .wl9__pair{margin-top:calc(2.4 * var(--vh));column-gap:5vw;align-self:start}
  .wl9__pair li{padding-top:calc(1.2 * var(--vh))}
  .wl9__pair b{font-size:calc(4.7 * var(--u))}
  .wl9__pair span{margin-top:calc(.5 * var(--vh));font-size:max(12.5px,calc(3.5 * var(--u)));line-height:1.62}
  .wl9__beat--habit .wl9__txt{top:calc(19 * var(--vh))}
  .wl9__beat--choice .wl9__txt{left:var(--mx);right:var(--mx);width:auto;transform:none;top:calc(22 * var(--vh))}
  .wl9__beat--choice .wl9__under{margin-top:calc(3.6 * var(--vh));padding-top:calc(2.6 * var(--vh));font-size:calc(4.6 * var(--u))}
  .wl9__num b{font-size:calc(13.5 * var(--u));bottom:calc(.8 * var(--vh))}
  .wl9__num span{top:calc(1.3 * var(--vh));font-size:max(11.5px,calc(3.2 * var(--u)));line-height:1.5}
  .wl9__num span br{display:inline}
  .wl9__sip{font-size:max(11.5px,calc(3.1 * var(--u)));padding-bottom:calc(2.6 * var(--vh))}
  .wl9__sip::after{height:calc(1.8 * var(--vh))}
  .wl9__trio{grid-template-columns:1fr;row-gap:calc(1.9 * var(--vh));top:calc(31.5 * var(--vh))}
  .wl9__trio li{padding-top:calc(1.4 * var(--vh))}
  .wl9__trio b{font-size:calc(4.7 * var(--u))}
  .wl9__trio span{margin-top:calc(.4 * var(--vh));font-size:max(12.5px,calc(3.9 * var(--u)));line-height:1.65;max-width:none}
  .wl9__taste{top:calc(68 * var(--vh));font-size:calc(4.9 * var(--u));line-height:1.55}
  .wl9__links{top:calc(81 * var(--vh));font-size:max(13px,calc(4.05 * var(--u)));gap:2em}
}

/* the smallest phones: the two lines of the second beat stay clear of the figure's head */
@media (max-width:340px){
  .wl9__beat--use .wl9__txt{top:calc(11.6 * var(--vh))}
  .wl9__pair{margin-top:calc(1.8 * var(--vh));column-gap:4vw}
  .wl9__pair span{font-size:12px;line-height:1.55}
}

@media (prefers-reduced-motion:reduce){
  .wl9__say{transform:none}
  .wl9__num::before{transform:none}
  .wl9__sip::after{transform:none}
}
