:root {
    color-scheme: dark;
    --paper: #f6eee2;
    --muted: #d8ccbd;
    --night: #121210;
    --gold: #e1c59e;
    --edge: clamp(20px, 6vw, 112px);
    --serif: "Baskerville", "Palatino Linotype", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--paper); font: 16px/1.65 Arial, sans-serif; }
a { color: inherit; text-underline-offset: .25em; }
button { cursor: pointer; font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 1300; top: 10px; left: 10px; padding: 10px; background: var(--night); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.ca-topbar {
    inset: 0 0 auto;
    justify-content: space-between;
    align-items: center;
    padding: max(16px, env(safe-area-inset-top)) var(--edge) 16px;
    background: linear-gradient(#11110fe8, #11110f52 75%, transparent);
}
.wordmark { display: block; width: clamp(132px, 15vw, 208px); min-width: 0; }
.wordmark img { display: block; width: 100%; height: auto; }
.ca-controls { position: relative; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.ca-language { display: flex; align-items: center; gap: 3px; color: var(--muted); font-size: 12px; }
.ca-language [aria-current] { color: var(--gold); font-weight: 700; }
.ca-language a { display: grid; place-items: center; min-height: 44px; min-width: 24px; }
.ca-navigation nav { z-index: 1; }
.ca-navigation nav a { text-decoration: none; }
.ca-topbar summary { background: #191613bc; }
.ca-topbar button { font: inherit; font-weight: 600; }

.scenery { display: none; position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--night); }
.is-immersive .scenery { display: block; }
.scenery-layer { position: absolute; inset: 0; overflow: hidden; }
.scenery-layer::before, .scenery-layer::after {
    content: "";
    position: absolute;
    background: var(--scene-image) center no-repeat;
}
.scenery-layer::before {
    inset: -7%;
    background-size: cover;
    filter: blur(28px) brightness(.55) saturate(.8);
}
.scenery-layer::after {
    inset: 2% 0;
    background-size: contain;
    transform: translateY(var(--drift, 0px)) scale(1.025);
    mask-image: radial-gradient(ellipse 73% 72% at center, #000 50%, #000a 75%, transparent 99%);
}
.scenery-feature::after { content: none; }
.scenery::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg,#10100ee0,transparent 35%,transparent 70%,#10100e7d),
                radial-gradient(ellipse 82% 82% at 50% 48%,#11110f0c 23%,#11110fa5 100%);
    pointer-events: none;
}
main, footer { position: relative; z-index: 1; }
.scene {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(550px, 92svh, 1000px);
    padding: clamp(85px, 11svh, 125px) var(--edge);
    isolation: isolate;
}
.scene::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    background: linear-gradient(0deg, #121210cb, #12121048 56%, #12121055), var(--scene-image) center / contain no-repeat;
}
.is-immersive .scene::before { content: none; }
.scene::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg,#11110fd9 0%,#11110f9c 35%,transparent 72%);
    pointer-events: none;
}
.scene-right::after { background: linear-gradient(270deg,#11110fe0,#11110f9c 38%,transparent 72%); }
.scene-hero::after { background: linear-gradient(0deg,#11110fc0,transparent 44%), radial-gradient(ellipse at center,#11110f68,transparent 72%); }
.scene-center::after, .scene-gallery::after { background: radial-gradient(ellipse at center,#11110fd9 8%,#11110f94 49%,transparent 100%); }
.scene-quiet::after { background: linear-gradient(0deg,#11110fac,transparent 42%); }
.section-anchor { position: absolute; top: 0; left: 0; }
.scene-content { width: min(100%, 610px); text-shadow: 0 2px 18px #0009; }
.scene-right { justify-content: flex-end; }
.scene-center, .scene-hero, .scene-gallery { justify-content: center; }
.scene-center .scene-content { width: min(100%, 860px); }
.scene-quiet { align-items: flex-end; min-height: clamp(330px, 70svh, 740px); }
.scene-quiet .scene-content { width: min(100%, 820px); }
.scene-quiet h2 { font-size: clamp(40px, 6.2vw, 96px); margin-bottom: 0; }
.scene-index { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; color: var(--gold); font: 12px/1.25 Arial,sans-serif; letter-spacing: .2em; }
.scene-index span { width: 42px; height: 1px; background: currentColor; }
.scene h2 { font: 400 clamp(48px, 7vw, 100px)/.98 var(--serif); letter-spacing: -.035em; margin: 0 0 24px; }
.scene h3 { font: 400 28px/1.2 var(--serif); margin: 0 0 10px; }
.chapter-text { max-width: 56ch; font-size: clamp(15px, 1.3vw, 18px); color: var(--paper); }
.chapter-text p { margin: 0 0 .58em; }
.chapter-text > div[style], .chapter-text > p[style] { text-align: left !important; margin-bottom: .5em; }

.scene-hero { min-height: 100svh; text-align: center; }
.hero-content { width: 100%; text-shadow: 0 5px 38px #000a; }
.hero-kicker { margin: 0 0 34px; letter-spacing: .42em; text-transform: uppercase; font-size: 12px; }
.hero-content h1 { margin: 0; }
.hero-content h1 img { display: block; width: min(100%, 810px); height: auto; margin-inline: auto; filter: drop-shadow(0 4px 18px #000b); }
.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: grid; gap: 6px; justify-items: center; padding: 10px; color: var(--paper); }
.hero-scroll span { height: 21px; width: 1px; background: #e9d9c994; }
.scroll-track { position: fixed; z-index: 4; right: 16px; top: 33%; height: 34%; width: 2px; display: none; background: #fff4; pointer-events: none; }
.is-immersive .scroll-track { display: block; }
.scroll-track span { display: block; height: 100%; background: var(--gold); transform-origin: top; transform: scaleY(var(--progress, 0)); }

.document-links { display: flex; gap: 12px; flex-wrap: wrap; }
.document-links a { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-width: 150px; padding: 13px 18px; border: 1px solid #f6eee288; background: #11110f50; text-decoration: none; }
.document-links a:hover { background: #e1c59e; color: #121210; text-shadow: none; }
.scene-gallery .scene-content { width: min(100%, 1120px); }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.photo-grid a { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--night); }
.photo-grid img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .3s ease; }
.photo-grid .photo-fish img { object-position: center 43%; }
.photo-grid a:hover img { transform: scale(1.04); }
.photo-story { display: grid; gap: 12px; }
.photo-grid-opening { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.photo-feature {
    display: block;
    aspect-ratio: 2.5 / 1;
    background: var(--night);
    overflow: hidden;
}
.photo-feature img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 68%; }
html:has(.photo-viewer[open]) { overflow: hidden; scrollbar-gutter: stable; }
.photo-viewer {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: max(8px, env(safe-area-inset-top)) var(--edge) max(8px, env(safe-area-inset-bottom));
    border: 0;
    background: #12110f;
    color: var(--paper);
}
.photo-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 8px; }
.photo-viewer-top, .photo-viewer-navigation { display: flex; gap: 14px; align-items: center; }
.photo-viewer-top { justify-content: space-between; }
.photo-viewer-navigation { justify-content: center; }
.photo-viewer-caption { margin: 0; color: var(--muted); font-size: 14px; }
.photo-viewer-count { min-width: 58px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.photo-viewer button {
    flex: none;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid #e1c59e66;
    border-radius: 50%;
    color: var(--paper);
    background: transparent;
    font-size: 24px;
    line-height: 1;
}
.photo-viewer button:hover { background: #e1c59e29; }
.photo-viewer-stage { min-width: 0; touch-action: pinch-zoom; }
.photo-viewer-stage img { display: block; width: 100%; height: 100%; object-fit: contain; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 5vw, 72px); }
.contact-grid p { margin: 0 0 .5em; overflow-wrap: anywhere; }
.contact-actions { margin: 12px 0; }
.contact-actions a { min-width: 0; }
.contact-actions a:first-child { border-color: #eadbc4; background: #eadbc4; color: #251b12; text-shadow: none; }
.contact-actions a:first-child:hover { background: var(--paper); }
.social-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
footer { display: flex; justify-content: center; padding: 30px var(--edge); background: var(--night); }
footer a { text-decoration: none; }
footer span { margin-left: 14px; color: var(--gold); }
#ca-booking { margin: auto; }

@media (max-width: 700px) {
    .wordmark { width: clamp(104px, 31vw, 162px); }
    .ca-topbar { padding-inline: 12px; gap: 9px; }
    .ca-topbar summary, .ca-topbar button { padding-inline: 8px; font-size: 12px; gap: 5px; }
    .scene { align-items: flex-end; min-height: 88svh; padding-block: 86px 54px; }
    .scene-hero { min-height: 100svh; align-items: center; }
    .scene-quiet { min-height: 62svh; }
    .scene::after, .scene-right::after { background: linear-gradient(0deg,#11110fec 7%,#11110f7a 53%,transparent 87%); }
    .scene-hero::after { background: radial-gradient(ellipse at center,#11110f82,transparent 75%); }
    .scenery-layer::after { inset: 0; background-position: center 39%; mask-image: linear-gradient(0deg,transparent 15%,#000 45%,#000 72%,transparent); }
    .hero-kicker { margin-bottom: 22px; }
    .scene h2 { font-size: clamp(47px, 10vw, 64px); }
    .scene-quiet h2 { font-size: clamp(34px, 8.6vw, 56px); }
    .is-immersive .scroll-track { right: 5px; }
    .photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .photo-feature { aspect-ratio: 3 / 2; }
    .ca-topbar.is-compact {
        padding-block: max(5px, env(safe-area-inset-top)) 5px;
        background: #151310ee;
        border-bottom: 1px solid #e1c59e30;
    }
    .ca-topbar.is-compact .wordmark { width: clamp(96px, 27vw, 130px); }
    .contact-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .photo-grid img { transition: none; }
}
@media (min-width: 1000px) {
    .scenery-right::after { left: 19%; }
    .scenery-left::after { right: 19%; }
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: clamp(20px, 4svh, 38px) auto 0;
}
.hero-actions a,
.hero-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px;
    border: 1px solid #efe1caba;
    border-radius: 3px;
    background: #191613c9;
    color: var(--paper);
    text-decoration: none;
    text-shadow: none;
    font-size: 14px;
}
.hero-actions button { background: #eadbc4; color: #251b12; border-color: #eadbc4; }
.hero-actions a:hover { background: #382f27; }
.hero-actions button:hover { background: #f6eee2; }

.kitchen-chapter { position: relative; }
.scene-feature {
    --feature-direction: to right;
    --feature-width: 66%;
}
.scene-feature.scene-right { --feature-direction: to left; }
.scene-feature.scene-portrait { --feature-width: 55%; }
.scene.scene-feature::before {
    content: "";
    inset: 0 0 0 auto;
    width: var(--feature-width);
    background: var(--scene-image) var(--feature-focus, center) / cover no-repeat;
    mask-image: linear-gradient(var(--feature-direction), transparent, #000 26%),
                linear-gradient(to bottom, transparent, #000 10%, #000 87%, transparent);
    mask-composite: intersect;
}
.scene.scene-feature.scene-right::before { inset-inline: 0 auto; }
.scene.scene-feature::after {
    background: linear-gradient(var(--feature-direction), #141310f2 2%, #141310d9 30%, #14131030 57%, transparent 74%);
}
.scene-feature .scene-content { width: min(43%, 610px); }
@media (max-width: 760px) {
    .scene-feature > .section-anchor,
    #page-news > .section-anchor,
    .kitchen-chapter > .section-anchor { scroll-margin-top: clamp(64px, 18vw, 92px); }
    .scene.scene-feature,
    #page-news {
        --feature-height: clamp(250px, 80vw, 510px);
        display: block;
        min-height: 0;
        padding-block: calc(var(--feature-height) - 24px) clamp(54px, 9vw, 74px);
    }
    .scene.scene-feature.scene-portrait { --feature-height: clamp(325px, 105vw, 555px); }
    #page-news::before,
    .scene.scene-feature::before,
    .scene.scene-feature.scene-right::before {
        content: "";
        inset: 0 0 auto;
        width: 100%;
        height: var(--feature-height);
        mask-image: linear-gradient(to bottom, #000 72%, transparent);
    }
    #page-news::after,
    .scene.scene-feature::after {
        background: linear-gradient(to bottom, transparent calc(var(--feature-height) - 94px), #141310ed var(--feature-height));
    }
    #page-news .scene-content,
    .scene-feature .scene-content { width: 100%; }
    #page-la-cucina-2 .scene.scene-portrait {
        --feature-height: clamp(300px, 94vw, 505px);
    }
    #page-la-cucina-2 .scene.scene-portrait::before { background-position: center 32%; }
    #page-le-radici::before { background-position: 54% center; }
    #page-news::before { background: var(--scene-image) 19% center / cover no-repeat; }
}

.recognition-band {
    position: relative;
    padding: clamp(24px, 4vw, 52px) var(--edge);
    background: #191612;
    border-block: 1px solid #e1c59e42;
    text-align: center;
    scroll-margin-top: 65px;
}
.recognition-band h2 {
    margin: 0 0 17px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .24em;
    text-transform: uppercase;
}
.guide-awards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    max-width: 850px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.guide-awards li { padding-inline: clamp(5px, 2vw, 22px); }
.guide-awards li + li { border-inline-start: 1px solid #e1c59e42; }
.guide-awards strong { display: block; font: 400 clamp(15px, 2.6vw, 26px)/1.12 var(--serif); color: var(--paper); }
.guide-awards li > span, .guide-awards a > span { display: block; margin-top: 6px; font-size: clamp(10px, 1.5vw, 12px); line-height: 1.35; color: var(--muted); }
.guide-awards span[aria-hidden] { display: inline; }
.guide-awards a { display: block; text-decoration: none; }
.guide-awards a:hover strong { text-decoration: underline; }
.guide-awards .michelin-selection-badge {
  display: block;
  width: min(100%, 160px);
  height: auto;
  margin-inline: auto;
}

@media (max-width: 380px) {
    .hero-actions a, .hero-actions button { padding-inline: 12px; font-size: 13px; }
}
@media (max-width: 350px) {
    .ca-controls { gap: 5px; }
    .ca-language [aria-current], .ca-language [aria-hidden] { display: none; }
    .ca-topbar #ca-open-booking { width: 80px; line-height: 1.15; }
}

.hero-visual {
    position: absolute;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-visual img, .hero-visual video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 53% 51%;
}
.hero-visual video {
    left: auto;
    width: 59%;
    mask-image: linear-gradient(90deg, transparent, #000 27%);
    opacity: 0;
    transition: opacity .85s ease;
}
.scene-with-film.film-visible .hero-film { opacity: 1; }
.scene-with-film .hero-content { width: min(64%, 800px); margin-right: auto; }
.scene-with-film::after { background: linear-gradient(0deg, #11110fe0, transparent 42%), linear-gradient(90deg, #11110fc7, #11110f36 63%, transparent 85%); }
.film-control {
    position: absolute;
    right: var(--edge);
    bottom: 34px;
    min-height: 44px;
    padding: 7px 13px;
    border: 1px solid #e1c59e70;
    border-radius: 3px;
    background: #151310bd;
    color: var(--paper);
    font-size: 12px;
}
@media (max-width: 700px) {
    .hero-visual video { width: 100%; mask-image: none; }
    .scene-with-film .hero-content { width: 100%; }
    .scene-with-film::after { background: linear-gradient(0deg, #11110fe4, #11110f6b 52%, #11110f26 78%, #11110f52); }
    .film-control { right: 12px; bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .scene-with-film .hero-film { transition: none; }
}
