/* ==========================================================================
   Mpelleiko — 2026 redesign
   Plaster ground, olive and brown from the wordmark, Noto Serif Display + Fira Sans.
   ========================================================================== */

/* ---------- fonts (self-hosted) ---------- */
@font-face { font-family: "Noto Serif Display"; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/noto-serif-display-greek-wght-normal.woff2) format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Noto Serif Display"; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/noto-serif-display-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Serif Display"; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/noto-serif-display-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Noto Serif Display"; font-style: italic; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/noto-serif-display-greek-wght-italic.woff2) format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Noto Serif Display"; font-style: italic; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/noto-serif-display-latin-wght-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: "Fira Sans"; font-weight: 400; font-display: swap; src: url(/assets/fonts/fira-sans-greek-400-normal.woff2) format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Fira Sans"; font-weight: 500; font-display: swap; src: url(/assets/fonts/fira-sans-greek-500-normal.woff2) format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Fira Sans"; font-weight: 600; font-display: swap; src: url(/assets/fonts/fira-sans-greek-600-normal.woff2) format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Fira Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/fira-sans-greek-400-italic.woff2) format("woff2"); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Fira Sans"; font-weight: 400; font-display: swap; src: url(/assets/fonts/fira-sans-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fira Sans"; font-weight: 500; font-display: swap; src: url(/assets/fonts/fira-sans-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fira Sans"; font-weight: 600; font-display: swap; src: url(/assets/fonts/fira-sans-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fira Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/fira-sans-latin-400-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fira Sans"; font-weight: 400; font-display: swap; src: url(/assets/fonts/fira-sans-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- tokens ---------- */
:root {
  /* ground: lime plaster and the stone of the house */
  --ground: #fbfbf8;
  --stone: #f0efe9;
  --stone-2: #e5e3da;
  --line: #d9d7cc;
  /* ink: olive-black */
  --ink: #22261c;
  --ink-2: #474a3e;
  --muted: #666958;
  /* brand, from the wordmark */
  --olive: #666633;
  --olive-600: #56562a;
  --olive-800: #3b3b1f;
  --olive-900: #262614;
  --brown: #9d6101;
  --brown-700: #7f4f02;
  --brown-300: #d2a35a;
  --on-dark: #f5f4ee;
  --on-dark-2: #d4d2bf;

  --serif: "Noto Serif Display", "Noto Serif", Georgia, "Times New Roman", serif;
  --sans: "Fira Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  --step-3: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem);
  --step-4: clamp(2.125rem, 1.5rem + 2.6vw, 3.375rem);
  --step-5: clamp(3.25rem, 1.8rem + 6vw, 6rem);
  --step-page-title: clamp(1.75rem, 1.35rem + 1.7vw, 2.625rem);

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 84rem;
  --measure: 68ch;
  --section: clamp(4rem, 3rem + 5vw, 8rem);
  --header-h: 4.5rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-pop: 0 18px 40px -18px rgba(34, 38, 28, 0.35), 0 2px 6px rgba(34, 38, 28, 0.08);

  --wm-name: var(--olive);
  --wm-tag: var(--brown);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 var(--step-0) / 1.7 var(--sans);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--brown-700); text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: color 0.2s; }
a:hover { color: var(--olive-800); }
:focus-visible { outline: 2px solid var(--focus, var(--brown)); outline-offset: 3px; border-radius: 1px; }
/* dark grounds get a light ring */
.hero, .site-header, .booking, .footer, .lightbox { --focus: #fff; }
.site-header .nav__sub, .site-header .lang ul { --focus: var(--brown); }
::selection { background: color-mix(in srgb, var(--olive) 28%, transparent); color: var(--ink); }
:where(input, textarea) { caret-color: var(--olive); }
html { scrollbar-color: color-mix(in srgb, var(--olive) 55%, var(--stone)) var(--stone); }
h1, h2, h3, h4 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.num { font-variant-numeric: tabular-nums lining-nums; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--olive); color: #fff; padding: 0.6rem 1rem; }
.skip:focus { left: 0.75rem; top: 0.75rem; }
.skip:hover { color: #fff; }
.ico { width: 1.25rem; height: 1.25rem; display: inline-block; flex: none; }

.section-title {
  font: 450 var(--step-4) / 1.08 var(--serif);
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
}
.lead { font: 400 var(--step-3) / 1.3 var(--serif); letter-spacing: -0.005em; color: var(--ink); margin: 0; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 500; color: var(--brown-700); text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--brown) 40%, transparent);
  padding-bottom: 0.15rem;
}
.link-arrow::after {
  content: ""; width: 1.1em; height: 0.75em; background: currentColor; flex: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cpath d='M0 6h16M11 1l5 5-5 5' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'%3E%3Cpath d='M0 6h16M11 1l5 5-5 5' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.35s var(--ease-out);
}
.link-arrow:hover { color: var(--olive-800); border-bottom-color: currentColor; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0.8rem 1.4rem;
  font: 500 1rem / 1.2 var(--sans); letter-spacing: 0.01em;
  color: #fff; background: var(--olive); border: 1px solid var(--olive);
  border-radius: 2px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { background: var(--olive-800); border-color: var(--olive-800); color: #fff; }
.btn:disabled { opacity: 0.55; cursor: progress; }
.btn--small { min-height: 2.5rem; padding: 0.55rem 1rem; font-size: 0.9375rem; }
.btn--line { background: transparent; color: var(--olive-800); border-color: color-mix(in srgb, var(--olive) 55%, transparent); }
.btn--line:hover { background: var(--olive); color: #fff; }
.btn--hero { min-height: 3.5rem; padding: 0.95rem 1.7rem; font-size: 1.0625rem; }
.btn--line-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.75); }
.btn--line-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }
.btn--light { background: var(--ground); color: var(--olive-900); border-color: var(--ground); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--olive-900); }
.icon-btn {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem;
  background: none; border: 0; padding: 0; color: inherit; cursor: pointer; border-radius: 2px;
}
.icon-btn:hover { background: color-mix(in srgb, currentColor 10%, transparent); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--on-dark);
  background: var(--olive);
  border-bottom: 1px solid var(--olive-600);
  --wm-name: #fff;
  transition: background-color 0.35s var(--ease-out), border-color 0.35s;
}
.site-header__bar {
  max-width: var(--max); margin: 0 auto; height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
}
.brand { display: block; line-height: 0; color: #fff; margin-right: auto; min-width: 0; }
/* hand-drawn logo (#40): house + lettering lockup from /assets/brand/logo.svg, inked in currentColor */
.logo { display: block; height: 3.25rem; width: auto; max-width: 100%; fill: currentColor; }

/* transparent over the home hero until the page scrolls */
.site-header--overlay:not(.is-solid) { background: transparent; border-color: transparent; }
.site-header--overlay:not(.is-solid) .site-header__book { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.75); }
.site-header--overlay:not(.is-solid) .site-header__book:hover { background: rgba(255, 255, 255, 0.14); }
.site-header .nav__link:hover, .site-header .nav__item.is-active > .nav__link { color: #fff; }
.site-header .icon-btn:hover { background: rgba(255, 255, 255, 0.12); }

.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.25rem; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 0.75rem; min-height: 2.75rem;
  font: 500 0.9688rem / 1.2 var(--sans); letter-spacing: 0.01em;
  color: inherit; text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav__link:hover { color: var(--olive); }
.nav__item.is-active > .nav__link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.45em; }
.chev { width: 0.65rem; height: 0.45rem; transition: transform 0.25s var(--ease-out); }
.nav__toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav__sub {
  list-style: none; margin: 0; padding: 0.5rem 0;
  position: absolute; top: calc(100% + 0.25rem); left: 0.25rem; min-width: 17rem;
  background: var(--ground); color: var(--ink);
  border: 1px solid var(--line); box-shadow: var(--shadow-pop);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.25s var(--ease-out), visibility 0.2s;
}
.nav__sub a { display: block; padding: 0.55rem 1.15rem; color: var(--ink); text-decoration: none; font-size: 0.9688rem; line-height: 1.35; }
.nav__sub a:hover, .nav__sub a[aria-current] { background: var(--stone); color: var(--olive-800); }
.nav__sub a[aria-current] { font-weight: 600; }
.has-sub.open > .nav__sub { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 62.01rem) {
  .has-sub:hover > .nav__sub, .has-sub:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; }
}
.nav__extra { display: none; }

