/* Sapore Di Mare · concept by KERA Tech Solutions
   Rebuilt on the Il Buco (ilbucoristorante.it) layout: 1v = 2.5vw units, Tailwind breakpoints
   md 768 · lg 1024 · xl 1280 · 2xl 1536. */

:root {
  --sand: #e3d8c2;        /* hero band + footer band (ref stark-white-200) */
  --sand-100: #f2ede2;
  --sand-300: #d2c09f;
  --sand-400: #c0a277;
  --paper: #f9f7f3;       /* section ground (ref stark-white-50) */
  --brown: #896345;       /* type (ref stark-white-700) */
  --brown-900: #5b4333;
  --ink: #241b16;
  --accent: #a3352b;      /* coral red, replaces the ref plum (#792155) */
  --accent-soft: #c0564c;
  --teal: #2f7c86;        /* sea teal panel + section rules */
  --navy: #213955;        /* deep sea panel (ref rhino #313e57) */
  --serif: "Italiana", "Gilda Display", "Times New Roman", serif;
  --logo: "Gilda Display", "Times New Roman", serif;
  --sans: "Red Hat Display", system-ui, sans-serif;
  --script: "Sacramento", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--brown);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
main { display: block; overflow-x: clip; background: var(--paper); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.lp :focus-visible, .toast :focus-visible { outline-color: #fff; }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 6px;
  text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- type scale (ref text-title1/2/3, textbody) ---------- */
.title1 { font-family: var(--serif); font-weight: 400; font-size: 2.25rem; line-height: 2.5rem; letter-spacing: .025em; color: var(--brown); }
.title2 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.25; letter-spacing: .025em; color: var(--brown); }
.title3 { font-family: var(--serif); font-weight: 400; font-size: 1.875rem; line-height: 2.25rem; letter-spacing: .025em; color: var(--brown); }
.textbody { font-family: var(--sans); font-size: 1rem; font-weight: 300; line-height: 1.625; letter-spacing: .051em; color: var(--brown); }
.lh-normal { line-height: 1.5 !important; }
@media (min-width: 1024px) {
  .title1 { font-size: clamp(3.75rem, 4.5vw, 4.5rem); line-height: 1.1; }
  .title2 { font-size: clamp(1.75rem, 2.7vw, 2.6rem); }
  .title3 { font-size: clamp(2rem, 3.25vw, 3.25rem); line-height: 1.2; }
  .textbody { font-size: clamp(1rem, .9vw, 1.35rem); }
}
.js .split-lines { visibility: hidden; }

/* ---------- buttons (ref outline button) ---------- */
.btn {
  display: inline-grid; place-content: center;
  height: 40px; min-width: 10vw; padding: 0 24px;
  background: rgba(255,255,255,.9); border: 1px solid var(--brown); border-radius: 6px;
  font-family: var(--sans); font-size: 1rem; text-transform: uppercase; color: var(--brown);
  text-decoration: none; cursor: pointer; transition: background-color .15s;
}
.btn:hover { background: var(--sand-100); }
.btn--fill { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--fill:hover { background: #8d2c23; }
@media (min-width: 1024px) { .btn { max-width: 224px; } .btn--fill { max-width: none; } }
@media (min-width: 1280px) { .btn { height: 2.5vw; max-height: 64px; min-height: 36px; } }

/* ---------- wordmark ---------- */
.brand { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); line-height: 1; }
.brand__name { font-family: var(--logo); font-size: 18px; white-space: nowrap; letter-spacing: .01em; }
.brand__rule { display: flex; width: 74%; height: 2px; margin: 4px 0 3px; }
.brand__rule i { flex: 1; }
.brand__rule i:nth-child(1) { background: #2f8a4f; }
.brand__rule i:nth-child(2) { background: #fff; }
.brand__rule i:nth-child(3) { background: var(--accent); }
.brand__sub { font-family: var(--sans); font-size: 8px; letter-spacing: .32em; text-transform: lowercase; padding-left: .32em; }
.brand--lg .brand__name { font-size: 22px; }
.brand--lg .brand__sub { font-size: 9px; }
.brand--xl .brand__name { font-size: 34px; }
.brand--xl .brand__rule { height: 3px; margin: 6px 0 5px; }
.brand--xl .brand__sub { font-size: 12px; }
@media (min-width: 1536px) {
  .brand--xl .brand__name { font-size: 2.4vw; }
  .brand--lg .brand__name { font-size: 1.5vw; }
}

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: 56px; padding: 0 2.5vw;
  display: flex; justify-content: space-between;
  background: rgba(255,255,255,.7);
  transition: opacity .3s;
}
.js .hdr { opacity: 0; }
.js .hdr.is-in { opacity: 1; }
.hdr__l { width: 112px; display: flex; align-items: center; }
.hdr__c { width: 56px; position: relative; display: flex; justify-content: center; }
.hdr__r { width: 112px; display: flex; justify-content: flex-end; align-items: center; gap: 12px; position: relative; }
.burger-tab {
  display: flex; justify-content: center; align-items: center;
  width: 48px; height: 48px; border-radius: 0 0 9999px 9999px;
}
.burger { position: relative; width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; }
.burger__spin { position: absolute; inset: 0; transition: transform .3s; }
.burger svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--accent-soft); stroke-width: 1.3; transition: opacity .3s; }
.burger__close { opacity: 0; }
.burger[aria-expanded="true"] .burger__spin { transform: rotate(270deg); }
.burger[aria-expanded="true"] .burger__open { opacity: 0; }
.burger[aria-expanded="true"] .burger__close { opacity: 1; }
.hdr__lang { display: none; }
.lang-btn {
  width: 40px; height: 40px; display: grid; place-content: center; padding: 0;
  border: 0; background: none; cursor: pointer;
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .025em; color: var(--accent);
}
.lang-btn:hover { text-decoration: underline; text-underline-offset: 4px; }
.tab {
  display: grid; place-content: center; width: 40px; height: 40px; border-radius: 24px;
  font-family: var(--sans); font-size: 1rem; text-decoration: none; cursor: pointer; padding: 0;
  transition: background-color .15s;
}
.tab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.tab span { display: none; }
.tab--line { border: 1px solid var(--accent); color: var(--accent); background: rgba(255,255,255,.4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.tab--line:hover { background: rgba(163,53,43,.1); }
.tab--fill { border: 0; background: var(--accent); color: #fff; }
.tab--fill:hover { background: rgba(163,53,43,.9); }
@media (min-width: 1024px) {
  .hdr__l { width: 40%; }
  .hdr__c { width: 10vw; }
  .burger-tab { width: 15vw; max-width: 128px; }
  .hdr__r { width: 40%; align-items: flex-start; right: -2.5vw; }
  .hdr__lang { display: grid; place-content: center; }
  .tab { width: 15vw; max-width: 192px; }
  .tab svg { display: none; }
  .tab span { display: block; }
  .tab--line { border-top-width: 0; border-radius: 0 0 24px 24px; }
  .tab--fill { border-radius: 0 0 0 24px; }
}
@media (min-width: 1280px) {
  .hdr { background: transparent; }
  .burger-tab { align-items: flex-start; background: rgba(255,255,255,.4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
  .burger { width: 40px; height: 40px; top: 4px; }
  .hdr__lang { padding-right: 16px; max-height: 48px; }
  .tab { max-height: 48px; }
}
@media (min-width: 1536px) {
  .hdr { height: 80px; }
  .burger-tab { height: 5vw; max-height: 56px; }
  .burger { top: 8px; }
  .tab, .hdr__lang { height: 2.5vw; }
  .brand__name { font-size: 1.35vw; }
}

/* ---------- fixed menu tab (ref "Menu 2026") ---------- */
.goto-menu {
  position: fixed; left: 0; right: 0; bottom: 0; margin: 0 auto; z-index: 40;
  display: flex; align-items: center; justify-content: center;
  width: 160px; height: 40px; padding: 0; border: 0; border-radius: 12px 12px 0 0;
  background: var(--accent); color: #fff; cursor: pointer;
  transition: transform .5s ease-in-out, background-color .2s;
}
.goto-menu:hover { background: #8d2c23; }
.goto-menu span { font-family: var(--serif); font-size: 1rem; line-height: 1.5; letter-spacing: .1em; text-align: center; }
.goto-menu br { display: none; }
.js .goto-menu { transform: translateY(100%); }
.js .goto-menu.is-in { transform: none; }
@media (min-width: 1280px) {
  .goto-menu { width: 5vw; min-width: 72px; height: 6.125vw; min-height: 84px; border-radius: 9999px 9999px 0 0; padding: 0 .5vw; }
  .goto-menu br { display: inline; }
}
@media (min-width: 1536px) { .goto-menu span { font-size: clamp(1.125rem, 1.1vw, 1.25rem); } }

/* ---------- hero (two-stage intro) ---------- */
.hero { display: flex; height: 100vh; height: 100svh; min-height: 560px; background: var(--sand); padding: 80px 5vw; }
.hero__in { position: relative; width: 100%; display: flex; }
.stage1 { display: none; }
.js .stage1 {
  position: absolute; left: 0; right: 0; top: -2.5vw; bottom: -2.5vw;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px;
  pointer-events: none;
}
.js .stage1.is-gone { visibility: hidden; }
.s1-logo-top { transform: translateY(2rem); opacity: 0; transition: transform .5s, opacity .5s; }
.s1-logo-top.is-in { transform: none; opacity: 1; }
.s1-logo-top.is-out { transform: translateY(-2rem); opacity: 0; transition-delay: .1s; }
.s1-frame { position: relative; display: grid; place-content: center; width: 83.333%; aspect-ratio: 4 / 3; }
.s1-logo-center { transition: transform .5s, opacity .5s; }
.s1-logo-center.is-out { transform: translateY(-2.5rem); opacity: 0; }
.s1-media { position: absolute; inset: 0; overflow: hidden; border-radius: 16px; }
.s1-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%;
  clip-path: inset(0 50% 0 50% round 20px); transition: transform .5s, opacity .5s;
}
.s1-img.clip { animation: s1clip 1.2s cubic-bezier(.645, .045, .355, 1) forwards; }
.s1-img.is-out { opacity: 0; transform: translateY(-2rem); }
@keyframes s1clip {
  from { clip-path: inset(0 50% 0 50% round 20px); }
  to { clip-path: inset(0 0 0 0 round 20px); }
}
.s1-copy, .s2-copy {
  font-family: var(--serif); font-weight: 400; text-transform: uppercase; text-align: center; color: #fff;
  font-size: 2.25rem; line-height: 1.25; letter-spacing: .05em;
}
.s1-copy { transform: translateY(2rem); opacity: .1; transition: transform .7s, opacity .7s; }
.s1-copy.is-in { transform: none; opacity: 1; }
.s1-copy.is-out { transform: translateY(-2rem); opacity: 0; transition-delay: .2s; }
.stage2 {
  width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 24px; padding-top: 5vw;
}
.js .stage2 > * { opacity: 0; transform: translateY(2rem); transition: transform .5s ease-in-out, opacity .5s ease-in-out; }
.js .stage2 > .s2-copy { transition-duration: .7s; }
.js .stage2 > .is-in { opacity: 1; transform: none; }
.s2-script { font-family: var(--script); font-size: 3rem; line-height: 1; color: var(--brown-900); }
.s2-badge { font-family: var(--sans); font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); text-align: center; }
.s2-badge b { font-weight: 700; }
.s2-text { font-family: var(--serif); font-size: 1.125rem; line-height: 1.625; color: var(--brown); text-align: center; max-width: 80rem; }
@media (min-width: 768px) and (max-width: 1023px) {
  .s1-copy, .s2-copy { font-size: 3.25rem; }
  .s2-script { font-size: 3.75rem; }
  .s2-text { font-size: 1.375rem; }
}
@media (min-width: 1024px) {
  .js .stage1 { justify-content: space-between; gap: 0; }
  .s1-frame { aspect-ratio: 16 / 9; }
  .s1-copy, .s2-copy { font-size: clamp(4.5rem, 6vw, 6rem); }
  .stage2 { padding-bottom: 2.5vw; }
  .s2-script { font-size: clamp(4rem, 5.5vw, 5.5rem); }
  .s2-badge { font-size: clamp(1.05rem, 1.35vw, 1.5rem); }
  .s2-text { width: 75%; }
}
@media (min-width: 1280px) {
  .s1-frame { width: 45vw; }
  .stage2 { gap: 2.6vw; }
  .s2-text { font-size: 1.875rem; }
}
@media (min-width: 1536px) { .hero { padding-bottom: 7.5vw; } }
@media (max-width: 1023px) { .s2-text { color: var(--brown-900); } }
.br-m { display: none; }
@media (max-width: 767px) { .br-m { display: inline; } .hero { padding-top: 96px; padding-bottom: 72px; } .s2-text { font-size: 1.125rem; } }

/* ---------- gallery: creative slider (ref "home_ambienti") ---------- */
.amb { display: flex; padding: 48px 0; overflow: hidden; background: var(--paper); }
.amb__wrap { width: 100%; }
.amb__head { padding: 48px 5vw; text-align: center; }
.amb__head h2 { max-width: 80rem; margin: 0 auto; }
.amb__stage { position: relative; }
.amb__track { display: flex; flex-direction: column; gap: 24px; }
.amb__slide { position: relative; overflow: hidden; }
.amb__bg { position: relative; aspect-ratio: 3 / 2; }
.amb__bg img, .amb__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.amb__velo { display: none; }
.amb__card { display: flex; align-items: flex-end; background: var(--teal); z-index: 1; }
.amb__txt { padding: 48px 10vw; }
.amb__txt h3 { margin-bottom: 16px; font-family: var(--serif); font-weight: 400; font-size: 1.875rem; line-height: 1; letter-spacing: .025em; text-transform: uppercase; color: #fff; text-align: center; }
.amb__txt p { font-family: var(--sans); font-size: 1rem; font-weight: 300; letter-spacing: .035em; line-height: 1.625; color: #fff; text-align: center; }
.amb__foto { display: none; }
.amb__nav { display: none; }
.amb__cta { padding: 0 5vw; display: flex; justify-content: center; margin-top: 40px; }
@media (min-width: 768px) {
  .amb { padding-bottom: 128px; }
  .amb__stage { margin-top: 32px; --spv: 1.2; }
  .amb__track { display: block; position: relative; width: 100%; aspect-ratio: 2.4 / 1; touch-action: pan-y; cursor: grab; }
  .amb__track.is-drag { cursor: grabbing; }
  .amb__slide {
    position: absolute; top: 0; left: 50%; height: 100%;
    width: calc(100% / var(--spv)); margin-left: calc(-50% / var(--spv));
    transform-origin: 50% 0;
  }
  html:not(.js) .amb__slide:nth-child(1) { transform: translateX(-111%) scale(1.14); }
  html:not(.js) .amb__slide:nth-child(3) { transform: translateX(111%) scale(1.14); }
  .amb__bg { position: absolute; inset: 0; aspect-ratio: auto; }
  .amb__velo { display: block; position: absolute; inset: 0; background: #000; opacity: 0; visibility: hidden; }
  .amb__card { position: absolute; top: 0; right: 0; height: 100%; width: 68%; }
  .amb__txt { padding: 2.5vw; width: 52%; }
  .amb__txt h3 { font-size: 1.5rem; text-align: left; }
  .amb__txt p { font-size: .875rem; text-align: left; }
  .amb__foto { display: block; position: absolute; right: 0; top: 0; height: 100%; width: 48%; background: #b28c5d; }
  .amb__nav {
    display: block; position: absolute; top: 0; z-index: 10; width: 12.5vw; aspect-ratio: 1 / 2.27;
    border: 0; padding: 0; background: transparent; cursor: pointer;
  }
  .amb__prev { left: 0; }
  .amb__next { right: 0; }
  .amb__nav[aria-disabled="true"] { pointer-events: none; }
}
@media (min-width: 1024px) {
  .amb__stage { --spv: 1.44; }
  .amb__track { aspect-ratio: 2.88 / 1; }
  .amb__txt h3 { font-size: clamp(1.5rem, 2vw, 2rem); }
}
@media (min-width: 1280px) {
  .amb { min-height: 100vh; min-height: 100svh; padding-top: 5vw; }
  .amb__stage { --spv: 1.66; }
  .amb__track { aspect-ratio: 3.6087 / 1; }
  html:not(.js) .amb__slide:nth-child(1) { transform: translateX(-121%) scale(1.14); }
  html:not(.js) .amb__slide:nth-child(3) { transform: translateX(121%) scale(1.14); }
  .amb__txt p { font-size: clamp(.95rem, .95vw, 1.35rem); }
}
@media (min-width: 1536px) { .amb { padding-bottom: 7.5vw; } }
@media (min-width: 1024px) { .amb__head h2 { width: 75%; } }

/* ---------- story + dishes (ref "Chef's message") ---------- */
.lp { border-top: 1px solid var(--teal); background: var(--paper); }
.lp__p1 { position: relative; display: grid; grid-template-rows: 3fr 1fr; gap: 48px; padding: 64px 0 24px; }
.lp__text { margin: auto; padding: 0 10vw; }
.lp__pl {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  font-family: var(--sans); font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.lp__pl::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.lp__title h2 { text-align: center; line-height: 1; font-size: 1.875rem; }
.lp__p2 { position: relative; overflow: hidden; display: grid; grid-template-rows: 3fr 1fr; gap: 24px; padding: 64px 0; background: var(--navy); }
.lp__pattern {
  position: absolute; top: 0; bottom: 0; right: 0; width: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'%3E%3Cdefs%3E%3Cg id='w' fill='none' stroke='%23365579' stroke-width='1.6'%3E%3Ccircle r='39.2' fill='%23284468'/%3E%3Ccircle r='30'/%3E%3Ccircle r='21'/%3E%3Ccircle r='12'/%3E%3Ccircle r='3.5'/%3E%3C/g%3E%3C/defs%3E%3Cuse href='%23w' x='40' y='-20'/%3E%3Cuse href='%23w' x='0' y='0'/%3E%3Cuse href='%23w' x='80' y='0'/%3E%3Cuse href='%23w' x='40' y='20'/%3E%3Cuse href='%23w' x='0' y='40'/%3E%3Cuse href='%23w' x='80' y='40'/%3E%3C/svg%3E");
  background-size: 15.4% auto;
}
.lp__feat { position: relative; z-index: 1; display: grid; min-height: 24rem; place-content: center; }
.lp__big { position: relative; display: block; width: 224px; padding: 0; border: 0; background: none; cursor: pointer; text-align: center; }
.lp__bigimg { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 24px; }
.lp__bigimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp__cap { display: block; padding-top: 24px; font-family: var(--sans); font-size: .875rem; font-weight: 300; text-transform: uppercase; line-height: 1.625; letter-spacing: .05em; color: #fff; }
.lp__circle {
  position: absolute; width: 128px; height: 128px; top: -64px; left: -64px; z-index: 5;
  display: grid; place-content: center; border-radius: 50%;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.lp__ring { position: absolute; inset: 0; border: 1px solid var(--brown); border-radius: 50%; background: rgba(255,255,255,.2); }
.lp__ring--grow { transform: scale(1.3); transition: transform .2s ease-in-out; }
.lp__circle svg { position: relative; width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; }
.lp__circle-t { position: absolute; top: 15%; left: 0; right: 0; text-align: center; font-family: var(--sans); font-size: .875rem; letter-spacing: .05em; color: #fff; }
.lp__slider { position: relative; z-index: 1; display: grid; align-items: start; padding: 0 5vw 32px; --per: 2; --gap: 20px; }
.lp__viewport { overflow: hidden; touch-action: pan-y; }
.lp__track { display: flex; gap: var(--gap); }
.lp__card {
  flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 0; border: 0; background: none; cursor: pointer;
}
.lp__cimg { position: relative; width: 100%; aspect-ratio: 2 / .95; overflow: hidden; border-radius: 24px; }
.lp__cimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.lp__card:hover .lp__cimg img { transform: scale(1.06); }
.lp__ccap { font-family: var(--sans); font-size: .75rem; text-transform: uppercase; line-height: 1.625; letter-spacing: .05em; color: #fff; text-align: center; }
.lp__card.is-active .lp__ccap { color: var(--sand-300); }
.lp__card.is-active .lp__cimg { outline: 1px solid var(--sand-300); outline-offset: 3px; }
.lp__dots { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.lp__dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: var(--sand); cursor: pointer; }
.lp__dots button[aria-current="true"] { background: var(--brown); }
.lp__arrow { position: absolute; top: 3%; z-index: 10; display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; overflow: hidden; background: rgba(255,255,255,.8); cursor: pointer; }
.lp__arrow svg { width: 100%; height: 100%; fill: none; stroke: var(--accent-soft); stroke-width: 1; }
.lp__arrow svg path { stroke-width: 1.4; }
.lp__arrow[aria-disabled="true"] { opacity: .3; pointer-events: none; }
.lp__prev { left: 0; }
.lp__next { right: 0; }
@media (min-width: 768px) { .lp__slider { --per: 3; } }
@media (min-width: 1024px) {
  .lp { display: flex; height: 100vh; height: 100svh; }
  .lp__p1 { flex-grow: 1; gap: 24px; }
  .lp__text { width: 27.5vw; padding: 0; }
  .lp__p2 { flex-shrink: 0; width: 45vw; }
  .lp__big { width: 15vw; }
  .lp__ring--grow { transform: none; }
  .lp__big:hover .lp__ring--grow { transform: scale(1.3); }
  .lp__slider { --per: 2; }
}
@media (min-width: 1280px) {
  .lp__p1 { padding: 96px 0; }
  .lp__title h2 { font-size: clamp(3.75rem, 4.5vw, 4.5rem); }
  .lp__p2 { padding: 96px 0; }
  .lp__cap { font-size: max(.75vw, 10px); }
  .lp__slider { --per: 3; padding: 0 2.5vw 32px; }
  .lp__ccap { font-size: max(.65vw, 9px); }
  .lp__arrow { display: block; }
}
@media (min-width: 1536px) {
  .lp__circle { width: 7.5vw; height: 7.5vw; top: -3.75vw; left: -3.75vw; }
  .lp__slider { --per: 4; --gap: 40px; }
}

/* ---------- book a table row ---------- */
.book {
  display: block; width: 100%; border-top: 1px solid var(--teal); background: #fff;
  padding: 96px 5vw; text-decoration: none; transition: background-color .2s;
}
.book:hover { background: var(--paper); }
.book__c { display: flex; justify-content: center; }
.book__c + .book__c { margin-top: 48px; }
.book .title3 { text-align: center; }
.pill { position: relative; display: flex; aspect-ratio: 4 / 2.5; min-width: 224px; overflow: hidden; border-radius: 9999px; }
.pill img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pill__veil { position: absolute; inset: 0; background: rgba(255,255,255,0); transition: background-color .3s, backdrop-filter .3s; }
.book:hover .pill__veil { background: rgba(255,255,255,.3); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.book__hours { text-align: center; }
@media (min-width: 1024px) { .pill { width: 12.5vw; } }
@media (min-width: 1280px) {
  .book { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 7.5vw 5vw; }
  .book__c + .book__c { margin-top: 0; }
  .book__c:nth-child(1), .book__c:nth-child(3) { width: 35vw; }
  .book__c:nth-child(2) { width: 15vw; }
}
@media (min-width: 1536px) { .book { padding-left: 10vw; padding-right: 10vw; } }

/* ---------- kitchen (ref "lacucina") ---------- */
.kit {
  border-top: 1px solid var(--teal); display: flex; flex-direction: column; overflow: hidden;
  background: radial-gradient(ellipse at bottom, #dad5cf 10%, var(--paper) 80%);
}
.kit__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; flex-grow: 1; padding: 0 5vw 48px; }
.kit__c1 { position: relative; z-index: 10; display: flex; }
.kit__copy { margin-top: 7.5vw; }
.kit__c2 { position: relative; display: flex; align-items: center; justify-content: center; }
.kit__hero { position: relative; width: min(80vw, 460px); }
.kit__hero img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; transform: rotate(-14deg); filter: drop-shadow(0 28px 34px rgba(70, 48, 28, .28)); }
.kit__row { display: flex; gap: 16px; min-width: 0; }
.kit__sq { position: relative; flex: 0 0 40%; aspect-ratio: 1; overflow: hidden; border-radius: 24px; }
.kit__sq img, .ring__sq img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kit__c3 { display: none; position: relative; }
.ring { position: absolute; width: 45vw; aspect-ratio: 1; left: 10vw; top: 30%; }
.ring__sq { position: absolute; width: 15vw; aspect-ratio: 1; overflow: hidden; border-radius: 24px; }
.ring__sq--1 { left: -10vw; top: 0; }
.ring__sq--2 { left: 0; bottom: 0; }
.ring__sq--3 { right: 0; bottom: 0; }
.kit__cta { display: flex; justify-content: center; padding: 64px 0; }
@media (min-width: 1024px) {
  .kit__grid { grid-template-columns: repeat(3, 1fr); gap: 0; padding-bottom: 0; }
  .kit__c1 { align-items: center; }
  .kit__c2 { aspect-ratio: 3 / 4; display: block; }
  .kit__hero { position: absolute; bottom: 8px; right: 0; width: 88%; }
  .kit__row { display: none; }
  .kit__c3 { display: block; }
  .kit__cta { padding: 2.5vw 0 7.5vw; }
}
@media (min-width: 1280px) {
  .kit__grid { padding-top: 2.5vw; }
  .kit__hero { width: 92%; right: -2%; }
}

/* ---------- reviews (ref "the cellar" split) ---------- */
.cel { background: var(--paper); padding: 0 5vw; }
.cel__r { display: flex; flex-direction: column; justify-content: flex-end; gap: 40px; padding: 48px 0; }
.cel__sq { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 16px; margin: 0 auto; }
.cel__sq img, .cel__tall img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cel__badge { margin-bottom: 18px; font-family: var(--sans); font-size: .875rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.quote + .quote { margin-top: 22px; }
.quote blockquote { margin: 0; }
.quote figcaption { margin-top: 8px; font-family: var(--sans); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brown-900); }
.cel__cta { display: flex; justify-content: center; }
.cel__l { display: flex; padding-bottom: 48px; }
.cel__tall { position: relative; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; }
@media (min-width: 1024px) {
  .cel { display: flex; flex-direction: row-reverse; min-height: 100vh; min-height: 100svh; padding: 0; }
  .cel__r { width: 50%; padding: 2.5vw 7.5vw; }
  .cel__sq { width: min(100%, 46svh); }
  .cel__l { width: 50%; padding: 0 5vw 0 0; }
  .cel__tall { aspect-ratio: auto; }
}
@media (min-width: 1280px) { .cel__txt { padding: 0 16px; } }
@media (min-width: 1536px) { .cel__r { padding-left: 12.5vw; padding-right: 15vw; } }

/* ---------- footer / visit ---------- */
.ftr { display: flex; flex-direction: column; justify-content: flex-end; background: var(--paper); }
.ftr__band { display: flex; flex-grow: 1; align-items: flex-end; justify-content: center; background: var(--sand); padding: 80px 5vw 32px; }
.ftr__giant { font-family: var(--serif); font-size: 2.25rem; line-height: 1.25; text-transform: uppercase; text-align: center; color: #fff; }
.ftr__grid { width: 100%; padding: 64px 5vw 96px; display: grid; gap: 48px; }
.menu-list { display: grid; gap: 8px; text-align: center; font-family: var(--serif); font-size: 1.25rem; text-transform: uppercase; letter-spacing: .05em; color: var(--brown); }
.menu-list a, .menu-list button {
  position: relative; display: inline-flex; justify-content: center; padding: 0 0 2px; border: 0; background: none;
  font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; text-decoration: none; cursor: pointer;
}
.menu-list a::after, .menu-list button::after {
  content: ""; position: absolute; bottom: 0; z-index: 1; height: 1px; width: 8rem;
  background: var(--brown); transform: scaleX(0); transition: transform .3s;
}
.menu-list a:hover::after, .menu-list button:hover::after { transform: scaleX(1); }
.ftr__visit { display: flex; flex-direction: column; justify-content: flex-end; }
.ftr__info { display: grid; gap: 14px; font-family: var(--sans); font-weight: 300; letter-spacing: .05em; color: var(--brown); text-align: center; }
.ftr__h { font-size: .875rem; font-weight: 300; letter-spacing: .05em; text-transform: uppercase; }
.ftr__info p { font-size: .875rem; line-height: 1.5; }
.ftr__info a { text-decoration: none; }
.ftr__info a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ftr__links { display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: center; }
.ftr__links a { color: var(--accent); font-weight: 500; }
.ftr__social { display: flex; justify-content: center; gap: 24px; margin-top: 22px; }
.ftr__social a { display: block; width: 24px; height: 24px; }
.ftr__social svg { width: 100%; height: 100%; fill: var(--sand-400); transition: fill .2s; }
.ftr__social a:hover svg { fill: var(--brown); }
.ftr__legal { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 28px; }
.g-lockup { display: inline-flex; align-items: center; gap: 12px; font-family: var(--sans); font-size: .8125rem; letter-spacing: .06em; line-height: 1.35; text-transform: uppercase; color: var(--accent); }
.g-lockup b { font-weight: 700; }
.g-star { font-family: var(--serif); font-size: 2.1rem; line-height: 1; }
.ftr__copy { font-family: var(--sans); font-size: .75rem; font-weight: 300; letter-spacing: .05em; line-height: 1.6; color: var(--brown); text-align: center; }
.ftr__copy a { font-weight: 500; text-decoration: none; }
.ftr__copy a:hover { text-decoration: underline; }
@media (min-width: 768px) {
  .ftr { min-height: 100vh; }
  .ftr__giant { font-size: clamp(5rem, 6.5vw, 6.5rem); }
}
@media (min-width: 1024px) {
  .ftr__band { padding-bottom: 2.5vw; }
  .ftr__grid { grid-template-columns: repeat(3, 1fr); }
  .ftr__nav { order: 2; }
  .ftr__visit { order: 3; }
  .ftr__legal { order: 1; align-items: flex-start; }
  .ftr__info, .ftr__copy { text-align: left; }
  .ftr__links, .ftr__social { justify-content: flex-start; }
}
@media (min-width: 1280px) {
  .ftr__grid { padding: 5vw; gap: 0; }
  .ftr__nav { padding-bottom: 7.5vw; }
  .menu-list { font-size: clamp(1.5rem, 2vw, 2rem); gap: 1.2vw; }
  .ftr__visit { padding-left: 5vw; }
  .ftr__info { gap: 1.1vw; }
  .ftr__h { font-size: clamp(1.125rem, 1.25vw, 1.5rem); }
  .ftr__info p { font-size: clamp(.95rem, .9vw, 1.35rem); }
  .ftr__legal { padding-left: 2.5vw; gap: 2.5vw; }
}

/* ---------- navigation overlay ---------- */
.nav { position: fixed; inset: 0; z-index: 45; display: grid; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.nav.is-open { visibility: visible; opacity: 1; }
.nav__in { padding: 96px 5vw 5vw; background: var(--paper); }
.nav__lang { display: flex; justify-content: center; padding: 8px 0 24px; }
.nav__img1, .nav__img2 { display: flex; justify-content: center; }
.nav__portrait { position: relative; overflow: hidden; aspect-ratio: 5 / 6.5; border-radius: 16px; width: 35vw; }
.nav__square { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 16px; width: 35vw; }
.nav__portrait img, .nav__square img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nav__list { display: flex; justify-content: center; align-items: center; padding: 10vw 0; }
.nav__list .menu-list { gap: 14px; }
@media (min-width: 1024px) {
  .nav__in { display: grid; grid-template-columns: repeat(3, 1fr); padding: 10vw 5vw; }
  .nav__lang { display: none; }
  .nav__portrait { width: 25vw; }
  .nav__list { padding: 5vw 2.5vw; }
  .nav__list .menu-list { gap: 2vw; font-size: clamp(1.5rem, 2vw, 2rem); }
  .nav__img2 { display: grid; place-content: center; padding: 5vw 0; }
  .nav__square { width: 15vw; }
}

/* ---------- menu panel (ref full-screen reserve panel) ---------- */
.mp { position: fixed; inset: 0; z-index: 60; background: var(--paper); opacity: 0; transition: opacity .3s ease-in-out; }
.mp.is-open { opacity: 1; }
.mp__scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.mp__close {
  position: fixed; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  display: grid; place-content: center; background: transparent; cursor: pointer; transition: background-color .2s;
}
.mp__close:hover { background: var(--sand-100); }
.mp__close svg { width: 30px; height: 30px; fill: none; stroke: var(--brown); stroke-width: 1.3; }
.mp__in { padding: 64px 5vw 120px; }
.mp__head { text-align: center; }
.mp__head .textbody { margin-top: 16px; }
.mp__cols { max-width: 1024px; margin: 48px auto 0; }
.mp__aside { margin-top: 56px; }
.mp__h { margin-bottom: 18px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2vw, 2rem); letter-spacing: .025em; color: var(--brown); }
.mp__note { margin-bottom: 18px; font-family: var(--sans); font-size: .9rem; font-weight: 300; line-height: 1.6; letter-spacing: .03em; }
.mp__list { border-top: 1px solid var(--sand); }
.mp__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--sand); }
.mp__n { font-family: var(--sans); font-size: .95rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.mp__n i { display: block; margin-top: 3px; font-size: .82rem; font-weight: 300; letter-spacing: .04em; color: var(--brown); }
.mp__p { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--accent); white-space: nowrap; }
.mp__list--plain li { padding: 12px 0; }
.mp__list--plain span { font-family: var(--sans); font-size: .95rem; letter-spacing: .04em; color: var(--brown-900); }
.mp__main .btn--fill { display: grid; width: 100%; height: 48px; margin-top: 40px; }
@media (min-width: 1024px) {
  .mp__in { padding: 5vw 10vw; }
  .mp__cols { display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 48px; margin-top: 2.5vw; }
  .mp__aside { width: 40%; margin-top: 0; position: sticky; top: 40px; }
  .mp__main { width: 60%; }
  .mp__main .btn--fill { width: 50%; }
}

/* ---------- cursor tracker ---------- */
.tracker { position: fixed; top: 0; left: 0; z-index: 99; pointer-events: none; }
.tracker__amb {
  position: absolute; left: -3.75vw; top: -3.75vw; width: 7.5vw; height: 7.5vw;
  display: grid; place-content: center; border-radius: 50%;
  border: 1px solid var(--brown); background: rgba(255,255,255,.4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  visibility: hidden; opacity: 0; transform: scale(0);
}
.tracker__amb div { padding: 0 8px; text-align: center; font-family: var(--sans); font-size: max(.75vw, 10px); letter-spacing: .05em; text-transform: uppercase; color: var(--brown-900); }

/* ---------- mobile phone button (ref btn_tel) ---------- */
.btn-tel { position: fixed; left: 8px; bottom: 8px; z-index: 40; width: 48px; height: 48px; display: grid; place-content: center; border-radius: 24px; background: var(--accent); }
.btn-tel svg { width: 22px; height: 22px; fill: #fff; }
@media (min-width: 1280px) { .btn-tel { display: none; } }

/* ---------- concept toast ---------- */
.toast {
  position: fixed; left: 12px; right: 12px; bottom: 68px; z-index: 70; max-width: 360px;
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 12px 12px 16px;
  background: var(--ink); color: #f3ece0; border-radius: 12px; box-shadow: 0 12px 30px rgba(36,27,22,.25);
  font-family: var(--sans); font-size: .8125rem; line-height: 1.5; letter-spacing: .02em;
  opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .4s;
}
.toast.is-in { opacity: 1; transform: none; }
.toast a { color: #fff; font-weight: 600; }
.toast__x { flex: 0 0 auto; width: 28px; height: 28px; margin: -4px -2px 0 0; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-content: center; cursor: pointer; }
.toast__x svg { width: 12px; height: 12px; stroke: #fff; stroke-width: 1.6; }
@media (min-width: 1280px) { .toast { left: 20px; right: auto; bottom: 20px; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; }
  .js .stage1 { display: none; }
  .js .stage2 > * { opacity: 1; transform: none; }
  .js .hdr { opacity: 1; }
  .js .goto-menu { transform: none; }
  .js .split-lines { visibility: visible; }
}
