/* ================= motion & touch (PureGlow) ================= */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s cubic-bezier(.4,0,.2,1) both; }
::view-transition-new(root) { animation: vt-in .55s cubic-bezier(.2,.7,.2,1) both; }
@keyframes vt-out { to { opacity: 0; filter: blur(6px); transform: scale(.985); } }
@keyframes vt-in { from { opacity: 0; filter: blur(6px); transform: scale(1.015); } }

.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 60; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--olive), var(--glow)); pointer-events: none; }

.ripple { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(255, 246, 226, .75), rgba(232, 196, 138, .35) 40%, rgba(232, 196, 138, 0) 70%); mix-blend-mode: soft-light; }
.btn-solid .ripple, .chip input:checked + span .ripple { mix-blend-mode: screen; }

.cursor { position: fixed; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; z-index: 70; pointer-events: none;
  background: radial-gradient(circle, rgba(232, 196, 138, .55), rgba(232, 196, 138, 0) 70%); mix-blend-mode: multiply;
  transition: width .35s, height .35s, left .35s, top .35s, opacity .3s; }
.cursor.big { width: 64px; height: 64px; left: -32px; top: -32px; }
.cursor.hide { opacity: 0; }

.w { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; will-change: transform, opacity; }

/* light reflection over photos, follows the pointer */
.sheen { position: relative; transform-style: preserve-3d; transition: box-shadow .4s; will-change: transform; }
.sheen::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s;
  background: radial-gradient(500px circle at var(--sx, 50%) var(--sy, 30%), rgba(255, 245, 225, .35), transparent 45%); }
.sheen:hover::after { opacity: 1; }
.sheen:hover { box-shadow: 0 30px 60px -30px rgba(78, 90, 54, .5); }

/* price list: the dotted line fills with light */
.menu-row { position: relative; }
.menu-row .d { background: linear-gradient(90deg, var(--glow), var(--glow)) 0 100% / 0% 2px no-repeat; transition: background-size .7s cubic-bezier(.2,.7,.2,1); }
.menu-row:hover .d, .menu-row:focus-visible .d, .menu-row:active .d { background-size: 100% 2px; }
.menu-row .p { transition: transform .4s cubic-bezier(.3,1.6,.5,1), color .3s; }
.menu-row:hover .p, .menu-row:active .p { transform: translateX(-4px); color: var(--olive); }

/* chips: small spring when selected */
.chip input:checked + span { animation: pop .45s cubic-bezier(.3,1.6,.5,1); box-shadow: 0 10px 24px -12px rgba(32, 30, 27, .55); }
@keyframes pop { 0% { transform: scale(.94); } 60% { transform: scale(1.04); } 100% { transform: scale(1); } }

.btn { position: relative; overflow: hidden; will-change: transform; }

.fly { position: fixed; z-index: 80; object-fit: cover; pointer-events: none; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .35); }

/* hero: canvas with drops behind the content */
.drops { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-visual .arch { will-change: transform; transform-style: preserve-3d; }
.hero-mark { will-change: transform; filter: drop-shadow(0 0 6px rgba(232, 196, 138, .45)); }

/* confirmation: the logo is drawn + light pulse */
.ok svg path { stroke-dasharray: 1; animation: draw 2.2s cubic-bezier(.2,.7,.2,1) both; }
.ok svg path:nth-child(2) { animation-delay: .25s; }
.ok svg path:nth-child(3) { animation-delay: .4s; }
.ok svg path:nth-child(n+4) { animation-delay: .6s; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.ok { position: relative; overflow: hidden; }
.ok::before { content: ""; position: absolute; left: 50%; top: 60px; width: 10px; height: 10px; border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(232, 196, 138, .9), rgba(232, 196, 138, 0) 70%); animation: burst 1.8s .3s cubic-bezier(.1,.6,.3,1) both; pointer-events: none; }
@keyframes burst { from { width: 10px; height: 10px; opacity: 1; } to { width: 900px; height: 900px; opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .cursor, .drops, .progress { display: none; }
  @view-transition { navigation: none; }
}
