/* ==========================================================================
   Portree Cottage Blackheath
   One stylesheet, no framework. Colours and fonts live in :root below —
   change them there and the whole site follows.
   ========================================================================== */

:root {
  /* Brand */
  --teal: #048c8c;        /* decorative accents */
  --teal-dark: #036b6b;   /* text & buttons on light/white (6.3:1 contrast) */
  --navy: #002d40;
  --burgundy: #720420;

  /* Neutrals */
  --ink: #1d2b33;
  --muted: #55656e;
  --paper: #ffffff;
  --mist: #fbfcfd;
  --band: #ebeced;
  --line: #d9dee2;

  /* Type: swap --font-body for var(--font-head) to use Comfortaa everywhere */
  --font-head: "Comfortaa", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --wrap: 72rem;
  --header-h: 4.5rem;
  --radius: 14px;
  --shadow: 0 10px 30px rgb(0 45 64 / 0.14);

  /* Icons used as CSS masks (inline SVG, so no extra requests) */
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.55 18 3.85 12.3l1.4-1.4 4.3 4.3 9.2-9.2 1.4 1.4z'/%3E%3C/svg%3E");
  --icon-ban: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm0 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z'/%3E%3Cpath d='M5.3 6.7 6.7 5.3 18.7 17.3 17.3 18.7Z'/%3E%3C/svg%3E");
  --icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.6 4.6 7.2 6l6 6-6 6 1.4 1.4L16 12z'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font: 1.0625rem/1.65 var(--font-body);
  color: var(--ink);
  background: var(--paper);
}

