/* --------------------------------------------------------------- fonts --
   Served from this site, not from Google: nothing about a visitor leaves for
   a third party, and the type paints on the first frame.
   Bodoni Moda and Familjen Grotesk, both SIL Open Font License 1.1.        */

@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("bodoni-moda.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bodoni Moda";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("bodoni-moda-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("familjen-grotesk.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Aguglia Persa
   Colours taken from the house: whitewash, warm plaster, the verdigris on the
   old copper cauldron, and blue-hour indigo for the evening section.
   Type: Bodoni Moda (Italian) + Familjen Grotesk (Swedish) — the two halves
   of this farmhouse.
   ========================================================================== */

:root {
  --paper:       #F8F7F3;   /* whitewashed wall */
  --paper-2:     #EFEEE8;   /* the same wall in shade */
  --sand:        #E5DDCE;   /* warm plaster — used for the personal notes */
  --sand-deep:   #D8CDB8;

  --ink:         #241F19;   /* warm near-black */
  --ink-mid:     #5F574B;
  --ink-soft:    #8C8477;

  --verdigris:   #3F7466;   /* the patina on the copper cauldron in the hall */
  --verdigris-d: #2E574C;
  --wa:          #25654F;   /* whatsapp, desaturated to sit in the palette */

  --line:        rgba(36, 31, 25, 0.15);
  --line-soft:   rgba(36, 31, 25, 0.08);

  --ff-display: "Bodoni Moda", "Didot", "Bodoni MT", Georgia, serif;
  --ff-sans: "Familjen Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --measure: 36rem;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------- reset -- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--ff-sans);
  font-size: clamp(1rem, 0.955rem + 0.2vw, 1.09rem);
  line-height: 1.76;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--verdigris); outline-offset: 3px; }
::selection { background: var(--verdigris); color: var(--paper); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 0.75rem 1.25rem; z-index: 400; }
.skip:focus { left: 0; }

/* ---------------------------------------------------------- typography -- */

h1, h2, h3 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-optical-sizing: auto;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.015em;
}

.d-xl { font-size: clamp(2.6rem, 1.35rem + 4.9vw, 5.1rem); line-height: 0.98; }
.d-l  { font-size: clamp(1.85rem, 1.35rem + 2vw, 2.9rem);  line-height: 1.08; }
.d-m  { font-size: clamp(1.32rem, 1.12rem + 0.85vw, 1.8rem); line-height: 1.18; }

.lead {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.64;
  max-width: 32rem;
}

p { margin: 0 0 1.1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

.label {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  margin: 0;
}

.sig {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.3rem;
  margin-top: 1.4rem;
  color: var(--ink);
}

/* -------------------------------------------------------------- layout -- */

.wrap { max-width: 1300px; margin-inline: auto; padding-inline: clamp(20px, 4.6vw, 66px); }
section { position: relative; }

.band { padding-block: clamp(56px, 8.5vw, 122px); }
.band--tight { padding-block: clamp(44px, 6vw, 82px); }

.mg { display: grid; grid-template-columns: 1fr; gap: clamp(16px, 2.6vw, 26px); }
@media (min-width: 900px) {
  .mg { grid-template-columns: minmax(0, 168px) minmax(0, 1fr); gap: clamp(30px, 4.6vw, 78px); }
  .mg > .marg { padding-top: 0.5rem; }
}

.marg { display: flex; flex-direction: column; gap: 0.85rem; align-items: flex-start; }
.marg .rule { width: 44px; height: 1px; background: var(--ink); opacity: 0.5; }
.marg p { font-size: 0.85rem; line-height: 1.55; color: var(--ink-mid); max-width: 15rem; }

.stack { display: grid; gap: clamp(26px, 3.6vw, 48px); }

.intro .lead { margin-top: 1.3rem; }
@media (min-width: 1040px) {
  .intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(30px, 4vw, 66px); align-items: end; }
  .intro .lead { margin-top: 0; max-width: 28rem; padding-bottom: 0.3rem; }
}

/* -------------------------------------------------------------- header -- */

.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease);
}
.site-head__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: clamp(13px, 1.7vw, 20px); }

