/* O. Koi! FULL-LENGTH pond background (bg-full-*.html only; separate copy, demo pages never load this). Original ink-wash art, drawn in code (pond-art/ink.py).
   Sits under everything; never behind the hero copy or the koi swim path; static under reduced motion. */
html{background:#0E0E0E}
body{position:relative;isolation:isolate}
.pond-page{position:absolute;left:0;top:0;width:100%;pointer-events:none;z-index:-1;overflow:hidden}
.pond-hero{position:absolute;inset:0;z-index:-2;pointer-events:none;overflow:hidden;
  -webkit-mask-image:radial-gradient(ellipse var(--rx,600px) var(--ry,250px) at 50% 50%,transparent 0,transparent 80%,rgba(0,0,0,.3) 94%,rgba(0,0,0,.3) 106%,#000 124%);
          mask-image:radial-gradient(ellipse var(--rx,600px) var(--ry,250px) at 50% 50%,transparent 0,transparent 80%,rgba(0,0,0,.3) 94%,rgba(0,0,0,.3) 106%,#000 124%)}
.pond-rip{position:absolute;inset:0;width:100%;height:100%;z-index:-2;pointer-events:none}
.pond-o{opacity:var(--po,.6)}
.pond-page .pond-o{opacity:var(--pp,.38)}
.pc{position:absolute;width:0;height:0}
.pc .py{position:absolute;left:0;top:0;transform:translate3d(0,var(--py,0px),0);will-change:transform}
.pc img{position:absolute;display:block;max-width:none;user-select:none}
.pc .psw{position:absolute;transform-origin:50% 100%;animation:pond-sway var(--d,11s) ease-in-out var(--dl,0s) infinite alternate}
.pc .hd{position:absolute;transform-origin:50% 78%;animation:pond-nod var(--d2,7s) ease-in-out var(--dl2,0s) infinite alternate}
.pc .bob{animation:pond-bob var(--d,13s) ease-in-out var(--dl,0s) infinite alternate}
.pc .mist{animation:pond-mist var(--d,26s) ease-in-out var(--dl,0s) infinite alternate}
.pc .bob,.pc .mist{position:absolute}
.pw{position:absolute;left:0;right:0;overflow:hidden}
.pw .tile{position:absolute;left:0;top:0;height:100%;width:calc(100% + var(--tw,1400px));background-repeat:repeat-x;background-size:var(--tw,1400px) 100%;
  animation:pond-drift var(--d,120s) linear infinite;will-change:transform}
.pw .tile.b{opacity:.55;animation-duration:var(--d2,190s);animation-direction:reverse;top:18px}
@keyframes pond-sway{0%{transform:rotate(-1.3deg)}55%{transform:rotate(.6deg)}100%{transform:rotate(1.5deg)}}
@keyframes pond-nod{0%{transform:rotate(-2.2deg) translateY(1px)}100%{transform:rotate(1.8deg) translateY(-2px)}}
@keyframes pond-bob{0%{transform:translate(0,0) rotate(-.6deg)}50%{transform:translate(3px,-2px) rotate(.2deg)}100%{transform:translate(-2px,1px) rotate(.7deg)}}
@keyframes pond-mist{0%{transform:translate(-14px,4px) scale(1);opacity:.55}50%{opacity:1}100%{transform:translate(22px,-8px) scale(1.04);opacity:.7}}
@keyframes pond-drift{from{transform:translate3d(0,0,0)}to{transform:translate3d(-1400px,0,0)}}
@media (prefers-reduced-motion:reduce){.pc .psw,.pc .hd,.pc .bob,.pc .mist,.pw .tile{animation:none!important}.pond-rip{display:none}}
/* option strip under the DEMO banner */
.bgopt{background:#141413;border-bottom:1px solid #2A2826;color:#CFCAC1;font:500 12px/1.4 Jost,sans-serif;letter-spacing:.04em;padding:8px 16px;display:flex;gap:6px 14px;flex-wrap:wrap;justify-content:center;align-items:center}
.bgopt a{color:#CFCAC1;text-decoration:underline;text-underline-offset:3px}
.bgopt a[aria-current]{color:#F2EEE6;text-decoration:none;border-bottom:1px solid #F2EEE6}
.bgopt b{color:#F2EEE6;font-weight:600}
.pc .psw,.pc .hd,.pc .bob,.pc .mist,.pw .tile{animation-play-state:var(--pond-play,running)}
.pc.off .psw,.pc.off .hd,.pc.off .bob,.pc.off .mist,.pw.off .tile{animation-play-state:paused}
.pc .sen{display:block;pointer-events:none}
/* full-length water: one fixed viewport-sized layer under all content */
.pond-water{position:fixed;inset:0;z-index:-2;pointer-events:none;overflow:hidden;opacity:var(--ww,.5)}
.pond-water .tile{position:absolute;left:0;top:0;height:100%;width:calc(100% + 1400px);background-repeat:repeat;background-size:1400px 520px;animation:pond-drift var(--d,130s) linear infinite;will-change:transform;animation-play-state:var(--pond-play,running)}
.pond-water .tile.b{opacity:.5;top:-200px;height:calc(100% + 200px);animation-duration:var(--d2,200s);animation-direction:reverse}
.pond-wake{display:block}
@media (prefers-reduced-motion:reduce){.pond-water .tile{animation:none!important}.pond-wake{display:none}}
/* option 1: ornamental gold */
.opan{position:absolute;pointer-events:none}
.opan .py{transform:translate3d(0,var(--py,0px),0)}
.opan img{position:absolute;display:block;max-width:none;user-select:none}
.opan .osw{transform-origin:50% 100%;animation:orn-sway var(--d,14s) ease-in-out var(--dl,0s) infinite alternate}
.opan .owt,.opan .obr,.opan .mist{position:absolute}
.opan .owt{transform-origin:50% 60%}
.opan .obr{animation:orn-breathe var(--d,8s) ease-in-out var(--dl,0s) infinite alternate}
.opan .oroll{transform-origin:60% 55%;animation:orn-roll var(--d,16s) ease-in-out var(--dl,0s) infinite alternate}
.opan .oflow{animation:orn-flow var(--d,11s) ease-in-out var(--dl,0s) infinite alternate}
.opan.off .osw,.opan.off .obr,.opan.off .oroll,.opan.off .oflow,.opan.off .mist{animation-play-state:paused}
@keyframes orn-sway{0%{transform:rotate(-.45deg)}60%{transform:rotate(.2deg)}100%{transform:rotate(.5deg)}}
@keyframes orn-breathe{0%{transform:scale(.985) rotate(-.6deg)}100%{transform:scale(1.025) rotate(.6deg)}}
@keyframes orn-roll{0%{transform:translateX(-10px) rotate(-1.4deg) scale(.99)}100%{transform:translateX(14px) rotate(1.6deg) scale(1.015)}}
@keyframes orn-flow{0%{transform:translateX(-26px) scaleY(.94)}50%{transform:translateX(0) scaleY(1.06)}100%{transform:translateX(24px) scaleY(.97)}}
.pond-tex{position:fixed;inset:0;z-index:-2;pointer-events:none;background:repeating-linear-gradient(0deg,rgba(226,198,142,.022) 0 1px,transparent 1px 3px)}
.pond-tex.in{position:absolute}
.orn-hero{-webkit-mask-image:radial-gradient(ellipse var(--rx,600px) var(--ry,250px) at 50% 50%,transparent 0,transparent 78%,#000 100%);mask-image:radial-gradient(ellipse var(--rx,600px) var(--ry,250px) at 50% 50%,transparent 0,transparent 78%,#000 100%)}
@media (prefers-reduced-motion:reduce){.opan .osw,.opan .obr,.opan .oroll,.opan .oflow,.opan .mist{animation:none!important}}
.opan.lite .obr,.opan.lite .oroll,.opan.lite .oflow{animation:none}
/* whole-page art (options 1 and 4): soft local ink haze behind text instead of keeping the art away from it */
html.pond-haze main :is(h1,h2,h3,h4,p,li,dt,dd,small,label,figcaption,.eyebrow,.price,.meta,blockquote,cite,span):not(.btn):not(.btn *):not(.pill):not(.pill *),
html.pond-haze footer :is(h2,h3,h4,p,li,a,small,span,label,div):not(.btn):not(.btn *),
html.pond-haze .crumbs a,html.pond-haze .crumbs{text-shadow:0 0 6px rgba(10,10,10,.95),0 0 14px rgba(10,10,10,.9),0 0 26px rgba(10,10,10,.75)}
html.pond-haze .vhero.brandk .copy h1,html.pond-haze .vhero.brandk .copy .sub{text-shadow:0 0 10px rgba(10,10,10,.95),0 0 26px rgba(10,10,10,.85),0 0 48px rgba(10,10,10,.7)}
.orn-full{-webkit-mask-image:none;mask-image:none}
/* option 4: Australia */
.aus-map{position:absolute;pointer-events:none;transform-origin:50% 45%;animation:aus-breathe 11s ease-in-out infinite alternate}
.aus-map img{position:absolute;display:block;max-width:none}
.aus-f{animation:aus-billow 9s ease-in-out infinite}
.aus-f2{animation-delay:-3s}.aus-f3{animation-delay:-6s}
@keyframes aus-billow{0%,100%{opacity:.15}33%{opacity:1}66%{opacity:.35}}
@keyframes aus-breathe{0%{transform:scale(.995) rotate(-.25deg)}100%{transform:scale(1.012) rotate(.25deg)}}
.pond-hero.off .aus-map,.pond-hero.off .aus-f{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){.aus-map,.aus-f{animation:none!important}.aus-f2,.aus-f3{opacity:.4}}
/* footer credit line: denser local ink haze */
html.pond-haze footer .legal span{text-shadow:0 0 3px rgba(10,10,10,1),0 0 8px rgba(10,10,10,1),0 0 16px rgba(10,10,10,.95),0 0 28px rgba(10,10,10,.85)!important}
html.pond-haze footer .legal{position:relative;isolation:isolate}
html.pond-haze footer .legal::before{content:"";position:absolute;inset:-24px 0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 70% 75% at 50% 50%,rgba(10,10,10,.85),rgba(10,10,10,.55) 55%,rgba(10,10,10,0) 100%);filter:blur(6px)}
/* option 5: Australia layer sits beside the masked lotus row so the clear ellipse around the words doesn't hide it */
.pond-aus{position:absolute;inset:0;z-index:-2;pointer-events:none;overflow:hidden}
.pond-aus.off .aus-map,.pond-aus.off .aus-f,.pond-aus.off .mist{animation-play-state:paused}
html.aus .vhero.brandk .copy .choice a:not(:first-child){background:rgba(10,10,10,.72)}
/* review names / quotes weren't covered by the haze list */
html.pond-haze main :is(.who,q){text-shadow:0 0 4px rgba(10,10,10,.9),0 0 6px rgba(10,10,10,.95),0 0 14px rgba(10,10,10,.9),0 0 26px rgba(10,10,10,.75)}
/* options 4/5: no letter edges. Legibility = a very soft, wide, low-opacity radial ink haze behind the whole word block
   + the coast's glow gently feathered down only where it passes behind the words (see ausBuild) */
.aus-tx{position:absolute;pointer-events:none;border-radius:50%;background:radial-gradient(closest-side,rgba(10,10,10,.55),rgba(10,10,10,.38) 45%,rgba(10,10,10,.14) 75%,rgba(10,10,10,0));filter:blur(10px)}
/* Sam 9:32pm: Australia in the same weight as the lotus/water line art (not a neon outline): lower opacity, gentle billow */
.aus-map>.aus-f{animation-name:aus-billow-soft}
@keyframes aus-billow-soft{0%,100%{opacity:.8}33%{opacity:1}66%{opacity:.88}}
.aus-map>img:first-child{opacity:.55!important}
.pond-hero .aus-map,.pond-aus .aus-map{opacity:var(--aus-o,.5)}
@media (prefers-reduced-motion:reduce){.aus-map>.aus-f{animation:none!important;opacity:.9}}

/* Australia brightness matched to the lotus/water line art (measured: coast p99 luminance = art p99 at this opacity).
   Variant b ("5% more", Sam 9:32pm): coast ~5% brighter (sRGB) than the art for slight separation. */
html.aus{--aus-o:.34}
html.aus.aus-b{--aus-o:.357}
@media (max-width:600px){html.aus{--aus-o:.30}html.aus.aus-b{--aus-o:.317}}
/* option 5's lotus runs a little brighter (po .62), so its Australia is matched a touch higher */
html.aus.aus-frame{--aus-o:.365}
html.aus.aus-frame.aus-b{--aus-o:.385}
@media (max-width:600px){html.aus.aus-frame{--aus-o:.335}html.aus.aus-frame.aus-b{--aus-o:.36}}
/* Sam 9:52pm "A and k faded": Bodoni Moda's optical-size axis picks its display cut at this size, whose hairlines
   (left leg of A, arms of k) render near-invisible at phone sizes over the art. Use a sturdier optical size + the loaded 500 weight. */
html.orn .vhero.brandk .copy h1,html.orn .vhero.brandk .copy h1 *{font-optical-sizing:none;font-variation-settings:'opsz' 18;font-weight:500;opacity:1;-webkit-text-fill-color:currentColor}

/* Calmer desktop art (Sam 25 Nov 10:46pm). Phones show the lotus with only a slow sway; desktop panels are drawn ~2x
   larger, so the same keyframes moved ~2x more pixels, and breathe/roll/flow ran on every panel. Desktop now uses
   smaller amplitudes and slower cycles so it reads like the phone. All motion is CSS time, so refresh rate doesn't matter. */
@media (min-width:600px){
  .opan .osw{animation-name:orn-sway-d;animation-duration:calc(var(--d,14s)*1.35)}
  .opan .obr{animation-name:orn-breathe-d;animation-duration:calc(var(--d,8s)*1.6)}
  .opan .oroll{animation-name:orn-roll-d;animation-duration:calc(var(--d,16s)*1.5)}
  .opan .oflow{animation-name:orn-flow-d;animation-duration:calc(var(--d,11s)*1.7)}
  .opan .mist{animation-duration:calc(var(--d,26s)*1.4)}
  .aus-map{animation-name:aus-breathe-d;animation-duration:16s}
}
@keyframes orn-sway-d{0%{transform:rotate(-.2deg)}60%{transform:rotate(.08deg)}100%{transform:rotate(.22deg)}}
@keyframes orn-breathe-d{0%{transform:scale(.996) rotate(-.22deg)}100%{transform:scale(1.008) rotate(.22deg)}}
@keyframes orn-roll-d{0%{transform:translateX(-4px) rotate(-.5deg) scale(.998)}100%{transform:translateX(5px) rotate(.55deg) scale(1.004)}}
@keyframes orn-flow-d{0%{transform:translateX(-9px) scaleY(.985)}50%{transform:translateX(0) scaleY(1.02)}100%{transform:translateX(8px) scaleY(.99)}}
@keyframes aus-breathe-d{0%{transform:scale(.998) rotate(-.1deg)}100%{transform:scale(1.005) rotate(.1deg)}}
@media (prefers-reduced-motion:reduce){.opan .osw,.opan .obr,.opan .oroll,.opan .oflow,.opan .mist,.aus-map{animation:none!important}}

/* Watery motion (Sam 27 Nov: hero background "a little jolty ... doesn't really move in a water fashion").
   Causes: multi-stop keyframes (sway 0/60/100, flow 0/50/100, Australia billow 0/33/66/100, mist 0/50/100) that each
   ease to a dead stop mid-swing (stop-start), every layer a single rigid pendulum on one transform, and Australia's three
   smoke frames on one shared 9 s cycle. Now every layer is a two-stop sine ease (velocity only reaches zero at the
   turnaround), and each element runs separate translate / rotate / scale animations on incommensurate periods, so
   the motion wanders like water instead of ticking. Individual transform properties stay GPU-composited. */
@media (prefers-reduced-motion:no-preference){
  /* Sam 27 Nov 6:18pm: half speed. Every duration below is doubled (was *1.35 -> *2.7 etc., Australia smoke 9.4/12.1/15.7 s -> 18.8/24.2/31.4 s) */
  /* literal keyframe values (no var() inside keyframes) so every track runs on the compositor */
  /* Sam 29 Nov 4:31pm "even on phone there is no sway": phones only run this sway (panels are pre-flattened, so no curls/water-line tracks);
     ±.75deg over ~36 s was ~0.3 px/s. Now ±2.4deg over ~9 s plus a slow drift on a second, incommensurate period. */
  .opan .osw{animation:wm-sway calc(var(--d,14s)*.7) cubic-bezier(.37,0,.63,1) var(--dl,0s) infinite alternate,wm-drift calc(var(--d,14s)*.53) cubic-bezier(.37,0,.63,1) calc(var(--dl,0s) - 2.3s) infinite alternate}
  .opan .mist{animation:w-mist-move 76s cubic-bezier(.37,0,.63,1) var(--dl,0s) infinite alternate,w-mist-fade 46s cubic-bezier(.37,0,.63,1) calc(var(--dl,0s) - 7s) infinite alternate}
  .aus-map{animation:wm-aus-s 32s cubic-bezier(.37,0,.63,1) infinite alternate,wm-aus-r 46s cubic-bezier(.37,0,.63,1) -6s infinite alternate}
  .aus-map>.aus-f{animation:w-billow 18.8s cubic-bezier(.37,0,.63,1) infinite alternate}
  .aus-map>.aus-f2{animation-duration:24.2s;animation-delay:-4.3s}
  .aus-map>.aus-f3{animation-duration:31.4s;animation-delay:-9.1s}
  @media (min-width:600px){
    /* Sam 29 Nov 4:26pm "background sway on desktop is still very slow, double the speed": every desktop sway duration halved
       (osw *2.7 -> *1.35, obr *3.2/*4.54 -> *1.6/*2.27, oroll *3/*2.26/*1.66 -> *1.5/*1.13/*.83, oflow *3.4/*2.38 -> *1.7/*1.19).
       Amplitudes unchanged; mobile (<600px), mist, Australia map, water drift, fish and ripples unchanged.
       Sam 29 Nov 4:29pm "still looks like they're not moving": ~1 px/s on thin gold lines at 62% layer opacity was below what
       the eye notices. Desktop (wd-*) amplitudes ~3x and durations ~1.8x shorter so a lotus panel top travels ~58 px every ~10 s. */
    .opan .osw{animation-name:wd-sway;animation-duration:calc(var(--d,14s)*.75)}
    .opan .obr{animation:wd-breathe calc(var(--d,8s)*.9) cubic-bezier(.37,0,.63,1) var(--dl,0s) infinite alternate,wd-nod calc(var(--d,8s)*1.25) cubic-bezier(.37,0,.63,1) calc(var(--dl,0s)*3.4) infinite alternate}
    .opan .oroll{will-change:transform;animation:wd-roll-t calc(var(--d,16s)*.85) cubic-bezier(.37,0,.63,1) var(--dl,0s) infinite alternate,wd-roll-r calc(var(--d,16s)*.7) cubic-bezier(.37,0,.63,1) calc(var(--dl,0s) - 3.1s) infinite alternate,wd-roll-s calc(var(--d,16s)*.55) cubic-bezier(.37,0,.63,1) calc(var(--dl,0s) - 5.3s) infinite alternate}
    .opan .oflow{will-change:transform;animation:wd-flow-t calc(var(--d,11s)*.9) cubic-bezier(.37,0,.63,1) var(--dl,0s) infinite alternate,wd-flow-s calc(var(--d,11s)*.65) cubic-bezier(.37,0,.63,1) calc(var(--dl,0s) - 2.7s) infinite alternate}
    .aus-map{animation-name:wd-aus-s,wd-aus-r}
  }
  .opan.lite .obr,.opan.lite .oroll,.opan.lite .oflow{animation:none}
}
/* Sam 27 Nov 8:35pm "the background of the hero shot is not swaying" (desktop): the 10:46pm calm-down cut the desktop
   amplitudes to about a third, then the 6:18pm half-speed doubled every duration, so a lotus panel moved ~0.3 px/s and read as
   frozen. Amplitudes are back to about the original swing; the doubled (half-speed) durations stay, so it is a slow, visible sway. */
@keyframes wm-sway{from{rotate:-2.4deg}to{rotate:2.4deg}}
@keyframes wm-drift{from{translate:-12px 3px}to{translate:12px -5px}}
@keyframes wd-sway{from{rotate:-2.2deg}to{rotate:2.2deg}}
@keyframes wd-breathe{from{scale:.96}to{scale:1.04}}
@keyframes wd-nod{from{rotate:-3deg}to{rotate:3deg}}
@keyframes wd-roll-t{from{translate:-28px 6px}to{translate:28px -9px}}
@keyframes wd-roll-r{from{rotate:-3.5deg}to{rotate:3.5deg}}
@keyframes wd-roll-s{from{scale:.97}to{scale:1.03}}
@keyframes wd-flow-t{from{translate:-45px 3px}to{translate:45px -5px}}
@keyframes wd-flow-s{from{scale:1 .9}to{scale:1 1.1}}
@keyframes wm-aus-s{from{scale:.99}to{scale:1.01}}
@keyframes wm-aus-r{from{rotate:-.22deg}to{rotate:.22deg}}
@keyframes wd-aus-s{from{scale:.994}to{scale:1.006}}
@keyframes wd-aus-r{from{rotate:-.12deg}to{rotate:.12deg}}
@keyframes w-mist-move{from{translate:-16px 5px;scale:1}to{translate:20px -7px;scale:1.035}}
@keyframes w-mist-fade{from{opacity:.6}to{opacity:1}}
@keyframes w-billow{from{opacity:.8}to{opacity:1}}
/* In-app browser toolbar show/hide must not resize the fixed water layer (Sam 29 Nov 6:16pm loop glitch) */
.pond-water{bottom:auto;height:calc(var(--app-h,100vh) + 160px)}