body:has(dialog[open]) { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-dark); }
a:hover { color: var(--navy); }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--teal-dark); outline-offset: 3px; }
.hero :focus-visible, .cta :focus-visible, .book :focus-visible,
.site-footer :focus-visible, .lightbox :focus-visible,
.js .site-header:not(.is-scrolled) :focus-visible { outline-color: #fff; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: #fff; color: var(--navy); padding: 0.75rem 1rem; font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Header / navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
  transition: background-color 0.25s, box-shadow 0.25s;
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.25rem 1rem; min-height: var(--header-h);
}
.brand {
  font: 700 1.35rem/1 var(--font-head);
  color: var(--navy); text-decoration: none;
}
.nav-list {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem;
  margin: 0; padding: 0; list-style: none;
}
.nav-list a {
  display: block; padding: 0.6rem 0.9rem; border-radius: 999px;
  font: 700 0.9rem/1.2 var(--font-head);
  color: var(--navy); text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.nav-list a:hover { background: var(--band); }
.nav-list .nav-cta a { background: var(--teal-dark); color: #fff; }
.nav-list .nav-cta a:hover { background: var(--navy); }

.nav-toggle { display: none; }

/* Transparent over the hero — only once JS has confirmed it can restore the
   solid bar on scroll (the .js class is set in <head>). */
.js .site-header:not(.is-scrolled):not(.nav-open) { background: transparent; box-shadow: none; }
.js .site-header:not(.is-scrolled):not(.nav-open) .brand,
.js .site-header:not(.is-scrolled):not(.nav-open) .nav-list a { color: #fff; }
.js .site-header:not(.is-scrolled):not(.nav-open) .nav-list a:hover { background: rgb(255 255 255 / 0.18); }
.js .site-header:not(.is-scrolled):not(.nav-open) .nav-cta a { background: #fff; color: var(--teal-dark); }

@media (max-width: 52rem) {
  .js .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 2.75rem; height: 2.75rem; padding: 0 0.7rem;
    background: transparent; border: 0; border-radius: 10px; cursor: pointer;
  }
  .nav-toggle span {
    display: block; height: 2px; border-radius: 2px; background: var(--navy);
    transition: transform 0.25s, opacity 0.25s;
  }
  .js .site-header:not(.is-scrolled):not(.nav-open) .nav-toggle span { background: #fff; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .js .site-nav {
    display: none; position: absolute; inset: 100% 0 auto 0;
    padding: 0.5rem 1.25rem 1.25rem;
    background: var(--paper); box-shadow: var(--shadow);
  }
  .js .site-nav.is-open { display: block; }
  .js .nav-list { flex-direction: column; align-items: stretch; }
  .js .nav-list a { padding: 0.9rem 1rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 0.9rem 1.75rem;
  border: 2px solid transparent; border-radius: 999px;
  font: 700 1rem/1.1 var(--font-head); text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal-dark); color: #fff; }
.btn-primary:hover { background: #fff; color: var(--teal-dark); }
.btn-light { background: #fff; color: var(--teal-dark); }
.btn-light:hover { background: var(--navy); color: #fff; }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; display: grid; align-items: center;
  min-height: min(46rem, 92vh); min-height: min(46rem, 92svh);
  padding-block: calc(var(--header-h) + 2rem) 7rem;
  color: #fff; background: var(--navy);
}
.hero-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center 62%;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgb(0 20 30 / 0.6), transparent 32%),
    linear-gradient(90deg, rgb(0 30 45 / 0.72), rgb(0 30 45 / 0.12) 72%);
}
.hero h1 {
  max-width: 14ch; margin: 0 0 0.75rem;
  font: 700 clamp(2.4rem, 1.2rem + 5vw, 4.25rem)/1.08 var(--font-head);
  text-wrap: balance; text-shadow: 0 2px 24px rgb(0 0 0 / 0.35);
}
.hero p { max-width: 28rem; margin: 0 0 1.75rem; font-size: 1.25rem; text-shadow: 0 1px 12px rgb(0 0 0 / 0.4); }

/* ---------- Key facts strip ---------- */
.facts { position: relative; z-index: 2; margin-top: -3.5rem; }
.facts ul {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 1.25rem 1rem;
  margin: 0; padding: 1.5rem; list-style: none; text-align: center;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
.facts strong { display: block; font: 700 1.65rem/1.1 var(--font-head); color: var(--teal-dark); }
.facts span { font-size: 0.875rem; color: var(--muted); }
@media (max-width: 40rem) {
  .facts ul { grid-template-columns: repeat(2, 1fr); }
  .facts li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--mist { background: var(--mist); }
.section--band { background: var(--band); }

h2 {
  margin: 0 0 0.75rem; color: var(--navy);
  font: 700 clamp(1.7rem, 1.2rem + 2vw, 2.5rem)/1.2 var(--font-head);
  text-wrap: balance;
}
.section-head { max-width: 44rem; margin: 0 auto 2.5rem; text-align: center; }
.section-head h2::after {
  content: ""; display: block; width: 3.5rem; height: 3px; margin: 1rem auto 0;
  border-radius: 3px; background: var(--teal);
}
.section-head p { margin: 0; color: var(--muted); font-size: 1.15rem; }

.quote {
  max-width: 46rem; margin: 0 auto; padding: 1.5rem 1.75rem;
  background: #fff; border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 2px 14px rgb(0 45 64 / 0.07);
}
.quote p { margin: 0 0 0.75rem; font-style: italic; }
.quote cite { font-style: normal; font-size: 0.95rem; }

/* ---------- Rooms ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 0 0 2rem; }
.chip {
  padding: 0.55rem 1.1rem; border: 2px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--navy); cursor: pointer;
  font: 700 0.9rem/1.2 var(--font-head);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { border-color: var(--teal); }
.chip[aria-pressed="true"] { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }

.rooms {
  display: grid; gap: 1.5rem; margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
}
.room {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: var(--radius);
  box-shadow: 0 2px 14px rgb(0 45 64 / 0.1);
}
.room-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--band); }
.room-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform 0.5s; }
.room-media:hover img { transform: scale(1.05); }
.room-body { padding: 1.1rem 1.25rem 1.4rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.6rem; padding: 0; list-style: none; }
.tag {
  padding: 0.2rem 0.65rem; border-radius: 999px;
  background: #e3f3f3; color: var(--teal-dark);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.room h3 { margin: 0 0 0.4rem; color: var(--navy); font: 700 1.15rem/1.3 var(--font-head); }
.room p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Call-to-action band ---------- */
.cta { padding-block: 2.75rem; background: var(--navy); color: #fff; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2rem; text-align: center; }
.cta p { margin: 0; font: 700 clamp(1.15rem, 1rem + 1vw, 1.6rem)/1.3 var(--font-head); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: #dfe3e6; }
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform 0.4s; }
.gallery a:hover img { transform: scale(1.05); }
@media (min-width: 62rem) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }

/* ---------- Features ---------- */
.feature-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.feature {
  padding: 1.5rem; background: var(--mist);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.feature h3 { margin: 0 0 1rem; color: var(--navy); font: 700 1.1rem/1.3 var(--font-head); }
.feature ul { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.feature li { display: flex; align-items: flex-start; gap: 0.65rem; }
.rules li::before {
  content: ""; flex: none; width: 1.15rem; height: 1.15rem; margin-top: 0.22rem;
  background: var(--teal);
  -webkit-mask: var(--icon-check) center / contain no-repeat;
          mask: var(--icon-check) center / contain no-repeat;
}
.rules {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 2.5rem;
  margin: 2rem 0 0; padding: 0; list-style: none;
  color: var(--burgundy); font: 700 1.1rem/1.4 var(--font-head);
}
.rules li { display: flex; align-items: center; gap: 0.6rem; }
.rules li::before {
  width: 1.75rem; height: 1.75rem; margin: 0; background: var(--burgundy);
  -webkit-mask-image: var(--icon-ban); mask-image: var(--icon-ban);
}

/* ---------- Explore ---------- */
.mosaic { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.mosaic img { width: 100%; height: 100%; min-height: 13rem; max-height: 22rem; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 44rem) { .mosaic { grid-template-columns: 1fr; } }

.card--wide { max-width: 52rem; margin-inline: auto; }
.card { padding: 1.75rem; background: #fff; border-radius: var(--radius); box-shadow: 0 2px 14px rgb(0 45 64 / 0.1); }
.card h3 { margin: 0 0 1rem; color: var(--navy); font: 700 1.25rem/1.3 var(--font-head); }
.card p { margin: 0 0 1rem; }
.card p:last-child { margin-bottom: 0; }

/* ---------- Booking ---------- */
.book { background: var(--teal-dark); color: #fff; text-align: center; }
.book h2 { color: #fff; }
.book .section-head h2::after { background: #fff; }
.book-inner { max-width: 36rem; margin: 0 auto; }
.book p { margin: 0 0 1rem; font-size: 1.1rem; }
.book a:not(.btn) { color: #fff; }
.book-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin: 1.5rem 0 2rem; padding: 0; list-style: none; }
.book-facts li { padding: 0.6rem 1.15rem; border-radius: 999px; background: rgb(255 255 255 / 0.14); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 2.5rem; background: var(--navy); color: #cfdbe2; text-align: center; font-size: 0.95rem; }
.site-footer p { margin: 0.25rem 0; }
.site-footer a { color: #fff; }
.site-footer nav a { margin-inline: 0.6rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent; color: #fff;
}
.lightbox::backdrop { background: rgb(0 10 16 / 0.93); }
.lb-stage {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; height: 100%; margin: 0; padding: 3.5rem 1rem 1rem; gap: 0.75rem;
}
.lb-stage img {
  width: auto; height: auto; border-radius: 6px; object-fit: contain;
  max-width: calc(100vw - 2rem); max-height: calc(100vh - 8rem); max-height: calc(100dvh - 8rem);
}
.lb-caption { min-height: 1.6rem; margin: 0; font-size: 0.95rem; text-align: center; color: #e4ecf0; }
.lb-btn {
  position: absolute; display: grid; place-items: center;
  width: 2.9rem; height: 2.9rem; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgb(255 255 255 / 0.14); color: #fff;
  transition: background-color 0.2s;
}
.lb-btn:hover { background: rgb(255 255 255 / 0.3); }
.lb-btn svg { width: 1.4rem; height: 1.4rem; fill: currentColor; }
.lb-close { top: 0.75rem; right: 0.75rem; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 0.75rem; }
.lb-next { right: 0.75rem; }
@media (min-width: 48rem) {
  .lb-stage { padding-inline: 5rem; }
  .lb-stage img { max-width: calc(100vw - 10rem); }
}

/* ---------- Local guide page ---------- */
:root {
  --icon-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7Zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E");
}
.explore-cta { margin: 2.25rem 0 0; text-align: center; }

.page-hero {
  padding: calc(var(--header-h) + 3.5rem) 0 3.5rem; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--teal-dark));
}
.page-hero h1 { margin: 0 0 0.75rem; font: 700 clamp(2.2rem, 1.2rem + 4vw, 3.5rem)/1.1 var(--font-head); text-wrap: balance; }
.page-hero p { max-width: 40rem; margin: 0 auto; font-size: 1.15rem; color: #e1eef0; }

.guide-nav {
  position: sticky; top: var(--header-h); z-index: 40;
  background: #fff; box-shadow: 0 2px 10px rgb(0 45 64 / 0.1);
}
.guide-nav ul {
  display: flex; gap: 0.5rem; margin: 0; padding: 0.75rem 0; list-style: none;
  overflow-x: auto; scrollbar-width: none;
}
.guide-nav ul::-webkit-scrollbar { display: none; }
.guide-nav a {
  display: block; padding: 0.5rem 0.9rem; border: 2px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--navy); white-space: nowrap; text-decoration: none;
  font: 700 0.88rem/1.2 var(--font-head); transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.guide-nav a:hover { border-color: var(--teal); }
/* "safe" centring: centred when it fits, scrolls from the start when it doesn't */
.guide-nav li:first-child { margin-left: auto; }
.guide-nav li:last-child { margin-right: auto; }
.guide-body { padding-block: 2.5rem 5rem; }

.guide-note { max-width: 46rem; margin: 0 auto 2.5rem; text-align: center; color: var(--muted); font-size: 0.98rem; }
.guide-section { padding-top: 1rem; margin-bottom: 3.5rem; scroll-margin-top: calc(var(--header-h) + 4.25rem); }
.guide-section > h2::after { content: ""; display: block; width: 3.5rem; height: 3px; margin-top: 0.9rem; border-radius: 3px; background: var(--teal); }
.guide-section > h2 { margin-bottom: 1.75rem; }

.places { display: grid; gap: 1.5rem; margin: 0; padding: 0; list-style: none; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .places { grid-template-columns: 1fr 1fr; } }
.place {
  display: flex; flex-direction: column; padding: 1.6rem 1.75rem;
  background: #fff; border-radius: var(--radius); box-shadow: 0 2px 14px rgb(0 45 64 / 0.1);
}
.place h3 { margin: 0 0 0.2rem; color: var(--navy); font: 700 1.25rem/1.3 var(--font-head); }
.place p.place-tagline { margin: 0 0 0.4rem; color: var(--teal-dark); font-weight: 600; }
.place p.place-meta { display: flex; align-items: flex-start; gap: 0.4rem; margin: 0 0 1rem; color: var(--muted); font-size: 0.92rem; }
.place-meta::before {
  content: ""; flex: none; width: 1rem; height: 1rem; margin-top: 0.22rem; background: var(--teal);
  -webkit-mask: var(--icon-pin) center / contain no-repeat; mask: var(--icon-pin) center / contain no-repeat;
}
.place p { margin: 0 0 0.85rem; }
.place-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: auto 0 0 !important; padding-top: 0.5rem; font-weight: 700; font-size: 0.95rem; }
.place p.place-sub, .place span.place-sub { margin: 0.25rem 0 0.4rem !important; color: var(--navy); font-weight: 700; }
.notice {
  margin: 0 0 1rem; padding: 0.85rem 1rem; border-left: 4px solid var(--burgundy);
  border-radius: 0 10px 10px 0; background: #fbeff2; color: #4a0214; font-size: 0.97rem;
}
.notice strong { display: block; }
.guide-back { text-align: center; margin: 1rem 0 0; }

.walk-note { max-width: 46rem; margin: 0 auto 1rem; padding: 1rem 1.5rem; text-align: center; color: var(--navy); font-weight: 600; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); }

.know { max-width: 60rem; margin: 3rem auto 0; padding: 1.75rem; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); }
.know h3 { margin: 0 0 1.25rem; text-align: center; color: var(--navy); font: 700 1.25rem/1.3 var(--font-head); }
.know-grid { display: grid; gap: 1.25rem 2rem; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); margin: 0; }
.know-grid dt { margin: 0 0 0.25rem; color: var(--teal-dark); font-weight: 700; }
.know-grid dd { margin: 0; color: var(--ink); font-size: 0.97rem; }
.acknowledge { max-width: 42rem; margin: 1.25rem auto 1rem !important; font-size: 0.88rem; font-style: italic; color: #b9c9d1; }
.guide-section > .section-intro { max-width: 46rem; margin: -0.75rem 0 1.5rem; color: var(--muted); }

/* ---------- Guide: page switcher and "more of the guide" cards ---------- */
.guide-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.guide-pages a { display: block; padding: 0.55rem 1.15rem; border: 2px solid rgb(255 255 255 / 0.55); border-radius: 999px; color: #fff; text-decoration: none; font: 700 0.9rem/1.2 var(--font-head); transition: background-color 0.2s, color 0.2s; }
.guide-pages a:hover { background: rgb(255 255 255 / 0.18); }
.guide-pages a[aria-current="page"] { background: #fff; border-color: #fff; color: var(--navy); }
.hub-more { margin: 3rem 0 2rem; padding-top: 2.5rem; border-top: 1px solid var(--line); text-align: center; }
.hub-more h2 { margin-bottom: 1.5rem; }
.hub-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.hub-card { display: block; padding: 1.4rem 1.5rem; text-align: left; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 2px 14px rgb(0 45 64 / 0.08); transition: transform 0.2s, border-color 0.2s; }
.hub-card:hover { transform: translateY(-2px); border-color: var(--teal); }
.hub-card strong { display: block; margin-bottom: 0.25rem; color: var(--navy); font: 700 1.1rem/1.3 var(--font-head); }
.hub-card span { color: var(--muted); font-size: 0.95rem; }

/* 2026-10-17: local-guide improvements, responsive booking CTA */
.guide-tools { margin: 0 auto 2.5rem; padding: 1.3rem; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); }
.guide-tools-fields { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: flex-end; }
.guide-tools-fields > div { flex: 1 1 13rem; min-width: 0; }
.guide-tools label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.guide-tools input, .guide-tools select { width: 100%; min-height: 2.85rem; padding: 0.6rem 0.7rem; border: 1px solid #788b95; border-radius: 0.5rem; background: #fff; color: var(--ink); font: inherit; }
.guide-reset { min-height: 2.85rem; padding: 0.55rem 0.9rem; border: 2px solid var(--teal-dark); border-radius: 0.5rem; background: #fff; color: var(--teal-dark); font: inherit; font-weight: 700; cursor: pointer; }
.guide-results { margin: 1rem 0 0.3rem; color: var(--navy); font-weight: 700; }
.guide-distance-note { margin: 0; font-size: 0.85rem; color: var(--muted); }
.place-distance { margin: -0.5rem 0 0.8rem !important; font-size: 0.87rem; color: var(--teal-dark); font-weight: 650; }
.place[hidden], .guide-section[hidden], .guide-empty[hidden], .guide-tools[hidden] { display: none !important; }
.mobile-book-cta { display: none; }
@media (max-width: 52rem) {
  body { padding-bottom: 4.4rem; }
  .mobile-book-cta { display: block; position: fixed; bottom: max(0.75rem, env(safe-area-inset-bottom)); left: 1rem; right: 1rem; width: max-content; max-width: calc(100% - 2rem); margin-inline: auto; z-index: 100; padding: 0.8rem 1.5rem; text-align: center; border-radius: 99rem; color: #fff; background: var(--teal-dark); text-decoration: none; font-weight: 700; box-shadow: 0 3px 18px rgb(0 0 0 / 0.28); }
  .guide-tools-fields { flex-direction: column; align-items: stretch; }
  .guide-tools-fields > div { flex: none; width: 100%; }
  .guide-reset { align-self: flex-start; }
  .nav-list a, .nav-toggle { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .mobile-book-cta { transition: none; } }

/* Individual amenity icons and footer social icons */
.feature-icon { flex: 0 0 1.3rem; width: 1.3rem; height: 1.3rem; color: var(--teal); margin-top: .12rem; }
.know-grid dt { display: flex; align-items: center; gap: .5rem; }
.know-icon { width: 1.3rem; height: 1.3rem; flex: none; color: var(--teal); }
.site-footer nav a { display: inline-flex; align-items: center; gap: .35rem; }
.social-icon { width: 1.18rem; height: 1.18rem; flex: none; }
@media (max-width: 560px) { .site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem .4rem; } }

/* Centre a single unpaired last card in the two-column local-guide layout.
   JS recalculates this after search and location filters change. */
@media (min-width: 52rem) {
  .places > .place.guide-last-odd {
    grid-column: 1 / -1;
    width: calc((100% - 1.5rem) / 2);
    justify-self: center;
  }
}

/* Clear, single-tier guide navigation plus separate jump control */
.guide-section {scroll-margin-top:5.5rem}

/* Guide footer return to navigation and filters */
.guide-top-return { display:flex; justify-content:center; padding: 1.75rem 1rem 3rem; }
.guide-top-link { display:inline-flex; align-items:center; justify-content:center; gap:.4rem; padding:.75rem 1.5rem; border:1px solid currentColor; border-radius:999px; color:#006e75; text-decoration:none; font-weight:600; background:white; transition:background .15s ease; }
.guide-top-link:hover { background:#eaf5f4; }
.guide-top-link:focus-visible { outline:3px solid #007d85; outline-offset:3px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- Official Airbnb listing preview ---------- */
.airbnb-embed-shell { max-width: 100%; display: flex; justify-content: center; overflow-x: auto; }
.airbnb-embed-frame { flex: 0 1 450px; }
.airbnb-reviews-more { text-align: center; margin: 1.25rem 0 0; }
.airbnb-reviews-more a { color: var(--teal-dark); font-weight: 650; text-underline-offset: 0.2em; }

/* Guest rating snapshot: static, dated figures linked to current Airbnb listing */
#guest-reviews { scroll-margin-top: calc(var(--header-h, 70px) + 1rem); }
.airbnb-rating-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.85rem; margin:0 auto 1rem; max-width:59rem; }
.rating-highlight { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.35rem .9rem; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:.35rem; min-height:7.7rem; }
.rating-value { color:var(--navy); font:700 1.9rem/1.15 var(--font-head); }
.rating-word { font-size:1.05rem; line-height:1.4; }
.rating-stars { display:block; color:#ad7a15; font-size:1rem; letter-spacing:.04em; margin-top:.35rem; }
.rating-label { font-size:.92rem; color:var(--muted); }
.rating-snapshot-note { max-width:53rem; text-align:center; margin:0 auto 1.65rem; color:var(--muted); font-size:.86rem; }
.rating-snapshot-note a {color:var(--teal-dark);text-underline-offset:.2em;}
@media(max-width:48rem) { .airbnb-rating-summary { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:24rem) { .airbnb-rating-summary { grid-template-columns:1fr; } }

/* Five curated photographic sections */
.gallery-section-title {margin: 2.1rem 0 .8rem; color: #00444d; font-size: clamp(1.15rem, 2vw, 1.55rem);}
.gallery-section-title:first-of-type { margin-top: 1.2rem; }
.gallery + .gallery-section-title {margin-top:2.35rem;}

/* Photo gallery refinements: centred incomplete rows and accessible descriptive overlays */
.gallery { display:flex; flex-wrap:wrap; justify-content:center; gap:.75rem; }
.gallery > li { min-width:0; flex:0 0 calc((100% - .75rem)/2); }
@media(min-width:62rem) { .gallery { gap:1rem; } .gallery > li { flex-basis:calc((100% - 3rem)/4); } }
.gallery a {position:relative;}
.gallery-hover-caption { position:absolute; inset:auto 0 0; padding:1.45rem .65rem .6rem; background:linear-gradient(transparent,rgba(0,0,0,.83)); color:#fff; font-size:.85rem; line-height:1.3; text-align:center; opacity:0; transform:translateY(.25rem); transition:opacity .2s,transform .2s; pointer-events:none; }
.gallery a:hover .gallery-hover-caption,.gallery a:focus-visible .gallery-hover-caption {opacity:1;transform:translateY(0)}
@media(hover:none) { .gallery-hover-caption { opacity:1;transform:none;font-size:.75rem; } }
@media(prefers-reduced-motion:reduce) {.gallery-hover-caption {transition:none;} }

/* N03 homepage hero: full portrait on phones; extended composition on larger screens */
.hero-picture { position:absolute; inset:0; z-index:-2; display:block; overflow:hidden; }
.hero-picture .hero-img { position:relative; z-index:auto; display:block; object-position:center 43%; }
@media (min-width:760px) { .hero-picture .hero-img { object-position:center center; } }
@media (max-width:759px) {
  .hero::after { background:linear-gradient(to bottom, rgb(0 24 32 / .79), rgb(0 28 35 / .46) 60%, rgb(0 20 30 / .24)); }
  .hero { min-height: min(43rem, 90svh); }
  .hero h1 { max-width: 12ch; }
}

/* Combined room and photo gallery */
.gallery-intro { max-width: 760px; margin: 0 0 1.5rem; line-height: 1.6; }
.lb-description { color: #fff; max-width: 760px; margin: .5rem auto 0; line-height: 1.55; font-size: .95rem; text-align:center; }
.lb-description[hidden] {display:none;}
