:root{--blue:#2e59ad;--cream:#fff;--sand:#fff;--ink:#18366f;--line:rgba(46,89,173,.24)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--blue);font-family:'DM Sans',sans-serif}a{color:inherit;text-decoration:none}.nav{height:82px;display:flex;align-items:center;justify-content:space-between;padding:0 5vw;border-bottom:1px solid var(--line);position:sticky;top:0;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);z-index:10}.brand{font-family:'Kalam',cursive;font-weight:700;font-size:28px}.nav nav{display:flex;gap:28px;align-items:center;font-size:14px;font-weight:700}.pill{border:2px solid var(--blue);padding:10px 18px;border-radius:100px}.hero{min-height:calc(100vh - 82px);display:grid;grid-template-columns:1.05fr .95fr;align-items:center;padding:6vw 7vw;gap:4vw}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.22em;margin:0 0 18px}.hero h1,.story h2,.menu h2,.booking h2,.contact h2{font-size:clamp(48px,7vw,105px);line-height:.91;letter-spacing:-.055em;margin:0}.hero h1 em,.story h2 em,.booking h2 em{font-family:'Kalam',cursive;font-weight:400}.lead{font-size:19px;line-height:1.6;max-width:570px;margin:32px 0}.actions{display:flex;gap:12px;flex-wrap:wrap}.btn{display:inline-block;padding:15px 23px;border:2px solid var(--blue);border-radius:100px;font-weight:700}.primary{background:var(--blue);color:var(--cream)}.logo-wrap{transform:rotate(1.5deg)}.logo-wrap img{width:100%;display:block;border-radius:3px}.marquee{overflow:hidden;background:var(--blue);color:var(--cream);padding:14px 0;white-space:nowrap;font-family:'Kalam',cursive;font-size:20px}.marquee span{display:block;width:max-content;animation:move 22s linear infinite}@keyframes move{to{transform:translateX(-35%)}}.story{padding:10vw 7vw;display:grid;grid-template-columns:1.2fr .8fr;gap:8vw;border-bottom:1px solid var(--line)}.story h2{font-size:clamp(45px,6vw,86px)}.story-text{font-size:20px;line-height:1.65;padding-top:40px}.menu{padding:9vw 7vw}.menu-head{text-align:center;max-width:750px;margin:0 auto 70px}.menu h2{font-family:'Kalam',cursive;font-size:80px}.menu-head>p:last-child{font-size:18px}.menu-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.menu article{border:2px solid var(--blue);border-radius:22px;padding:30px}.menu h3{font-family:'Kalam',cursive;font-size:34px;margin:0 0 24px}.dish{display:grid;grid-template-columns:1fr auto;gap:4px 10px;padding:16px 0;border-top:1px solid var(--line)}.dish small{grid-column:1/3;opacity:.75}.note{text-align:center;font-size:12px;margin-top:28px;opacity:.7}.booking{text-align:center;background:var(--blue);color:var(--cream);padding:10vw 5vw}.booking h2{font-size:clamp(50px,7vw,96px);margin-bottom:40px}.light{border-color:var(--cream);background:var(--cream);color:var(--blue)}.contact{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px;padding:7vw}.contact h2{font-family:'Kalam',cursive;font-size:54px}.contact p{line-height:1.8}footer{display:flex;justify-content:space-between;padding:24px 7vw;border-top:1px solid var(--line);font-size:12px}@media(max-width:800px){.nav nav a:not(.pill){display:none}.hero{grid-template-columns:1fr;padding-top:60px}.logo-wrap{margin-top:25px}.story{grid-template-columns:1fr}.menu-grid{grid-template-columns:1fr}.contact{grid-template-columns:1fr}.hero h1{font-size:58px}.nav{height:70px}.booking{padding:100px 7vw}}
/* Navigation, accessibility and mobile refinements */
section[id],main[id]{scroll-margin-top:100px}a:focus-visible,button:focus-visible{outline:3px solid currentColor;outline-offset:5px}.skip-link{position:fixed;top:-100px;left:16px;z-index:30;padding:12px 20px;background:var(--blue);color:var(--cream);border-radius:6px}.skip-link:focus{top:12px}.nav-toggle{display:none}.btn,.pill{transition:background .2s,color .2s,transform .2s}.btn:hover{transform:translateY(-2px)}.primary:hover{background:var(--ink)}.pill:hover{background:var(--blue);color:var(--cream)}.booking-note{font-size:18px;line-height:1.6;margin:0 auto 32px}.logo-wrap img{mix-blend-mode:multiply}.hero h1{font-size:clamp(48px,6.5vw,96px)}.hero h1 em{display:inline-block}.hero-copy{min-width:0}.lead{max-width:460px}
@media(max-width:800px){.nav{padding:0 6vw}.nav-toggle{display:flex;gap:12px;align-items:center;color:var(--blue);border:1px solid var(--blue);border-radius:100px;background:transparent;padding:10px 16px;font:inherit;font-weight:700}.nav nav{display:none;position:absolute;top:70px;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;background:var(--cream);padding:12px 6vw 24px;box-shadow:0 14px 20px #18366f12;border-bottom:1px solid var(--line)}.nav nav.is-open{display:flex}.nav nav a:not(.pill){display:block}.nav nav a{padding:16px 12px}.nav nav .pill{text-align:center;margin-top:8px}.hero{min-height:auto;padding:58px 7vw 40px;gap:12px}.hero h1{font-size:clamp(45px,9vw,72px);line-height:1.02}.lead{font-size:17px;margin:24px 0}.logo-wrap{max-width:480px;width:100%;margin:12px auto 0}.story{padding:70px 7vw;gap:20px}.story-text{padding-top:0;font-size:18px}.menu{padding:70px 7vw}.menu-head{margin-bottom:36px}.menu article{padding:24px}.booking h2{font-size:clamp(43px,8vw,64px);line-height:1.06}.contact{gap:24px;padding:60px 7vw}.contact p{margin-top:10px}.contact .eyebrow{margin-bottom:12px}section[id],main[id]{scroll-margin-top:84px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.marquee span{animation:none}.btn,.pill{transition:none}}
/* Two identical groups keep the values ribbon filled throughout the loop. */
.marquee-track{display:flex;width:max-content;animation:ribbon-scroll 38s linear infinite;will-change:transform}.marquee .marquee-group{display:block;flex-shrink:0;min-width:100vw;width:max-content;padding-right:.35em;animation:none}
@keyframes ribbon-scroll{to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.marquee-track{animation:none;transform:none}.marquee .marquee-group{white-space:normal;width:100vw;line-height:1.8;padding:0 20px;text-align:center}.marquee .marquee-group[aria-hidden]{display:none}}
/* On mobile, introduce La Cricca with its illustration before the copy. */
@media(max-width:800px){.hero{padding-top:24px;gap:28px}.hero .logo-wrap{grid-row:1;margin:0 auto}.hero .hero-copy{grid-row:2}}

/* Small details that follow the restaurant's relaxed visual style. */
@media(prefers-reduced-motion:no-preference){
  .menu article{transition:transform .3s ease,box-shadow .3s ease}
  .btn:active,.pill:active{transform:scale(.97)}
  .nav nav.is-open{animation:nav-enter .22s ease-out}
  @keyframes nav-enter{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .menu article:hover{transform:translateY(-5px);box-shadow:0 10px 0 rgba(46,89,173,.08)}
  .nav nav a:not(.pill){position:relative}
  .nav nav a:not(.pill)::after{content:'';position:absolute;left:0;right:0;bottom:-5px;height:2px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .2s ease}
  .nav nav a:not(.pill):hover::after{transform:scaleX(1)}
}

/* The initial state exists before paint, so entrances never jump backwards. */
.motion-ready :is(.hero-wordmark img, .hero-copy > *, .logo-wrap img, .story > *, .menu-reveal-content, .booking > *, .contact > *){opacity:0;translate:0 46px;transition:none}
.motion-ready .reveal-target.is-revealed{opacity:1;translate:0 0;transition:translate 1.05s cubic-bezier(.22,1,.36,1),opacity .85s ease-out}
@media(prefers-reduced-motion:reduce){.motion-ready :is(.hero-wordmark img, .hero-copy > *, .logo-wrap img, .story > *, .menu-reveal-content, .booking > *, .contact > *){opacity:1;translate:none;transition:none}}

/* Center the original wordmark independently of the navigation. */
.nav{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);height:100px}
.nav .brand{grid-column:2;display:block;width:240px;line-height:0}
.brand img{display:block;width:100%;height:auto;mix-blend-mode:multiply}
.nav nav{grid-column:3;justify-self:end;gap:20px}
.logo-wrap img{height:auto}
.hero{min-height:calc(100vh - 100px)}
section[id],main[id]{scroll-margin-top:116px}
@media(max-width:1100px){
 .nav{height:82px;padding:0 5vw}
 .nav .brand{width:clamp(140px,40vw,205px)}
 .nav-toggle{grid-column:3;grid-row:1;justify-self:end;display:flex;gap:10px;align-items:center;color:var(--blue);border:1px solid var(--blue);border-radius:100px;background:transparent;padding:10px 14px;font:inherit;font-size:14px;font-weight:700}
 .nav nav{display:none;position:absolute;top:82px;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;background:var(--cream);padding:12px 6vw 24px;box-shadow:0 14px 20px #18366f12;border-bottom:1px solid var(--line)}
 .nav nav.is-open{display:flex}
 .nav nav a:not(.pill){display:block}
 .nav nav a{padding:16px 12px}
 .nav nav .pill{text-align:center;margin-top:8px}
 section[id],main[id]{scroll-margin-top:98px}
}
@media(max-width:800px){.hero{min-height:auto}}
.brand img,.logo-wrap img{mix-blend-mode:darken}

/* Place the restaurant name above the hero, outside the navigation bar. */
.nav{display:flex;justify-content:flex-end;height:70px}
.hero{grid-template-columns:1fr 1fr;min-height:calc(100vh - 70px);padding:28px 6vw 60px;gap:28px 3vw}
.hero-wordmark{grid-column:1/-1;width:min(560px,60vw);justify-self:center;line-height:0}
.hero-wordmark img{display:block;width:100%;height:auto;mix-blend-mode:darken}
.hero .logo-wrap{width:110%;max-width:none;justify-self:center}
section[id],main[id]{scroll-margin-top:86px}
@media(max-width:1100px){.nav nav{top:70px}}
@media(max-width:800px){
 .hero{grid-template-columns:1fr;padding:22px 7vw 40px;gap:22px;min-height:auto}
 .hero-wordmark{grid-row:1;width:min(440px,85vw)}
 .hero .logo-wrap{grid-row:2;width:100%;max-width:540px;margin:0 auto}
 .hero .hero-copy{grid-row:3}
}

.hero-wordmark{width:min(760px,76vw)}
@media(max-width:800px){.hero-wordmark{width:min(600px,94vw);max-width:none}}
@media(max-width:800px){.hero-wordmark{width:100%;max-width:600px}}

/* Bring the hero illustration and copy into a tighter composition. */
@media(min-width:801px){
 .hero{align-content:start;grid-template-rows:auto auto;padding-top:clamp(28px,4.4vw,55px);row-gap:32px}
 .hero .logo-wrap{width:121%;transform:translateX(-40px) rotate(1.5deg)}
}
@media(max-width:800px){.hero{row-gap:14px}}

/* Repeat enough text to cover the viewport instead of padding short groups. */
.marquee .marquee-group{min-width:0;padding-right:0}
@media(prefers-reduced-motion:no-preference){.marquee .marquee-group{white-space:pre}}

/* Compact vertical rhythm while retaining space within each content block. */
.hero{min-height:0;padding-top:28px;padding-bottom:40px;row-gap:18px}
.story{padding-top:clamp(48px,6vw,80px);padding-bottom:clamp(48px,6vw,80px)}
.menu{padding-top:clamp(48px,5.5vw,74px);padding-bottom:clamp(48px,5.5vw,74px)}
.menu-head{margin-bottom:38px}
.booking{padding-top:clamp(56px,6vw,80px);padding-bottom:clamp(56px,6vw,80px)}
.booking h2{margin-bottom:26px}
.booking-note{margin-bottom:24px}
.contact{padding-top:clamp(44px,4.5vw,62px);padding-bottom:clamp(44px,4.5vw,62px)}
@media(max-width:800px){
 .hero{padding-top:18px;padding-bottom:32px;row-gap:14px}
 .story,.menu{padding-top:44px;padding-bottom:44px}
 .menu-head{margin-bottom:28px}
 .booking{padding-top:60px;padding-bottom:60px}
 .contact{padding-top:40px;padding-bottom:40px}
}

/* A middle ground between the original spacing and the compact version. */
.hero{padding-top:36px;padding-bottom:52px;row-gap:26px}
.story{padding-top:clamp(56px,7.5vw,98px);padding-bottom:clamp(56px,7.5vw,98px)}
.menu{padding-top:clamp(56px,7vw,92px);padding-bottom:clamp(56px,7vw,92px)}
.menu-head{margin-bottom:48px}
.booking{padding-top:clamp(68px,7.5vw,98px);padding-bottom:clamp(68px,7.5vw,98px)}
.contact{padding-top:clamp(50px,5.5vw,74px);padding-bottom:clamp(50px,5.5vw,74px)}
@media(max-width:800px){
 .hero{padding-top:22px;padding-bottom:40px;row-gap:20px}
 .story,.menu{padding-top:54px;padding-bottom:54px}
 .menu-head{margin-bottom:34px}
 .booking{padding-top:76px;padding-bottom:76px}
 .contact{padding-top:48px;padding-bottom:48px}
}

.header-icons{display:flex;align-items:center;gap:4px;margin-right:auto}
.header-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:10px;border:0;border-radius:50%;background:transparent;color:var(--blue);flex-shrink:0}
.header-icon svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.header-icon .icon-facebook{fill:currentColor;stroke:none}
.header-icon:disabled{opacity:.65;cursor:default}
.header-icon:not(:disabled):hover{background:rgba(46,89,173,.08)}
@media(max-width:450px){.header-icons{gap:0}.header-icon{width:36px;height:40px;padding:8px}}

/* A little extra breathing room around the restaurant story. */
.story{padding-top:calc(clamp(56px,7.5vw,98px) + 32px);padding-bottom:calc(clamp(56px,7.5vw,98px) + 32px)}
@media(max-width:800px){.story{padding-top:78px;padding-bottom:78px}}

@media(min-width:801px){.hero-copy{position:relative;left:68px}}

.logo-wrap img{mix-blend-mode:normal}

/* Balance the hero with slightly larger copy and a smaller illustration. */
@media(min-width:801px){
 .hero .logo-wrap{width:113%}
 .hero h1{font-size:clamp(50px,6.9vw,102px)}
 .hero .lead{font-size:20px;max-width:480px}
}
@media(max-width:800px){
 .hero .logo-wrap{width:94%}
 .hero h1{font-size:clamp(47px,9.4vw,75px)}
 .hero .lead{font-size:18px}
}

/* A little more room before the scrolling values ribbon. */
.hero{padding-bottom:88px}
@media(max-width:800px){.hero{padding-bottom:70px}}

/* Reservation page */
.reservation-page{max-width:1280px;margin:auto;padding:32px 6vw 76px}
.back-link{display:inline-block;font-size:14px;font-weight:700;margin-bottom:36px}
.back-link:hover{text-decoration:underline}
.reservation-layout{display:grid;grid-template-columns:1fr 1.1fr;gap:6vw;align-items:start}
.reservation-intro{padding-top:8px}
.reservation-wordmark{display:block;width:min(100%,320px);height:auto;mix-blend-mode:darken;margin-bottom:32px}
.reservation-intro h1{font-size:clamp(52px,6vw,84px);line-height:1;letter-spacing:-.045em;margin:0 0 22px}
.reservation-intro h1 em{font-family:'Kalam',cursive;font-weight:400}
.reservation-intro>p:not(.eyebrow){font-size:18px;line-height:1.65;max-width:370px}
.reservation-illustration{display:block;width:100%;height:auto;margin-top:32px}
.reservation-card{border:2px solid var(--blue);border-radius:24px;padding:32px;background:var(--cream)}
.reservation-card h2{font-family:'Kalam',cursive;font-size:48px;line-height:1;margin:0 0 20px}
.reservation-card .eyebrow{font-size:10px;margin-bottom:12px}
.reservation-preview{font-size:13px;line-height:1.6;padding:12px 14px;border-left:3px solid var(--blue);background:rgba(46,89,173,.055);margin:0 0 24px}
.reservation-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px 16px}
.reservation-fields label{display:block;font-size:13px;font-weight:700;line-height:1.5;min-width:0}
.reservation-fields :is(input,textarea,select){display:block;width:100%;min-width:0;max-width:100%;margin-top:7px;border:1px solid var(--line);border-radius:10px;padding:12px;background:transparent;color:var(--ink);font:inherit;font-size:16px;font-weight:400;min-height:46px}
.reservation-fields textarea{resize:vertical}
.reservation-fields :is(input,textarea,select):focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.full-width{grid-column:1/-1}
.field-optional{font-size:11px;font-weight:400}
.reservation-hint{font-size:12px;line-height:1.6;margin:22px 0}
.reservation-submit{cursor:pointer;font:inherit;width:100%}
.reservation-summary h3{font-family:'Kalam',cursive;font-size:32px;margin:0 0 24px}
.reservation-summary dl{display:grid;grid-template-columns:auto 1fr;gap:12px 20px;font-size:14px;line-height:1.6;margin-bottom:26px}
.reservation-summary dt{font-weight:700}.reservation-summary dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.reservation-summary button{background:transparent;color:var(--blue);font:inherit;cursor:pointer}
[hidden]{display:none!important}
@media(max-width:800px){
 .reservation-page{padding:24px 6vw 48px}.back-link{margin-bottom:24px}
 .reservation-layout{grid-template-columns:1fr;gap:28px}
 .reservation-wordmark{width:240px;margin-bottom:22px}
 .reservation-intro h1{font-size:52px}
 .reservation-illustration{display:none}
 .reservation-card{padding:24px}
}
@media(max-width:450px){.reservation-fields{grid-template-columns:1fr;gap:16px}.reservation-summary dl{grid-template-columns:1fr;gap:4px}.reservation-summary dd{margin-bottom:12px}}

/* Keep the reservation flow within one screen using two short steps. */
.reservation-body{min-height:100svh;display:flex;flex-direction:column}
.reservation-body .nav{flex-shrink:0}
.reservation-page{width:100%;flex:1;padding-top:18px;padding-bottom:24px}
.reservation-page .back-link{margin-bottom:18px}
.reservation-layout{align-items:center;gap:5vw}
.reservation-wordmark{width:240px;margin-bottom:18px}
.reservation-intro h1{font-size:clamp(48px,5vw,68px);margin-bottom:16px}
.reservation-intro .eyebrow{margin-bottom:12px;font-size:10px}
.reservation-intro>p:not(.eyebrow){font-size:16px;margin:14px 0}
.reservation-illustration{width:85%;max-width:340px;margin-top:18px}
.reservation-card{padding:24px}
.reservation-card h2{font-size:42px;margin-bottom:14px}
.reservation-card .eyebrow{margin-bottom:8px}
.reservation-preview{font-size:12px;padding:10px 12px;margin-bottom:16px}
.reservation-card fieldset{border:0;padding:0;margin:0;min-width:0}
.reservation-progress{font-size:12px;font-weight:700;margin:0 0 16px}
.reservation-fields{gap:14px}
.reservation-fields :is(input,textarea,select){padding:10px;min-height:42px;margin-top:5px}
.reservation-fields textarea{height:64px;resize:none}
.reservation-submit{margin-top:18px;padding:12px 20px}
.reservation-hint{font-size:11px;margin:16px 0 0}
.reservation-step-actions{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:20px}
.reservation-step-actions .btn{font:inherit;padding:12px 20px;cursor:pointer}
.step-back{font:inherit;font-size:13px;color:var(--blue);border:0;background:none;padding:10px 0;cursor:pointer}
.reservation-summary dl{gap:8px 16px;font-size:13px;margin-bottom:20px}
.reservation-body footer{padding-top:14px;padding-bottom:14px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:800px){
 .reservation-page{padding:14px 6vw 20px}
 .reservation-page .back-link{margin-bottom:12px}
 .reservation-layout{gap:14px}
 .reservation-intro{padding:0}
 .reservation-wordmark{width:190px;margin:0 auto}
 .reservation-intro :is(.eyebrow,h1,p,.reservation-illustration){display:none}
 .reservation-card{padding:20px}
 .reservation-fields{grid-template-columns:1fr 1fr;gap:12px}
 .reservation-card>.eyebrow{display:none}
 .reservation-summary dl{grid-template-columns:auto 1fr;gap:8px 12px}
 .reservation-summary dd{margin:0}
}
@media(max-height:740px){
 .reservation-body footer{display:none}
 .reservation-illustration{display:none}
 .reservation-page{padding-top:10px;padding-bottom:12px}
 .reservation-page .back-link{font-size:12px;margin-bottom:10px}
 .reservation-card{padding:16px}
 .reservation-card h2{font-size:32px;margin-bottom:10px}
 .reservation-preview{font-size:11px;padding:8px 10px;margin-bottom:12px}
 .reservation-progress{margin-bottom:10px}
 .reservation-fields{gap:10px}
 .reservation-fields label{font-size:12px}
 .reservation-fields :is(input,textarea,select){min-height:36px;padding:8px;margin-top:4px}
 .reservation-fields textarea{height:48px}
 .reservation-submit{margin-top:12px;padding:10px 16px}
 .reservation-hint{font-size:10px;margin-top:12px}
}
@media(max-width:800px) and (max-height:740px){.reservation-intro{display:none}}

@media(min-width:801px){
 .reservation-wordmark{width:min(320px,100%);margin-bottom:8px}
 .reservation-illustration{width:100%;max-width:400px;margin-top:0;margin-bottom:22px}
}

.reservation-complete-logo{display:block;width:min(320px,100%);height:auto;max-height:36svh;object-fit:contain;object-position:left center;mix-blend-mode:darken;margin:0 0 18px}
@media(max-width:800px){.reservation-complete-logo{width:96px;height:96px;margin:0 auto;object-position:center}}
@media(min-width:801px) and (max-height:740px){.reservation-complete-logo{max-height:26svh;margin-bottom:12px}}

@media(min-width:801px){.reservation-complete-logo{width:min(400px,100%);max-height:min(44svh,400px);margin-bottom:14px}}
@media(max-width:800px){.reservation-complete-logo{display:none}.reservation-intro{display:none}}
@media(min-width:801px) and (max-height:740px){.reservation-complete-logo{max-height:30svh}}

/* One centered form with all reservation fields visible together. */
.reservation-single{max-width:960px;padding-left:24px;padding-right:24px;display:flex;flex-direction:column;justify-content:center}
.reservation-single .back-link{width:100%;max-width:800px;align-self:center}
.reservation-single .reservation-layout{display:block;width:100%;max-width:800px;margin:0 auto}
.reservation-single .reservation-card{padding:28px}
.reservation-single .reservation-card h1{font-family:'Kalam',cursive;font-size:46px;line-height:1.1;margin:0 0 22px}
.reservation-single .reservation-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 16px}
.reservation-single .reservation-fields textarea{height:68px}
.reservation-single .reservation-submit{margin-top:24px}
@media(max-width:800px){
 .reservation-single{padding:14px 6vw 20px}
 .reservation-single .reservation-card{padding:20px}
 .reservation-single .reservation-card h1{font-size:38px;margin-bottom:18px}
 .reservation-single .reservation-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}
 .reservation-single .reservation-submit{margin-top:18px}
}
@media(max-height:740px){
 .reservation-single .reservation-card{padding:16px}
 .reservation-single .reservation-card h1{font-size:32px;margin-bottom:14px}
 .reservation-single .reservation-fields{gap:10px}
 .reservation-single .reservation-fields textarea{height:48px}
 .reservation-single .reservation-submit{margin-top:14px}
}

