/* ============================================================
   2 Navigli — B&B Milano
   Warm editorial system: plaster cream, Milanese terracotta,
   muted canal green, deep ink, soft brass.
   ============================================================ */

:root {
  /* palette */
  --cream:        #F4EEE3;
  --cream-2:      #EDE3D2;   /* deeper plaster for panels */
  --paper:        #FBF7EF;   /* card surface */
  --terracotta:   #B4623E;
  --terracotta-d: #95492B;
  --canal:        #3E6B63;
  --canal-d:      #2F5249;
  --ink:          #2B2722;
  --ink-soft:     #4A443C;
  --brass:        #C49A4E;
  --brass-l:      #E3BE73;   /* lighter gold — meets 3:1 on canal/ink */
  --field-line:   rgba(43, 39, 34, .55); /* input borders ≥ 3:1 */
  --line:         rgba(43, 39, 34, .14);
  --line-soft:    rgba(43, 39, 34, .08);

  /* type */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  /* rhythm */
  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 72px);
  --section-y: clamp(72px, 11vw, 160px);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--terracotta); color: var(--cream); }

:focus-visible {
  outline: 2.5px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 2px;
}
/* keep the focus ring ≥ 3:1 on every background it can land on */
.section--ink :focus-visible,
.cta-band :focus-visible,
.footer :focus-visible { outline-color: var(--brass-l); }
.book-bar :focus-visible { outline-color: var(--cream); }

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 460;
  line-height: 1.04;
  letter-spacing: -.012em;
  margin: 0;
  text-wrap: balance;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--terracotta-d);
  display: inline-flex;
  align-items: center;
  gap: .8em;
  margin: 0;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 1px;
  background: var(--terracotta-d);
  display: inline-block;
  opacity: .8;
}
.eyebrow.is-center { justify-content: center; }
.eyebrow.on-dark { color: var(--brass-l); }
.eyebrow.on-dark::before { background: var(--brass-l); }

.lede {
  font-size: clamp(19px, 2.1vw, 23px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* ---------- layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section-y); }
/* quiet hairline separation between adjacent light sections (replaces the old wave divider) */
.section + .section { border-top: 1px solid var(--line-soft); }
.section--ink   { background: var(--ink);    color: var(--cream); border-top-color: transparent; }
.section--panel { background: var(--cream-2); }
.section--ink .lede { color: rgba(244,238,227,.82); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-block: 20px;
  color: var(--cream);
  transition: background .4s var(--ease), padding .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header .wrap {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
}
.site-header.is-solid {
  background: rgba(244, 238, 227, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--ink);
  padding-block: 12px;
  box-shadow: 0 1px 0 var(--line-soft), 0 14px 40px -28px rgba(43,39,34,.5);
}
/* over the hero photo, lift the cream header text off the image */
.site-header:not(.is-solid) { text-shadow: 0 1px 14px rgba(43,39,34,.55); }

.wordmark {
  font-family: var(--display);
  font-weight: 500;
  font-size: 23px;
  letter-spacing: -.01em;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: .5em;
  white-space: nowrap;
  margin-right: auto;
}
.wordmark__mark { height: 34px; width: auto; flex: none; transition: filter .4s var(--ease); }
.site-header:not(.is-solid) .wordmark__mark { filter: brightness(0) invert(1); }
.wordmark .num {
  color: var(--terracotta);
  font-style: italic;
  font-weight: 500;
}
.site-header:not(.is-solid) .wordmark .num { color: var(--brass); }

.nav {
  display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px);
}
.nav a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .01em;
  position: relative;
  padding-block: 4px;
  color: inherit;
  white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease); opacity: .8;
}
.nav a:hover::after { transform: scaleX(1); }

.header-tools { display: flex; align-items: center; gap: 14px; }

