/* Arkè B&B — foglio di stile unico. Nessun framework. */

@font-face { font-family: "Bodoni Moda"; src: url("/assets/fonts/bodoni-moda-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("/assets/fonts/bodoni-moda-wght-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/assets/fonts/hanken-grotesk-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

@view-transition { navigation: auto; }

:root {
  --paper: #f3eee6;
  --paper-2: #ebe3d6;
  --paper-3: #e0d4c1;
  --ink: #1f1b17;
  --ink-2: #554c43;
  --line: #d3c6b2;
  --rosso: #a8322a;
  --blu: #1f4f7a;
  --arancio: #b8551f;
  --accent: var(--rosso);
  --serif: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --wrap: 78rem;
  --gut: clamp(1.25rem, 4.5vw, 3.5rem);
  --space: clamp(4.5rem, 10vw, 9rem);
  --step-0: clamp(1.02rem, .98rem + .2vw, 1.12rem);
  --step-1: clamp(1.2rem, 1.1rem + .45vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3: clamp(2rem, 1.55rem + 2.2vw, 3.4rem);
  --step-4: clamp(2.7rem, 1.8rem + 4.6vw, 6.2rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--step-0)/1.62 var(--sans); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--rosso); color: var(--paper); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; }
p, li, dd { text-wrap: pretty; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--paper); padding: .6rem 1rem; }
.skip:focus { top: 1rem; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }

/* ------------------------------------------------ bottoni */
.btn {
  display: inline-flex; align-items: center; gap: .65em; padding: .95em 1.45em;
  font: 600 .95rem/1 var(--sans); letter-spacing: .01em; text-decoration: none;
  border: 1px solid var(--ink); transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  cursor: pointer;
}
.btn .icon { transition: translate .25s var(--ease); }
.btn:hover .icon:last-child { translate: .2em 0; }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--light { border-color: var(--paper); color: var(--paper); }
.btn--light:hover { background: var(--paper); color: var(--ink); }
.btn--sm { padding: .7em 1.05em; font-size: .88rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .45em; border-bottom: 1px solid currentColor; padding-bottom: .15em; }
.link:hover { color: var(--accent); }

/* ------------------------------------------------ testata */
.masthead {
  position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
  view-transition-name: masthead;
}
.masthead__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.6rem; }
.brand { display: flex; align-items: baseline; gap: .55rem; text-decoration: none; }
.brand__mark { width: 1.7rem; height: 1.7rem; color: var(--rosso); align-self: center; }
.brand__name { font: 500 1.75rem/1 var(--serif); letter-spacing: -.01em; }
.brand__tag { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); }
.nav ul a { text-decoration: none; font-weight: 500; font-size: .98rem; padding-block: .4rem; background: linear-gradient(currentColor 0 0) left bottom / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.nav ul a:hover, .nav ul a[aria-current], .nav ul a.is-active { background-size: 100% 1px; }
.nav ul a[aria-current], .nav ul a.is-active { color: var(--accent); }
.nav__lang { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 1px solid var(--line); border-radius: 50%; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; }
.nav__lang:hover { border-color: var(--ink); }
.menu-btn, .nav__close { display: none; }

@media (min-width: 62em) {
  .nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); position: static; inset: auto; margin: 0; padding: 0; border: 0; background: none; width: auto; height: auto; overflow: visible; }
}
@media (max-width: 61.99em) {
  .menu-btn { display: inline-flex; align-items: center; gap: .6rem; background: none; border: 1px solid var(--ink); padding: .6rem .9rem; font: 600 .85rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
  .menu-btn__bars { width: 1.1rem; height: .55rem; border-block: 1.5px solid currentColor; }
  .nav { position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; padding: 6rem var(--gut) 2.5rem; background: var(--paper); color: var(--ink); flex-direction: column; align-items: flex-start; gap: 2rem; overflow-y: auto; }
  .nav:popover-open { display: flex; }
  .nav ul { flex-direction: column; gap: .2rem; width: 100%; }
  .nav ul a { display: block; font: 500 clamp(2rem, 9vw, 3rem)/1.15 var(--serif); padding-block: .35rem; background: none; border-bottom: 1px solid var(--line); }
  .nav__close { display: grid; place-items: center; position: absolute; top: 1.1rem; right: var(--gut); width: 2.8rem; height: 2.8rem; background: none; border: 1px solid var(--ink); color: var(--ink); cursor: pointer; }
  .nav__close .icon { width: 1.3rem; height: 1.3rem; }
  .nav::backdrop { background: transparent; }
  @media (prefers-reduced-motion: no-preference) {
    .nav:popover-open { animation: sheet .35s var(--ease); }
  }
}
@keyframes sheet { from { opacity: 0; translate: 0 -1rem; } }

/* ------------------------------------------------ elementi editoriali */
.kicker { display: flex; align-items: baseline; gap: .9rem; margin: 0 0 1.4rem; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.kicker::before { content: attr(data-n); font: italic 400 1.15rem/1 var(--serif); letter-spacing: 0; color: var(--accent); }
.kicker::after { content: ""; flex: 1; max-width: 5rem; height: 1px; background: currentColor; opacity: .5; align-self: center; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 38ch; }
.prose { max-width: 62ch; }
.prose h2 { font-size: var(--step-2); margin: 2.2em 0 .6em; }
.prose h3 { font-size: var(--step-1); margin: 1.8em 0 .5em; }
.prose ul { padding-left: 1.1em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--accent); }
.section { padding-block: var(--space); }
.section--tight { padding-block: calc(var(--space) * .6); }
.section--paper2 { background: var(--paper-2); }
.section__head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 56em) { .section__head { grid-template-columns: 7fr 5fr; align-items: end; column-gap: var(--gut); } .section__head p { margin: 0; } }
.section__head h2 { font-size: var(--step-3); }
.skyline { height: clamp(2.2rem, 4vw, 3.4rem); background: currentColor; -webkit-mask: url("/assets/img/skyline.svg") repeat-x left bottom / auto 100%; mask: url("/assets/img/skyline.svg") repeat-x left bottom / auto 100%; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ------------------------------------------------ hero home */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) 0; }
.hero__grid { display: grid; gap: 2.5rem; }
@media (min-width: 62em) {
  .hero__grid { grid-template-columns: repeat(12, 1fr); column-gap: 1.5rem; align-items: end; }
  .hero__text { grid-column: 1 / span 6; grid-row: 1; padding-bottom: 1rem; position: relative; z-index: 2; }
  .hero__media { grid-column: 7 / -1; grid-row: 1; }
}
.hero__eyebrow { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; margin: 0 0 1.6rem; display: flex; gap: .8rem; align-items: center; }
.hero__eyebrow::before { content: ""; width: 2.5rem; height: 1px; background: currentColor; }
.display { font-size: var(--step-4); line-height: .94; font-weight: 500; letter-spacing: -.025em; }
.display em { color: var(--rosso); font-weight: 400; }
.hero .lede { margin: 1.8rem 0 2.2rem; }
.hero__media { position: relative; margin: 0; }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 38% 50%; }
@media (min-width: 62em) { .hero__media img { aspect-ratio: 5 / 6; } }
.hero__media figcaption { display: flex; justify-content: space-between; gap: 1rem; font-size: .82rem; color: var(--ink-2); padding-top: .7rem; border-bottom: 1px solid var(--line); padding-bottom: .7rem; }
.hero__coords { position: absolute; top: 0; right: -.2rem; translate: 100% 0; writing-mode: vertical-rl; font-size: .72rem; letter-spacing: .18em; color: var(--ink-2); display: none; }
@media (min-width: 84em) { .hero__coords { display: block; right: -.8rem; } }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); margin: clamp(2.5rem, 5vw, 4rem) 0 0; border-top: 1px solid var(--ink); }
.facts div { padding: 1.3rem 1rem 1.4rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 500 var(--step-2)/1 var(--serif); margin-bottom: .45rem; }
.facts dt small { font-size: .55em; font-style: italic; }
.facts dd { margin: 0; font-size: .9rem; color: var(--ink-2); max-width: 22ch; }
@media (min-width: 48em) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts div { border-bottom: 0; padding-left: 1.2rem; border-left: 1px solid var(--line); }
  .facts div:first-child { padding-left: 0; border-left: 0; }
}