.reservation-body{background:var(--blue)}
.reservation-body .reservation-card{background:var(--cream);border-color:var(--cream)}
.reservation-body footer{color:var(--cream);border-top-color:rgba(255,255,255,.3)}

.reservation-success-icon{display:flex;align-items:center;justify-content:center;width:52px;height:52px;margin:0 0 18px;border:2px solid var(--blue);border-radius:50%;font-size:30px;line-height:1}
.reservation-single .reservation-summary h2{font-size:clamp(30px,4vw,44px);margin:0 0 24px;line-height:1.1}
.reservation-single .reservation-card:has(.reservation-summary:not([hidden]))>h1{display:none}
#summary-title:focus{outline:none}

.reservation-success-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}
.reservation-single .reservation-success-heading h2{margin:0;min-width:0}
.reservation-success-heading .reservation-success-icon{flex:0 0 52px;margin:0;color:#25734b;border-color:#25734b;background:rgba(37,115,75,.07)}
@media(max-width:450px){.reservation-success-heading{gap:12px;align-items:center}.reservation-success-heading .reservation-success-icon{flex-basis:40px;width:40px;height:40px;font-size:25px}}

/* Readable form and confirmation copy without reducing the type on short screens. */
.reservation-single .reservation-fields label{font-size:15px}
.reservation-single .field-optional{font-size:13px}
.reservation-single .reservation-fields input,.reservation-single .reservation-fields textarea{font-size:16px}
.reservation-single .reservation-submit{font-size:17px}
.reservation-single .reservation-summary dl{font-size:16px;line-height:1.55;gap:10px 18px}
.reservation-single .reservation-summary .reservation-preview{font-size:14px;line-height:1.6}
@media(max-width:450px){.reservation-single .field-optional{font-size:12px}.reservation-single .reservation-summary dl{font-size:15px;gap:10px 12px}}

/* Alternative opening: the complete artwork on the left, copy on the right. */
.hero.hero-complete{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto;align-items:center;align-content:center;gap:4vw;padding:28px 6vw 76px;min-height:0}
.hero.hero-complete .logo-wrap{grid-column:1;grid-row:1;width:100%;max-width:620px;transform:none;margin:0;justify-self:center}
.hero.hero-complete .logo-wrap img{mix-blend-mode:darken}
.hero.hero-complete .hero-copy{grid-column:2;grid-row:1;position:static;left:auto;min-width:0}
.hero.hero-complete h1{font-size:clamp(48px,6.1vw,92px);line-height:1}
.hero.hero-complete .lead{font-size:20px;max-width:460px}
@media(max-width:800px){
 .hero.hero-complete{grid-template-columns:1fr;gap:26px;padding:16px 7vw 58px}
 .hero.hero-complete .logo-wrap{grid-column:1;grid-row:1;width:100%;max-width:460px}
 .hero.hero-complete .hero-copy{grid-column:1;grid-row:2}
 .hero.hero-complete h1{font-size:clamp(47px,9.4vw,75px)}
 .hero.hero-complete .lead{font-size:18px}
}

@media(min-width:801px){.hero.hero-complete .logo-wrap{width:110%;max-width:680px}}

.hero.hero-complete .hero-copy{text-align:center}
.hero.hero-complete .lead{margin-left:auto;margin-right:auto}
.hero.hero-complete .actions{justify-content:center}

/* Background fields for the artwork and copy. */
@media(min-width:801px){
 .hero.hero-complete{background:linear-gradient(to right,var(--cream) 0%,var(--cream) 50%,var(--sand) 50%,var(--sand) 100%)}
}
@media(max-width:800px){
 .hero.hero-complete{padding-bottom:0;row-gap:0}
 .hero.hero-complete .hero-copy{background:var(--sand);width:calc(100% + 14vw);margin-left:-7vw;padding:36px 7vw 58px}
}

/* Reverse the opening's background fields in the story section. */
@media(min-width:801px){
 .story{background:linear-gradient(to right,var(--sand) 0%,var(--sand) 50%,var(--cream) 50%,var(--cream) 100%)}
}
@media(max-width:800px){
 .story{padding-top:0;padding-bottom:0;row-gap:0}
 .story>div:first-child{background:var(--sand);margin-left:-7vw;width:calc(100% + 14vw);padding:60px 7vw 40px}
 .story .story-text{padding-top:36px;padding-bottom:60px}
}
@media(min-width:801px){.story{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}

/* A solid blue navigation bar above the two light backgrounds. */
.nav{background:var(--blue);color:var(--cream);border-bottom-color:rgba(255,255,255,.24);backdrop-filter:none}
.nav .header-icon{color:var(--cream)}
.nav .header-icon:not(:disabled):hover{background:rgba(255,255,255,.12)}
.nav .pill{background:var(--cream);color:var(--blue);border-color:var(--cream)}
.nav .pill:hover{background:var(--cream);color:var(--ink);border-color:var(--cream)}
.nav .nav-toggle{color:var(--cream);border-color:var(--cream)}
@media(max-width:1100px){.nav nav{background:var(--blue);color:var(--cream);border-bottom-color:rgba(255,255,255,.24)}}

/* Transparent header, with contrast adjusted over blue sections. */
.nav{background:transparent;color:var(--blue);border-bottom-color:transparent}
.nav .header-icon{color:inherit}
.nav .header-icon:not(:disabled):hover{background:rgba(46,89,173,.08)}
.nav .pill{background:var(--blue);border-color:var(--blue);color:var(--cream)}
.nav .pill:hover{background:var(--ink);border-color:var(--ink);color:var(--cream)}
.nav .nav-toggle{color:inherit;border-color:currentColor}
.nav.is-over-blue{color:var(--cream)}
.nav.is-over-blue .pill{background:var(--cream);border-color:var(--cream);color:var(--blue)}
.nav.is-over-blue .header-icon:not(:disabled):hover{background:rgba(255,255,255,.12)}
@media(max-width:1100px){.nav nav{background:var(--cream);color:var(--blue);border-bottom-color:var(--line)}.nav.is-over-blue nav .pill{background:var(--blue);color:var(--cream);border-color:var(--blue)}}

/* A translucent veil keeps the header distinct without making it opaque. */
.nav{background:rgba(255,255,255,.78);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom-color:rgba(46,89,173,.12)}
.nav.is-over-blue{background:rgba(46,89,173,.78);border-bottom-color:rgba(255,255,255,.18)}

/* Let the opening backgrounds continue behind the floating header. */
.home-overlay .nav{position:fixed;top:0;left:0;right:0;width:100%;background:rgba(255,255,255,.45)}
.home-overlay .nav.is-over-blue{background:rgba(46,89,173,.78)}
.home-overlay .hero.hero-complete{padding-top:98px}
@media(max-width:800px){.home-overlay .hero.hero-complete{padding-top:86px}}

/* Solid header throughout the reservation and confirmation flow. */
.reservation-body .nav,.reservation-body .nav.is-over-blue{background:var(--blue);backdrop-filter:none;-webkit-backdrop-filter:none}

.reservation-body .nav,.reservation-body .nav.is-over-blue{background:var(--cream);color:var(--blue);border-bottom-color:var(--line)}
.reservation-body .nav .pill,.reservation-body .nav.is-over-blue .pill{background:var(--blue);color:var(--cream);border-color:var(--blue)}
.reservation-body .nav .header-icon:not(:disabled):hover{background:rgba(46,89,173,.08)}

/* In the opening, the artwork rises while the copy enters from the right. */
.motion-ready .hero.hero-complete .hero-copy>*{translate:46px 0}
.motion-ready .hero.hero-complete .hero-copy>.is-revealed{translate:0 0}
@media(prefers-reduced-motion:reduce){.motion-ready .hero.hero-complete .hero-copy>*{translate:none}}
.hero.hero-complete{overflow:clip}

/* Slower opening: artwork first, followed by the copy. */
.motion-ready .hero.hero-complete .logo-wrap img.is-revealed{transition:translate 1.8s cubic-bezier(.22,1,.36,1),opacity 1.5s ease-out}
.motion-ready .hero.hero-complete .hero-copy>.is-revealed{transition:translate 1.8s cubic-bezier(.22,1,.36,1) .75s,opacity 1.5s ease-out .75s}
@media(prefers-reduced-motion:reduce){.motion-ready .hero.hero-complete .logo-wrap img.is-revealed,.motion-ready .hero.hero-complete .hero-copy>.is-revealed{transition:none}}

/* Version 2: image-led opening and concise menu. */
.hero.hero-complete .hero-copy h1{margin-bottom:34px}
.menu .menu-head{margin-bottom:32px}
.menu .dish{padding:18px 0;align-items:baseline}
.menu .dish b{font-weight:500}
.menu .menu-reveal-content{max-width:1120px;margin:auto}
.booking h2{font-size:clamp(44px,6vw,78px);margin-bottom:30px}

.home-single{min-height:100svh;display:flex;flex-direction:column}
.home-single main{flex:1;display:flex}
.home-single .hero.hero-complete{width:100%;min-height:calc(100svh - 65px)}
.hero.hero-complete .actions{max-width:430px;margin:0 auto;gap:12px}
.hero.hero-complete .actions .btn{font:inherit;font-weight:700;cursor:pointer}
.hero.hero-complete .actions button{background:transparent;color:var(--blue)}
.home-dialog{width:min(1100px,92vw);max-height:85svh;padding:42px 28px 28px;border:1px solid var(--blue);border-radius:20px;background:var(--cream);color:var(--blue)}
.home-dialog::backdrop{background:rgba(24,54,111,.45);backdrop-filter:blur(4px)}
.dialog-close{position:absolute;right:12px;top:8px;width:40px;height:40px;border:0;background:transparent;color:var(--blue);font-size:30px;cursor:pointer}
.home-dialog .menu,.home-dialog .contact{padding:16px;background:none}
.home-dialog .menu-reveal-content{opacity:1!important;translate:none!important}
.takeaway-dialog{max-width:520px;padding:40px}
.takeaway-dialog h2{font-family:'Kalam',cursive;font-size:48px;margin:0 0 18px}
.takeaway-dialog p{font-size:17px;line-height:1.7;margin-bottom:24px}
.takeaway-dialog .btn{color:var(--blue);background:transparent;font:inherit;cursor:pointer}
@media(max-width:800px){.home-single .hero.hero-complete{min-height:0}.home-dialog{padding:44px 16px 20px}.home-dialog .menu h2{font-size:58px}}

/* Use the site's own feedback for links and buttons on touch devices. */
a, button { -webkit-tap-highlight-color: transparent; }
a.btn, button {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* Clear hover and keyboard feedback for the four home actions. */
.hero.hero-complete .actions .btn{transition:background-color .22s ease,color .22s ease,border-color .22s ease,transform .22s ease}
@media(hover:hover) and (pointer:fine){
 .hero.hero-complete .actions .btn:not(.primary):hover{background:var(--blue);border-color:var(--blue);color:var(--cream)}
 .hero.hero-complete .actions .btn.primary:hover{background:var(--ink);border-color:var(--ink);color:var(--cream)}
}
.hero.hero-complete .actions .btn:not(.primary):focus-visible{background:var(--blue);color:var(--cream)}
.hero.hero-complete .actions .btn.primary:focus-visible{background:var(--ink);border-color:var(--ink)}
@media(prefers-reduced-motion:reduce){.hero.hero-complete .actions .btn{transition:none}}

/* Version 2 alternative: a single central image with actions underneath. */
.home-single .hero.hero-complete{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;background:var(--cream);padding:84px 6vw 32px;gap:8px;align-content:center;justify-items:center}
.home-single .hero.hero-complete .logo-wrap{grid-column:1;grid-row:1;width:min(560px,64svh,90vw);max-width:100%;margin:0;transform:none}
.home-single .hero.hero-complete .hero-actions{grid-column:1;grid-row:2;width:100%;max-width:560px;margin:0;justify-content:center;text-align:center}
@media(max-width:800px){
 .home-single .hero.hero-complete{min-height:calc(100svh - 65px);padding:82px 6vw 30px;gap:12px}
 .home-single .hero.hero-complete .logo-wrap{width:min(440px,55svh,88vw)}
 .home-single .hero.hero-complete .hero-actions{max-width:370px}
}

.motion-ready .hero.hero-complete .hero-actions{opacity:0;translate:0 46px;transition:none}
.motion-ready .hero.hero-complete .hero-actions.is-revealed{opacity:1;translate:0 0;transition:translate 1.8s cubic-bezier(.22,1,.36,1) .3s,opacity 1.5s ease-out .3s}
@media(prefers-reduced-motion:reduce){.motion-ready .hero.hero-complete .hero-actions{opacity:1;translate:none;transition:none}}

/* Keep the four actions comfortably within reach on mobile. */
@media(max-width:800px){
 .home-single .hero.hero-complete .logo-wrap{width:min(400px,48svh,84vw)}
 .home-single .hero.hero-complete .hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:370px}
 .home-single .hero.hero-complete .hero-actions .btn{width:100%;padding:13px 14px;text-align:center}
}
@media(max-width:360px){.home-single .hero.hero-complete .hero-actions .btn{font-size:14px}}

/* Three main actions, with contact centered underneath at every size. */
.home-single .hero.hero-complete .hero-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:480px}
.home-single .hero.hero-complete .hero-actions .btn{width:100%;padding:13px 16px;text-align:center}
.home-single .hero.hero-complete .hero-actions .btn:last-child{grid-column:2}
@media(max-width:800px){.home-single .hero.hero-complete .hero-actions{max-width:370px;gap:12px 8px}.home-single .hero.hero-complete .hero-actions .btn{padding:13px 8px;font-size:14px}}

/* Return to the split opening, retaining the latest four-action layout. */
@media(min-width:801px){
 .home-single .hero.hero-complete{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto;gap:4vw;padding:98px 6vw 76px;background:linear-gradient(to right,var(--cream) 50%,var(--sand) 50%)}
 .home-single .hero.hero-complete .logo-wrap{grid-column:1;grid-row:1;width:110%;max-width:680px}
 .home-single .hero.hero-complete .hero-copy{grid-column:2;grid-row:1;text-align:center}
}
.home-single .hero.hero-complete .hero-actions{grid-column:auto;grid-row:auto;margin:0 auto;max-width:480px}
@media(max-width:800px){
 .home-single .hero.hero-complete{grid-template-columns:1fr;grid-template-rows:auto auto;padding:86px 7vw 0;gap:0;background:var(--cream)}
 .home-single .hero.hero-complete .logo-wrap{grid-column:1;grid-row:1;width:100%;max-width:460px}
 .home-single .hero.hero-complete .hero-copy{grid-column:1;grid-row:2;background:var(--sand);width:calc(100% + 14vw);margin-left:-7vw;padding:36px 7vw 58px}
 .home-single .hero.hero-complete .hero-actions{max-width:370px}
}

/* Reveal the actions after the headline entrance has finished. */
.motion-ready .hero.hero-complete .hero-actions.is-revealed{transition:translate 1.2s cubic-bezier(.22,1,.36,1) 1.3s,opacity 1s ease-out 1.3s}
@media(prefers-reduced-motion:reduce){.motion-ready .hero.hero-complete .hero-actions.is-revealed{transition:none}}

/* Content views live inside the right-hand background field. */
.hero.hero-complete .hero-copy{width:100%;min-width:0}
.motion-ready .hero.hero-complete .hero-copy>.hero-content-panel{opacity:1;translate:none;transition:none}
.hero-content-panel{text-align:left;max-height:calc(100svh - 170px);overflow:auto;padding:6px 12px 12px;scrollbar-width:thin;scrollbar-color:var(--blue) transparent}
.panel-back{display:inline-block;padding:8px 0;margin-bottom:16px;font:inherit;font-size:14px;font-weight:700;color:var(--blue);border:0;background:transparent;cursor:pointer}
.panel-back:hover{text-decoration:underline}
.hero-content-panel .menu,.hero-content-panel .contact{padding:0;background:none;border:0;display:block}
.hero-content-panel .menu-head{text-align:left;margin-bottom:20px}
.hero-content-panel .menu h2,.hero-content-panel>h2{font-family:'Kalam',cursive;font-size:44px;line-height:1.1;margin:0 0 20px}
.hero-content-panel .menu-grid{grid-template-columns:1fr;gap:18px}
.hero-content-panel .menu article{border:0;border-radius:0;padding:0}
.hero-content-panel .menu h3{font-size:28px;margin-bottom:8px}
.hero-content-panel .dish{font-size:15px;padding:10px 0}
.hero-content-panel .note{text-align:left}
.hero-content-panel .menu-reveal-content,.hero-content-panel .contact>*{opacity:1!important;translate:none!important;transition:none!important}
.hero-content-panel .contact>div{margin-bottom:24px}
.hero-content-panel .contact h2{font-size:38px;margin-bottom:12px}
.hero-content-panel .contact p{font-size:16px}
.inline-reservation{padding:0!important;display:block;max-width:none}
.inline-reservation .reservation-card{padding:0!important;border:0;border-radius:0;background:transparent}
.inline-reservation .reservation-card h1{font-family:'Kalam',cursive;font-size:44px!important;margin-bottom:20px!important;text-align:left}
.inline-reservation .reservation-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 12px!important}
.inline-reservation .reservation-fields label{font-size:14px}
.inline-reservation .reservation-submit{width:100%;font-size:16px}
.inline-reservation .reservation-summary h2{font-size:34px}
.inline-reservation .reservation-summary dl{font-size:15px;gap:8px 12px}
.hero-content-panel>p{font-size:17px;line-height:1.65}
.hero-content-panel>.btn{font:inherit;color:var(--blue);background:transparent;cursor:pointer}
@media(max-width:800px){.hero-content-panel{max-height:70svh;padding:0 2px 10px}.hero.hero-complete .hero-copy:has(.hero-content-panel:not([hidden])){padding-top:24px}}