/* language toggle */
.lang {
  display: inline-flex; align-items: center; gap: 2px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em;
  border: 1px solid currentColor; border-radius: 999px;
  padding: 2px;
}
.lang button {
  background: none; border: none; color: inherit;
  padding: 5px 11px; font: inherit; letter-spacing: inherit;
  border-radius: 999px;
  opacity: .62; transition: opacity .25s, background .25s, color .25s;
}
.lang button:focus-visible { outline-offset: -2px; }
.lang button[aria-pressed="true"] { opacity: 1; }
.site-header.is-solid .lang button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.site-header:not(.is-solid) .lang button[aria-pressed="true"] { background: var(--cream); color: var(--ink); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  letter-spacing: .01em;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s, border-color .3s;
  white-space: nowrap;
  line-height: 1;
}
.btn--primary {
  background: var(--terracotta); color: var(--cream);
  box-shadow: 0 10px 30px -14px rgba(149,73,43,.85);
}
.btn--primary:hover { background: var(--terracotta-d); transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(149,73,43,.9); }
.btn--ghost { background: transparent; color: currentColor; border-color: currentColor; }
.btn--ghost:hover { background: currentColor; transform: translateY(-2px); }
.btn--ghost.on-light:hover { color: var(--cream); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -16px rgba(0,0,0,.5); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 16px 30px; font-size: 16px; }

.header-tools .btn { padding-block: 10px; }

/* the nav's own Book button only appears inside the mobile drawer */
.nav > .btn--primary { display: none; }

