/* v1.8.0 — intro film, engagement photographs and scroll-driven sections.
   Everything here is progressive: without JavaScript, or with reduced motion,
   every photograph and line of copy is simply visible and static. */
:root{--ak-header-h:76px;--ak-sy:0;--ak-cream:#fbfaf6;--ak-deep:#173329;--ak-gold:#d3c0a3;--ak-ease:cubic-bezier(.2,.7,.2,1);--ak-curtain:cubic-bezier(.76,0,.24,1)}
/* position:sticky needs a non-scrolling ancestor; clip keeps the horizontal guard. */
.ak-home{overflow:visible;overflow-x:clip}

/* ---------- Intro film ---------- */
.ak-intro{display:none}
html.ak-intro-lock,html.ak-intro-lock body{overflow:hidden}
html.ak-intro-on .ak-intro{display:block;position:fixed;inset:0;z-index:99990;background:var(--ak-cream);overflow:hidden;clip-path:inset(0 0 0 0);transition:clip-path 1.15s var(--ak-curtain)}
html.ak-intro-on .ak-intro.is-leaving{clip-path:inset(0 0 100% 0);pointer-events:none}
.ak-intro__video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:var(--ak-cream);opacity:0;transition:opacity .7s ease}
.ak-intro.is-playing .ak-intro__video{opacity:1}
@media (min-aspect-ratio:8/5) and (max-aspect-ratio:2/1){.ak-intro:not(.ak-intro--portrait) .ak-intro__video{object-fit:cover}}
@media (min-aspect-ratio:9/21) and (max-aspect-ratio:5/8){.ak-intro--portrait .ak-intro__video{object-fit:cover}}
.ak-intro__loader{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;transition:opacity .5s ease}
.ak-intro__loader img{width:min(42vw,210px);height:auto;animation:ak-breathe 2.4s ease-in-out infinite}
.ak-intro__loader span{display:block;width:86px;height:1px;background:#c9d0c4;overflow:hidden;position:relative}
.ak-intro__loader span:after{content:"";position:absolute;inset:0;background:#526949;transform:translateX(-100%);animation:ak-sweep 1.5s var(--ak-curtain) infinite}
.ak-intro.is-playing .ak-intro__loader{opacity:0}
.ak-intro__skip{position:absolute;right:max(18px,3vw);bottom:max(26px,4.5vh);z-index:2;display:inline-flex;align-items:center;gap:12px;min-height:44px;padding:10px 20px 10px 24px;border:1px solid rgba(255,255,255,.55);border-radius:40px;background:rgba(16,44,32,.62);color:#fff;font-family:var(--sans);font-size:10px;font-weight:600;letter-spacing:.24em;text-transform:uppercase;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:background .25s ease,transform .25s ease,opacity .7s ease}
.ak-intro.is-skip-away .ak-intro__skip{opacity:0;pointer-events:none}
.ak-intro__skip:hover{background:rgba(16,44,32,.9);transform:translateX(3px)}
.ak-intro__skip:focus-visible{outline:2px solid #fff;outline-offset:3px}
.ak-intro__skip svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.ak-intro__progress{position:absolute;left:0;right:0;bottom:0;height:3px;background:rgba(23,51,41,.12)}
.ak-intro__progress i{display:block;height:100%;background:#b79f78;transform:scaleX(0);transform-origin:left center}
@keyframes ak-breathe{0%,100%{opacity:.55;transform:scale(.985)}50%{opacity:1;transform:scale(1)}}
@keyframes ak-sweep{0%{transform:translateX(-100%)}60%,100%{transform:translateX(100%)}}

/* ---------- Scroll reveals (motion only) ---------- */
html.ak-motion [data-ak-reveal]{opacity:0;translate:0 38px;transition:opacity 1s ease,translate 1.2s var(--ak-ease)}
html.ak-motion [data-ak-reveal].is-in{opacity:1;translate:none}
/* the wipe is applied to the photograph, not the observed box: a fully clipped box never reports as visible */
html.ak-motion [data-ak-reveal=clip]{opacity:1;translate:none}
html.ak-motion [data-ak-reveal=clip] img{clip-path:inset(0 0 100% 0);transition:clip-path 1.35s var(--ak-curtain)}
html.ak-motion [data-ak-reveal=clip].is-in img{clip-path:inset(0 0 0 0)}
html.ak-motion [data-ak-reveal=stagger]{opacity:1;translate:none}
html.ak-motion [data-ak-reveal=stagger]>*{opacity:0;translate:0 38px;transition:opacity 1s ease,translate 1.2s var(--ak-ease);transition-delay:calc(var(--i,0)*.13s)}
html.ak-motion [data-ak-reveal=stagger].is-in>*{opacity:1;translate:none}

/* ---------- Hero: curtain-up entrance + depth on scroll ---------- */
html.ak-motion .ak-photo-heading .eyebrow,html.ak-motion .ak-photo-heading h1,html.ak-motion .ak-photo-details{opacity:0;translate:0 28px;transition:opacity 1.1s ease,translate 1.3s var(--ak-ease)}
html.ak-motion .ak-photo-heading h1{transition-delay:.12s}
html.ak-motion .ak-photo-details{transition-delay:.75s}
html.ak-motion.ak-ready .ak-photo-heading .eyebrow,html.ak-motion.ak-ready .ak-photo-heading h1,html.ak-motion.ak-ready .ak-photo-details{opacity:1;translate:none}
html.ak-motion .ak-hero-florals{transform:translate3d(0,calc(var(--ak-sy)*70px),0) scale(1.06);transform-origin:center top}
html.ak-motion .ak-photo-panel img{transform:translate3d(0,calc(var(--ak-sy)*var(--ak-drift,24px)),0) scale(1.1);will-change:transform}
html.ak-motion .ak-photo-panel:nth-child(2) img{--ak-drift:-14px}
html.ak-motion .ak-date-part{opacity:0;translate:0 26%;transition:opacity 1.2s ease,translate 1.5s var(--ak-ease)}
html.ak-motion.ak-ready .ak-date-part{opacity:1;translate:none}
html.ak-motion .ak-photo-panel:nth-child(1) .ak-date-part{transition-delay:.7s}
html.ak-motion .ak-photo-panel:nth-child(2) .ak-date-part{transition-delay:.85s}
html.ak-motion .ak-photo-panel:nth-child(3) .ak-date-part{transition-delay:1s}
@media(min-width:701px){
 html.ak-motion .ak-photo-panel{clip-path:inset(100% 0 0 0);transition:clip-path 1.35s var(--ak-curtain)}
 html.ak-motion .ak-photo-panel:nth-child(1){transition-delay:.2s}
 html.ak-motion .ak-photo-panel:nth-child(2){transition-delay:.34s}
 html.ak-motion .ak-photo-panel:nth-child(3){transition-delay:.48s}
 html.ak-motion.ak-ready .ak-photo-panel{clip-path:inset(0 0 0 0)}
 /* the centre panel sits a touch proud, like a triptych */
 .ak-photo-panels{align-items:end}
}
@media(max-width:700px){
 html.ak-motion .ak-photo-panels{clip-path:inset(100% 0 0 0);transition:clip-path 1.3s var(--ak-curtain) .2s}
 html.ak-motion.ak-ready .ak-photo-panels{clip-path:inset(0 0 0 0)}
}

/* ---------- Our Story: layered portrait, drifting botanicals, turning seal ---------- */
.ak-story{position:relative;isolation:isolate}
.ak-story-bg{position:absolute;inset:-6% -22%;z-index:-2;pointer-events:none;background:url('botanicals.webp') center/cover no-repeat;opacity:.17;-webkit-mask-image:radial-gradient(ellipse at center,#000 35%,transparent 72%);mask-image:radial-gradient(ellipse at center,#000 35%,transparent 72%)}
html.ak-motion .ak-story-bg{transform:translate3d(0,calc((var(--p,.5) - .5)*130px),0) scale(1.05)}
.ak-story-frame{position:relative;overflow:hidden;aspect-ratio:4/5;border-radius:50% 50% 4px 4px / 24% 24% 4px 4px;background:#e8ebe4}
.ak-story-art .ak-story-frame img{width:100%;height:100%;aspect-ratio:auto;border-radius:0;object-fit:cover}
html.ak-motion .ak-story-art .ak-story-frame img{transform:translate3d(0,calc((var(--p,.5) - .5)*-64px),0) scale(1.15)}
.ak-story-float{position:absolute;right:-19%;bottom:-9%;width:45%;margin:0;aspect-ratio:4/5;overflow:hidden;border:7px solid var(--ak-cream);box-shadow:0 24px 50px -22px rgba(16,44,32,.55);rotate:3deg;z-index:2;background:#e8ebe4}
.ak-story-art .ak-story-float img{width:100%;height:100%;aspect-ratio:auto;border-radius:0;object-fit:cover;filter:saturate(.9)}
html.ak-motion .ak-story-float{transform:translate3d(0,calc((var(--p,.5) - .5)*-150px),0)}
.ak-story-seal{position:absolute;left:-58px;top:9%;z-index:3;width:132px;height:132px;color:#566b51;pointer-events:none}
.ak-story-seal svg{display:block;width:100%;height:100%;overflow:visible}
.ak-story-seal text{font-family:var(--sans);font-size:9.4px;font-weight:600;letter-spacing:.34em;fill:currentColor;text-transform:uppercase}
.ak-story-seal circle{fill:var(--ak-cream);stroke:#b9c3b3;stroke-width:.6}
.ak-story-seal .ak-story-seal__mark{font-family:var(--serif);font-size:44px;font-style:italic;letter-spacing:0;font-weight:400}
html.ak-motion .ak-story-seal__ring{transform:rotate(calc(var(--p,.5)*260deg));transform-origin:50% 50%;transform-box:fill-box}
@media(max-width:1100px){.ak-story-float{right:-9%}.ak-story-seal{left:-34px}}
@media(max-width:700px){.ak-story-float{right:-7%;bottom:-7%;width:42%;border-width:5px}.ak-story-seal{left:-22px;top:6%;width:96px;height:96px}.ak-story-bg{inset:-4% -60%;opacity:.13}}

/* ---------- A walk in the garden: pinned horizontal film strip ---------- */
.ak-walk{position:relative;background:var(--ak-deep);color:#fff}
.ak-walk__sticky{position:relative;overflow:hidden;padding:76px 0 64px;isolation:isolate}
.ak-walk__petals{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
.ak-walk__marquee{position:absolute;left:0;top:50%;z-index:0;pointer-events:none;white-space:nowrap;font-family:var(--serif);font-size:min(31vh,300px);line-height:1;color:transparent;-webkit-text-stroke:1px rgba(211,192,163,.3);transform:translate3d(calc(4vw - var(--p,0)*42vw),-52%,0)}
.ak-walk__track{position:relative;z-index:2;display:flex;align-items:center;gap:clamp(30px,5.2vw,96px);padding:0 max(24px,7vw);scroll-padding-inline:max(24px,7vw);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.ak-walk__track::-webkit-scrollbar{display:none}
.ak-walk__track:focus-visible{outline:2px solid var(--ak-gold);outline-offset:-6px}
.ak-walk__intro{flex:none;width:min(36vw,470px)}
.ak-walk__intro .eyebrow{color:var(--ak-gold);margin-bottom:16px}
.ak-walk__intro h2{font-size:clamp(50px,5.6vw,90px);letter-spacing:-.035em;line-height:.98;margin:0 0 24px}
.ak-walk__intro h2 em{color:var(--ak-gold)}
.ak-walk__intro>p:not(.eyebrow){max-width:380px;color:#d6ded5;font-size:15px;line-height:1.9;margin:0 0 30px}
.ak-walk__hint{display:none;align-items:center;gap:14px;font-size:9px;font-weight:600;letter-spacing:.26em;text-transform:uppercase;color:#bdc9bb}
.ak-walk__hint i{display:block;width:54px;height:1px;background:rgba(255,255,255,.28);position:relative;overflow:hidden}
.ak-walk__hint i:after{content:"";position:absolute;inset:0;background:var(--ak-gold);animation:ak-sweep 2s var(--ak-curtain) infinite}
.ak-walk__card{flex:none;margin:0;scroll-snap-align:center}
.ak-walk__photo{overflow:hidden;background:#0f271f}
.ak-walk__card--tall .ak-walk__photo{height:min(62vh,640px);aspect-ratio:2/3;border-radius:50% 50% 3px 3px / 21% 21% 3px 3px}
.ak-walk__card--wide .ak-walk__photo{height:min(50vh,520px);aspect-ratio:3/2;border-radius:3px}
.ak-walk__photo img{width:100%;height:100%;max-width:none;object-fit:cover;filter:saturate(.9) contrast(.98)}
.ak-walk__card figcaption{display:flex;align-items:baseline;gap:14px;margin-top:16px;font-family:var(--serif);font-size:23px;line-height:1.2;color:#f3efe6}
.ak-walk__card figcaption span{font-family:var(--sans);font-size:9px;font-weight:600;letter-spacing:.24em;color:var(--ak-gold)}
.ak-walk__outro{flex:none;width:min(60vw,380px);text-align:center;padding:0 10px}
.ak-walk__sprig{display:block;font-size:44px;line-height:1;color:var(--ak-gold);margin-bottom:10px}
.ak-walk__outro p{font-family:var(--serif);font-style:italic;font-size:28px;margin:0 0 6px;color:#e6ebe3}
.ak-walk__outro strong{display:block;font-family:var(--serif);font-weight:400;font-size:clamp(46px,5vw,76px);line-height:1;color:var(--ak-gold)}
.ak-walk__progress{display:none}
/* pinned (desktop + motion): vertical scroll drives the strip sideways */
.ak-walk.is-pinned .ak-walk__sticky{position:sticky;top:var(--ak-header-h);height:calc(100vh - var(--ak-header-h));padding:0;display:flex;align-items:center}
.ak-walk.is-pinned .ak-walk__track{overflow:visible;width:max-content;flex:none;will-change:transform;scroll-snap-type:none}
.ak-walk.is-pinned .ak-walk__card:nth-of-type(odd){translate:0 -3.4vh}
.ak-walk.is-pinned .ak-walk__card:nth-of-type(even){translate:0 4.2vh}
.ak-walk.is-pinned .ak-walk__photo img{transform:translate3d(calc(var(--cx,0)*-6%),0,0) scale(1.14)}
.ak-walk.is-pinned .ak-walk__hint{display:flex}
.ak-walk.is-pinned .ak-walk__progress{display:block;position:absolute;left:7vw;right:7vw;bottom:30px;z-index:3;height:1px;background:rgba(255,255,255,.2)}
.ak-walk.is-pinned .ak-walk__progress i{display:block;height:3px;margin-top:-1px;background:var(--ak-gold);transform:scaleX(var(--p,0));transform-origin:left center}
@media(max-width:900px){
 .ak-walk__sticky{padding:62px 0 54px}
 .ak-walk__marquee{font-size:150px;top:38%}
 /* scroll-padding keeps the snap from pulling the heading flush against the screen edge */
 .ak-walk__track{gap:22px;padding:0 28px;scroll-padding-inline:28px}
 .ak-walk__intro{width:78vw;scroll-snap-align:start}
 .ak-walk__card--tall .ak-walk__photo{height:auto;width:66vw}
 .ak-walk__card--wide .ak-walk__photo{height:auto;width:84vw}
 .ak-walk__card figcaption{font-size:21px}
 .ak-walk__hint{display:flex}
}

/* ---------- Arched window that opens into a full-bleed photograph ---------- */
.ak-window{position:relative;background:var(--ak-cream)}
.ak-window__sticky{--e:1;--t:1;--wx:34%;--wy:17%;--wr:17vw;position:relative;display:grid;place-items:center;height:min(92vh,860px);overflow:hidden;isolation:isolate}
html.ak-motion .ak-window{height:250vh}
html.ak-motion .ak-window__sticky{position:sticky;top:var(--ak-header-h);height:calc(100vh - var(--ak-header-h))}
@supports(height:100svh){html.ak-motion .ak-window{height:250svh}html.ak-motion .ak-window__sticky{height:calc(100svh - var(--ak-header-h))}}
.ak-window__pane{position:absolute;inset:0;z-index:0;clip-path:inset(calc((1 - var(--e))*var(--wy)) calc((1 - var(--e))*var(--wx)) calc((1 - var(--e))*var(--wy)) calc((1 - var(--e))*var(--wx)) round calc((1 - var(--e))*var(--wr)) calc((1 - var(--e))*var(--wr)) 0 0)}
.ak-window__pane img{width:100%;height:100%;max-width:none;object-fit:cover;filter:saturate(.9);transform:scale(calc(1.3 - var(--e)*.3))}
.ak-window__pane:after{content:"";position:absolute;inset:0;background:linear-gradient(rgba(10,26,19,.12),rgba(10,26,19,.62));opacity:var(--t)}
.ak-window__word{position:absolute;top:50%;z-index:1;margin:0;font-family:var(--serif);font-size:clamp(34px,4.5vw,76px);line-height:1.02;letter-spacing:-.03em;color:#102c20;opacity:calc(1 - var(--e)*2.4)}
.ak-window__word--left{right:calc(50% + 19vw);text-align:right;transform:translate3d(calc(var(--e)*-14vw),-50%,0)}
.ak-window__word--right{left:calc(50% + 19vw);transform:translate3d(calc(var(--e)*14vw),-50%,0)}
.ak-window__finale{position:relative;z-index:2;align-self:start;padding:clamp(44px,11vh,130px) 24px 0;text-align:center;color:#fff;opacity:var(--t);transform:translate3d(0,calc((1 - var(--t))*34px),0)}
.ak-window__finale.is-idle{pointer-events:none}
.ak-window__finale .eyebrow{color:#efe6d6;letter-spacing:.3em;margin-bottom:18px}
.ak-window__finale h2{font-size:clamp(44px,6.6vw,108px);letter-spacing:-.035em;line-height:1;margin:0 0 30px;text-shadow:0 2px 30px rgba(8,22,16,.35)}
.ak-window__finale h2 em{color:#eadcc4}
.ak-window__replay{display:inline-flex;align-items:center;gap:12px;min-height:46px;padding:9px 24px 9px 12px;border:1px solid rgba(255,255,255,.6);border-radius:40px;background:rgba(16,44,32,.42);color:#fff;font-family:var(--sans);font-size:10px;font-weight:600;letter-spacing:.24em;text-transform:uppercase;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:background .25s ease,transform .25s ease}
.ak-window__replay:hover{background:rgba(16,44,32,.85);transform:translateY(-2px)}
.ak-window__replay:focus-visible{outline:2px solid #fff;outline-offset:3px}
.ak-window__replay svg{width:26px;height:26px}
.ak-window__replay circle{fill:none;stroke:currentColor;stroke-width:1}
.ak-window__replay path{fill:currentColor}
html:not(.ak-js) .ak-window__replay{display:none}
@media(max-width:800px){
 .ak-window__sticky{--wx:19%;--wy:25%;--wr:31vw}
 .ak-window__word{left:0;right:0;top:auto;text-align:center;font-size:clamp(30px,8.6vw,46px)}
 .ak-window__word br{display:none}
 .ak-window__word--left{top:9%;transform:translate3d(0,calc(var(--e)*-9vh),0)}
 .ak-window__word--right{bottom:9%;transform:translate3d(0,calc(var(--e)*9vh),0)}
}

/* ---------- Celebration band: slow candle-glow ---------- */
.ak-celebration{position:relative;overflow:hidden;isolation:isolate}
.ak-celebration:before{content:"";position:absolute;inset:-30%;z-index:-1;pointer-events:none;background:radial-gradient(38% 46% at 24% 34%,rgba(211,192,163,.2),transparent 70%),radial-gradient(34% 44% at 78% 68%,rgba(123,139,113,.34),transparent 70%);animation:ak-glow 19s ease-in-out infinite alternate}
@keyframes ak-glow{0%{transform:translate3d(-4%,-3%,0) scale(1)}100%{transform:translate3d(5%,4%,0) scale(1.14)}}

/* ---------- Moments: counter-drifting columns ---------- */
.ak-moments-grid{padding-block:34px}
.ak-moments-grid img{filter:saturate(.9)}
html.ak-motion .ak-moments-grid figure:nth-child(odd){transform:translate3d(0,calc((var(--p,.5) - .5)*-78px),0)}
html.ak-motion .ak-moments-grid figure:nth-child(even){transform:translate3d(0,calc((var(--p,.5) - .5)*78px),0)}
.ak-moments-grid figure:nth-child(even){border-radius:50% 50% 0 0 / 22% 22% 0 0}
@media(max-width:700px){html.ak-motion .ak-moments-grid figure:nth-child(odd){transform:translate3d(0,calc((var(--p,.5) - .5)*-34px),0)}html.ak-motion .ak-moments-grid figure:nth-child(even){transform:translate3d(0,calc((var(--p,.5) - .5)*34px),0)}}

/* ---------- Our Story page: the story, illustrated ---------- */
.ak-story-illustrated .ak-plate{margin:58px auto}
.ak-plate img{width:100%;height:100%;max-width:none;object-fit:cover;filter:saturate(.9)}
.ak-plate--duo{display:grid;grid-template-columns:1fr 1fr;gap:clamp(16px,4vw,46px);max-width:740px;padding-bottom:70px}
.ak-plate__arch{margin:0;overflow:hidden;aspect-ratio:4/5.5;border-radius:50% 50% 4px 4px / 24% 24% 4px 4px;background:#e8ebe4}
.ak-plate__arch--drop{position:relative;top:70px}
.ak-plate--wide{position:relative;left:50%;width:min(1100px,calc(100vw - 48px));margin-left:calc(min(1100px,100vw - 48px)/-2)!important;margin-right:0!important;aspect-ratio:16/8;overflow:hidden;border-radius:4px;background:#e8ebe4}
html.ak-motion .ak-plate--wide img{transform:translate3d(0,calc((var(--p,.5) - .5)*-90px),0) scale(1.2)}
.ak-plate--wide figcaption{position:absolute;left:0;right:0;bottom:0;padding:70px 34px 26px;background:linear-gradient(transparent,rgba(10,26,19,.62));color:#fff;font-family:var(--serif);font-style:italic;font-size:clamp(20px,2.3vw,30px);line-height:1.2}
.ak-plate--close{aspect-ratio:3/2;overflow:hidden;border-radius:4px;background:#e8ebe4;margin-bottom:10px!important}
@media(max-width:700px){.ak-story-illustrated .ak-plate{margin:40px auto}.ak-plate--duo{padding-bottom:44px}.ak-plate__arch--drop{top:44px}.ak-plate--wide{aspect-ratio:4/3}.ak-plate--wide figcaption{padding:50px 20px 18px}}
/* v1.8.2 — AVIF botanicals where supported; the WebP above remains the fallback. */
.ak-story-bg{background-image:image-set(url('botanicals.avif') type('image/avif'),url('botanicals.webp') type('image/webp'))}