/* Keep the artwork anchored while the right-hand content changes. */
@media(min-width:801px){
 .home-single .hero.hero-complete{height:calc(100svh - 65px);min-height:0;grid-template-rows:minmax(0,1fr);align-content:stretch}
 .home-single .hero.hero-complete .logo-wrap{width:min(110%,680px,calc(100svh - 210px));aspect-ratio:1;align-self:center}
 .home-single .hero.hero-complete .hero-copy{height:100%;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);align-items:center}
 .home-single .hero.hero-complete .hero-button-slot > #hero-intro{grid-column:1;grid-row:1;min-width:0}
 .home-single .hero.hero-complete .hero-content-panel{grid-column:1;grid-row:1;max-height:100%;min-height:0;box-sizing:border-box}
}
@media(max-width:800px){
 .home-single .hero.hero-complete{align-content:start;grid-template-rows:auto auto}
}

/* Opening sequence: centered zoom, then a slide into the split layout. */
@media(min-width:801px) and (prefers-reduced-motion:no-preference){
 .hero-intro-pending .hero.hero-complete{visibility:hidden}
 body.hero-intro-anim .hero.hero-complete :is(.logo-wrap img,#hero-intro,.hero-actions){opacity:1!important;translate:none!important;transition:none!important}
 body.intro-playing .hero.hero-complete{position:relative;isolation:isolate;background:var(--cream)}
 body.intro-playing .hero.hero-complete::before{content:'';position:absolute;left:50%;right:0;top:0;bottom:0;background:var(--sand);z-index:-1;animation:opening-panel 1.3s cubic-bezier(.65,0,.25,1) 1.9s both}
 body.intro-playing .hero.hero-complete .logo-wrap{animation:opening-logo 3.2s cubic-bezier(.4,0,.2,1) both;transform-origin:center;will-change:transform}
 body.intro-playing .hero.hero-complete .hero-copy{animation:opening-panel 1.3s cubic-bezier(.65,0,.25,1) 1.9s both;will-change:transform,opacity}
 @keyframes opening-logo{
  0%{transform:translateX(var(--opening-shift)) scale(.5);opacity:0}
  12%{opacity:1}
  48%,59%{transform:translateX(var(--opening-shift)) scale(1);opacity:1}
  100%{transform:translateX(0) scale(1);opacity:1}
 }
 @keyframes opening-panel{from{transform:translateX(100%);opacity:0}to{transform:translateX(0);opacity:1}}
}

/* Synchronize the panel and image with one continuous settling movement. */
@media(min-width:801px) and (prefers-reduced-motion:no-preference){
 body.intro-playing .hero.hero-complete .logo-wrap{animation:opening-logo-zoom 1.5s cubic-bezier(.22,.61,.36,1) both,opening-logo-settle 1.6s cubic-bezier(.22,.61,.36,1) 1.9s forwards;backface-visibility:hidden}
 body.intro-playing .hero.hero-complete .hero-copy,
 body.intro-playing .hero.hero-complete::before{animation:opening-panel-smooth 1.6s cubic-bezier(.22,.61,.36,1) 1.9s both;backface-visibility:hidden;will-change:transform}
 @keyframes opening-logo-zoom{from{transform:translate3d(var(--opening-shift),0,0) scale(.5);opacity:0}to{transform:translate3d(var(--opening-shift),0,0) scale(1);opacity:1}}
 @keyframes opening-logo-settle{from{transform:translate3d(var(--opening-shift),0,0) scale(1)}to{transform:translate3d(0,0,0) scale(1)}}
 @keyframes opening-panel-smooth{from{transform:translate3d(50vw,0,0)}to{transform:translate3d(0,0,0)}}
}

/* A left-leading pull: the background stretches slightly, then settles. */
@media(min-width:801px) and (prefers-reduced-motion:no-preference){
 body.intro-playing .hero.hero-complete::before{transform-origin:right center;animation:opening-panel-pull 1.6s cubic-bezier(.22,.61,.36,1) 1.9s both}
 body.intro-playing .hero.hero-complete .hero-copy{animation:opening-copy-pull 1.6s cubic-bezier(.22,.61,.36,1) 1.9s both}
 @keyframes opening-panel-pull{
  0%{transform:translate3d(50vw,0,0) scaleX(.94)}
  76%{transform:translate3d(-8px,0,0) scaleX(1.025)}
  90%{transform:translate3d(3px,0,0) scaleX(.995)}
  100%{transform:translate3d(0,0,0) scaleX(1)}
 }
 @keyframes opening-copy-pull{
  0%{transform:translate3d(50vw,0,0)}
  76%{transform:translate3d(-8px,0,0)}
  90%{transform:translate3d(3px,0,0)}
  100%{transform:translate3d(0,0,0)}
 }
}

/* Flex only the leading edge; the panel content stays rigid and steady. */
@media(min-width:801px) and (prefers-reduced-motion:no-preference){
 body.intro-playing .hero.hero-complete::before{transform-origin:center;animation:opening-flex-edge 1.6s cubic-bezier(.22,.61,.36,1) 1.9s both}
 body.intro-playing .hero.hero-complete .hero-copy{animation:opening-panel-smooth 1.6s cubic-bezier(.22,.61,.36,1) 1.9s both}
 @keyframes opening-flex-edge{
  0%{transform:translate3d(50vw,0,0);clip-path:polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 90%,0% 80%,0% 70%,0% 60%,0% 50%,0% 40%,0% 30%,0% 20%,0% 10%)}
  32%{transform:translate3d(10vw,0,0);clip-path:polygon(14% 0%,100% 0%,100% 100%,14% 100%,13.5% 90%,11.8% 80%,9% 70%,5% 60%,0% 50%,5% 40%,9% 30%,11.8% 20%,13.5% 10%)}
  65%{transform:translate3d(1vw,0,0);clip-path:polygon(7% 0%,100% 0%,100% 100%,7% 100%,6.7% 90%,5.9% 80%,4.5% 70%,2.5% 60%,0% 50%,2.5% 40%,4.5% 30%,5.9% 20%,6.7% 10%)}
  100%{transform:translate3d(0,0,0);clip-path:polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 90%,0% 80%,0% 70%,0% 60%,0% 50%,0% 40%,0% 30%,0% 20%,0% 10%)}
 }
}