.site-header__tools { display: flex; align-items: center; gap: 0.25rem; }
.site-header__book { margin-left: 0.5rem; background: var(--ground); border-color: var(--ground); color: var(--olive-900); }
.site-header__book:hover { background: #fff; border-color: #fff; color: var(--olive-900); }
.site-header__call, .burger { display: none; }

.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.35rem;
  min-height: 2.75rem; padding: 0 0.6rem; font-weight: 500; font-size: 0.9375rem; letter-spacing: 0.04em;
}
.lang summary::-webkit-details-marker { display: none; }
.lang[open] .chev { transform: rotate(180deg); }
.lang ul {
  list-style: none; margin: 0; padding: 0.4rem 0; position: absolute; right: 0; top: calc(100% + 0.25rem);
  min-width: 11rem; background: var(--ground); border: 1px solid var(--line); box-shadow: var(--shadow-pop); z-index: 60;
}
.lang a { display: flex; gap: 0.75rem; padding: 0.5rem 1rem; color: var(--ink); text-decoration: none; }
.lang a span { width: 1.6rem; color: var(--muted); font-size: 0.8125rem; letter-spacing: 0.04em; padding-top: 0.1rem; }
.lang a:hover { background: var(--stone); }
.lang a[aria-current] { font-weight: 600; }