/* mobile nav toggle */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 1px solid currentColor; border-radius: 999px;
  align-items: center; justify-content: center;
  color: inherit;
}
.hamburger span, .hamburger span::before, .hamburger span::after {
  content: ""; display: block; width: 17px; height: 1.6px; background: currentColor;
  transition: transform .3s var(--ease), opacity .2s;
}
.hamburger span { position: relative; }
.hamburger span::before { position: absolute; top: -5.5px; }
.hamburger span::after  { position: absolute; top:  5.5px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  color: var(--cream);
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img {
  width: 100%; height: 118%;
  object-fit: cover; object-position: 50% 40%;
  position: absolute; top: -9%; left: 0;
  filter: saturate(1.06) contrast(1.015) brightness(1.0) sepia(.14);
  will-change: transform;
}
/* crossfade slideshow */
.hero__media img.hero__slide { opacity: 0; transition: opacity 1.6s var(--ease, ease); }
.hero__media img.hero__slide.is-active { opacity: 1; }
.hero__media::after {
  /* warm grade + legibility scrim */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(43,39,34,.46) 0%, rgba(43,39,34,0) 24%),
    linear-gradient(90deg, rgba(43,39,34,.66) 0%, rgba(43,39,34,.44) 38%, rgba(43,39,34,.14) 66%, rgba(43,39,34,0) 84%),
    linear-gradient(8deg, rgba(43,39,34,.80) 4%, rgba(43,39,34,.28) 42%, rgba(43,39,34,0) 66%),
    linear-gradient(120deg, rgba(180,98,62,.20), rgba(62,107,99,.12) 72%);
}
.hero__media::before {
  /* tunable uniform darkening (Tweaks: hero overlay) */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: rgba(20,20,18, var(--hero-scrim, .14));
}
.hero__inner {
  position: relative; z-index: 2;
  width: 100%;
  padding-bottom: clamp(48px, 8vh, 96px);
  padding-top: 120px;
}
.hero__inner .wrap { width: 100%; max-width: var(--maxw); }
.hero h1 {
  font-family: var(--display);
  font-size: calc(var(--hero-h1, clamp(26px, 3.2vw, 44px)) * 1.25);
  font-weight: 400;
  letter-spacing: -.014em;
  line-height: 1.08;
  margin: 22px 0 0;
  max-width: 17ch;
  text-shadow: 0 2px 26px rgba(0,0,0,.5), 0 1px 6px rgba(0,0,0,.3);
}
.hero__inner .eyebrow {
  color: var(--hero-kicker, #E9E1D0);
  font-size: 15px; letter-spacing: .3em;
  text-shadow: 0 1px 12px rgba(20,20,18,.7);
}
.hero__inner .eyebrow::before { background: var(--hero-kicker, #E9E1D0); opacity: .9; }
.hero__sub {
  margin: 26px 0 0;
  max-width: 50ch;
  font-size: clamp(19px, 1.75vw, 22px);
  line-height: 1.62;
  color: rgba(246,239,226,.9);
}
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.hero__fine {
  font-size: 13px; letter-spacing: .02em;
  color: rgba(246,239,226,.88);
  display: inline-flex; align-items: center; gap: .6em;
}
.hero__fine svg { width: 15px; height: 15px; flex: none; color: #E3BE73; }
.hero__scroll {
  position: absolute; left: var(--pad); bottom: 26px; z-index: 2;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px; opacity: .72;
}
.hero__scroll i {
  display: block; width: 1px; height: 34px;
  background: linear-gradient(currentColor, transparent);
}

/* rating — quiet, hairline-divided */
.hero__rating {
  position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%); z-index: 2;
  text-align: right;
  display: grid; gap: 3px;
  border-right: 1px solid rgba(244,238,227,.28);
  padding-right: 22px;
  text-shadow: 0 1px 18px rgba(43,39,34,.55);
}
.hero__rating .big { font-family: var(--display); font-size: clamp(34px,4vw,52px); line-height: 1; }
.hero__rating .stars { color: #E3BE73; letter-spacing: .14em; font-size: 13px; }
.hero__rating .cap { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; opacity: .8; }

/* ============================================================
   INTRO
   ============================================================ */
.intro .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro__quote {
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.02em;
}
.intro__quote em { color: var(--terracotta); font-style: italic; }
.intro__body p { margin: 0 0 1.1em; }
.intro__body p:last-child { margin-bottom: 0; }
.intro__sign {
  margin-top: 26px; font-family: var(--display); font-style: italic; font-size: 22px; color: var(--terracotta-d);
}

/* ============================================================
   ROOMS
   ============================================================ */
.section-head { max-width: var(--maxw); }
.section-head h2 { font-size: clamp(34px, 5.2vw, 64px); margin-top: 16px; font-weight: 420; }
.section-head .lede { margin-top: 20px; }

.rooms__grid {
  margin-top: clamp(36px, 5vw, 60px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3.4vw, 44px);
}
.room {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.room:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -50px rgba(43,39,34,.6); }
.room__media { position: relative; aspect-ratio: 4 / 3; }
.room__media image-slot { width: 100%; height: 100%; }
.room__tag {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  background: rgba(244,238,227,.94); color: var(--ink);
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: .5em;
  white-space: nowrap;
}
.room__tag b { color: var(--terracotta-d); font-weight: 700; white-space: nowrap; }
.room__body { padding: clamp(22px, 2.4vw, 34px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.room__name { font-size: clamp(24px, 2.6vw, 32px); font-weight: 460; }
.room__name span { display: block; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 8px; }
.room__desc { color: var(--ink-soft); font-size: 16px; line-height: 1.6; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.chip {
  font-size: 12.5px; letter-spacing: .02em; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px;
  display: inline-flex; align-items: center; gap: .45em;
  white-space: nowrap;
}
.room__foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.room__rate { font-size: 13.5px; color: var(--ink-soft); line-height: 1.3; }
.room__rate b { display: block; font-family: var(--display); font-size: 22px; color: var(--ink); font-weight: 500; }
.room__rate small { color: var(--terracotta-d); font-weight: 600; }

/* breakfast / services note */
.amenity-note {
  margin-top: clamp(36px, 5vw, 56px);
  background: var(--cream-2);
  border-radius: 4px;
  padding: clamp(26px, 3.4vw, 44px);
  display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: clamp(22px, 4vw, 56px); align-items: center;
}
.amenity-note__media { align-self: stretch; }
.amenity-note__media image-slot { width: 100%; height: 100%; min-height: 200px; }
.amenity-note__body { min-width: 0; }
.amenity-note .k { font-family: var(--display); font-style: italic; font-size: clamp(22px,2.6vw,30px); color: var(--ink); line-height: 1.1; }
.amenity-note .k small { display:block; font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 8px; font-weight: 600; }
.amenity-note p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.amenity-note .svc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* ============================================================
   NEIGHBOURHOOD
   ============================================================ */
.hood .wrap { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(32px, 5vw, 80px); }
.hood__lead h2 { font-size: clamp(36px, 5.4vw, 70px); margin-top: 16px; font-weight: 420; }
.hood__lead .lede { margin-top: 22px; }
.hood__media { margin-top: 28px; }
.hood__media image-slot { width: 100%; height: clamp(220px, 30vw, 340px); }
.hood__list { display: grid; gap: 0; align-self: center; }
.hood-item {
  border-top: 1px solid var(--line);
}
.hood-item:last-child { border-bottom: 1px solid var(--line); }
.hood-item__head {
  display: grid; grid-template-columns: auto 1fr auto auto; gap: 18px; align-items: baseline;
  padding: 22px 0; cursor: pointer; list-style: none;
}
.hood-item__head::-webkit-details-marker { display: none; }
.hood-item__head:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; border-radius: 2px; }
.hood-item .idx { font-family: var(--display); font-style: italic; color: var(--terracotta); font-size: 18px; }
.hood-item h3 { font-family: var(--sans); font-weight: 600; font-size: 18px; letter-spacing: -.005em; }
.hood-item p { margin: 5px 0 0; font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
.hood-item .dist {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta-d);
  white-space: nowrap; font-weight: 600;
}
.hood-item__cue {
  align-self: center; width: 26px; height: 26px; flex: none;
  display: grid; place-items: center; color: var(--terracotta-d);
  border: 1px solid var(--line); border-radius: 50%;
  transition: transform .45s var(--ease), background .3s, color .3s, border-color .3s;
}
.hood-item__cue svg { width: 13px; height: 13px; }
.hood-item__head:hover .hood-item__cue { background: var(--terracotta-d); color: var(--cream); border-color: var(--terracotta-d); }
.hood-item[open] .hood-item__cue { transform: rotate(45deg); background: var(--terracotta-d); color: var(--cream); border-color: var(--terracotta-d); }
/* reveal panel */
.hood-item__panel { padding: 0 0 26px 38px; }
.hood-illus {
  border: 1px solid var(--line); background: var(--cream);
  border-radius: 4px; width: 100%; max-width: 560px;
  overflow: hidden; position: relative;
  animation: illusIn .5s var(--ease) both;
}
/* photo variant */
.hood-illus--photo { aspect-ratio: 16 / 9; }
.hood-illus--photo .hood-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.hood-illus--photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(244,238,227,.10), rgba(180,98,62,.06));
  mix-blend-mode: multiply;
}
/* line-art plate (used where no photo exists) */
.hood-illus--plate { aspect-ratio: 16 / 7; display: grid; place-items: center; background: var(--cream-2); }
.hood-illus svg.illus { width: 64%; height: 64%; color: var(--ink); }
.hood-illus svg.illus [data-accent] { color: var(--terracotta-d); }
@keyframes illusIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hood-illus { animation: none; } .hood-item__cue { transition: none; } }

/* ============================================================
   HOST (dark)
   ============================================================ */
.host .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.host__portrait { position: relative; }
.host__portrait image-slot { width: 100%; height: clamp(320px, 38vw, 460px); }
.host__portrait .badge {
  position: absolute; bottom: -18px; right: -10px;
  background: var(--terracotta-d); color: var(--cream);
  font-family: var(--display); font-style: italic; font-size: 17px;
  padding: 12px 20px; border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
}
.host blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 360;
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.18;
  letter-spacing: -.015em;
}
.host blockquote .q { color: var(--brass-l); font-style: italic; }
.host cite {
  display: block; margin-top: 28px; font-style: normal;
  font-size: 14px; letter-spacing: .04em; color: rgba(244,238,227,.7);
}
.host cite b { color: var(--cream); font-weight: 600; }

/* ============================================================
   REVIEWS (warm paper)
   ============================================================ */
.reviews .top { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.reviews .score { display: flex; align-items: baseline; gap: 16px; }
.reviews .score .n { font-family: var(--display); font-style: italic; font-size: clamp(64px, 9vw, 120px); line-height: .85; font-weight: 380; color: var(--ink); }
.reviews .score .meta .stars { color: var(--brass); font-size: 19px; letter-spacing: .14em; }
.reviews .score .meta .src { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }
.reviews__grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 34px);
}
.qcard {
  border: 1px solid var(--line); border-radius: 4px;
  padding: clamp(24px, 2.6vw, 34px);
  display: flex; flex-direction: column; gap: 18px;
  background: var(--paper);
}
.qcard .mark { font-family: var(--display); font-style: italic; font-size: 46px; line-height: .5; color: var(--terracotta-d); height: 22px; }
.qcard p { margin: 0; font-family: var(--display); font-weight: 360; font-size: 20px; line-height: 1.35; color: var(--ink); }
.qcard .who { margin-top: auto; font-size: 13px; letter-spacing: .04em; color: var(--ink-soft); }

/* ============================================================
   CONTACT / GETTING HERE
   ============================================================ */
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.facts { display: grid; gap: 0; margin-top: 30px; }
.fact { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); align-items: baseline; }
.fact:last-child { border-bottom: 1px solid var(--line); }
.fact dt { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--terracotta); font-weight: 600; }
.fact dd { margin: 0; font-size: 16.5px; }
.fact dd a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.fact dd a:hover { border-color: var(--terracotta); color: var(--terracotta); }