/* Two pulls with a parabolic leading edge, followed by a straight final edge. */
@property --edge-bend{syntax:'<percentage>';inherits:false;initial-value:0%}
@media(min-width:801px) and (prefers-reduced-motion:no-preference){
 body.intro-playing .hero.hero-complete::before{
  animation:opening-double-pull 2.2s linear 1.9s both;
  clip-path:polygon(var(--edge-bend) 0%,100% 0%,100% 100%,var(--edge-bend) 100%,calc(var(--edge-bend)*.64) 90%,calc(var(--edge-bend)*.36) 80%,calc(var(--edge-bend)*.16) 70%,calc(var(--edge-bend)*.04) 60%,0% 50%,calc(var(--edge-bend)*.04) 40%,calc(var(--edge-bend)*.16) 30%,calc(var(--edge-bend)*.36) 20%,calc(var(--edge-bend)*.64) 10%);
 }
 body.intro-playing .hero.hero-complete .hero-copy{animation:opening-double-copy 2.2s linear 1.9s both}
 body.intro-playing .hero.hero-complete .logo-wrap{animation:opening-logo-zoom 1.5s cubic-bezier(.22,.61,.36,1) both,opening-double-settle 2.2s linear 1.9s forwards}
 @keyframes opening-double-pull{
  0%{transform:translate3d(50vw,0,0);--edge-bend:0%;animation-timing-function:ease-out}
  18%{transform:translate3d(46vw,0,0);--edge-bend:24%;animation-timing-function:ease-in-out}
  32%{transform:translate3d(49.5vw,0,0);--edge-bend:16%;animation-timing-function:cubic-bezier(.22,.61,.36,1)}
  72%{transform:translate3d(3vw,0,0);--edge-bend:12%;animation-timing-function:ease-out}
  100%{transform:translate3d(0,0,0);--edge-bend:0%}
 }
 @keyframes opening-double-copy{
  0%,32%{transform:translate3d(50vw,0,0);animation-timing-function:cubic-bezier(.22,.61,.36,1)}
  100%{transform:translate3d(0,0,0)}
 }
 @keyframes opening-double-settle{
  0%,32%{transform:translate3d(var(--opening-shift),0,0) scale(1);animation-timing-function:cubic-bezier(.22,.61,.36,1)}
  100%{transform:translate3d(0,0,0) scale(1)}
 }
}