/* ---------- mobile navigation ---------- */
@media (max-width: 62rem) {
  :root { --header-h: 4rem; }
  .logo { height: 2.75rem; }
  /* the bar must fit a 320px phone (#39): the logo may shrink, the tools keep their 2.75rem targets */
  .site-header__bar { gap: 0.75rem; }
  .site-header__tools { gap: 0; flex: none; }
  .site-header__book { display: none; }
  /* the language switch stays in the bar on phones (#38), as a compact code button */
  .lang summary { padding: 0 0.5rem; }
  .site-header__call, .burger { display: inline-grid; }
  .burger path { transition: transform 0.3s var(--ease-out); transform-origin: center; }
  .nav-open .burger__a { transform: translateY(4px) rotate(45deg); }
  .nav-open .burger__b { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 49;
    background: var(--ground); color: var(--ink);
    overflow-y: auto; overscroll-behavior: contain;
    padding: 1rem var(--gutter) 2.5rem;
    display: flex; flex-direction: column; gap: 2rem;
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path 0.45s var(--ease-out), visibility 0s 0.45s;
  }
  .nav-open .nav { clip-path: inset(0); visibility: visible; transition: clip-path 0.45s var(--ease-out), visibility 0s; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { background: var(--olive); border-color: var(--olive-600); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; font: 450 var(--step-2) / 1.2 var(--serif); padding: 1rem 0; min-height: 3.5rem; }
  .nav { --focus: var(--brown); }
  .site-header .nav .nav__link:hover, .site-header .nav .nav__item.is-active > .nav__link { text-decoration: none; color: var(--olive); }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 0.75rem; display: none; min-width: 0; }
  .has-sub.open > .nav__sub { display: block; }
  .nav__sub a { padding: 0.6rem 0 0.6rem 1rem; font-size: 1rem; }
  .nav__sub a:hover, .nav__sub a[aria-current] { background: none; }
  .nav__extra { display: grid; gap: 0.75rem; }
  .nav__search { display: none; }
  .nav__langs { list-style: none; margin: 0.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
  .nav__langs a { color: var(--ink-2); text-decoration: none; display: inline-block; padding: 0.4rem 0; }
  .nav__langs a[aria-current] { color: var(--olive); font-weight: 600; text-decoration: underline; text-underline-offset: 0.35em; }
}

/* ==========================================================================
   Home
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: clip; /* the settle-in zoom must not widen the page */
  min-height: clamp(34rem, 78svh, 60rem);
  display: grid; place-items: center;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 4rem;
  color: #fff; background: var(--olive-900); overflow: hidden;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: hero-settle 2.4s var(--ease-out) both; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 52%, rgba(24, 24, 12, 0.42), rgba(24, 24, 12, 0) 70%),
    linear-gradient(180deg, rgba(24, 24, 12, 0.6) 0%, rgba(24, 24, 12, 0.18) 28%, rgba(24, 24, 12, 0.22) 62%, rgba(24, 24, 12, 0.62) 100%);
}
.hero__body { text-align: center; max-width: 52rem; animation: hero-rise 1.4s var(--ease-out) 0.15s both; }
.hero__title { font: 450 var(--step-5) / 0.98 var(--serif); letter-spacing: -0.018em; margin: 0; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25); }
.hero__tagline { font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.3125rem); line-height: 1.45; margin: 1.1rem auto 2.25rem; max-width: 34em; color: rgba(255, 255, 255, 0.94); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
@keyframes hero-settle { from { transform: scale(1.06); } to { transform: none; } }
@keyframes hero-rise { from { transform: translateY(18px); } to { transform: none; } }

/* shared section frame */
.rooms, .intro, .recognition, .network, .essay, .stay__inner {
  max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
}

/* rooms */
.rooms { padding-block: 3rem var(--section); }
.hero__img { object-position: 50% 45%; }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem) auto;
  align-items: end; gap: 1rem 3rem; margin-bottom: 2.25rem;
}
.section-head__lead { margin: 0; color: var(--ink-2); }
.room-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 1.75rem; }
.room-card a { display: grid; color: var(--ink); text-decoration: none; }
.room-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--stone-2); }
.room-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.9s var(--ease-out); }
.room-card a:hover img { transform: scale(1.035); }
.room-card__name { font: 450 var(--step-2) / 1.2 var(--serif); margin-top: 1.1rem; }
.room-card a:hover .room-card__name { color: var(--olive); }
.room-card__local { font-style: italic; color: var(--muted); font-size: 0.9375rem; margin-top: 0.15rem; }
.room-card__facts { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.5; margin-top: 0.45rem; }

/* the house */
.intro {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 3rem clamp(2rem, 5vw, 5.5rem); align-items: center;
  padding-block: 0 var(--section);
}
.rooms + .intro { padding-top: 0; }
.intro__media { margin: 0; }
.intro__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.intro__text { display: grid; gap: 1.5rem; justify-items: start; }
.intro__host { margin: 0.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); width: 100%; display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; align-items: baseline; }
.intro__host span { color: var(--muted); font-size: 0.875rem; }

/* breakfast & facilities */
.stay { background: var(--stone); padding-block: var(--section); }
.stay__inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 3rem clamp(2rem, 5vw, 5.5rem); align-items: center; }
.stay__media { margin: 0; }
.stay__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.stay__text { display: grid; gap: 1.5rem; justify-items: start; }
.stay__text .lead { font-size: var(--step-2); line-height: 1.45; }
.facilities { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 2.5rem; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem 3rem; }
.facilities__title { font: 450 var(--step-3) / 1.15 var(--serif); margin: 0; }
.facilities__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; }
.facilities__group h4 { font: 600 0.875rem / 1.3 var(--sans); letter-spacing: 0.04em; color: var(--olive-800); margin: 0 0 0.75rem; }
.facilities__group ul { list-style: none; margin: 0; padding: 0; }
.facilities__group li { padding: 0.6rem 0; border-bottom: 1px solid var(--line); line-height: 1.45; color: var(--ink-2); }