.mark {
  font-family: var(--ff-display);
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.24rem);
  letter-spacing: 0.11em; text-transform: uppercase;
  text-decoration: none; color: var(--paper); line-height: 1;
  transition: color 0.5s var(--ease); white-space: nowrap;
}

.nav { display: none; gap: clamp(1rem, 1.9vw, 1.95rem); align-items: center; }
@media (min-width: 980px) { .nav { display: flex; } }
.nav a {
  font-size: 0.75rem; letter-spacing: 0.13em; text-transform: uppercase;
  text-decoration: none; color: var(--paper); opacity: 0.85;
  position: relative; padding-block: 4px;
  transition: opacity 0.3s, color 0.5s var(--ease);
}
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right 0.42s var(--ease-out); }
.nav a:hover { opacity: 1; }
.nav a:hover::after { right: 0; }

.site-head.is-stuck {
  background: rgba(248, 247, 243, 0.94);
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border-bottom-color: var(--line);
}
.site-head.is-stuck .mark, .site-head.is-stuck .nav a { color: var(--ink); }
.site-head.is-stuck .burger span { background: var(--ink); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.735rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  padding: 0.85rem 1.35rem;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  cursor: pointer;
}
.btn:hover { background: var(--verdigris); border-color: var(--verdigris); color: #fff; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--wa svg { width: 17px; height: 17px; flex: none; }
.btn--sm { padding: 0.6rem 1rem; font-size: 0.7rem; }

.head-cta { display: none; background: transparent; color: var(--paper); border-color: rgba(248,247,243,0.4); }
.head-cta:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.site-head.is-stuck .head-cta { background: var(--wa); border-color: var(--wa); color: #fff; }
.site-head.is-stuck .head-cta:hover { background: var(--ink); border-color: var(--ink); }
@media (min-width: 620px) { .head-cta { display: inline-flex; } }

.burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 34px; padding: 0; border: 0; background: none; cursor: pointer; }
@media (min-width: 980px) { .burger { display: none; } }
.burger span { display: block; height: 1.5px; width: 24px; background: var(--paper); transition: transform 0.4s var(--ease-out), opacity 0.25s, background 0.5s var(--ease); }
.burger[aria-expanded="true"] span { background: var(--ink); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 99; background: var(--paper);
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(24px, 8vw, 72px);
  transform: translateY(-100%); visibility: hidden;
  transition: transform 0.6s var(--ease-out);
  overflow-y: auto;
}
.drawer.is-open { transform: translateY(0); visibility: visible; }
.drawer a {
  font-family: var(--ff-display); font-size: clamp(1.7rem, 7.5vw, 2.5rem);
  text-decoration: none; color: var(--ink); padding-block: 0.24em;
  border-bottom: 1px solid var(--line-soft); line-height: 1.05;
}
.drawer a:last-of-type { border-bottom: 0; }

/* ---------------------------------------------------------------- hero -- */

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--paper); overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%;
  transform: scale(1.09); animation: settle 2.6s var(--ease-out) 0.1s forwards;
}
@keyframes settle { to { transform: scale(1); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(20,22,24,0.56) 0%, rgba(20,22,24,0.15) 17%, rgba(20,22,24,0) 33%),
    linear-gradient(to top, rgba(20,22,24,0.90) 0%, rgba(20,22,24,0.60) 30%, rgba(20,22,24,0.16) 62%, rgba(20,22,24,0) 80%);
}
@media (max-width: 760px) {
  .hero__media img { object-position: 50% 64%; }
  .hero__media::after {
    background:
      linear-gradient(to bottom, rgba(20,22,24,0.55) 0%, rgba(20,22,24,0.14) 15%, rgba(20,22,24,0) 27%),
      linear-gradient(to top, rgba(20,22,24,0.93) 0%, rgba(20,22,24,0.80) 32%, rgba(20,22,24,0.34) 60%, rgba(20,22,24,0) 82%);
  }
}

.hero__in { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(32px, 5.5vw, 70px); padding-top: 124px; }
.hero h1 { color: var(--paper); max-width: 16ch; }
.hero .lead { color: rgba(248,247,243,0.92); margin-top: 1.3rem; }