.map { margin-top: 26px; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.92) sepia(.08); }

.whatsapp { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--terracotta-d); text-decoration: none; font-size: 15px; }
.whatsapp svg { width: 22px; height: 22px; }
.whatsapp:hover { color: var(--ink); }

/* form */
.inquiry { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 4px; padding: clamp(26px, 3vw, 40px); }
.inquiry h3 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 460; }
.inquiry .row { display: grid; gap: 16px; margin-top: 20px; }
.inquiry .two { grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 7px; }
.field label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: var(--cream); border: 1px solid var(--field-line);
  border-radius: 3px; padding: 12px 14px; width: 100%;
  transition: border-color .25s, box-shadow .25s;
}
.field input::placeholder, .field textarea::placeholder { color: #6E665B; opacity: 1; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(180,98,62,.16);
}
.inquiry .btn { width: 100%; margin-top: 20px; }
.inquiry .note { font-size: 13px; color: var(--ink-soft); margin: 14px 0 0; text-align: center; }
.form-ok {
  display: none; margin-top: 18px; padding: 16px 18px;
  background: rgba(180,98,62,.10); border: 1px solid rgba(180,98,62,.32); border-radius: 3px;
  color: var(--terracotta-d); font-size: 15px;
}
.form-ok.show { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.cta-band { background: var(--ink); color: var(--cream); text-align: center; padding-block: clamp(60px, 9vw, 120px); }
.cta-band h2 { font-size: clamp(36px, 6vw, 86px); font-weight: 380; }
.cta-band h2 em { font-style: italic; color: var(--brass); }
.cta-band .lede { margin: 22px auto 34px; text-align: center; }
.cta-band .btn { margin-inline: auto; }

.footer { background: var(--ink); color: rgba(244,238,227,.82); padding-top: 10px; padding-bottom: 44px; border-top: 1px solid rgba(244,238,227,.12); }
.footer .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 56px; }
.footer .wordmark { color: var(--cream); margin: 0 0 16px; font-size: 26px; }
.footer .wordmark__mark { filter: brightness(0) invert(1); height: 40px; }
.footer p { margin: 0 0 8px; font-size: 15px; line-height: 1.6; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--cream); }
.footer h5 { font-family: var(--sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); margin: 0 0 16px; font-weight: 600; }
.footer .col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer .socials { display: flex; gap: 12px; margin-top: 18px; }
.footer .socials a { width: 44px; height: 44px; border: 1px solid rgba(244,238,227,.22); border-radius: 999px; display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.footer .socials a:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.footer .socials svg { width: 18px; height: 18px; }
.footer .legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(244,238,227,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12.5px; color: rgba(244,238,227,.66); letter-spacing: .02em; }

/* ============================================================
   PERSISTENT BOOKING BAR (all viewports, appears past hero)
   ============================================================ */
.book-bar {
  position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 200%);
  z-index: 45; width: min(660px, calc(100% - 28px));
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: rgba(43,39,34,.97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--cream);
  border: 1px solid rgba(244,238,227,.14);
  border-radius: 999px; padding: 10px 10px 10px 26px;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.7);
  transition: transform .5s var(--ease);
}
.book-bar.show { transform: translate(-50%, 0); }
.book-bar .bb-txt { font-size: 11.5px; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; color: rgba(244,238,227,.7); }
.book-bar .bb-txt b { font-family: var(--display); font-style: normal; font-size: 17px; letter-spacing: 0; text-transform: none; display: block; color: var(--cream); margin-bottom: 2px; }
.book-bar .btn { padding: 13px 24px; }
@media (prefers-reduced-motion: reduce) { .book-bar { transition: none; } }