/* recognition */
.recognition { padding-block: var(--section) 3rem; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2.5rem 3rem; align-items: start; }
.recognition__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr); border-top: 1px solid var(--line); }
.recognition__list > li { padding: 1.75rem 1.5rem 0.5rem 0; display: grid; gap: 0.9rem; align-content: start; }
.recognition__list > li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.recognition__press a { display: grid; gap: 0.4rem; text-decoration: none; color: var(--ink); }
.recognition__source { font: italic 500 var(--step-2) / 1.2 var(--serif); }
.recognition__headline { font-weight: 500; color: var(--brown-700); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.recognition__press p { margin: 0; color: var(--ink-2); }
.recognition__badge img { display: block; width: auto; height: 7.5rem; }
.recognition__badge span { font-size: 0.875rem; color: var(--muted); }
.recognition__more { font-size: 0.9375rem; }

/* guest quotes from Tripadvisor (#28): spans both recognition columns, under its own hairline */
.reviews { grid-column: 1 / -1; min-width: 0; }
.reviews__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.75rem; padding: 1.5rem 0 1.25rem; border-top: 1px solid var(--line); }
.reviews__title { margin: 0; font: italic 500 var(--step-1) / 1.35 var(--serif); letter-spacing: 0; color: var(--ink); }
.reviews__score { margin: 0; display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.9375rem; color: var(--ink-2); font-variant-numeric: tabular-nums lining-nums; }
/* five dots, olive-filled to the rating (4.9 → 98%); empty dots in Hairline */
.reviews__dots, .reviews__dots::before { background: radial-gradient(circle at 0.4rem 50%, var(--line) 0.36rem, transparent 0.38rem) 0 0 / 1.05rem 100% repeat-x; }
.reviews__dots { position: relative; display: inline-block; width: 5.25rem; height: 0.8rem; }
.reviews__dots::before { content: ""; position: absolute; inset: 0; width: calc(var(--rating, 5) / 5 * 100%); background-image: radial-gradient(circle at 0.4rem 50%, var(--olive) 0.36rem, transparent 0.38rem); }
.reviews__links { margin: 0 0 0 auto; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; font-size: 0.9375rem; }
.reviews__links a { color: var(--brown-700); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.reviews__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.reviews__card { position: relative; margin: 0; padding: 1.75rem 1.6rem 1.4rem; background: var(--stone); display: grid; gap: 0.9rem; align-content: space-between; }
.reviews__card::before { content: "\201C"; position: absolute; top: 0.1rem; right: 1rem; font: 400 5.5rem / 1 var(--serif); color: var(--stone-2); pointer-events: none; }
.reviews__card blockquote { position: relative; margin: 0; padding-right: 2.25rem; font: 450 var(--step-2) / 1.3 var(--serif); color: var(--ink); }
.reviews__card p { margin: 0; font-size: 0.875rem; color: var(--muted); }
/* page variant (#33): on the reviews page, inside .prose on the wide track; undo the prose list, quote and heading styles */
.prose .reviews--inline { margin: 0 0 2.5rem; }
.prose .reviews--inline .reviews__title { margin: 0; font: italic 500 var(--step-1) / 1.35 var(--serif); letter-spacing: 0; }
.prose .reviews--inline :is(.reviews__score, .reviews__links, .reviews__card p) { margin: 0; }
.prose .reviews--inline .reviews__list { padding-left: 0; margin: 0; }
.prose .reviews--inline .reviews__list > li { margin: 0; }
.prose .reviews--inline .reviews__card blockquote { margin: 0; padding: 0 2.25rem 0 0; border: 0; font: 450 var(--step-2) / 1.3 var(--serif); color: var(--ink); }

/* epaithros membership band (#15): home, after recognition, on the light ground the partner logos need;
   also inline in the contact page body (.network--inline). Same 4/8 split and hairline as recognition. */
.network { padding-bottom: var(--section); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1.5rem 3rem; align-items: center; }
.network::before { content: ""; grid-column: 1 / -1; border-top: 1px solid var(--line); }
.network .network__title { font: italic 500 var(--step-1) / 1.35 var(--serif); letter-spacing: 0; color: var(--ink); margin: 0; max-width: 24ch; }
.network .network__logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem clamp(2rem, 4vw, 3.5rem); }
.network .network__logos > li { margin: 0; }
.network .network__logos a { display: block; text-decoration: none; }
.network .network__logos img { display: block; width: auto; height: 4rem; transition: opacity 0.2s; }
.network .network__logos a:hover img { opacity: 0.8; }
.network--inline { max-width: none; padding: 0; margin: 2.5rem 0 0; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.network--inline .network__title { max-width: none; }

/* Stemnitsa */
.village { position: relative; display: grid; min-height: clamp(30rem, 82vh, 52rem); align-items: end; isolation: isolate; }
.village__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.village__panel {
  background: var(--ground); max-width: 40rem;
  margin: 0 0 var(--gutter) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  padding: clamp(1.75rem, 3vw, 3rem);
  display: grid; gap: 1.25rem;
}
.village__panel .lead { font-size: var(--step-2); color: var(--ink-2); }
.village__links { list-style: none; margin: 0.25rem 0 0; padding: 0; columns: 2; column-gap: 2rem; }
.village__links li { break-inside: avoid; border-top: 1px solid var(--line); }
.village__links a { display: block; padding: 0.55rem 0; color: var(--ink); text-decoration: none; line-height: 1.35; font-size: 0.9688rem; }
.village__links a:hover { color: var(--olive); }

/* essay + location */
.essay { padding-block: var(--section); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 3rem clamp(2rem, 5vw, 5.5rem); align-items: start; }
.location { position: sticky; top: calc(var(--header-h) + 2rem); display: grid; gap: 0.9rem; justify-items: start; padding: 1.75rem; background: var(--stone); }
.location p { margin: 0; color: var(--ink-2); line-height: 1.5; }
.location__title { font: 450 var(--step-2) / 1.2 var(--serif); margin: 0 0 0.25rem; }
.location__coords { font-size: 0.9375rem; }
.location__weather strong { color: var(--ink); font-weight: 600; }
.essay__body { max-width: var(--measure); }
.essay__body > .section-title { margin-bottom: 2rem; }

/* ==========================================================================
   Prose (imported WordPress content)
   ========================================================================== */
.prose { color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol, .prose table, .prose figure, .prose blockquote { margin: 0 0 1.25em; }
.prose h1, .prose h2 { font: 450 var(--step-3) / 1.2 var(--serif); letter-spacing: -0.008em; margin: 2.2em 0 0.7em; }
.prose h3 { font: 450 var(--step-2) / 1.25 var(--serif); margin: 2em 0 0.6em; }
/* walks nearby (activities page, #16): hairline rows, name link, one-line summary, stats */
.prose .walks { list-style: none; padding: 0; border-bottom: 1px solid var(--line); }
.prose .walks > li { margin: 0; padding: 0.9rem 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.prose .walks > li > a { display: block; font-weight: 500; margin-bottom: 0.2rem; }
.prose .walks__stats { display: block; margin-top: 0.3rem; font-size: 0.875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.prose h4, .prose h5, .prose h6 { font: 600 1.0625rem / 1.4 var(--sans); margin: 1.8em 0 0.5em; }
.prose h3 .diamonititle, .prose h2 .diamonititle { font: inherit; }
.prose strong { font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: 0.35em; }
.prose li::marker { color: var(--olive); }
.prose blockquote { margin-inline: 0; padding: 0.25em 0 0.25em 1.25em; border-left: 1px solid var(--olive); font: italic 400 var(--step-1) / 1.5 var(--serif); color: var(--ink-2); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.prose td, .prose th { padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.prose table[border="0"] td { border: 0; padding: 0; }
.prose iframe { max-width: 100%; border: 0; }
.prose .contact-map { display: block; width: 100%; aspect-ratio: 4 / 3; margin: 0 0 1.25em; background: var(--stone-2); }
.prose img { display: block; height: auto; }
.prose a img { transition: opacity 0.2s; }
.prose a:hover img { opacity: 0.92; }
.prose .aligncenter, .prose img.aligncenter { margin-inline: auto; }
.prose .alignleft { float: left; margin: 0.4em 1.75em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: 0.4em 0 1em 1.75em; max-width: 50%; }
.prose::after { content: ""; display: table; clear: both; }
.prose .wp-caption { max-width: 100%; }
.prose .wp-caption-text { font-size: 0.875rem; color: var(--muted); margin-top: 0.5rem; }
.prose .essay__credit { text-align: right; font-style: italic; color: var(--muted); margin-top: 2em; }
.prose p[align="right"], .prose p[style*="right"] { text-align: right; }
.prose .wpb_single_image { margin-bottom: 1.25em; }
.prose .wpb_single_image figure { margin: 0; }
.prose .vc_align_right { text-align: right; }
.prose .vc_align_right img { margin-left: auto; }
.prose .TA_links { list-style: none; padding: 0; }

/* the old WPBakery 12-column rows */
/* one column on phones: twelve tracks with 2.5rem gaps are wider than a phone screen (#33) */
.prose .cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem 2.5rem; margin: 0 0 1.25em; }
.prose .col { grid-column: 1 / -1; min-width: 0; }
.prose .col > :first-child { margin-top: 0; }
.prose .col img { max-width: 100%; }
@media (min-width: 48rem) {
  .prose .cols { grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: 0; }
  .prose .col-12 { grid-column: span 12; }
  .prose .col-3 { grid-column: span 3; } .prose .col-4 { grid-column: span 4; } .prose .col-6 { grid-column: span 6; }
  .prose .col-8 { grid-column: span 8; } .prose .col-9 { grid-column: span 9; }
}

/* essay "continue reading" */
.essay__more > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.6rem;
  font-weight: 500; color: var(--brown-700); padding: 0.5rem 0; border-bottom: 1px solid color-mix(in srgb, var(--brown) 40%, transparent);
}
.essay__more > summary::-webkit-details-marker { display: none; }
.essay__more > summary::after {
  content: ""; width: 0.7rem; height: 0.45rem; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.essay__more > summary:hover { color: var(--olive-800); }
.essay__more[open] > summary { display: none; }
.essay__more[open] > :nth-child(2) { margin-top: 0; }

/* author byline at the head of a signed text */
.prose .byline { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.75rem; margin: 0 0 2rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); line-height: 1.3; }
.byline__label { font-size: 0.9375rem; color: var(--muted); }
.byline__name { font: italic 500 var(--step-2) / 1.3 var(--serif); color: var(--ink); }

/* ---------- galleries ---------- */
.prose .gallery { list-style: none; margin: 0.75rem 0 2.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(13rem, 46%), 1fr)); gap: 0.625rem; }
.prose .gallery li { margin: 0; }
.prose .gallery a { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--stone-2); }
.prose .gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.prose .gallery a:hover img { transform: scale(1.04); opacity: 1; }
.prose .ngg-slideshow { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.625rem; max-width: 100% !important; max-height: none !important; margin: 0 0 1.25em; scrollbar-width: thin; }
.prose .ngg-slideshow img { flex: 0 0 auto; width: min(40rem, 88%) !important; max-width: none !important; max-height: 30rem !important; height: auto !important; object-fit: cover; scroll-snap-align: center; margin: 0 !important; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
/* one column system for the title, the text and the related links ("ch" resolves against the body size here) */
.page-head, .page > .prose, .related {
  display: grid;
  grid-template-columns: [full-start] minmax(var(--gutter), 1fr) [wide-start] minmax(0, 10rem) [content-start] min(var(--measure), 100% - 2 * var(--gutter)) [content-end] minmax(0, 10rem) [wide-end] minmax(var(--gutter), 1fr) [full-end];
}
.page-head { background: var(--stone); padding-block: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)) clamp(2rem, 4vw, 3.5rem); border-bottom: 1px solid var(--line); }
/* the title may run past the text column on the right, so most titles stay on one line; left edge stays aligned */
.page-title { grid-column: content / wide-end; margin: 0; font: 450 var(--step-page-title) / 1.15 var(--serif); letter-spacing: -0.012em; }
.page:has(.room) .page-title { grid-column: wide; }
.page > .prose { padding-block: clamp(2.5rem, 5vw, 4.5rem) var(--section); }
.page > .prose > * { grid-column: content; }
.page > .prose > :is(.gallery, .cols, table, .room, .ngg-slideshow, .rooms-intro, .recipe, .reviews) { grid-column: wide; }
.page > .prose > h2 + .gallery { margin-top: 0.25rem; }