/* Three stronger pulls with a smaller, central parabolic bow. */
@media(min-width:801px) and (prefers-reduced-motion:no-preference){
 body.intro-playing .hero.hero-complete::before{
  animation:opening-triple-pull 3s linear 1.9s both;
  clip-path:polygon(var(--edge-bend) 0%,100% 0%,100% 100%,var(--edge-bend) 100%,var(--edge-bend) 75%,calc(var(--edge-bend)*.64) 70%,calc(var(--edge-bend)*.36) 65%,calc(var(--edge-bend)*.16) 60%,calc(var(--edge-bend)*.04) 55%,0% 50%,calc(var(--edge-bend)*.04) 45%,calc(var(--edge-bend)*.16) 40%,calc(var(--edge-bend)*.36) 35%,calc(var(--edge-bend)*.64) 30%,var(--edge-bend) 25%);
 }
 body.intro-playing .hero.hero-complete .hero-copy{animation:opening-triple-copy 3s linear 1.9s both}
 body.intro-playing .hero.hero-complete .logo-wrap{animation:opening-logo-zoom 1.5s cubic-bezier(.22,.61,.36,1) both,opening-triple-settle 3s linear 1.9s forwards}
 @keyframes opening-triple-pull{
  0%{transform:translate3d(50vw,0,0);--edge-bend:0%;animation-timing-function:cubic-bezier(.16,1,.3,1)}
  14%{transform:translate3d(42vw,0,0);--edge-bend:28%;animation-timing-function:ease-in-out}
  26%{transform:translate3d(49.5vw,0,0);--edge-bend:18%;animation-timing-function:cubic-bezier(.16,1,.3,1)}
  40%{transform:translate3d(36vw,0,0);--edge-bend:36%;animation-timing-function:ease-in-out}
  52%{transform:translate3d(49vw,0,0);--edge-bend:20%;animation-timing-function:cubic-bezier(.22,.61,.36,1)}
  80%{transform:translate3d(2vw,0,0);--edge-bend:14%;animation-timing-function:ease-out}
  100%{transform:translate3d(0,0,0);--edge-bend:0%}
 }
 @keyframes opening-triple-copy{
  0%,52%{transform:translate3d(50vw,0,0);animation-timing-function:cubic-bezier(.22,.61,.36,1)}
  100%{transform:translate3d(0,0,0)}
 }
 @keyframes opening-triple-settle{
  0%,52%{transform:translate3d(var(--opening-shift),0,0) scale(1);animation-timing-function:cubic-bezier(.22,.61,.36,1)}
  100%{transform:translate3d(0,0,0) scale(1)}
 }
}