/* ------------------------------------------------ testiere (firma del sito) */
.headboards { display: grid; gap: 1rem; grid-template-columns: repeat(12, 1fr); }
.headboards figure { margin: 0; grid-column: span 12; }
.headboards img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.headboards figcaption { font-size: .86rem; color: var(--ink-2); padding-top: .6rem; display: flex; gap: .6rem; }
.headboards figcaption b { font: italic 500 1rem/1.3 var(--serif); color: var(--ink); }
@media (min-width: 48em) {
  .headboards figure:nth-child(1) { grid-column: 1 / span 7; }
  .headboards figure:nth-child(2) { grid-column: 8 / span 5; align-self: end; }
  .headboards figure:nth-child(3) { grid-column: 3 / span 6; }
  .headboards figure:nth-child(2) img { aspect-ratio: 4 / 5; }
  .headboards__note { grid-column: 9 / span 4; align-self: center; }
}
.headboards__note { grid-column: span 12; font: italic 400 var(--step-1)/1.45 var(--serif); margin: 0; }

/* ------------------------------------------------ camere */
.room { --c: var(--blu); display: grid; gap: 1.6rem; padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.room--rossa { --c: var(--rosso); }
.room--arancio { --c: var(--arancio); }
@media (min-width: 56em) {
  .room { grid-template-columns: 7fr 5fr; column-gap: clamp(2rem, 5vw, 5rem); align-items: center; }
  .room:nth-of-type(even) .room__media { order: 2; }
}
.room__media { position: relative; overflow: hidden; display: block; }
.room__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: scale .9s var(--ease); }
a.room__media:hover img { scale: 1.035; }
.room__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: .45rem; background: var(--c); }
.room__label { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--c); margin: 0 0 .8rem; }
.room h2, .room h3 { font-size: var(--step-3); margin-bottom: 1rem; }
.room h2 em, .room h3 em { color: var(--c); }
.specs { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; font-size: .92rem; }
.specs li { display: flex; align-items: center; gap: .45rem; }
.specs li::before { content: ""; width: .4rem; height: .4rem; background: var(--c); rotate: 45deg; }
.room__price { font: 500 var(--step-1)/1.2 var(--serif); margin-bottom: 1.4rem; }
.room__price small { font: 400 .85rem var(--sans); color: var(--ink-2); }