/* recipes (cooking page): bilingual title, then Greek | English in two equal columns */
.prose .gallery--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.recipe { margin-top: clamp(2.5rem, 5vw, 4rem); }
.prose .recipe__title { display: grid; grid-template-columns: 1fr 1fr; align-items: end; margin: 0; padding-bottom: 0.6rem; border-bottom: 2px solid var(--olive); }
.recipe__title span { padding-inline: 0.75rem; text-wrap: balance; }
.recipe__title span + span { color: var(--muted); font-style: italic; font-weight: 400; }
.prose .recipe__table { display: table; table-layout: fixed; width: 100%; margin: 0; }
.recipe__part th { padding-top: 1.25rem; font-weight: 600; color: var(--olive-800); background: var(--stone); }
.recipe__method td { line-height: 1.75; padding-block: 0.9rem; }
@media (max-width: 48rem) {
  .prose .gallery--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recipe__title span, .prose .recipe__table :is(td, th) { padding-inline: 0.4rem; }
  .prose .recipe__title { font-size: var(--step-2); }
  /* long instructions are unreadable in two narrow columns: stack Greek above English */
  /* a row can't stack inside a real table, so on phones each row becomes a grid */
  .prose .recipe__table, .recipe__table tbody { display: block; }
  .recipe__table tr { display: grid; grid-template-columns: 1fr 1fr; }
  .recipe__table tr.recipe__method { grid-template-columns: 1fr; }
  .recipe__method td + td { color: var(--ink-2); }
}