/* Two equal quick tugs, then a longer final pull; full-height parabola. */
@media(min-width:801px) and (prefers-reduced-motion:no-preference){
 body.intro-playing .hero.hero-complete::before{
  clip-path:polygon(var(--edge-bend) 0%,100% 0%,100% 100%,var(--edge-bend) 100%,calc(var(--edge-bend)*.64) 90%,calc(var(--edge-bend)*.36) 80%,calc(var(--edge-bend)*.16) 70%,calc(var(--edge-bend)*.04) 60%,0% 50%,calc(var(--edge-bend)*.04) 40%,calc(var(--edge-bend)*.16) 30%,calc(var(--edge-bend)*.36) 20%,calc(var(--edge-bend)*.64) 10%);
 }
 @keyframes opening-triple-pull{
  0%{transform:translate3d(50vw,0,0);--edge-bend:18%;animation-timing-function:cubic-bezier(.16,1,.3,1)}
  10%{transform:translate3d(47.5vw,0,0);--edge-bend:30%;animation-timing-function:ease-in-out}
  20%{transform:translate3d(49.5vw,0,0);--edge-bend:18%;animation-timing-function:cubic-bezier(.16,1,.3,1)}
  30%{transform:translate3d(47.5vw,0,0);--edge-bend:30%;animation-timing-function:ease-in-out}
  40%{transform:translate3d(49.5vw,0,0);--edge-bend:18%;animation-timing-function:cubic-bezier(.22,.61,.36,1)}
  80%{transform:translate3d(2vw,0,0);--edge-bend:10%;animation-timing-function:ease-out}
  100%{transform:translate3d(0,0,0);--edge-bend:0%}
 }
 @keyframes opening-triple-copy{
  0%,40%{transform:translate3d(50vw,0,0);animation-timing-function:cubic-bezier(.22,.61,.36,1)}
  100%{transform:translate3d(0,0,0)}
 }
 @keyframes opening-triple-settle{
  0%,40%{transform:translate3d(var(--opening-shift),0,0) scale(1);animation-timing-function:cubic-bezier(.22,.61,.36,1)}
  100%{transform:translate3d(0,0,0) scale(1)}
 }
}

/* Extend the first two parabolic pulls without slowing the movement. */
@media(min-width:801px) and (prefers-reduced-motion:no-preference){
 body.intro-playing .hero.hero-complete::before{animation-duration:3s}
 body.intro-playing .hero.hero-complete .hero-copy{animation-duration:3s}
 body.intro-playing .hero.hero-complete .logo-wrap{animation-duration:1.5s,3s}
 @keyframes opening-triple-pull{
  0%{transform:translate3d(50vw,0,0);--edge-bend:18%;animation-timing-function:cubic-bezier(.16,1,.3,1)}
  10%{transform:translate3d(45.5vw,0,0);--edge-bend:30%;animation-timing-function:ease-in-out}
  16%{transform:translate3d(49.5vw,0,0);--edge-bend:18%;animation-timing-function:cubic-bezier(.16,1,.3,1)}
  24%{transform:translate3d(45.5vw,0,0);--edge-bend:30%;animation-timing-function:ease-in-out}
  40%{transform:translate3d(49.5vw,0,0);--edge-bend:18%;animation-timing-function:cubic-bezier(.22,.61,.36,1)}
  80%{transform:translate3d(2vw,0,0);--edge-bend:10%;animation-timing-function:ease-out}
  100%{transform:translate3d(0,0,0);--edge-bend:0%}
 }
 @keyframes opening-triple-copy{
  0%,40%{transform:translate3d(50vw,0,0);animation-timing-function:cubic-bezier(.22,.61,.36,1)}
  100%{transform:translate3d(0,0,0)}
 }
 @keyframes opening-triple-settle{
  0%,40%{transform:translate3d(var(--opening-shift),0,0) scale(1);animation-timing-function:cubic-bezier(.22,.61,.36,1)}
  100%{transform:translate3d(0,0,0) scale(1)}
 }
}

/* JS springs drive the edge, the body translation and the artwork together. */
@media(min-width:801px) and (prefers-reduced-motion:no-preference){
 body.intro-physics.intro-playing .hero.hero-complete::before{left:0;right:0;animation:none;transform:none;clip-path:var(--physical-edge);will-change:clip-path}
 body.intro-physics.intro-playing .hero.hero-complete .hero-copy{animation:none;transform:translate3d(var(--physical-panel-shift),0,0);opacity:1;will-change:transform}
 body.intro-physics.intro-playing .hero.hero-complete .logo-wrap{animation:none;transform:translate3d(var(--physical-image-shift),0,0) rotate(var(--physical-image-turn,0deg)) scale(var(--physical-image-scale));opacity:var(--physical-image-opacity);will-change:transform,opacity}
}

.hero.hero-complete .hero-actions .contact-text-link{grid-column:1/-1;justify-self:center;display:inline-block;padding:9px 4px;margin-top:2px;font-size:15px;font-weight:500;color:var(--blue);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px;cursor:pointer}
.hero.hero-complete .hero-actions .contact-text-link:hover{color:var(--ink);text-decoration-thickness:2px}

/* A small blue seed gives way to the spinning artwork during the initial zoom. */
@media(min-width:801px) and (prefers-reduced-motion:no-preference){
 body.hero-intro-anim.intro-physics.intro-playing .hero.hero-complete .logo-wrap{position:relative}
 body.hero-intro-anim.intro-physics.intro-playing .hero.hero-complete .logo-wrap img{opacity:var(--physical-art-opacity,0)!important}
 body.hero-intro-anim.intro-physics.intro-playing .hero.hero-complete .logo-wrap::after{content:'';position:absolute;left:50%;top:50%;width:48px;height:48px;transform:translate(-50%,-50%);border-radius:50%;background:var(--blue);opacity:var(--physical-dot-opacity,1);pointer-events:none}
}

/* A visible growing blue disk opens into the artwork through a circular mask. */
@media(min-width:801px) and (prefers-reduced-motion:no-preference){
 body.hero-intro-anim.intro-physics.intro-playing .hero.hero-complete .logo-wrap img{clip-path:circle(var(--physical-reveal-radius,12.5%) at 50% 50%)}
 body.hero-intro-anim.intro-physics.intro-playing .hero.hero-complete .logo-wrap::after{width:var(--physical-seed-size,25%);height:var(--physical-seed-size,25%)}
}

/* Show the complete artwork throughout the zoom, without the blue seed. */
@media(min-width:801px) and (prefers-reduced-motion:no-preference){
 body.hero-intro-anim.intro-physics.intro-playing .hero.hero-complete .logo-wrap::after{display:none}
 body.hero-intro-anim.intro-physics.intro-playing .hero.hero-complete .logo-wrap img{clip-path:none;opacity:1!important}
}