/* ---------- nav booking pairing (Prenota + guarantee line) ---------- */
.book-cta { display: inline-flex; align-items: center; gap: 12px; }
.book-cta__note { font-size: 11px; letter-spacing: .13em; text-transform: uppercase; font-weight: 600; opacity: .9; white-space: nowrap; }
.site-header:not(.is-solid) .book-cta__note { color: var(--cream); }

/* ---------- services list ---------- */
.services {
  margin-top: clamp(30px, 4vw, 52px); padding-top: clamp(30px, 4vw, 48px);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 240px 1fr; gap: clamp(20px, 4vw, 56px); align-items: start;
}
.services__note { margin: 16px 0 0; font-family: var(--display); font-style: italic; font-size: clamp(24px, 2.7vw, 32px); font-weight: 500; color: var(--ink); line-height: 1.18; }
.services__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.services__list li { font-size: 15px; color: var(--ink-soft); padding: 14px 0; border-top: 1px solid var(--line-soft); display: flex; align-items: flex-start; gap: 13px; }
.services__list li svg { width: 22px; height: 22px; flex: none; color: var(--terracotta-d); margin-top: 1px; }

/* ---------- discreet email capture ---------- */
.signup { position: fixed; right: 20px; bottom: 20px; z-index: 60; max-width: 360px; }
.signup[hidden] { display: none; }
.signup__card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 30px 70px -30px rgba(43,39,34,.6); border-radius: 6px;
  padding: 28px 26px 24px; animation: signupIn .5s var(--ease) both;
}
@keyframes signupIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.signup__close {
  position: absolute; top: 10px; right: 12px; width: 34px; height: 34px;
  border: none; background: none; font-size: 22px; line-height: 1; color: var(--ink-soft);
  cursor: pointer; border-radius: 50%;
}
.signup__close:hover { color: var(--ink); }
.signup .eyebrow { font-size: 11px; }
.signup h3 { font-size: 25px; margin-top: 12px; }
.signup__copy { font-size: 14.5px; color: var(--ink-soft); margin: 10px 0 0; line-height: 1.55; }
.signup__form { display: flex; gap: 8px; margin-top: 18px; }
.signup__form input {
  flex: 1; min-width: 0; font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--cream); border: 1px solid var(--field-line); border-radius: 3px; padding: 12px 14px;
}
.signup__form input:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(180,98,62,.16); }
.signup__form .btn { white-space: nowrap; }
.signup__ok { display: none; margin: 14px 0 0; font-size: 14px; color: var(--terracotta-d); }
.signup.done .signup__form, .signup.done .signup__copy { display: none; }
.signup.done .signup__ok { display: block; }
@media (prefers-reduced-motion: reduce) { .signup__card { animation: none; } }