/* rooms page: one block per room, story left, photographs right */
.page > .prose > .rooms-intro { font: 400 var(--step-1) / 1.65 var(--sans); color: var(--ink-2); max-width: 48rem; margin-bottom: 1.5rem; }
.room { padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.room > .room__title { margin-top: 0; font-size: var(--step-3); line-height: 1.15; }
.room > .room__title em, .room > .room__title strong { font-weight: inherit; }
.prose .room__facts { display: inline-block; font-size: 0.9375rem; font-weight: 500; color: var(--olive-800); background: var(--stone); padding: 0.35rem 0.75rem; margin-bottom: 1.5em; }
.room .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 0; }
.room .gallery li:first-child { grid-column: span 2; grid-row: span 2; }
.room .gallery li:first-child a { aspect-ratio: auto; height: 100%; }
/* close the last row: the 2x2 lead tile makes (n + 3) cells, so n mod 3 tiles are left over */
.room .gallery li:last-child:nth-child(3n + 1):not(:first-child) { grid-column: span 3; }
.room .gallery li:last-child:nth-child(3n + 1):not(:first-child) a { aspect-ratio: 9 / 2; }
.room .gallery li:last-child:nth-child(3n + 2) { grid-column: span 2; }
.room .gallery li:last-child:nth-child(3n + 2) a { aspect-ratio: 3 / 1; }
@media (min-width: 64rem) {
  .room { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2rem, 4vw, 4rem); align-items: start; }
  .room > * { grid-column: 1; }
  .room > .gallery { grid-column: 2; grid-row: 1 / span 8; }
}

/* "more in this section" */
.related { margin-bottom: var(--section); }
.related ul { grid-column: content; list-style: none; margin: 0; padding: 2rem 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0.5rem; }
.related a { display: inline-block; padding: 0.5rem 0.9rem; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 0.9375rem; line-height: 1.3; }
.related a:hover { border-color: var(--olive); color: var(--olive-800); }
.related a[aria-current], .related a[aria-current]:hover { background: var(--olive); border-color: var(--olive); color: #fff; }

/* ---------- contact form ---------- */
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; margin: 1.5rem 0 3rem; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--stone); }
.contact-form .field { display: grid; gap: 0.4rem; }
.contact-form .field:nth-child(n + 3), .contact-form button, .contact-form .form-status, .contact-form .cf-turnstile { grid-column: 1 / -1; }
.contact-form label { font-weight: 500; font-size: 0.9375rem; color: var(--ink); }
.contact-form input, .contact-form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--ground);
  padding: 0.75rem 0.9rem; border: 1px solid var(--line); border-bottom-color: color-mix(in srgb, var(--olive) 45%, var(--line)); border-radius: 2px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form textarea { min-height: 10rem; resize: vertical; }
