html:has(.casa-demo) { scroll-padding-top: calc(var(--demo-mast-height, 5rem) + .6rem); }
.casa-demo { padding: 0; background: var(--paper); color: var(--ink); font-size: 1rem; }
.demo-wrap { width: min(78rem,calc(100% - clamp(2rem,8vw,7rem))); margin-inline: auto; }
.demo-mast { position: sticky; top: 0; z-index: 6; color: var(--card); background: var(--brand); }
.demo-mast-row { min-height: 4.2rem; display: flex; align-items: center; gap: clamp(1rem,2.6vw,2.7rem); }
.demo-signature { white-space: nowrap; font: 500 clamp(1.5rem,2.3vw,2rem)/1.1 var(--serif); letter-spacing: -.055em; }
.demo-nav { display: flex; align-items: stretch; gap: clamp(.6rem,1.8vw,1.8rem); margin-inline-start: auto; }
.demo-nav a { display: grid; align-content: center; min-height: 2.75rem; color: #edf0df; font-size: .94rem; line-height: 1.25; }
.demo-nav a:hover,.demo-nav a[aria-current] { text-decoration: underline; text-underline-offset: .4em; }
.demo-mast .locale-choice { color: var(--card); }
.demo-mast .locale-choice select { background: var(--brand); border-color: #c6d8c37d; }
.demo-mast :focus-visible,.demo-hero :focus-visible,.demo-evening :focus-visible,.demo-footer :focus-visible { outline-color: var(--leaf); }
.demo-hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(26rem,36vw,38rem); overflow: hidden; background: var(--hero-green); color: var(--card); }
.demo-facade,.demo-hero::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.demo-facade { z-index: -2; object-fit: cover; object-position: 73% 48%; }
.demo-hero::before { content: ""; z-index: -1; background: linear-gradient(90deg,#102a22ef 0%,#132c23c7 27%,#17352847 52%,transparent 73%), linear-gradient(0deg,#142c2266,transparent 35%); }
.demo-welcome { width: min(52%,40rem); padding: clamp(2.5rem,4vw,4.5rem) 0; }
.demo-place,.demo-when { color: #ede2bb; font-size: .875rem; font-weight: 650; letter-spacing: .11em; }
.demo-place { text-transform: uppercase; }
.demo-hero h1 { margin: .72rem 0 1.1rem; color: #fffaf0; font: 400 clamp(4.4rem,7.6vw,7.5rem)/.91 var(--serif); letter-spacing: -.055em; }
.demo-hero h1 em { display: block; font-weight: 400; }
.demo-intro { max-width: 32em; color: #f1f0e1; font-size: clamp(1rem,1.25vw,1.125rem); line-height: 1.55; }
.demo-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.demo-button { display: inline-flex; align-items: center; justify-content: center; min-width: 6.5rem; min-height: 2.85rem; padding: .6rem 1.4rem; border: 1px solid var(--leaf); border-radius: 999px; background: var(--leaf); color: var(--brand); text-align: center; font-size: 1rem; font-weight: 650; line-height: 1.25; }
.demo-button:hover { background: #fffdf8; border-color: #fffdf8; }
.demo-outline { color: var(--card); background: #143a31bf; border-color: #fffdf5a6; }
.demo-outline:hover { color: var(--card); background: var(--brand); }
.demo-section { padding-block: clamp(2.15rem,3.7vw,4rem); }
.demo-section h2,.demo-evening h2 { color: var(--brand); font: 400 clamp(2.25rem,4.1vw,4rem)/1.08 var(--serif); letter-spacing: -.05em; }
.demo-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.25rem,2vw,2rem); }
.demo-text-link { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--brand); font-size: .94rem; font-weight: 650; text-decoration: underline; text-underline-offset: .32em; }
.demo-text-link:hover { text-decoration-thickness: 2px; }
.demo-dishes,.demo-menu-groups { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1.2rem,2.6vw,2.6rem); }
.demo-dish img { display: block; width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; border-radius: 5px; background: #ded6c9; }
.demo-dish-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2rem .75rem; margin: .9rem 0 .35rem; color: var(--brand); }
.demo-dish h3,.demo-menu-groups li span { font: 500 clamp(1.4rem,2.1vw,2.1rem)/1.16 var(--serif); letter-spacing: -.045em; }
.demo-dish-title > span,.demo-menu data { white-space: nowrap; font-size: .95rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.demo-dish p { color: #5b5a50; font-size: 1rem; line-height: 1.55; }
.demo-dish .demo-dish-name { margin-bottom: .12rem; color: var(--ink); font-weight: 650; }
.demo-menu { border-block: 1px solid var(--line); background: #fcf9f2; }
.demo-menu-groups { gap: clamp(1.25rem,3vw,3.5rem); }
.demo-menu-groups h3 { padding: .7rem 0 .3rem; border-top: 2px solid var(--brand); color: var(--brand); font-size: 1.05rem; font-weight: 650; }
.demo-menu-groups ul { margin: 0; padding: 0; list-style: none; }
.demo-menu-groups li { display: flex; align-items: baseline; justify-content: space-between; gap: .85rem; padding: .9rem 0; border-bottom: 1px solid var(--line); color: var(--brand); }
.demo-menu-groups li span { font-size: clamp(1.3rem,1.8vw,1.7rem); }
.demo-menu-groups small { display: block; margin-top: .2rem; color: #605c52; font-size: .875rem; }
.demo-evening { display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); min-height: clamp(22rem,33vw,32rem); background: var(--brand); color: var(--card); }
.demo-evening-photo { position: relative; overflow: hidden; }
.demo-evening-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 52% 59%; }
.demo-evening-copy { align-self: center; width: min(100%,38rem); padding: clamp(2rem,4.8vw,5rem); }
.demo-evening h2 { margin: .8rem 0 1.2rem; color: var(--card); font-size: clamp(3rem,5.7vw,6rem); }
.demo-evening h2 em { font-weight: 400; }
.demo-evening-copy > p:not(.demo-when) { max-width: 31em; color: #e8e9d9; font-size: clamp(1rem,1.2vw,1.125rem); line-height: 1.7; }
.demo-evening-copy .demo-button { margin-top: 1.45rem; }
.demo-visit { display: grid; grid-template-columns: 1.25fr 1fr auto; gap: clamp(1.3rem,4vw,4rem); align-items: start; }
.demo-visit address { margin-top: 1rem; color: var(--brand); font: 500 clamp(1.5rem,2.25vw,2.2rem)/1.23 var(--serif); letter-spacing: -.035em; }
.demo-visit address span { color: #5d5a52; font: 400 1rem/1.6 var(--sans); letter-spacing: normal; }
.demo-hours h3 { margin-bottom: .5rem; color: var(--brand); font-size: 1.1rem; }
.demo-hours p,.demo-hours dl { font-size: 1rem; }
.demo-hours dl { margin: .45rem 0; gap: .1rem 1rem; }
.demo-closed { color: #5d5a52; }
.demo-ink-button { background: var(--brand); border-color: var(--brand); color: var(--card); }
.demo-ink-button:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.demo-footer { background: var(--brand); color: var(--card); }
.demo-footer > div { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 5rem; padding-block: 1rem; }
.demo-footer small { color: var(--mist); text-align: end; font-size: .875rem; }
.demo-make-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--leaf); text-underline-offset: 4px; text-decoration: underline; }
.demo-footer > div:has(.demo-make-link) { flex-wrap: wrap; gap: .35rem 1rem; }
.casa-demo .service-dialog { font-size: 1rem; }
.personal-guest .demo-signature,.personal-guest .demo-hero h1 { overflow-wrap: anywhere; white-space: normal; }
.personal-guest .demo-signature { min-width: 0; max-width: 42%; }
.guest-menu { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.guest-menu li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--brand); overflow-wrap: anywhere; }
.guest-menu strong { font: 500 clamp(1.35rem,2.1vw,2rem)/1.25 var(--serif); }
.guest-menu li > span { max-width: 40%; text-align: end; font-variant-numeric: tabular-nums; }
.guest-event { background: var(--brand); color: var(--card); }
.guest-event h2 { margin-top: .7rem; color: var(--card); overflow-wrap: anywhere; }
.personal-guest :is(#guest-periods,#guest-address,#guest-intro) { white-space: pre-line; overflow-wrap: anywhere; }
.personal-guest #guest-days { white-space: pre-line; }
@media (max-width:640px) {
  .personal-guest .demo-nav { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 1fr; }
}

@media (max-width: 780px) {
  .demo-mast-row { flex-wrap: wrap; justify-content: space-between; gap: 0 1rem; padding-block: .45rem .15rem; }
  .demo-nav { order: 1; width: 100%; margin: 0; justify-content: space-between; gap: .5rem; }
  .demo-nav a { min-height: 2.45rem; text-align: center; }
  .demo-menu-groups { gap: 1.2rem; }
  .demo-visit { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .demo-mast .locale-choice select { min-height: 2.5rem; }
  .demo-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .35rem; }
  .demo-nav a { min-width: 0; min-height: 2.75rem; font-size: .875rem; text-wrap: balance; }
  .demo-hero { --scene-height: clamp(18.3rem,88vw,28rem); min-height: 0; }
  .demo-facade,.demo-hero::before { height: var(--scene-height); max-height: 100%; }
  .demo-facade { object-position: 90% center; }
  .demo-hero::before { background: linear-gradient(0deg,var(--hero-green),#113026eb 17%,#102d25b8 35%,transparent 61%); }
  .demo-welcome { width: 100%; padding: clamp(10.6rem,47vw,16rem) 0 1.55rem; }
  .demo-place { font-size: .8rem; letter-spacing: .08em; }
  .demo-hero h1 { margin: .5rem 0 .7rem; font-size: clamp(2.65rem,10.8vw,4.2rem); line-height: 1.04; }
  .demo-hero h1 em { display: inline; }
  .demo-actions { margin-top: 1rem; }
  .demo-section-heading { margin-bottom: 1rem; }
  .demo-dishes,.demo-menu-groups { grid-template-columns: 1fr; gap: 1.6rem; }
  .demo-dish img { aspect-ratio: 1.7; }
  .demo-dish h3 { font-size: 1.8rem; }
  .demo-evening { grid-template-columns: 1fr; }
  .demo-evening-photo { height: clamp(15rem,67vw,22rem); }
  .demo-evening-copy { padding: 2rem max(1rem,4vw) 2.4rem; }
  .demo-evening h2 { margin-block: .5rem .8rem; }
  .demo-visit { grid-template-columns: 1fr; }
  .demo-visit > .demo-button { justify-self: start; }
}