/* Bottom-panel alternative: artwork above, controls and views below. */
.home-single .hero.hero-complete.hero-bottom-layout{position:relative;isolation:isolate;background:var(--cream);height:calc(100svh - 65px);min-height:0;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,3fr) minmax(0,2fr);padding:70px 0 0;gap:0;align-content:stretch;overflow:clip;--bottom-start:calc(60% + 28px)}
.hero.hero-complete.hero-bottom-layout::before{content:'';position:absolute;inset:0;background:var(--sand);clip-path:inset(var(--bottom-start) 0 0);z-index:-1;pointer-events:none}
.home-single .hero.hero-complete.hero-bottom-layout .logo-wrap{grid-column:1;grid-row:1;width:min(430px,43svh,86vw);max-width:100%;aspect-ratio:1;align-self:center;justify-self:center;margin:0;transform:none}
.home-single .hero.hero-complete.hero-bottom-layout .hero-copy{grid-column:1;grid-row:2;position:static;width:100%;height:100%;min-height:0;margin:0;padding:20px 6vw;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;background:transparent;box-sizing:border-box}
.hero-bottom-layout #hero-intro{width:100%;max-width:560px;margin:auto}
.hero-bottom-layout .hero-content-panel{width:100%;max-width:800px;justify-self:center;max-height:100%;overflow:auto}
.hero-bottom-layout .menu-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.hero-bottom-layout .inline-reservation .reservation-fields{grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media(min-width:801px) and (prefers-reduced-motion:no-preference){
 body.intro-physics.intro-playing .hero.hero-complete.hero-bottom-layout::before{inset:0;animation:none;transform:none;clip-path:var(--physical-edge)}
 body.intro-physics.intro-playing .hero.hero-complete.hero-bottom-layout .hero-copy{transform:translate3d(0,var(--physical-panel-shift),0)}
 body.intro-physics.intro-playing .hero.hero-complete.hero-bottom-layout .logo-wrap{transform:translate3d(0,var(--physical-image-shift),0) rotate(var(--physical-image-turn,0deg)) scale(var(--physical-image-scale))}
}
@media(max-width:800px){
 .home-single .hero.hero-complete.hero-bottom-layout .logo-wrap{width:min(360px,40svh,84vw)}
 .home-single .hero.hero-complete.hero-bottom-layout .hero-copy{padding:20px 6vw}
 .hero-bottom-layout .menu-grid{grid-template-columns:1fr}
 .hero-bottom-layout .inline-reservation .reservation-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
.hero.hero-complete.hero-bottom-layout .logo-wrap img{mix-blend-mode:normal}

/* The rising color fills the complete page behind the transparent artwork. */
.home-single{background:var(--sand)}
.hero.hero-complete.hero-bottom-layout::before{clip-path:inset(0)}

/* Give the complete transparent logo more presence above the actions. */
.home-single .hero.hero-complete.hero-bottom-layout .logo-wrap{width:min(520px,53svh,90vw)}
@media(max-width:800px){.home-single .hero.hero-complete.hero-bottom-layout .logo-wrap{width:min(420px,46svh,88vw)}}

.home-single .hero.hero-complete.hero-bottom-layout .logo-wrap{width:min(600px,61svh,92vw)}
@media(max-width:800px){.home-single .hero.hero-complete.hero-bottom-layout .logo-wrap{width:min(460px,50svh,92vw)}}

/* A second ink layer is revealed by the exact spring-driven background edge. */
.hero.hero-complete.hero-bottom-layout .logo-wrap{position:relative;--crossed-ink:#18366f}
.artwork-color-overlay{position:absolute;inset:0;display:block;background:var(--crossed-ink);mask-image:var(--ink-mask);-webkit-mask-image:var(--ink-mask);mask-size:100% 100%;-webkit-mask-size:100% 100%;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-mode:alpha;pointer-events:none;clip-path:polygon(0 100%,100% 100%,100% 100%);z-index:1}

.hero.hero-complete .logo-wrap .artwork-original-overlay{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;z-index:2;pointer-events:none;clip-path:polygon(0 100%,100% 100%,100% 100%);mix-blend-mode:normal}

.hero.hero-complete.hero-bottom-layout .logo-wrap{--crossed-ink:#000000}

.nav{background:rgba(255,255,255,.78)}
.home-overlay .nav{background:rgba(255,255,255,.45)}
.home-overlay .nav.is-over-blue{background:rgba(46,89,173,.78)}
.reservation-body .nav,.reservation-body .nav.is-over-blue{background:var(--cream)}

/* Let the browser rerasterize the logo as its scale changes. */
body.intro-physics.intro-playing .hero.hero-complete.hero-bottom-layout .logo-wrap{will-change:auto;backface-visibility:visible;transform:translate(0,var(--physical-image-shift)) rotate(var(--physical-image-turn,0deg)) scale(var(--physical-image-scale))}

/* Render the moving artwork on an unscaled, high-DPI surface. */
.opening-artwork-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}
body.intro-canvas .hero.hero-complete.hero-bottom-layout .logo-wrap{visibility:hidden}
body.intro-canvas .hero.hero-complete.hero-bottom-layout .hero-copy{position:relative;z-index:2}

/* Keep live text rasterized sharply while the bottom panel moves. */
body.intro-physics.intro-playing .hero.hero-complete.hero-bottom-layout .hero-copy{will-change:auto;backface-visibility:visible;transform:translateY(var(--physical-panel-shift))}
body.intro-physics.intro-playing .hero.hero-complete.hero-bottom-layout #hero-intro,
body.intro-physics.intro-playing .hero.hero-complete.hero-bottom-layout .hero-actions{will-change:auto;backface-visibility:visible}

/* The text panel has its own compositor-only motion, never scaled. */
body.intro-canvas.intro-physics.intro-playing .hero.hero-complete.hero-bottom-layout .hero-copy{transform:none;will-change:transform;backface-visibility:visible}

/* Opening with the original blue artwork throughout. */
.home-single{--opening-background:#04349A}
.home-single .nav{background:rgba(255,255,255,.65)}
.home-single .hero.hero-complete.hero-bottom-layout .logo-wrap{--crossed-ink:var(--sand)}

/* The rising background stops below the artwork, leaving the upper field visible. */
.hero.hero-complete.hero-bottom-layout::before{clip-path:inset(var(--bottom-start) 0 0)}

/* Soft boundary between the opening colors; only the background is feathered. */
.hero.hero-complete.hero-bottom-layout::before{clip-path:none;background:var(--sand)}
body.intro-canvas.intro-physics.intro-playing .hero.hero-complete.hero-bottom-layout::before{visibility:hidden}

/* Let the home fill the viewport after removing its footer. */
.home-single .hero.hero-complete.hero-bottom-layout{height:100svh}

/* Use the canvas opening on mobile as well as desktop. */
@media(prefers-reduced-motion:no-preference){
 .hero-intro-pending .hero.hero-complete{visibility:hidden}
 body.hero-intro-anim .hero.hero-complete :is(.logo-wrap img,#hero-intro,.hero-actions){opacity:1!important;translate:none!important;transition:none!important}
}

.home-single .hero.hero-complete.hero-bottom-layout #hero-intro{position:relative;top:calc(-36px + var(--home-controls-clearance, 0px))}

/* Stack the three main mobile actions, with the contact link below. */
@media(max-width:800px){
 .home-single .hero.hero-complete.hero-bottom-layout{grid-template-rows:minmax(0,3fr) minmax(256px,2fr)}
 .home-single .hero.hero-complete .hero-actions{grid-template-columns:minmax(0,1fr);max-width:300px;gap:18px}
 .home-single .hero.hero-complete .hero-actions .btn,
 .home-single .hero.hero-complete .hero-actions .btn:last-child {
   display:grid;
   place-items:center;
   grid-column:1;
   width:100%;
   min-height:3.1875rem;
   padding:0 12px;
   font-size:1rem;
   line-height:1.3;
 }
 .home-single .hero.hero-complete .hero-actions .contact-text-link{grid-column:1;justify-self:center;margin-top:2px}
 .home-single .hero.hero-complete.hero-bottom-layout #hero-intro{position:relative;top:calc(-46px + var(--home-controls-clearance, 0px))}
}

/* Keep the artwork in front without clipping its transparent rectangle. */
.opening-background-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
.opening-artwork-canvas{z-index:3}

/* Opening field sampled from the blue ink of the original logo. */
.home-single .hero.hero-complete.hero-bottom-layout{background:var(--opening-background)}
.hero-intro-pending .home-single .nav,.home-single.intro-playing .nav{background:rgba(4,52,154,.65);color:var(--sand);border-bottom-color:rgba(255,255,255,.2)}
.hero-intro-pending .home-single .nav .header-icon,.home-single.intro-playing .nav .header-icon{color:var(--sand)}

/* Header-free home with contact and social icons below the main actions. */
.home-single .hero.hero-complete.hero-bottom-layout{padding:24px 0}
.home-single .home-socials{position:relative;top:0;justify-content:center;gap:12px;width:max-content;max-width:100%;margin:30px auto 0}
@media(max-width:800px){
 .home-single .hero.hero-complete.hero-bottom-layout{grid-template-rows:minmax(0,3fr) minmax(310px,2fr)}
}

/* The incoming background reveals blue controls already in their final positions. */
.home-single .hero.hero-complete .hero-actions .btn {
  color: var(--opening-background, var(--blue));
  border-color: currentColor;
  background: transparent;
  font-family: inherit;
  font-weight: 700;
  text-align: center;
}
.home-single .hero.hero-complete .hero-actions .btn{transition:background-color .2s ease,color .2s ease,border-color .2s ease}
.home-single .hero.hero-complete .hero-actions .btn:hover{transform:none}
.home-single .hero.hero-complete .hero-actions .contact-text-link,
.home-single .home-socials .header-icon{color:var(--opening-background)}
.home-single .hero.hero-complete .hero-actions .btn:focus-visible {
  background: var(--opening-background, var(--blue));
  border-color: var(--opening-background, var(--blue));
  color: var(--sand);
}
@media (hover: hover) and (pointer: fine) {
  .home-single .hero.hero-complete .hero-actions .btn:hover {
    background: var(--opening-background, var(--blue));
    border-color: var(--opening-background, var(--blue));
    color: var(--sand);
  }
}

/* The contact action shares the main button styling on its own second row. */
.home-single .hero.hero-complete .hero-actions .contact-button{grid-column:2;justify-self:center}
@media(min-width:801px){
 .home-single .hero.hero-complete.hero-bottom-layout #hero-intro{width:100%;max-width:860px}
 .home-single .hero.hero-complete .hero-actions{position:relative;top:-48px;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 22px;max-width:860px;width:100%}
 .home-single .home-socials{top:-28px}
 .home-single .hero.hero-complete .hero-actions .btn,
 .home-single .hero.hero-complete .hero-actions .contact-button:last-child,
}
@media(max-width:800px){
 .home-single .hero.hero-complete .hero-actions .contact-button:last-child{grid-column:1}
 .home-single .hero.hero-complete.hero-bottom-layout{grid-template-rows:minmax(0,3fr) minmax(326px,2fr)}
}

@media(min-width:801px) and (hover:hover) and (pointer:fine){
 .home-single .hero.hero-complete .hero-actions .btn{transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease}
 .home-single .hero.hero-complete .hero-actions .btn:hover{transform:translateY(-6px) scale(1.015);box-shadow:0 5px 12px rgba(4,52,154,.14)}
 .home-single .hero.hero-complete .hero-actions .btn:active{transform:translateY(-1px);box-shadow:none}
}
@media(prefers-reduced-motion:reduce){
 .home-single .hero.hero-complete .hero-actions .btn{transition:none}
 .home-single .hero.hero-complete .hero-actions .btn:hover{transform:none}
}

/* Keep the desktop composition balanced on laptop and short windows. */
@media(min-width:801px) and (max-height:760px){
 .home-single .hero.hero-complete.hero-bottom-layout{padding:20px 0;grid-template-rows:minmax(0,1fr) minmax(196px,.65fr)}
 .home-single .hero.hero-complete.hero-bottom-layout .logo-wrap{width:min(520px,calc(100svh - 230px),58svh,80vw)}
}

/* Menu categories and prices inside the scrollable dialog content. */
#menu-dialog[open] { display:grid; grid-template-rows:auto minmax(0,1fr); }
.menu-dialog-content { min-height:0; overflow:auto; overscroll-behavior:contain; scroll-margin:0; scrollbar-width:none; }
.menu-dialog-content::-webkit-scrollbar { display:none; }
#menu-dialog .menu-grid {
  grid-template-columns:minmax(0,1fr);
  gap:24px;
  align-items:start;
}
#menu-dialog .menu-grid[hidden] { display:none; }
#menu-dialog .menu-grid article { min-width:0; border:0; padding:0; background:none; }
#menu-dialog h3{font:700 27px/1.25 Kalam,cursive;margin:0 0 14px}
#menu-dialog .menu-items{list-style:none;padding:0;margin:0}
#menu-dialog .dish{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:4px 12px;padding:12px 0;border-top:1px solid var(--line);font-size:16px;line-height:1.4}
#menu-dialog .dish-name{font-weight:700}
#menu-dialog .dish-price{white-space:nowrap;font-weight:700;font-variant-numeric:tabular-nums}
#menu-dialog :is(.dish-description,.dish-allergens){grid-column:1 / -1;color:var(--ink);font-size:.875rem}
#menu-dialog .dish-allergens:empty{display:none}
.allergen-badge {
  display:inline-grid;
  position:relative;
  isolation:isolate;
  place-items:center;
  min-width:24px;
  height:24px;
  padding:0 3px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:var(--blue);
  font:inherit;
  font-size:.75rem;
  font-weight:700;
  line-height:1;
  vertical-align:middle;
  cursor:pointer;
}
.allergen-badge::before {
  content:'';
  position:absolute;
  inset:3px;
  z-index:-1;
  border:1px solid var(--blue);
  border-radius:50%;
}
.allergen-badge[aria-pressed="true"] { color:#fff; }
.allergen-badge[aria-pressed="true"]::before { background:var(--blue); }
/* Transparent trattoria frame, revealed by the rising background. */
.home-single .hero.hero-complete.hero-bottom-layout{--frame-opacity:1;--frame-ink:#0336A1}
.home-single .hero.hero-complete.hero-bottom-layout::after{
 content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:url('cornice-trattoria.png') center / 100% 100% no-repeat;opacity:var(--frame-opacity);
}
.home-single.intro-canvas .hero.hero-complete.hero-bottom-layout::after{visibility:hidden}
@media(max-width:800px){
 .home-single .hero.hero-complete.hero-bottom-layout{--frame-opacity:0}
 .home-single .hero.hero-complete.hero-bottom-layout::after{display:none}
}
/* The shared decoration canvas reserves clear space around the active UI. */
.home-single .hero.hero-complete.hero-bottom-layout::after{display:none}
.trattoria-frame-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;opacity:var(--frame-opacity,.3)}
.home-single.intro-canvas .trattoria-frame-canvas{visibility:hidden}
.home-single .hero.hero-complete.hero-bottom-layout .logo-wrap{z-index:1}
.home-single .hero.hero-complete.hero-bottom-layout .hero-copy{position:relative;z-index:2}
@media(max-width:800px){.trattoria-frame-canvas{display:none}}
/* Keep hover from steering a control while its opening path is running. */
.home-single.intro-playing .hero.hero-complete .hero-actions .btn:hover,
.home-single.intro-playing .hero.hero-complete .hero-actions .btn:active{
 transform:none;box-shadow:none;
}
/* During the opening, the decorative ink sits in front of the moving controls. */
.opening-frame-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none}
.opening-artwork-canvas{z-index:4}

#booking-request { color:var(--blue); text-align:left; overflow-wrap:anywhere; }
#booking-request p { font:inherit; font-size:1rem; line-height:1.5; margin:0 0 1rem; }
#booking-request [hidden], #booking-rule:empty { display:none; }
#booking-continue { display:block; margin:0; font-family:inherit; font-size:1rem; cursor:pointer; }
#booking-request #booking-phone { margin:.75rem 0 0; text-align:center; }
#booking-phone a { font-weight:700; text-decoration:underline; white-space:nowrap; }
#booking-request .reservation-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr))!important; margin-bottom:1rem; }
.booking-date-time {
  display:grid;
  grid-column:1 / -1;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
#reservation-form.show-invalid-fields .reservation-fields :is(input,select):invalid,
#booking-time[aria-invalid="true"] {
  border-color: #9e3129;
  background-color: rgb(158 49 41 / 7%);
}
#reservation-form.show-invalid-fields .reservation-fields :is(input,select):invalid:focus-visible {
  outline-color: #9e3129;
}
#booking-rule { font-weight:700; }
.booking-actions { display:flex; justify-content:center; align-items:center; gap:10px; }
.booking-qr-link { display:grid; place-items:center; flex:none; width:48px; height:48px; padding:4px; color:var(--blue); background:transparent; border:2px solid currentColor; border-radius:12px; cursor:pointer; }
.booking-qr-icon { display:block; width:100%; height:100%; background:currentColor; isolation:isolate; }
.booking-qr-icon img { display:block; width:100%; height:100%; mix-blend-mode:screen; }
.booking-qr-link[hidden] { display:none; }
@media (hover:hover) { .booking-qr-link:hover { background:#edf3ff; } }
#booking-qr { display:grid; flex:1; min-height:0; grid-template-rows:auto minmax(7rem, 1fr) auto auto; justify-items:center; gap:.5rem; text-align:center; }
#booking-qr[hidden] { display:none; }
.booking-qr-intro { display:grid; gap:.5rem; width:max-content; max-width:calc(100% - 3.5rem); }
.booking-qr-intro p { contain:inline-size; }
#booking-request #booking-qr p { margin:0; }
#booking-request #booking-qr-summary { padding:.375rem .75rem; border-radius:8px; background:#edf3ff; font-weight:700; }
#booking-edit { border:0; padding:.25rem .5rem; background:transparent; color:inherit; font:inherit; text-decoration:underline; cursor:pointer; }
.booking-qr-frame {
  justify-self:stretch;
  align-self:stretch;
  min-height:0;
  container-type:size;
}
.booking-qr-frame img {
  display:block;
  width:min(100%, 7rem);
  width:min(100cqw, 100cqh, 17rem);
  height:auto;
  aspect-ratio:1;
  margin-inline:auto;
  border:1px solid var(--blue);
  border-radius:12px;
  background:#fff;
  image-rendering:pixelated;
}
#booking-preview { padding:1rem; margin-top:1rem!important; border-left:3px solid currentColor; }
@media (hover:none) and (pointer:coarse) { .booking-qr-link { display:none; } }
@media (max-width:374px) {
  #booking-request .reservation-fields { grid-template-columns:minmax(0,1fr)!important; }
}

/* Swap the controls in the home grid while retaining its artwork. */
.hero-button-slot { display: contents; }
.motion-ready .hero.hero-complete .hero-copy > .hero-button-slot {
  opacity: 1;
  translate: none;
}
#hero-intro:focus, #booking-form-title:focus, #booking-qr-title:focus, #contact-title:focus, #menu-title:focus { outline: none; }

html:has(:is(#booking-form-dialog, #contatti, #menu-dialog)[open]) {
  overflow: hidden;
  overscroll-behavior: none;
}
#booking-form-dialog, #contatti, #menu-dialog {
  width: min(100% - 2rem, 38rem);
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: clamp(1rem, 5vw, 2rem);
  border: 1px solid var(--blue);
  border-radius: 20px;
  color: var(--blue);
  background: #fff;
  overflow: hidden auto;
  overscroll-behavior: contain;
  touch-action: pan-y pinch-zoom;
}
#booking-form-dialog::backdrop, #contatti::backdrop, #menu-dialog::backdrop {
  background: rgb(19 31 56 / 30%);
  touch-action: none;
}
#booking-form-title, #booking-qr-title, #contact-title, #menu-title {
  margin: 0 0 1rem;
  font: 700 clamp(1.75rem, 6vw, 2.5rem)/1.15 'Kalam', cursive;
}
#contatti, #menu-dialog { text-align:left; }
#contatti { width:min(100% - 2rem, 27rem); }
@media (min-width:801px) {
  #menu-dialog { max-height:min(86dvh, calc(100dvh - 2rem)); }
}
#menu-title, #booking-form-title, #contact-title {
  padding-inline:clamp(1.75rem, 8vw, 2.5rem);
  font-size:clamp(2rem, 6vw, 2.5rem);
  text-align:center;
}
.contact-details { display:grid; }
.contact-details section + section { border-top:1px solid var(--line); padding-top:1rem; margin-top:1rem; }
.contact-details h3 { margin:0 0 .25rem; font-size:1rem; }
.contact-details p { margin:0; color:var(--ink); }
.contact-details a { color:inherit; font-weight:inherit; text-decoration:underline; }
#booking-qr-title { margin:0; }
#booking-request .booking-confirmation {
  padding:.75rem .875rem;
  border-inline-start:3px solid var(--blue);
  border-radius:0 8px 8px 0;
  background:#edf3ff;
  font-size:.9375rem;
}
.booking-confirmation strong { display:block; margin-bottom:.2rem; }

@media (max-width: 800px) {
  #booking-request .booking-qr-link { display:none; }
  #hero-intro .hero-actions > .contact-button { grid-area:4 / 1; }
  #booking-form-dialog { scrollbar-width: none; }
  #booking-form-dialog::-webkit-scrollbar { display: none; }


}

/* Shared controls keep both reservation fields aligned. */
.booking-date-time, .time-picker { position:relative; }
.booking-date-time :is(input, select)[hidden] { display:none; }
.booking-picker-button {
  display:block;
  width:100%;
  height:46px;
  margin-top:5px;
  padding:0 clamp(6px, 2vw, 12px);
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  color:var(--ink);
  font:inherit;
  text-align:left;
  cursor:pointer;
}
#reservation-form input[name="guests"] { appearance:textfield; }
#reservation-form input[name="guests"]::-webkit-inner-spin-button,
#reservation-form input[name="guests"]::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.booking-picker-button[aria-invalid="true"] { border-color:#9e3129; background:rgb(158 49 41 / 7%); }
.booking-picker-menu {
  position:absolute;
  z-index:5;
  bottom:var(--picker-fallback-bottom, calc(100% + 4px));
  inset-inline-start:0;
  overflow:auto;
  overscroll-behavior:contain;
  background:#fff;
  border:1px solid var(--blue);
  border-radius:10px;
  box-shadow:0 5px 16px rgb(24 54 111 / 15%);
}
.booking-picker-menu[hidden] { display:none; }
.time-options { inset-inline-end:0; max-height:min(180px, var(--picker-room, 180px)); }
.booking-picker-menu:popover-open {
  position:fixed;
  right:auto;
  bottom:auto;
  margin:0;
  padding:0;
}
#booking-calendar { --picker-fallback-bottom:50px; width:min(100%, 19rem); max-width:19rem; max-height:var(--picker-room, 20rem); padding:8px; color:var(--blue); }
.booking-calendar-header { display:flex; align-items:center; justify-content:space-between; gap:4px; margin-bottom:4px; }
#booking-month { text-transform:capitalize; }
.booking-calendar-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:2px; text-align:center; }
#booking-calendar-days { grid-template-rows:repeat(6, 32px); }
.booking-calendar-grid abbr { padding:2px 0; text-decoration:none; font-size:.75rem; }
#booking-calendar button { min-height:32px; border:0; border-radius:7px; padding:0; background:#fff; color:var(--blue); font:inherit; cursor:pointer; }
.booking-calendar-header button { min-width:36px; }
#booking-calendar button:hover:not(:disabled) { background:#edf3ff; }
#booking-calendar button[aria-current="date"] { box-shadow:inset 0 0 0 1px var(--blue); }
#booking-calendar button[aria-pressed="true"], #booking-calendar button[aria-pressed="true"]:hover { background:var(--blue); color:#fff; }
#booking-calendar button:disabled { opacity:.4; cursor:default; }
#booking-calendar button:focus-visible, .time-options button:focus-visible { outline-offset:-3px; }
.time-options button { display:block; width:100%; padding:10px 12px; border:0; background:#fff; color:var(--ink); font:inherit; text-align:left; cursor:pointer; }
.time-options button:hover, .time-options button:focus-visible { background:#edf3ff; }

#booking-close, .site-dialog-close { position:absolute; top:12px; right:14px; width:40px; height:40px; border:0; background:transparent; color:var(--blue); font:inherit; font-size:2rem; line-height:1; cursor:pointer; }
#booking-form-content[hidden] { display:none; }
#booking-form-dialog:has(#booking-qr:not([hidden])) { display:flex; flex-direction:column; justify-content:safe center; }