.contact-form input:hover, .contact-form textarea:hover { border-color: color-mix(in srgb, var(--olive) 45%, var(--line)); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px color-mix(in srgb, var(--olive) 20%, transparent); }
.contact-form input:user-invalid, .contact-form textarea:user-invalid { border-color: #a3392b; }
.contact-form .hp { position: absolute; left: -5000px; }
.contact-form button { justify-self: start; }
.form-status { margin: 0; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #3d5f22; }
.form-status.is-err { color: #9b2f22; }

/* ==========================================================================
   Booking band & footer
   ========================================================================== */
.booking { background: var(--olive); color: var(--on-dark); --on-olive-2: #e9e7d8; }
.booking__inner { max-width: var(--max); margin: 0 auto; padding: var(--section) var(--gutter); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem clamp(2rem, 6vw, 6rem); align-items: start; }
.booking__title { font: 450 var(--step-4) / 1.08 var(--serif); letter-spacing: -0.012em; margin: 0 0 1.25rem; color: #fff; }
.booking__text { font: 400 var(--step-2) / 1.45 var(--serif); margin: 0 0 2.25rem; max-width: 32em; color: var(--on-dark); }
.booking__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.booking__details { margin: 0; display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.booking__details > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.booking__details dt { color: var(--on-olive-2); font-size: 0.9375rem; }
.booking__details dd { margin: 0; color: #fff; font-weight: 500; }
.booking__details a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.45); }
.booking__details a:hover { color: #fff; text-decoration-color: #fff; }

.footer { background: var(--olive-900); color: var(--on-dark-2); font-size: 0.9375rem; --wm-name: var(--on-dark); --wm-tag: var(--brown-300); }
.footer__inner { max-width: var(--max); margin: 0 auto; padding: 3.5rem var(--gutter) 2rem; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem 3rem; }
.footer__logo { display: inline-block; line-height: 0; }
.footer__logo .logo { height: 5.5rem; color: var(--on-dark); }
.footer__brand .footer__tagline { margin: 0.6rem 0 0; font: italic 500 var(--step-1) / 1.3 var(--serif); color: var(--brown-300); }
.footer__brand p { margin: 1.25rem 0 0; line-height: 1.55; }
.footer__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: flex-end; }
.footer a { color: var(--on-dark); text-decoration-color: rgba(255, 255, 255, 0.3); }
.footer a:hover { color: #fff; text-decoration-color: #fff; }
.footer__nav a { text-decoration: none; }
/* Facebook follow card (#29): the footer's one bordered element, a link control rather than a content card */
.footer__side { display: grid; gap: 1.75rem; align-content: start; }
.footer a.footer__fb { justify-self: end; width: 100%; max-width: 30rem; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.25rem 1rem; padding: 1rem 1.1rem; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 2px; color: var(--on-dark); text-decoration: none; transition: background-color 0.2s, border-color 0.2s; }
.footer a.footer__fb:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.4); color: var(--on-dark); }
.footer__fb-icon { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 2px; background: var(--on-dark); color: var(--olive-900); }
.footer__fb-icon svg { width: 1.2rem; height: 1.2rem; fill: currentColor; }
.footer__fb-text strong { display: block; font: 450 var(--step-1) / 1.25 var(--serif); color: #fff; }
.footer__fb-text small { display: block; margin-top: 0.15rem; font-size: 0.875rem; line-height: 1.4; color: var(--on-dark-2); }
.footer__fb-follow { padding: 0.45rem 1rem; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 2px; font-size: 0.875rem; font-weight: 500; color: #fff; white-space: nowrap; }
.footer a.footer__fb:hover .footer__fb-follow { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.footer__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.875rem; }

/* ==========================================================================
   Dialogs: lightbox and search
   ========================================================================== */
.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(18, 18, 10, 0.94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; animation: fade-in 0.3s var(--ease-out); }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; display: grid; place-items: center; gap: 0.75rem; max-width: 94vw; max-height: 90vh; }
.lightbox img { max-width: 94vw; max-height: 82vh; width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { font-size: 0.9375rem; color: var(--on-dark-2); min-height: 1.4em; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, 0.08); border: 0; color: #fff; width: 3rem; height: 3rem; display: grid; place-items: center; cursor: pointer; border-radius: 2px; }
.lightbox button:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox button svg { width: 1.4rem; height: 1.4rem; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 1.6rem; left: 1.5rem; font-size: 0.875rem; color: var(--on-dark-2); font-variant-numeric: tabular-nums; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.search-dialog { border: 0; padding: 1.5rem; width: min(44rem, 94vw); max-height: 80vh; margin-top: 10vh; background: var(--ground); color: var(--ink); box-shadow: var(--shadow-pop); }
.search-dialog::backdrop { background: rgba(24, 24, 12, 0.5); }
.search-dialog__close { display: flex; justify-content: flex-end; margin: -0.75rem -0.75rem 0.25rem 0; }
#search mark { background: color-mix(in srgb, var(--olive) 22%, transparent); color: inherit; padding: 0 0.1em; }
#search .pagefind-ui__search-clear { font: 500 0.875rem var(--sans); color: var(--brown-700); background: transparent; border: 0; padding-inline: 0.75rem; }
#search .pagefind-ui__search-clear:hover { color: var(--olive-800); }
#search .pagefind-ui__result-link { color: var(--ink); }
#search .pagefind-ui__result-link:hover { color: var(--olive); }
#search {
  --pagefind-ui-scale: 0.9; --pagefind-ui-primary: var(--olive); --pagefind-ui-text: var(--ink);
  --pagefind-ui-background: var(--ground); --pagefind-ui-border: var(--line); --pagefind-ui-tag: var(--stone);
  --pagefind-ui-border-width: 1px; --pagefind-ui-border-radius: 2px; --pagefind-ui-font: var(--sans);
}

/* ---------- 404 ---------- */
.notfound { max-width: var(--max); margin: 0 auto; padding: calc(var(--header-h) + 6rem) var(--gutter) var(--section); }
.notfound .page-title { margin: 0 0 1.5rem; max-width: none; }
.notfound p { max-width: 40rem; color: var(--ink-2); }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 64rem) {
  .room-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { grid-template-columns: minmax(0, 1fr) auto; }
  .section-head__lead { grid-column: 1 / -1; grid-row: 2; }
  .recognition { grid-template-columns: 1fr; }
  .network { grid-template-columns: 1fr; gap: 1.25rem; }
  .facilities { grid-template-columns: 1fr; }
  .essay { grid-template-columns: 1fr; }
  .location { position: static; }
  .essay__body { order: -1; }
}
@media (max-width: 48rem) {
  .intro, .stay__inner, .booking__inner, .footer__inner { grid-template-columns: 1fr; }
  .intro__media { margin-inline: calc(var(--gutter) * -1); }
  .stay__media { margin-inline: calc(var(--gutter) * -1); }
  .section-head { grid-template-columns: 1fr; gap: 0.75rem; }
  .section-head__lead { grid-row: auto; }
  .room-cards {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%;
    overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem;
    margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 1rem; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .room-cards::-webkit-scrollbar { display: none; }
  .room-card { scroll-snap-align: start; }
  .facilities__groups { grid-template-columns: 1fr; }
  .recognition__list { grid-template-columns: 1fr 1fr; }
  /* the list already has a top rule, so only the full-width last row draws its own */
  .recognition__list > li:last-child { grid-column: 1 / -1; border-left: 0; padding-inline: 0; border-top: 1px solid var(--line); }
  /* quote cards become the standard rail (as .room-cards) */
  .recognition { overflow-x: clip; } /* the rail bleeds to the screen edge; a subpixel rounding must not widen the page */
  .reviews__links { margin-left: 0; }
  .reviews__list {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%;
    overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem;
    margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 1rem; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .reviews__list::-webkit-scrollbar { display: none; }
  .reviews__card { scroll-snap-align: start; }
  .network .network__logos { gap: 1.25rem 2rem; }
  .network .network__logos img { height: 3.5rem; }
  .village { min-height: 0; display: block; }
  .village__img { position: static; aspect-ratio: 4 / 3; height: auto; }
  .village__panel { margin: 0; max-width: none; box-shadow: none; padding: 2rem var(--gutter) 0; }
  .village__links { columns: 1; }
  .footer__nav ul { justify-content: flex-start; }
  .footer a.footer__fb { justify-self: start; grid-template-columns: auto minmax(0, 1fr); row-gap: 0.75rem; align-items: start; }
  .footer__fb-follow { grid-column: 2; justify-self: start; }
  .booking__details > div { grid-template-columns: 1fr; gap: 0.15rem; }
  .booking__actions .btn { width: 100%; }
  .contact-form { grid-template-columns: 1fr; margin-inline: calc(var(--gutter) * -1); }
  .prose .alignleft, .prose .alignright { float: none; margin: 0 0 1.25em; max-width: 100%; }
  .hero { min-height: 92svh; }
  .hero__actions .btn { width: 100%; }
}

@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; }
}

@media print {
  .site-header, .booking, .footer, .search-dialog, .related { display: none !important; }
  .page-head { padding-top: 0; background: none; }
}

/* ---------- access map (home, "where to find us") ---------- */
.access-map { margin: 0.25rem 0 0.5rem; width: 100%; }
.access-map svg { display: block; width: 100%; height: auto; background: var(--ground); border: 1px solid var(--line); }
.access-map__road { fill: none; stroke: var(--olive); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.access-map__road--2 { stroke-dasharray: 5 4; }
.access-map__road--3 { stroke: color-mix(in srgb, var(--olive) 60%, var(--stone-2)); }
.access-map__town circle { fill: var(--ground); stroke: var(--olive-800); stroke-width: 1.5; }
.access-map__town.is-major circle { fill: var(--olive-800); }
.access-map__town.is-here circle { fill: var(--brown); stroke: var(--ground); stroke-width: 2; }
.access-map__town text { font: 400 10.5px var(--sans); fill: var(--muted); font-style: italic; }
.access-map__town.is-major text { font-style: normal; font-weight: 500; fill: var(--ink-2); font-size: 11.5px; }
.access-map__town.is-here text { font: 600 13px var(--sans); fill: var(--ink); }
.access-map figcaption { font-size: 0.8125rem; line-height: 1.45; color: var(--muted); margin-top: 0.5rem; }

/* phones under 30rem: the header search icon moves into the menu to leave room for the logo (#39) */
@media (max-width: 30rem) {
  .site-header__tools [data-search-open] { display: none; }
  .nav__search {
    display: flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; padding: 0 1rem;
    background: var(--stone); color: var(--ink); border: 1px solid var(--line); border-radius: 2px;
    font: 500 1rem / 1.2 var(--sans); cursor: pointer; text-align: left;
  }
}