/* ============================================================
   REVEAL ANIMATIONS
   Transform-only rises (opacity stays 1) so content is ALWAYS
   visible — even where the rendering clock is paused — while real
   browsers get a gentle staggered rise on load + scroll.
   ============================================================ */
@keyframes riseIn   { from { transform: translateY(30px); } to { transform: none; } }
@keyframes heroRise { from { transform: translateY(26px); } to { transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  [data-reveal].in { animation: riseIn .85s var(--ease) both; }
  [data-reveal].in[data-d="1"] { animation-delay: .07s; }
  [data-reveal].in[data-d="2"] { animation-delay: .14s; }
  [data-reveal].in[data-d="3"] { animation-delay: .21s; }
  [data-reveal].in[data-d="4"] { animation-delay: .28s; }

  body.loaded .hero [data-load] { animation: heroRise 1s var(--ease) both; }
  body.loaded .hero [data-load][data-d="1"] { animation-delay: .1s; }
  body.loaded .hero [data-load][data-d="2"] { animation-delay: .22s; }
  body.loaded .hero [data-load][data-d="3"] { animation-delay: .34s; }
  body.loaded .hero [data-load][data-d="4"] { animation-delay: .46s; }
  body.loaded .hero [data-load][data-d="5"] { animation-delay: .58s; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media img { transform: none !important; }
  .hero__scroll i::after { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .intro .wrap, .hood .wrap, .host .wrap, .contact .wrap { grid-template-columns: 1fr; }
  .host .wrap { gap: 40px; }
  .host__portrait { max-width: 380px; }
  .hero__rating { display: none; }
  .reviews__grid { grid-template-columns: 1fr; }
  .amenity-note { grid-template-columns: 1fr; gap: 18px; }
  .book-cta__note { display: none; }
  .services { grid-template-columns: 1fr; gap: 22px; }
  .services__list { grid-template-columns: repeat(2, 1fr); gap: 0 28px; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .nav, .header-tools .btn--primary { display: none; }
  .hamburger { display: inline-flex; }
  .header-tools { margin-left: auto; }
  .rooms__grid { grid-template-columns: 1fr; }
  .fact { grid-template-columns: 1fr; gap: 4px; }
  .inquiry .two { grid-template-columns: 1fr; }
  .footer .grid { grid-template-columns: 1fr; gap: 34px; }
  /* comfortable touch targets on mobile */
  .lang button { padding: 12px 15px; }
  .room__foot .btn { padding-block: 13px; }
  .book-cta { display: none; }
  .book-bar { width: calc(100% - 24px); bottom: 12px; padding-left: 22px; }
  .book-bar .bb-txt span:not(b) { display: none; }
  .services__list { grid-template-columns: 1fr; }
  .signup { left: 12px; right: 12px; bottom: 88px; max-width: none; }
  .hero { min-height: 92svh; }
  .hood-item__head { grid-template-columns: auto 1fr auto; }
  .hood-item .dist { grid-column: 2; margin-top: 4px; }
  .hood-item__cue { grid-row: 1 / 3; grid-column: 3; }
  .hood-item__panel { padding-left: 34px; }

  /* mobile nav drawer */
  .nav.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: fixed; inset: 64px 12px auto 12px; z-index: 60;
    background: var(--cream); color: var(--ink);
    border-radius: 8px; padding: 14px 18px 20px;
    box-shadow: 0 30px 60px -20px rgba(43,39,34,.5);
  }
  .nav.open a { font-size: 18px; padding-block: 9px; width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav.open a:last-child { border-bottom: none; }
  .nav.open .btn--primary { display: inline-flex; margin-top: 10px; }

  .tweaks { top: 12px; right: 12px; left: 12px; width: auto; max-height: calc(100vh - 24px); }
}

/* ============================================================
   TWEAKS PANEL
   ============================================================ */
.tweaks {
  position: fixed; top: 84px; right: 16px; z-index: 80;
  width: 288px; max-height: calc(100vh - 104px); overflow-y: auto;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 30px 70px -28px rgba(43,39,34,.55);
  padding: 16px 18px 18px; font-family: var(--sans);
  display: none;
}
.tweaks.open { display: block; }
.tweaks__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.tweaks__head h4 { font-family: var(--sans); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--terracotta-d); font-weight: 700; margin: 0; }
.tweaks__close { border: none; background: none; font-size: 20px; line-height: 1; color: var(--ink-soft); cursor: pointer; width: 30px; height: 30px; border-radius: 50%; }
.tweaks__close:hover { color: var(--ink); }
.tw-row { padding: 13px 0; border-top: 1px solid var(--line-soft); }
.tw-row > label { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin-bottom: 10px; }
.tw-row output { float: right; color: var(--ink); font-weight: 700; letter-spacing: 0; }
.tw-row input[type=range] { width: 100%; accent-color: var(--terracotta-d); margin: 0; }
.tw-swatches { display: flex; gap: 9px; }
.tw-swatch { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer; padding: 0; }
.tw-swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.tweaks__hint { font-size: 11px; color: var(--ink-soft); opacity: .8; margin: 14px 0 0; line-height: 1.45; }