/* scheda camera dettagliata (pagina camere) */
.roomsheet { --c: var(--blu); padding-block: clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--line); }
.roomsheet--rossa { --c: var(--rosso); }
.roomsheet--arancio { --c: var(--arancio); }
.roomsheet__head { display: grid; gap: 1rem 3rem; margin-bottom: 2rem; }
@media (min-width: 56em) { .roomsheet__head { grid-template-columns: 1fr 1fr; align-items: end; } }
.roomsheet h2 { font-size: var(--step-4); line-height: .95; }
.roomsheet h2 em { color: var(--c); }
.roomsheet__swatch { display: inline-block; width: 2.6rem; height: .5rem; background: var(--c); margin-bottom: 1.2rem; }
.roomsheet .specs li::before { background: var(--c); }

/* galleria a scorrimento */
.gallery { margin-inline: calc(-1 * var(--gut)); }
@media (min-width: 84em) { .gallery { margin-inline: 0; } }
.gallery__track { list-style: none; margin: 0; padding: 0 var(--gut) 1rem; display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 30rem); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--ink-2) transparent; }
@media (min-width: 84em) { .gallery__track { padding-inline: 0; } }
.gallery__track li { scroll-snap-align: start; }
.gallery__link { display: block; cursor: zoom-in; position: relative; }
.gallery__link img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery__link:focus-visible { outline-offset: -4px; outline-color: var(--paper); }

