/* Stable video controls, with scaling around the true button centre. */
.hero-video .hero-video-play{display:grid;translate:-50% -50%;transform:scale(1);scale:none;transform-origin:center;transition:transform 180ms ease,opacity 220ms ease,visibility 220ms,background 180ms;opacity:1;visibility:visible}
.hero-video .hero-video-play:hover{transform:scale(1.08);scale:none}
.hero-video .hero-video-play svg{transform:translateX(1px);stroke:none;grid-area:1/1}
.hero-video .hero-video-spinner{grid-area:1/1;width:28px;height:28px;border:3px solid #fffff160;border-top-color:#fffff1;display:none}
.hero-video:is([data-video-state="loading"],[data-video-state="buffering"]) .hero-video-play svg{display:none}
.hero-video:is([data-video-state="loading"],[data-video-state="buffering"]) .hero-video-spinner{display:block}
.hero-video[data-video-state="playing"] .hero-video-play{display:grid;opacity:0;visibility:hidden;pointer-events:none}
.hero-video video{pointer-events:auto!important}
.video-controls{position:absolute;z-index:4;bottom:0;left:0;right:0;display:flex;align-items:center;gap:8px;padding:12px;background:linear-gradient(transparent,#1e1e1ef2);color:#fffff1;font:700 13px/1 Nunito,sans-serif;opacity:0;visibility:hidden;transition:opacity 200ms,visibility 200ms}
.hero-video.has-started .video-controls{opacity:1;visibility:visible}
.video-controls button{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border:0;border-radius:12px;background:#9f004b;color:#fffff1;padding:8px;transition:background 180ms,transform 180ms}
.video-controls button:hover{background:#82003e;transform:scale(1.06)}
.video-controls svg{width:20px;height:20px;fill:currentColor}
.video-controls .control-pause{display:none}
.hero-video[data-playing="true"] .control-play{display:none}
.hero-video[data-playing="true"] .control-pause{display:block}
.video-time{white-space:nowrap;font-variant-numeric:tabular-nums}
.video-seek{min-width:20px;width:100%;height:24px;margin:0;appearance:none;background:transparent;cursor:pointer;accent-color:#9f004b}
.video-seek::-webkit-slider-runnable-track{height:5px;border-radius:9px;background:linear-gradient(to right,#d75792 var(--played,0%),#fffff1 var(--played,0%))}
.video-seek::-webkit-slider-thumb{appearance:none;width:15px;height:15px;margin-top:-5px;border:2px solid #fffff1;border-radius:50%;background:#9f004b}
.video-seek::-moz-range-track{height:5px;border-radius:9px;background:#fffff1}
.video-seek::-moz-range-progress{height:5px;border-radius:9px;background:#d75792}
.video-seek::-moz-range-thumb{width:12px;height:12px;border:2px solid #fffff1;border-radius:50%;background:#9f004b}
.video-mute[aria-pressed="true"] .sound-waves{display:none}
.hero-video:fullscreen{width:100vw;height:100vh;max-width:none;border-radius:0;clip-path:none!important;background:#1e1e1e}
.hero-video:fullscreen video{object-fit:contain}
@media(max-width:600px){.video-controls{gap:5px;padding:8px}.video-controls button{width:30px;height:32px;padding:5px}.video-time{font-size:12px}}
/* Gradient space is outside the glyphs; the text starts at a fixed position. */
.product-feature-description{margin-top:0!important}
.product-feature-description>.feature-text{min-height:0;overflow:hidden;width:var(--description-width,100%)}
.product-feature-description .feature-text p{width:100%;padding:10px 0 14px;margin:0}
@media(max-width:760px){.product-feature-description>.feature-text{width:100%}}
/* Captions stay in place while their photos gently enlarge. */
.about-photo:hover,.about-photo:focus-visible,.about-photo[aria-expanded="true"]{transform:none}
.about-photo img{transition:transform 350ms ease}
.about-photo:is(:hover,:focus-visible,[aria-expanded="true"]) img{transform:scale(1.06)}
.about-photo .about-photo-caption{transform:none!important}
.hero-rule{height:2px;border-radius:999px;background:#c7b89e;overflow:hidden}
.hero-rule img{display:none}
.contact-section{scroll-margin-top:0;padding-bottom:80px}
.painting-credit{top:auto;left:auto;right:24px;bottom:16px;min-height:32px;padding:0;border-radius:0;background:none;color:#000;font-size:14px;font-weight:400;text-shadow:0 1px 3px #fffff1;transition:color 180ms}
.painting-credit:hover{color:#9f004b}
@media(max-width:760px){.contact-section{padding-top:48px;padding-bottom:72px}.painting-credit{right:16px}}
.contact-field input,.contact-field textarea{transition:border-color 180ms,background-color 180ms}
.contact-field :is(input,textarea):hover{border-color:#9f004b;background:#9f004b05}
.smooth-input-shell>svg path{stroke:var(--ink);transition:stroke 180ms}
.smooth-input-shell:hover>svg path,.smooth-input-shell:focus-within>svg path{stroke:#9f004b}
.button.contact-submit{transform:none!important;filter:none!important;transition:background-color 180ms,color 180ms}
.button.contact-submit:hover{background:#363636}
/* A familiar cursor shape and native scrolling, with Rapply colours. */
html{scrollbar-color:#9f004b #ffebc9;scrollbar-width:auto}
::-webkit-scrollbar{width:12px;height:12px}
::-webkit-scrollbar-track{background:#ffebc9}
::-webkit-scrollbar-thumb{background:#9f004b;border:3px solid #ffebc9;border-radius:12px}
::-webkit-scrollbar-thumb:hover{background:#82003e}
@media(pointer:fine){body{cursor:url('/assets/cursor-rapply.svg') 3 2,auto}a,button,[role="button"],input[type="range"]{cursor:url('/assets/cursor-rapply-pointer.svg') 6 2,pointer}input:not([type="range"]),textarea{cursor:text}}
@media(prefers-reduced-motion:reduce){.hero-video .hero-video-play,.video-controls,.about-photo img{transition:none}.hero-video .hero-video-play:hover,.about-photo:is(:hover,:focus-visible,[aria-expanded="true"]) img{transform:none}}
.legal-page{background:#ffebc9;min-height:100vh;color:#1e1e1e}
.legal-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px max(24px,calc((100% - 1200px)/2));background:#9f004b;color:#fffff1}
.legal-header a{font-weight:700;font-size:16px}
.legal-header img{display:block}
.legal-main{max-width:1248px;padding:64px 24px 80px;margin:auto}
.legal-heading{max-width:820px;margin-bottom:48px}
.legal-heading h1{font:800 clamp(34px,5vw,56px)/1.1 Nunito,sans-serif;color:#9f004b;margin:16px 0 24px;max-width:none}
.legal-heading p{font-size:20px;line-height:1.5;margin:0}
.legal-heading>p:first-child{font-size:16px;font-weight:700}
.legal-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:40px;align-items:start}
.legal-index{position:sticky;top:24px;max-height:calc(100vh - 48px);overflow:auto;padding:24px;background:#f8dfb6;border-radius:24px}
.legal-index summary{font-size:18px;font-weight:800;cursor:pointer}
.legal-index nav{display:grid;gap:12px;margin-top:20px}
.legal-index a{font-size:16px;line-height:1.4}
.legal-index a:hover{color:#9f004b;text-decoration:underline}
.legal-document{padding:40px;background:#fffff1;border-radius:24px;font-size:18px;line-height:1.7;overflow-wrap:anywhere}
.legal-document h2{font-size:26px;line-height:1.25;color:#9f004b;margin:40px 0 16px;scroll-margin-top:24px}
.legal-document h2:first-child{margin-top:0}
.legal-document p{margin:0 0 20px}
.legal-document ul{padding-left:24px;margin:16px 0 24px}
.legal-document li{margin:8px 0}
.legal-document a{text-decoration:underline;color:#9f004b;text-underline-offset:3px}
.legal-question{border-top:1px solid #9f004b;padding-top:24px;margin-top:40px!important}
.legal-footer{padding:32px 24px;background:#9f004b;color:#fffff1;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:24px;font-size:16px}
.legal-footer nav{display:flex;gap:24px;flex-wrap:wrap}
.legal-footer a:hover{text-decoration:underline}
@media(max-width:760px){.legal-header{padding:20px;gap:16px}.legal-header img{width:116px;height:auto}.legal-main{padding:40px 16px}.legal-layout{grid-template-columns:1fr;gap:24px}.legal-index{position:static;max-height:none}.legal-document{padding:24px;font-size:17px}.legal-heading h1{text-align:left;margin-left:0}.legal-footer{justify-content:flex-start}}

.contact-privacy{font-size:16px;line-height:1.5;margin:16px 0 0;color:var(--ink)}
.contact-privacy a{text-decoration:underline;text-underline-offset:3px}
.contact-privacy a:hover{color:var(--brand)}
/* Keep vector edges and text on stable layers throughout interaction. */
::selection{background:#f2b8b0;color:#1e1e1e}
.hero-video .hero-video-play{border:0;background:transparent;box-shadow:none;will-change:transform,opacity;backface-visibility:hidden}
.hero-video .hero-video-play:hover{background:transparent}
.hero-video .hero-video-play .play-disc{display:block!important;position:absolute;inset:0;width:100%;height:100%;transform:none;fill:#9f004b;stroke:#fffff1;stroke-width:2}
.hero-video .hero-video-play:hover .play-disc{fill:#82003e}
.hero-video .hero-video-play svg:not(.play-disc){z-index:1}
.hero-video .hero-video-spinner{z-index:1}
.hero-video:is([data-video-state="starting"],[data-video-state="ended"]) .hero-video-play,.hero-video.has-end-card .hero-video-play{opacity:0;visibility:hidden;pointer-events:none}
.hero-video[data-video-state="starting"] .hero-video-play{transition:none}
.video-controls{background:transparent}
.video-time{color:#fffff1;text-shadow:0 1px 3px #1e1e1e,0 0 3px #1e1e1e}
.hero-video.has-end-card .video-time{color:#1e1e1e;text-shadow:none}
.video-end-card{position:absolute;inset:0;z-index:2;container-type:inline-size;background:var(--cream)}
.video-end-card[hidden]{display:none}
.video-end-card .end-logo{position:absolute;left:42%;top:12%;width:16%;height:auto}
.end-links{position:absolute;inset:36% 0 auto;display:grid;justify-content:center;gap:2cqw}
.end-links a{display:flex;align-items:center;gap:1.6cqw;color:var(--ink);font:600 clamp(12px,2.7cqw,46px)/1.3 Nunito,sans-serif;white-space:nowrap;text-decoration:none;user-select:text;transition:color 180ms}
.end-links a:hover{color:var(--brand)}
.end-links svg{width:3cqw;height:3cqw;min-width:14px;min-height:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.end-links a:focus-visible{outline:2px solid var(--brand);outline-offset:4px;border-radius:4px}
.product-feature-description{opacity:1;transition:grid-template-rows 380ms cubic-bezier(.22,1,.36,1)}
.product-feature-description .feature-text{transform:translateZ(0);backface-visibility:hidden}
.contact-field input,.contact-field textarea{border:2px solid var(--ink);border-radius:16px}
.footer-linkedin:hover{transform:none!important;opacity:.8}
.legal-layout{display:block;max-width:880px;margin:auto}
.legal-header a{transition:color 180ms}
.legal-header a:hover{color:#f2b8b0}
@media(max-width:760px){.reviews-viewport{touch-action:pan-y}}
.video-theater{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;padding:0;margin:0;border:0;background:transparent;overflow:hidden}
.video-theater::backdrop{background:#1e1e1eee;animation:theater-backdrop 350ms ease both}
.video-theater .hero-video{position:fixed;margin:0;max-width:none;min-height:0;aspect-ratio:16/9;clip-path:none!important;flex:none;transform:none}
.video-theater-close{position:fixed;top:12px;right:12px;z-index:10;border:0;border-radius:20px;padding:10px 16px;background:#9f004b;color:#fffff1;font:700 16px Nunito,sans-serif}
@keyframes theater-backdrop{from{background:#1e1e1e00}to{background:#1e1e1eee}}
@media(prefers-reduced-motion:reduce){.product-feature-description{transition:none}.video-theater::backdrop{animation:none}}



/* Begin on the first paint, without waiting for the interaction scripts. */
@keyframes first-appearance{from{opacity:.15}to{opacity:1}}
@media(prefers-reduced-motion:no-preference){
 .hero-copy>*,.header .brand,.header .navigation>a,.header .account-actions>a,.header .menu-toggle,.discover{animation:first-appearance 240ms ease-out backwards;animation-delay:var(--entrance-delay,0ms)}
 .hero-copy>:nth-child(2),.header .navigation>a:nth-child(1),.header .menu-toggle{--entrance-delay:40ms}
 .hero-copy>:nth-child(3),.header .navigation>a:nth-child(2){--entrance-delay:80ms}
 .hero-copy>:nth-child(4),.header .navigation>a:nth-child(3){--entrance-delay:120ms}
 .hero-copy>:nth-child(5),.header .account-actions>a:nth-child(1){--entrance-delay:160ms}
 .hero-copy>:nth-child(6),.header .account-actions>a:nth-child(2){--entrance-delay:200ms}
 .discover{--entrance-delay:120ms}
}
.video-theater-close{transition:background-color 180ms,transform 180ms;transform-origin:center}
.video-theater-close:hover{background:#82003e;transform:scale(1.06)}
.video-theater.is-closing::backdrop{animation:theater-backdrop-out 420ms ease both}
@keyframes theater-backdrop-out{from{background:#1e1e1eee}to{background:#1e1e1e00}}
/* Fixed text coordinates and explicit heights avoid grid row redistribution. */
.product-feature{grid-template-rows:var(--title-height,36px) auto;height:var(--collapsed-height,96px);transition:width 320ms cubic-bezier(.25,.8,.25,1),height 320ms cubic-bezier(.25,.8,.25,1)}
.product-feature.is-expanded{height:var(--expanded-height)}
.product-feature-description{display:block;height:0;transition:height 320ms cubic-bezier(.25,.8,.25,1);mask-image:linear-gradient(to bottom,transparent,#000 10px,#000 calc(100% - 14px),transparent),linear-gradient(to right,#000 calc(100% - 14px),transparent);mask-composite:intersect}
.product-feature.is-expanded .product-feature-description{height:var(--description-height)}
.product-feature-description>.feature-text{overflow:visible;transform:none;backface-visibility:visible}
.product-feature-description .feature-text p{padding:10px 14px 14px 0}
@media(max-width:760px){.product-feature{height:var(--collapsed-height,88px)}}
@media(max-width:360px){.product-feature{height:var(--collapsed-height,80px)}}
@media(prefers-reduced-motion:reduce){.product-feature,.product-feature-description,.video-theater-close{transition:none}.video-theater.is-closing::backdrop{animation:none;background:transparent}}

/* Closing begins immediately, while the player and backdrop finish their travel. */
.video-theater.is-closing .video-theater-close{display:none}
/* Keep the painting exactly one viewport tall, including on mobile browsers. */
.contact-section{height:100vh;height:100dvh;min-height:0;display:flex;align-items:center;padding:clamp(16px,4dvh,48px) 24px 56px}
.contact-form{display:flex;flex-direction:column;max-height:100%;padding:22px 20px;overflow:hidden;background:#fffff1!important}
@media(max-width:760px){.contact-section{padding:16px 16px 56px}.contact-form{padding:14px 12px}.contact-form h2{margin-bottom:16px}.contact-field{margin-bottom:12px}.contact-field label{margin-bottom:6px}.contact-field textarea{height:88px;min-height:88px}}
/* Enlarge the button surface only, so the lettering stays on the same pixels. */
.header .button.button-primary,.hero-actions .button.button-primary{transform:none!important;filter:none!important}
.header .button.button-primary::before,.header .button.button-primary::after,.hero-actions .button.button-primary::before,.hero-actions .button.button-primary::after{transform:scale(1);transform-origin:center;transition:transform 240ms cubic-bezier(.22,1,.36,1),background-color 240ms ease}
@media(hover:hover) and (pointer:fine){.header .button.button-primary:hover::before,.header .button.button-primary:hover::after,.hero-actions .button.button-primary:hover::before,.hero-actions .button.button-primary:hover::after{transform:scale(1.045)}}
@media(prefers-reduced-motion:reduce){.header .button.button-primary::before,.header .button.button-primary::after,.hero-actions .button.button-primary::before,.hero-actions .button.button-primary::after{transition:none;transform:none!important}}

/* Keep keyboard access available while fading inactive video controls. */
.hero-video.has-started.controls-idle .video-controls{opacity:0;pointer-events:none}
.hero-video.has-started:not(.controls-idle) .video-controls{pointer-events:auto}
@media(max-width:760px){
 .review-controls button::before{opacity:.4}
 .review-controls button[aria-pressed="true"]::before{opacity:.65}
 .review-controls button:nth-child(2)::before{width:10px;height:10px;opacity:1}
}
/* Cover fractional seams beneath the rounded blue section. */
.scroll-scene{background:linear-gradient(to bottom,var(--brand) calc(100% - 64px),var(--cream) 0)}
.scroll-scene>.product-section.smooth-corners::after{bottom:-2px;height:50px}
.contact-form-content,.contact-field textarea{scrollbar-color:var(--brand) transparent}
.contact-form-content::-webkit-scrollbar-track,.contact-field textarea::-webkit-scrollbar-track{background:transparent}
.contact-form-content::-webkit-scrollbar-thumb,.contact-field textarea::-webkit-scrollbar-thumb{border-color:transparent;background-clip:padding-box}
.contact-form-content::-webkit-scrollbar-corner,.contact-field textarea::-webkit-scrollbar-corner{background:transparent}
@media(prefers-reduced-motion:reduce){.product-feature-toggle::before{transition:none}}
