/* HueWeddings experience layer (owner's choice from the options preview, 2026-11-12).
   html.ux-1  one continuous film   (pages and photos flow into each other)
   html.ux-2  the scroll story      (the page unfolds as you scroll)
   html.ux-3  touch and feel        (everything answers your hand)
   The classes are set in the page head, never under "reduce motion" or in the Studio's edit mode.
   html.ux-js is set by experience.js: anything hidden until that script shows it waits for it, so
   the page is whole even if the script never arrives. Overlay text and the cinematic gradients
   are not touched. The owner chose all three layers, without the cursor circles over photos. */

:root{--ux-spring:cubic-bezier(.3,1.5,.5,1)}

/* ================================================================== */
/* LAYER 1:  one continuous film                                       */
/* ================================================================== */
html.ux-1 .page.on{animation:none}
html.ux-1.ux-vt header.site{view-transition-name:hue-header}
html.ux-1.ux-vt .tabbar{view-transition-name:hue-tabs}
html.ux-1.ux-vt #tintBot .tb-launch{view-transition-name:hue-tint}
html.ux-1.ux-vt #tbInvite{view-transition-name:hue-tint-tag}
html.ux-1::view-transition-old(root){animation:uxOut .34s ease both}
html.ux-1::view-transition-new(root){animation:uxIn .7s cubic-bezier(.2,.7,.2,1) both}
@keyframes uxOut{to{opacity:0}}
@keyframes uxIn{from{opacity:0;transform:translateY(18px)}}
/* the photo you touched travels to its place on the next page */
html.ux-1 .ux-vtp{view-transition-name:hue-photo}
html.ux-1::view-transition-group(hue-photo){animation-duration:.8s;animation-timing-function:cubic-bezier(.6,0,.2,1)}
html.ux-1::view-transition-old(hue-photo),html.ux-1::view-transition-new(hue-photo){width:100%;height:100%;object-fit:cover;border-radius:4px;overflow:clip}
html.ux-1::view-transition-old(hue-photo){animation-duration:.45s}
html.ux-1::view-transition-new(hue-photo){animation-duration:.45s}
/* photos arrive softly instead of popping in */
html.ux-1 .page .ph.has-img:not(.ux-keep) > img{transition:opacity .8s ease,transform 2s var(--ease) var(--d,0ms)}
@media (hover:hover) and (pointer:fine){html.ux-1.ux-js .page .ph.has-img:not(.ux-keep) > img:not(.ux-loaded){opacity:0}}
html.ux-1 .pf img{transition:opacity .8s ease}
@media (hover:hover) and (pointer:fine){html.ux-1.ux-js .pf img:not(.ux-loaded){opacity:0}}
/* the photo viewer opens from the photo itself */
html.ux-1 .lightbox.open img.lbi.ux-now{transition:none;transform:none;opacity:1;will-change:transform}

/* ================================================================== */
/* LAYER 2:  the scroll story                                          */
/* ================================================================== */
/* headings rise word by word from behind a line */
html.ux-2 .ux-w{display:inline-block;overflow:hidden;vertical-align:bottom;padding:.12em 0 .2em;margin:-.12em 0 -.2em}
html.ux-2 .ux-wi{display:inline-block;transform:translateY(112%);transition:transform 1.05s var(--ease) calc(var(--d,0ms) + var(--i,0) * 55ms)}
html.ux-2 .rv.in .ux-wi,html.ux-2 .ux-shown .ux-wi{transform:none}
html.ux-2 :is(h1,h2).rv.ux-split{opacity:1;transform:none}
/* the six promises: hairlines draw, numbers count */
html.ux-2 .promise.rv{border-top-color:transparent;position:relative}
html.ux-2 .promise.rv::before{content:"";position:absolute;left:0;right:0;top:-1px;height:1px;background:var(--line);transform:scaleX(0);transform-origin:left center;transition:transform 1.4s var(--ease-io) var(--d,0ms)}
html.ux-2 .promise.rv::after{content:"";position:absolute;left:0;top:-1px;height:1px;width:44px;background:var(--champ);transform:scaleX(0);transform-origin:left center;transition:transform .9s var(--ease) calc(var(--d,0ms) + .5s)}
html.ux-2 .promise.rv.in::before,html.ux-2 .promise.rv.in::after{transform:none}
html.ux-2 .promise.rv .big.ux-word{letter-spacing:.22em;opacity:0;transition:letter-spacing 1.5s var(--ease) calc(var(--d,0ms) + .15s),opacity 1.1s ease calc(var(--d,0ms) + .15s)}
html.ux-2 .promise.rv.in .big.ux-word{letter-spacing:0;opacity:1}
/* photographs have depth: the picture drifts a little inside its frame */
@supports (animation-timeline: view()){
  html.ux-2 .ph.ux-par > img{scale:1.09;animation:uxPar linear both;animation-timeline:view();animation-range:entry 0% exit 100%}
}
@keyframes uxPar{from{translate:0 -3.6%}to{translate:0 3.6%}}
/* the page colour breathes from one section to the next instead of changing in stripes */
html.ux-2.ux-js .page section.tint{background:transparent}
.ux-wash{display:none}
html.ux-2 .ux-wash{display:block;position:fixed;inset:0;z-index:-1;pointer-events:none}
html.ux-2 .ux-wash i{position:absolute;inset:0;opacity:0;transition:opacity 1.5s ease;will-change:opacity}
html.ux-2 .ux-wash i:nth-child(1){background:color-mix(in srgb,var(--bg2) 78%,var(--blush))}
html.ux-2 .ux-wash i:nth-child(2){background:color-mix(in srgb,var(--bg2) 72%,var(--sage))}
html.ux-2 .ux-wash i:nth-child(3){background:color-mix(in srgb,var(--bg2) 72%,var(--lilac))}
html.ux-2 .ux-wash[data-w="0"] i:nth-child(1),html.ux-2 .ux-wash[data-w="1"] i:nth-child(2),html.ux-2 .ux-wash[data-w="2"] i:nth-child(3){opacity:1}
/* a thin thread of hue shows how far you have read. html.ux-t: touch screens whose browser draws it
   itself from its own scroll position (no script runs); older phones do not get the thread. */