.hero__eyebrow { color: rgba(248,247,243,0.74); display: flex; align-items: center; gap: 0.8rem; margin-bottom: clamp(1rem, 2.2vw, 1.8rem); flex-wrap: wrap; }
.hero__eyebrow .rule { height: 1px; background: rgba(248,247,243,0.5); width: 0; animation: draw 1.5s var(--ease-out) 0.85s forwards; }
@keyframes draw { to { width: clamp(36px, 7vw, 120px); } }

.hero__meta {
  margin-top: clamp(1.5rem, 3vw, 2.5rem); padding-top: 1.1rem;
  border-top: 1px solid rgba(248,247,243,0.24);
  display: flex; flex-wrap: wrap; gap: 0.45rem clamp(1.1rem, 2.8vw, 2.4rem); align-items: baseline;
}
.hero__meta span { font-size: 0.73rem; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(248,247,243,0.86); font-variant-numeric: tabular-nums; }

.rise { opacity: 0; transform: translateY(16px); animation: rise 1s var(--ease-out) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.rise--1 { animation-delay: 0.4s; } .rise--2 { animation-delay: 0.55s; }
.rise--3 { animation-delay: 0.7s; } .rise--4 { animation-delay: 0.88s; }

.scrollcue { position: absolute; left: 50%; bottom: 20px; z-index: 3; transform: translateX(-50%); width: 1px; height: 42px; background: linear-gradient(to bottom, rgba(248,247,243,0), rgba(248,247,243,0.75)); animation: cue 2.6s ease-in-out infinite; }
@keyframes cue { 0%,100% { opacity: 0.25; transform: translateX(-50%) scaleY(0.6); transform-origin: bottom; } 50% { opacity: 1; transform: translateX(-50%) scaleY(1); transform-origin: bottom; } }

/* -------------------------------------------------------------- images -- */

figure { margin: 0; }
.ph { position: relative; overflow: hidden; background: var(--paper-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--tall { aspect-ratio: 3 / 4; }
.ph--port { aspect-ratio: 4 / 5; }
.ph--sq   { aspect-ratio: 1 / 1; }
.ph--land { aspect-ratio: 3 / 2; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--pano { aspect-ratio: 21 / 9; }

figcaption { margin-top: 0.68rem; font-size: 0.8rem; line-height: 1.5; color: var(--ink-soft); max-width: 26rem; }

.rv { opacity: 0; transform: translateY(18px); transition: opacity 0.95s var(--ease-out), transform 0.95s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
.rv[data-d="1"] { transition-delay: 0.09s; }
.rv[data-d="2"] { transition-delay: 0.18s; }
.rv[data-d="3"] { transition-delay: 0.27s; }
.rv[data-d="4"] { transition-delay: 0.36s; }

.duo { display: grid; grid-template-columns: 1fr; gap: clamp(18px, 2.6vw, 30px); }
@media (min-width: 720px) { .duo { grid-template-columns: 1fr 1fr; align-items: end; } }

.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(14px, 2vw, 24px); }

.strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(10px, 1.4vw, 16px); }
@media (min-width: 700px) { .strip { grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------------------------ the note (sand) -- */

.note {
  background: var(--sand);
  padding: clamp(24px, 3.8vw, 52px);
  display: grid;
  gap: clamp(24px, 3vw, 44px);
}
.note p { max-width: 34rem; }
.note .lead { max-width: 34rem; }
@media (min-width: 880px) {
  .note { grid-template-columns: minmax(0, 1fr) minmax(0, 250px); align-items: center; }
  .note__ph { align-self: stretch; }
  .note__ph .ph { height: 100%; }
}

/* -------------------------------------------------------------- rooms -- */

.roomblock { display: grid; gap: clamp(20px, 3vw, 40px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) {
  .roomblock { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(30px, 4.5vw, 66px); }
  .roomblock--flip .roomblock__ph { order: 2; }
}

.roomblock__body h3 { margin-bottom: 0.5rem; }
.roomblock__body .who {
  font-size: 0.74rem; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 1.1rem; font-variant-numeric: tabular-nums;
}

.spec { list-style: none; margin: 1.3rem 0 0; padding: 1.1rem 0 0; display: grid; gap: 0.4rem; font-size: 0.93rem; border-top: 1px solid var(--line-soft); }
.spec li { display: flex; gap: 0.7rem; align-items: baseline; color: var(--ink-mid); }
.spec li::before { content: ""; flex: none; width: 4px; height: 4px; margin-top: 0.6em; background: var(--verdigris); border-radius: 50%; }

.roomcta { margin-top: 1.6rem; display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* --------------------------------------------------------- direct book -- */

.book { background: var(--ink); color: var(--paper); }
.book h2, .book h3 { color: var(--paper); }
.book p { color: rgba(248,247,243,0.84); }
.book .label { color: rgba(248,247,243,0.55); }
.book .marg .rule { background: var(--paper); opacity: 0.55; }
.book .marg p { color: rgba(248,247,243,0.64); }
.book .hr { background: rgba(248,247,243,0.18); border: 0; height: 1px; margin: clamp(24px,3.4vw,40px) 0; }

.book__ways { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: 1fr; margin-top: 1.8rem; }
@media (min-width: 640px) { .book__ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.way {
  border: 1px solid rgba(248,247,243,0.22);
  padding: clamp(18px, 2.4vw, 26px);
  display: flex; flex-direction: column; gap: 0.7rem;
}
.way h3 { font-size: 1.28rem; }
.way p { font-size: 0.9rem; margin: 0; }
.way .btn { align-self: flex-start; margin-top: auto; }
.way .btn--line { color: var(--paper); border-color: rgba(248,247,243,0.45); background: transparent; }
.way .btn--line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.platforms { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.1rem; }
.platforms a {
  font-size: 0.75rem; letter-spacing: 0.06em; text-decoration: none;
  padding: 0.5rem 0.85rem; border: 1px solid rgba(248,247,243,0.24);
  color: rgba(248,247,243,0.86); transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.platforms a:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* floating whatsapp */
.fab {
  position: fixed; right: clamp(14px, 2.4vw, 26px); bottom: clamp(14px, 2.4vw, 26px);
  z-index: 90;
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.15rem;
  background: var(--wa); color: #fff; text-decoration: none;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  box-shadow: 0 6px 26px rgba(36,31,25,0.28);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease-out), background 0.3s;
}
.fab.on { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { background: var(--ink); }
.fab svg { width: 19px; height: 19px; flex: none; }
@media (max-width: 460px) { .fab span { display: none; } .fab { padding: 0.95rem; border-radius: 50%; } }

/* ------------------------------------------------------------ evening -- */

.night {
  --paper:     #1B2731;
  --paper-2:   #16212A;
  --sand:      #22303B;
  --ink:       #F5F3EE;
  --ink-mid:   #BAC3CA;
  --ink-soft:  #8E9AA4;
  --line:      rgba(245, 243, 238, 0.20);
  --line-soft: rgba(245, 243, 238, 0.11);
  --verdigris: #74AD9A;
  background: var(--paper);
  color: var(--ink);
  position: relative; overflow: hidden;
}
.night__glow {
  position: absolute; width: 54vw; height: 54vw; max-width: 700px; max-height: 700px;
  right: -12vw; top: 4%;
  background: radial-gradient(circle, rgba(206,132,72,0.22) 0%, rgba(206,132,72,0) 68%);
  pointer-events: none;
}

/* ------------------------------------------------------------- gallery -- */

.gal { columns: 2; column-gap: clamp(9px, 1.3vw, 16px); }
@media (min-width: 700px) { .gal { columns: 3; } }
@media (min-width: 1080px) { .gal { columns: 4; } }
.gal button {
  display: block; width: 100%; padding: 0; margin: 0 0 clamp(9px, 1.3vw, 16px);
  border: 0; background: var(--paper-2); cursor: zoom-in;
  break-inside: avoid; overflow: hidden; position: relative;
}
.gal img { transition: transform 1.3s var(--ease-out); width: 100%; }
.gal button:hover img { transform: scale(1.05); }
.gal button::after { content: ""; position: absolute; inset: 0; background: var(--ink); opacity: 0; transition: opacity 0.45s var(--ease); }
.gal button:hover::after { opacity: 0.1; }

.lb { position: fixed; inset: 0; z-index: 300; background: rgba(20, 17, 13, 0.97); display: none; align-items: center; justify-content: center; padding: clamp(14px, 3vw, 44px); }
.lb.is-open { display: flex; }
.lb img { max-width: 100%; max-height: 82vh; object-fit: contain; animation: lbin 0.45s var(--ease-out); }
@keyframes lbin { from { opacity: 0; transform: scale(0.985); } }
.lb__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: clamp(14px, 3vw, 28px); color: rgba(248,247,243,0.75); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.lb__cap { max-width: 46ch; text-transform: none; letter-spacing: 0.02em; font-size: 0.82rem; }
.lb__nav { display: flex; gap: 0.5rem; }
.lb__btn { width: 44px; height: 44px; border: 1px solid rgba(248,247,243,0.3); background: none; color: var(--paper); cursor: pointer; line-height: 1; transition: background 0.3s, color 0.3s; flex: none; }
.lb__btn:hover { background: #F7F5F0; color: #241F19; }
.lb__close { position: absolute; top: clamp(14px, 3vw, 28px); right: clamp(14px, 3vw, 28px); }

/* ------------------------------------------------------------- reviews -- */

.score { display: flex; align-items: baseline; gap: 0.85rem; flex-wrap: wrap; }
.score__n { font-family: var(--ff-display); font-size: clamp(3.2rem, 2rem + 4.6vw, 5.6rem); line-height: 0.84; font-variant-numeric: tabular-nums; }
.score__stars { color: var(--verdigris); font-size: 1rem; letter-spacing: 0.2em; }

.bars { display: grid; gap: 0.8rem; margin-top: clamp(1.6rem, 2.6vw, 2.3rem); max-width: 29rem; }
.bar { display: grid; grid-template-columns: 8.5rem 1fr 2.4rem; gap: 0.9rem; align-items: center; }
.bar span:first-child { font-size: 0.76rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-mid); }
.bar span:last-child { font-size: 0.82rem; font-variant-numeric: tabular-nums; text-align: right; color: var(--ink-mid); }
.bar__t { height: 2px; background: var(--line); position: relative; overflow: hidden; }
.bar__f { position: absolute; inset: 0 auto 0 0; background: var(--verdigris); width: 0; transition: width 1.3s var(--ease-out); }
@media (max-width: 520px) { .bar { grid-template-columns: 7rem 1fr 2.2rem; gap: 0.6rem; } }

.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.4rem; }
.chip { font-size: 0.75rem; letter-spacing: 0.05em; padding: 0.38rem 0.78rem; border: 1px solid var(--line); color: var(--ink-mid); font-variant-numeric: tabular-nums; }
.chip b { font-weight: 600; color: var(--ink); }

.rev-grid { display: grid; gap: clamp(26px, 3.6vw, 50px); }
@media (min-width: 1000px) { .rev-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); align-items: start; } }

.host { border: 1px solid var(--line); padding: clamp(20px, 2.8vw, 30px); display: grid; gap: 0.9rem; background: var(--sand); }
.host dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1.2rem; font-size: 0.86rem; }
.host dt { color: var(--ink-mid); letter-spacing: 0.04em; }
.host dd { margin: 0; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- lists -- */

.dist { list-style: none; margin: 0; padding: 0; display: grid; }
.dist li { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: baseline; padding-block: 0.8rem; border-bottom: 1px solid var(--line-soft); }
.dist li:first-child { border-top: 1px solid var(--line-soft); }
.dist .place { font-family: var(--ff-display); font-size: clamp(1.1rem, 1rem + 0.55vw, 1.45rem); }
.dist .time { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.dist .what { grid-column: 1 / -1; font-size: 0.9rem; color: var(--ink-mid); margin: 0.1rem 0 0; max-width: 44rem; }

/* amenities */
.amen { display: grid; gap: clamp(20px, 2.8vw, 34px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .amen { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .amen { grid-template-columns: repeat(3, 1fr); } }
.amen section { border-top: 1px solid var(--line); padding-top: 1rem; }
.amen h3 { font-size: 1.12rem; margin-bottom: 0.7rem; }
.amen ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.28rem; font-size: 0.9rem; color: var(--ink-mid); }

/* house rules, in the family's own voice */
.rules { background: var(--sand); padding: clamp(24px, 4vw, 52px); }
.rules ol { margin: 1.4rem 0 0; padding: 0; list-style: none; counter-reset: r; display: grid; gap: 0.85rem; }
.rules li { counter-increment: r; display: grid; grid-template-columns: 1.9rem 1fr; gap: 0.6rem; align-items: baseline; font-size: 0.96rem; max-width: 44rem; }
.rules li::before {
  content: counter(r);
  font-family: var(--ff-display); font-size: 1.05rem;
  color: var(--verdigris); font-variant-numeric: tabular-nums;
}
.rules .welcome { font-family: var(--ff-display); font-style: italic; font-size: 1.4rem; margin-top: 1.6rem; }

/* -------------------------------------------------------------- contact -- */

.map { border: 0; width: 100%; aspect-ratio: 16 / 10; display: block; filter: saturate(0.72) contrast(1.02); background: var(--paper-2); }
@media (max-width: 640px) { .map { aspect-ratio: 4 / 5; } }

.contact-grid { display: grid; gap: clamp(24px, 4vw, 46px); grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }

.addr { font-style: normal; }
.addr a { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color 0.3s, color 0.3s; }
.addr a:hover { color: var(--verdigris); border-bottom-color: var(--verdigris); }

/* --------------------------------------------------------------- footer -- */

.site-foot { background: var(--ink); color: rgba(248,247,243,0.62); padding-block: clamp(34px, 4.4vw, 58px); font-size: 0.78rem; letter-spacing: 0.05em; }
.site-foot__in { display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; justify-content: space-between; align-items: baseline; }
.site-foot a { color: rgba(248,247,243,0.85); text-decoration: none; border-bottom: 1px solid rgba(248,247,243,0.28); }
.site-foot a:hover { color: #fff; border-bottom-color: #fff; }
.site-foot .mark { color: rgba(248,247,243,0.94); font-size: 0.98rem; }

/* ------------------------------------------------------- reduced motion -- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .rv, .rise { opacity: 1; transform: none; }
  .hero__eyebrow .rule { width: clamp(36px, 7vw, 120px); }
  .hero__media img { transform: none; }
  .fab { opacity: 1; transform: none; pointer-events: auto; }
}

/* ==========================================================================
   Room pages
   ========================================================================== */

.roomhero {
  position: relative;
  min-height: 62svh;
  display: flex; align-items: flex-end;
  color: var(--paper);
  overflow: hidden; background: var(--ink);
}
.roomhero__media { position: absolute; inset: 0; }
.roomhero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.roomhero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(20,22,24,0.62) 0%, rgba(20,22,24,0.18) 20%, rgba(20,22,24,0) 38%),
    linear-gradient(to top, rgba(20,22,24,0.88) 0%, rgba(20,22,24,0.52) 34%, rgba(20,22,24,0) 74%);
}
.roomhero__in { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(26px, 4vw, 54px); padding-top: 132px; }
.roomhero h1 { color: var(--paper); max-width: 18ch; }
.roomhero .who { color: rgba(248,247,243,0.85); margin-top: 0.9rem; }

.backlink {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.73rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: rgba(248,247,243,0.8);
  margin-bottom: clamp(0.9rem, 2vw, 1.5rem);
  transition: color 0.3s;
}
.backlink:hover { color: var(--paper); }

.who { font-size: 0.76rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* main + sticky booking card */
.roompage { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: 1fr; }
@media (min-width: 980px) {
  .roompage { grid-template-columns: minmax(0, 1fr) minmax(0, 21.5rem); align-items: start; }
  .roompage__aside { position: sticky; top: 96px; }
}

.card {
  border: 1px solid var(--line);
  background: var(--sand);
  padding: clamp(20px, 2.6vw, 28px);
  display: grid; gap: 1rem;
}
.card h2 { font-size: 1.45rem; }

.price { margin: 0; }
.price__n { font-family: var(--ff-display); font-size: 2.3rem; line-height: 1; }
.price__u { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mid); }
.price--ask { font-family: var(--ff-display); font-style: italic; font-size: 1.15rem; color: var(--ink-mid); line-height: 1.4; }

.card__list { list-style: none; margin: 0; padding: 0.9rem 0 0; border-top: 1px solid var(--line); display: grid; gap: 0.3rem; font-size: 0.88rem; color: var(--ink-mid); }
.card .btn { justify-content: center; }
.card__note { font-size: 0.8rem; color: var(--ink-mid); margin: 0; }

/* photo grid on a room page */
.roomgal { columns: 2; column-gap: clamp(9px, 1.2vw, 15px); }
@media (min-width: 760px) { .roomgal { columns: 3; } }
.roomgal button {
  display: block; width: 100%; padding: 0; margin: 0 0 clamp(9px, 1.2vw, 15px);
  border: 0; background: var(--paper-2); cursor: zoom-in;
  break-inside: avoid; overflow: hidden; position: relative;
}
.roomgal img { width: 100%; transition: transform 1.3s var(--ease-out); }
.roomgal button:hover img { transform: scale(1.05); }

/* ------------------------------------------------------- request form -- */

.request { background: var(--sand); }
.form { display: grid; gap: clamp(14px, 1.8vw, 20px); max-width: 44rem; }
.form__row { display: grid; gap: clamp(14px, 1.8vw, 20px); grid-template-columns: 1fr; }
@media (min-width: 620px) { .form__row--2 { grid-template-columns: 1fr 1fr; } .form__row--3 { grid-template-columns: 1fr 1fr 1fr; } }

.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-mid); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 0.98rem; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.72rem 0.85rem;
  width: 100%;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 7.5rem; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--verdigris);
  box-shadow: 0 0 0 3px rgba(63, 116, 102, 0.16);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-soft); }
.field--err input, .field--err textarea { border-color: #A4432F; }
.field .err { font-size: 0.78rem; color: #A4432F; min-height: 0; }

.form__foot { display: flex; flex-wrap: wrap; gap: 0.8rem 1.1rem; align-items: center; margin-top: 0.4rem; }
.form__note { font-size: 0.82rem; color: var(--ink-mid); margin: 0; max-width: 26rem; }

.sent {
  border: 1px solid var(--verdigris);
  background: var(--paper);
  padding: clamp(20px, 3vw, 30px);
  display: none; gap: 0.9rem;
  max-width: 44rem;
}
.sent.on { display: grid; }
.sent h3 { font-size: 1.35rem; }
.sent p { font-size: 0.94rem; margin: 0; }
.sent__fallback {
  background: var(--paper-2); border: 1px solid var(--line);
  padding: 0.9rem 1rem; font-size: 0.86rem; white-space: pre-wrap;
  max-height: 13rem; overflow: auto; line-height: 1.55;
}
.sent__acts { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* room pages: the reading column is wider than a home-page lead */
.roompage .lead { max-width: 38rem; }
.roompage p { max-width: 38rem; }

/* ------------------------------------------------------- click-to-load map -- */

.mapbox {
  aspect-ratio: 16 / 10;
  background: var(--sand);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  padding: clamp(20px, 3vw, 34px);
  position: relative; overflow: hidden;
}
.mapbox::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.9;
}
.mapbox__in { position: relative; display: grid; gap: 0.9rem; justify-items: center; text-align: center; max-width: 26rem; }
.mapbox__pin { width: 42px; height: 42px; fill: none; stroke: var(--verdigris); stroke-width: 1.4; }
.mapbox__note { font-size: 0.84rem; color: var(--ink-mid); margin: 0; }
.mapbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(0.72) contrast(1.02); }
.mapbox.on { padding: 0; background: var(--paper-2); }
.mapbox.on::before { display: none; }
@media (max-width: 640px) { .mapbox { aspect-ratio: 4 / 5; } }
.fab.hide { opacity: 0; transform: translateY(14px); pointer-events: none; }