/* lightbox */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgb(20 17 14 / .96); color: var(--paper); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgb(20 17 14 / .7); }
.lightbox figure { margin: 0; display: grid; gap: .8rem; justify-items: center; padding: 4rem 1rem 2rem; }
.lightbox img { max-width: min(92vw, 1000px); max-height: 80dvh; width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { font-size: .9rem; max-width: 60ch; text-align: center; color: #d9cfbf; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid rgb(243 238 230 / .4); background: rgb(20 17 14 / .5); color: var(--paper); cursor: pointer; }
.lightbox__btn:hover { border-color: var(--paper); }
.lightbox__btn .icon { width: 1.4rem; height: 1.4rem; }
.lightbox__prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__close { right: 1rem; top: 1rem; }
@media (prefers-reduced-motion: no-preference) { .lightbox[open] img { animation: fade .3s var(--ease); } }
@keyframes fade { from { opacity: 0; scale: .985; } }

/* ------------------------------------------------ prezzi */
.prices table { width: 100%; border-collapse: collapse; font-variant-numeric: lining-nums tabular-nums; }
.prices th, .prices td { text-align: left; padding: 1.05rem .5rem 1.05rem 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.prices thead th { font: 600 .75rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); border-bottom-color: var(--ink); }
.prices tbody th { font: 500 var(--step-1)/1.2 var(--serif); }
.prices td { font: 500 var(--step-2)/1 var(--serif); white-space: nowrap; }
.prices td:last-child { color: var(--rosso); }
.prices__note { font-size: .88rem; color: var(--ink-2); margin-top: 1rem; max-width: 60ch; }

/* ------------------------------------------------ colazione */
.split { display: grid; gap: 2.5rem; }
@media (min-width: 56em) { .split { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 6vw, 6rem); align-items: center; } .split--rev > :first-child { order: 2; } }
.split h2 { font-size: var(--step-3); margin-bottom: 1.2rem; }
.split figure { margin: 0; }
.split figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split figcaption { font-size: .82rem; color: var(--ink-2); padding-top: .6rem; }
.menu-list { font: italic 400 var(--step-1)/1.6 var(--serif); margin: 1.4rem 0; padding: 1.2rem 0; border-block: 1px solid var(--line); }
.menu-list span:not(:last-child)::after { content: " · "; color: var(--accent); font-style: normal; }

/* ------------------------------------------------ posizione */
.place { display: grid; gap: 3rem; }
@media (min-width: 62em) { .place { grid-template-columns: 5fr 7fr; column-gap: clamp(2rem, 6vw, 6rem); } }
.bignum { font: 400 clamp(5rem, 3rem + 11vw, 12rem)/.82 var(--serif); letter-spacing: -.04em; margin: 0 0 1rem; color: var(--rosso); }
.bignum small { font-size: .3em; letter-spacing: 0; font-style: italic; color: var(--ink); }
.distances { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.distances li { display: flex; align-items: baseline; gap: .8rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.distances li::after { content: ""; order: 1; flex: 1; border-bottom: 1px dotted var(--ink-2); translate: 0 -.3em; min-width: 1rem; }
.distances b { font: 500 var(--step-1)/1.2 var(--serif); }
.distances span { order: 2; font-size: .92rem; color: var(--ink-2); white-space: nowrap; }
.distances__note { font-size: .82rem; color: var(--ink-2); margin-top: .8rem; }
.transit { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 40em) { .transit { grid-template-columns: repeat(2, 1fr); } }
.transit h3 { font: 600 .78rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; margin-bottom: .7rem; color: var(--ink-2); }
.transit p { margin: 0; }

/* ------------------------------------------------ FAQ */
.faqs { border-top: 1px solid var(--ink); max-width: 56rem; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.35rem 0; font: 500 var(--step-1)/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: .9rem; height: .9rem; margin-top: .4em; background: linear-gradient(currentColor 0 0) center / 100% 1.5px no-repeat, linear-gradient(currentColor 0 0) center / 1.5px 100% no-repeat; transition: rotate .3s var(--ease); }
.faq[open] summary::after { rotate: 45deg; }
.faq summary:hover { color: var(--accent); }
.faq__a { padding: 0 0 1.5rem; max-width: 62ch; color: var(--ink-2); }
.faq__a p:last-child { margin: 0; }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq::details-content { block-size: 0; overflow: clip; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
  .faq[open]::details-content { block-size: auto; }
}

/* ------------------------------------------------ CTA */
.cta { background: var(--ink); color: var(--paper); padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.cta__in { display: grid; gap: 2rem; }
@media (min-width: 56em) { .cta__in { grid-template-columns: 7fr 5fr; column-gap: var(--gut); align-items: end; } }
.cta__title { font-size: var(--step-3); }
.cta__title em { color: #e9a07a; display: block; }
.cta p { color: #cfc4b4; max-width: 44ch; }
.cta .btn--solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta .btn--solid:hover { background: var(--rosso); color: var(--paper); border-color: var(--rosso); }
.cta .btn--line { color: var(--paper); border-color: rgb(243 238 230 / .5); }
.cta .btn--line:hover { background: var(--paper); color: var(--ink); }

/* ------------------------------------------------ pagine interne */
.pagehead { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 4vw, 3.5rem); border-bottom: 1px solid var(--line); }
.pagehead h1 { font-size: var(--step-4); line-height: .96; margin-top: 1.4rem; max-width: 16ch; }
.pagehead h1 em { color: var(--rosso); font-weight: 400; }
.pagehead .lede { margin-top: 1.5rem; max-width: 52ch; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .82rem; color: var(--ink-2); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: .4rem; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.toc { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; list-style: none; padding: 0; }
.toc a { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .95rem; border: 1px solid var(--line); text-decoration: none; font-size: .92rem; font-weight: 500; }
.toc a:hover { border-color: var(--ink); }
.toc i { width: .7rem; height: .7rem; display: inline-block; }
.dot-blu { background: var(--blu); } .dot-rossa { background: var(--rosso); } .dot-arancio { background: var(--arancio); }
.cols { display: grid; gap: 3rem; }
@media (min-width: 56em) { .cols { grid-template-columns: 7fr 5fr; column-gap: clamp(2rem, 6vw, 6rem); align-items: start; } }
.panel { background: var(--paper-2); padding: clamp(1.5rem, 3vw, 2.5rem); border-top: 3px solid var(--accent); }
.panel h2 { font-size: var(--step-2); margin-bottom: 1rem; }
.panel p:last-child { margin-bottom: 0; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.4rem 1fr; gap: .2rem 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, upper-roman); grid-row: span 2; font: italic 500 1.4rem/1 var(--serif); color: var(--accent); }
.steps b { font-weight: 600; }
.steps span { color: var(--ink-2); font-size: .95rem; }

/* contatti */
.contact-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.contact-list li { border-bottom: 1px solid var(--line); }
.contact-list a { display: grid; grid-template-columns: 1.6rem 1fr auto; align-items: center; gap: 1rem; padding: 1.25rem 0; text-decoration: none; }
.contact-list a:hover { color: var(--accent); }
.contact-list small { display: block; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.contact-list strong { font: 500 var(--step-1)/1.25 var(--serif); }
.contact-list .icon { width: 1.4rem; height: 1.4rem; }
.contact-list .go { width: 1.1rem; height: 1.1rem; opacity: .5; }
.mapcard { position: relative; background: var(--blu); color: var(--paper); padding: clamp(1.6rem, 4vw, 2.6rem); overflow: hidden; }
.mapcard h2 { font-size: var(--step-2); margin-bottom: .8rem; }
.mapcard p { color: #d6dfe8; }
.mapcard .skyline { color: rgb(243 238 230 / .14); position: absolute; inset: auto 0 0 0; height: 4.5rem; }
.mapcard .actions { position: relative; }

/* ------------------------------------------------ moduli */
.form { display: grid; gap: 1.6rem 1.5rem; }
@media (min-width: 40em) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
.field { display: grid; gap: .45rem; }
.field label, .field legend { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding: 0; }
.field label span, .field legend span { color: var(--rosso); }
.field input, .field select, .field textarea {
  font: 400 1.05rem/1.4 var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink-2);
  padding: .6rem 0; border-radius: 0; width: 100%; appearance: none; -webkit-appearance: none;
}
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1b17' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 1.1rem no-repeat; padding-right: 1.6rem; }
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--accent); margin-bottom: -1px; }
.field input:user-invalid, .field textarea:user-invalid { border-bottom-color: var(--rosso); }
.field .hint { font-size: .82rem; color: var(--ink-2); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choices label { letter-spacing: 0; text-transform: none; font-size: .95rem; font-weight: 500; color: var(--ink); }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices label span { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem .95rem; border: 1px solid var(--line); cursor: pointer; color: var(--ink); }
.choices input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.choices input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.nights { font: italic 400 var(--step-1)/1.3 var(--serif); color: var(--accent); min-height: 1.3em; margin: 0; }
.form__send { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.form__legal { font-size: .84rem; color: var(--ink-2); max-width: 60ch; }
.amount { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.amount input[type=range] { flex: 1; min-width: 12rem; accent-color: var(--rosso); border: 0; padding: 0; }
.amount output { font: 500 var(--step-3)/1 var(--serif); min-width: 5ch; }
.paypal-note { display: flex; gap: .6rem; align-items: center; font-size: .86rem; color: var(--ink-2); }

/* ------------------------------------------------ piè di pagina */
.colophon { background: var(--paper-2); padding-bottom: 6rem; }
.colophon > .skyline { color: var(--ink); height: clamp(2.6rem, 5vw, 4rem); background-color: var(--ink); }
.colophon__grid { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 5rem) 2.5rem; }
@media (min-width: 56em) { .colophon__grid { grid-template-columns: 5fr 3fr 4fr; column-gap: var(--gut); } }
.colophon h2 { font: 600 .74rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 1rem; }
.colophon ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.colophon a { text-decoration: none; }
.colophon a:hover { text-decoration: underline; }
.colophon address { line-height: 1.85; }
.colophon__name { font: 500 var(--step-2)/1.1 var(--serif); margin-bottom: 1rem; }
.colophon__name em { color: var(--rosso); font-weight: 400; }
.colophon__brand p:last-child { color: var(--ink-2); max-width: 40ch; }
.colophon__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-2); }
.colophon__base p { margin: 0; }
.coords { letter-spacing: .08em; }
@media (min-width: 62em) { .colophon { padding-bottom: 0; } .colophon__base { padding-bottom: 2rem; } }

/* barra mobile */
.dock { position: fixed; z-index: 30; inset: auto .75rem .75rem; display: grid; grid-template-columns: auto 1fr; gap: .5rem; padding: .45rem; background: var(--ink); box-shadow: 0 .6rem 2rem rgb(31 27 23 / .25); }
.dock a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: 0 1rem; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--paper); }
.dock__call { border: 1px solid rgb(243 238 230 / .35); }
.dock__cta { background: var(--rosso); }
@media (min-width: 62em) { .dock { display: none; } }

/* ------------------------------------------------ 404 */
.notfound { min-height: 60vh; display: grid; align-content: center; gap: 1.5rem; }
.notfound .bignum { margin: 0; }

/* ------------------------------------------------ animazioni allo scorrimento */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
    .reveal-img img { animation: unveil linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
  }
  .hero .display { animation: rise 1s var(--ease) both; }
  .hero .lede, .hero .actions { animation: rise 1s .15s var(--ease) both; }
  .hero__media img { animation: unveil 1.3s .1s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; translate: 0 2.2rem; } }
@keyframes unveil { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }

@media print {
  .masthead, .dock, .cta, .lightbox, .skyline { display: none !important; }
  body { background: #fff; }
}

/* ------------------------------------------------ aggiunte */
.toc-dot { width: .7rem; height: .7rem; display: inline-block; }
.rule-title { font: 600 .78rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin: 2.2rem 0 .8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.split-title { font-size: var(--step-3); margin-bottom: 1.2rem; }
.place h2 { font-size: var(--step-3); margin-bottom: 1.2rem; }
.cols h2.split-title { margin-bottom: 1.2rem; }
@media (min-width: 56em) { .transit--wide { grid-template-columns: repeat(3, 1fr); column-gap: clamp(1.5rem, 4vw, 3.5rem); row-gap: 2.5rem; } }
.transit--wide > div { border-top: 1px solid var(--ink); padding-top: 1rem; }
.hint-call { margin: 1.6rem 0 0; font-size: .95rem; color: var(--ink-2); }
.hint-call .link { margin-top: .5rem; color: var(--ink); }
.form__done { margin-top: 1.5rem; }
.nav__home, .nav__contact { display: none; }
@media (max-width: 61.99em) {
  .nav__home { display: block; }
  .nav__contact { display: block; margin: auto 0 0; font-size: 1rem; line-height: 1.9; color: var(--ink-2); }
  .nav__contact a { text-decoration: none; }
  .nav__cta { padding: 1rem 1.4rem; font-size: 1rem; }
}
.no-dock .dock { display: none; }
.no-dock .colophon { padding-bottom: 0; }