.ux-thread{display:none}
html:is(.ux-2,.ux-t) .ux-thread{display:block;position:fixed;left:0;right:0;top:0;height:3px;z-index:70;pointer-events:none;transform-origin:left center;transform:scaleX(0);background:linear-gradient(90deg,#DDB9B2,#A9BDA6 36%,#B5ABCF 68%,#A88E66)}
@supports (animation-timeline: scroll()){html:is(.ux-2,.ux-t) .ux-thread{animation:uxThread linear both;animation-timeline:scroll(root)}}
@keyframes uxThread{from{transform:scaleX(0)}to{transform:scaleX(1)}}
/* the approach points arrive one after another, each line drawing down */
html.ux-2.ux-js .approach-points li{border-left-color:transparent;position:relative;opacity:0;translate:-12px 0;transition:opacity .9s ease,translate 1s var(--ease)}
html.ux-2.ux-js .approach-points li::before{content:"";position:absolute;left:-1px;top:0;bottom:0;width:1px;background:var(--champ2);transform:scaleY(0);transform-origin:center top;transition:transform 1.1s var(--ease-io)}
html.ux-2.ux-js .approach-points.ux-in li{opacity:1;translate:0 0}
html.ux-2.ux-js .approach-points.ux-in li::before{transform:none}
html.ux-2.ux-js .approach-points.ux-in li:nth-child(2),html.ux-2.ux-js .approach-points.ux-in li:nth-child(2)::before{transition-delay:.28s}
html.ux-2.ux-js .approach-points.ux-in li:nth-child(3),html.ux-2.ux-js .approach-points.ux-in li:nth-child(3)::before{transition-delay:.56s}
/* the Hue card: its five colours rise like a swatch book opening */
html.ux-2 .huecard.rv .bands div{transform:scaleY(0);transform-origin:center bottom;transition:transform 1.1s var(--ease) calc(var(--d,0ms) + .35s)}
html.ux-2 .huecard.rv .bands div:nth-child(2){transition-delay:calc(var(--d,0ms) + .46s)}
html.ux-2 .huecard.rv .bands div:nth-child(3){transition-delay:calc(var(--d,0ms) + .57s)}
html.ux-2 .huecard.rv .bands div:nth-child(4){transition-delay:calc(var(--d,0ms) + .68s)}
html.ux-2 .huecard.rv .bands div:nth-child(5){transition-delay:calc(var(--d,0ms) + .79s)}
html.ux-2 .huecard.rv.in .bands div{transform:none}

/* ================================================================== */
/* LAYER 3:  touch and feel                                            */
/* ================================================================== */
/* everything you can press gives a little under your finger, then springs back */
html.ux-3 .btn{transition:background .2s,color .35s var(--ease),border-color .3s,scale .5s var(--ux-spring),translate .6s var(--ease)}
html.ux-3 .btn.ux-press{scale:.955;transition-duration:.2s,.35s,.3s,.12s,.6s}
html.ux-3 :is(.chip,.iconbtn,.tabbar a,.tabbar button,.quiz .opt){transition:background .3s,color .3s,border-color .3s,transform .3s var(--ease),scale .5s var(--ux-spring)}
html.ux-3 :is(.chip,.iconbtn,.tabbar a,.tabbar button,.quiz .opt).ux-press{scale:.93;transition-duration:.3s,.3s,.3s,.3s,.12s}
html.ux-3 .story-card .ph{transition:scale .6s var(--ux-spring)}
html.ux-3 .story-card.ux-press .ph{scale:.975;transition-duration:.15s}
html.ux-3 .pf img{transition:opacity .8s ease,scale .9s var(--ease)}
html.ux-3 .pf.ux-press img{scale:.97;transition-duration:.8s,.15s}
@media (hover:hover) and (pointer:fine){
  html.ux-3 .btn:active{scale:.955}
  html.ux-3 :is(.chip,.iconbtn,.quiz .opt):active{scale:.93}
  html.ux-3 .story-card:active .ph{scale:.975}
  html.ux-3 .pf:active img{scale:.97}
  /* buttons fill from wherever the cursor arrives */
  html.ux-3 .btn:not(.soft):not([disabled]):not(.sticky-cta){position:relative;overflow:hidden;isolation:isolate}
  html.ux-3 .btn:not(.soft):not([disabled]):not(.sticky-cta)::before{content:"";position:absolute;left:var(--bx,50%);top:var(--by,100%);width:240%;aspect-ratio:1;border-radius:50%;translate:-50% -50%;scale:0;background:var(--bg);transition:scale .65s var(--ease);z-index:-1;pointer-events:none}
  html.ux-3 .btn:not(.soft):not([disabled]):not(.sticky-cta):hover{background:var(--ink);color:var(--ink)}
  html.ux-3 .btn:not(.soft):not([disabled]):not(.sticky-cta):hover::before{scale:1}
  html.ux-3 .btn.ghost:not(.soft):not([disabled])::before{background:var(--ink)}
  html.ux-3 .btn.ghost:not(.soft):not([disabled]):hover{background:transparent;color:var(--bg)}
  /* photos lean in when you look at them */
  html.ux-3 .story-card .ph > img{transition:scale 1.6s var(--ease),transform 2s var(--ease)}
  html.ux-3 .story-card:hover .ph > img{scale:1.05}
  html.ux-3 .story-card h3{text-decoration:underline;text-decoration-color:transparent;text-decoration-thickness:1px;text-underline-offset:6px;transition:color .2s,text-decoration-color .5s ease}
  html.ux-3 .story-card:hover h3{text-decoration-color:var(--champ)}
  html.ux-3 .pf:hover img{scale:1.035;opacity:1}
  html.ux-3 .link{transition:text-underline-offset .35s var(--ease),text-decoration-color .35s}
  html.ux-3 .link:hover{text-underline-offset:7px;text-decoration-color:var(--ink)}
}
/* the menu line glides between items and rests under the page you are on */
html.ux-3 nav.main{position:relative}
html.ux-3.ux-js nav.main a,html.ux-3.ux-js nav.main a:hover,html.ux-3.ux-js nav.main a.on{border-bottom-color:transparent}
.ux-navline{display:none}
html.ux-3 .ux-navline{display:block;position:absolute;left:0;bottom:0;height:1px;width:1px;background:var(--champ);transform-origin:left center;opacity:0;pointer-events:none;transition:transform .55s var(--ease),opacity .3s}
/* answers open and close like a page turning, not a switch */
html.ux-3 details.qa > div{animation:none;overflow:hidden}
html.ux-3 details.qa summary::after{transition:transform .5s var(--ease)}
html.ux-3 details.qa[open]:not(.ux-closing) summary::after{transform:rotate(180deg)}
html.ux-3 details.qa.ux-closing summary::after{content:"+";transform:none}
html.ux-3 details.qa summary{transition:color .3s}
html.ux-3 details.qa summary:hover{color:var(--champ2)}
/* form fields light up gently when you are in them */
html.ux-3 label.f{transition:color .3s}
html.ux-3 label.f:focus-within{color:var(--champ2)}
html.ux-3 label.f :is(input,select,textarea){transition:border-color .3s,box-shadow .45s var(--ease)}
html.ux-3 label.f :is(input,select,textarea):focus{border-color:var(--champ);box-shadow:0 0 0 4px color-mix(in srgb,var(--champ) 20%,transparent)}
/* day and evening change from the button outwards */
html.ux-theme-vt::view-transition-old(root),html.ux-theme-vt::view-transition-new(root){animation:none;mix-blend-mode:normal}
html.ux-theme-vt :is(header.site,.tabbar,#tintBot .tb-launch,#tbInvite){view-transition-name:none}
/* the photo viewer follows your finger */
html.ux-3 .lightbox .lbi{touch-action:none}
