/* ══════════════════════════════════════════════════════════
   THEME — Change these variables to restyle the whole site.
   Colours, fonts, spacing all live here for easy tweaking.
   ══════════════════════════════════════════════════════════ */
:root {
  /* ── Colours (Sage & Linen) ── */
  --bg: #e8e4d4;
  --bg-alt: #d8d2be;
  --ink: #2a2e24;
  --ink-muted: #6b7060;
  --accent: #5a7050;
  --accent-hover: #4a6040;
  --accent-light: #d0d8c8;
  --line: #c0b8a4;
  --footer-bg: #d4ceb8;
  --card-bg: #f2efe4;

  /* ── Layout ── */
  --max: 1340px;
  --content: 1120px;
  --header-height: 122px;

  /* ── Tunables ── */
  --btn-radius: 0px;
  --card-radius: 0px;
  --heading-weight: 700;
  --nav-spacing: 0.22em;
  --body-size: 19px;

  /* ── Fonts ── */
  --heading-font: "Raleway", "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body-font: "Raleway", "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--body-font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.45;
}

a {
  color: inherit;
}

/* ── Skip Link ── */

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 999;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ── Focus Styles ── */

*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

[data-page="stay"] .logo:focus-visible,
[data-page="stay"] .main-nav a:focus-visible,
[data-page="stay"] .contact-btn:focus-visible,
[data-page="stay"] .icon-link:focus-visible,
.ghost-btn:focus-visible,
.lightbox-close:focus-visible {
  outline-color: #fff;
}

/* ── Screen Reader Only ── */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(var(--max), calc(100% - 72px));
  margin-inline: auto;
}

/* ── Header ── */

.topbar {
  position: relative;
  z-index: 90;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

[data-page="stay"] .topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent);
  border-bottom: 0;
}

.topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 24px 0 22px;
  min-height: var(--header-height);
}

.logo {
  justify-self: start;
  text-decoration: none;
  color: var(--ink);
  line-height: 0;
}

.logo svg {
  height: clamp(44px, 6.5vw, 82px);
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.main-nav a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: var(--nav-spacing);
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--accent);
}

.main-nav a.is-active {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--accent);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-btn {
  text-decoration: none;
  border: 1.5px solid var(--ink);
  padding: 9px 20px;
  border-radius: var(--btn-radius);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  transition: background 0.2s, color 0.2s;
}

.contact-btn:hover {
  background: var(--ink);
  color: var(--bg);
}

.icon-link {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.icon-link svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
}

.icon-link:hover svg {
  stroke: var(--accent);
}

[data-page="stay"] .logo,
[data-page="stay"] .main-nav a,
[data-page="stay"] .contact-btn,
[data-page="stay"] .icon-link svg {
  color: #fff;
  stroke: #fff;
  border-color: #fff;
}

/* ── Hamburger Toggle ── */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}

[data-page="stay"] .nav-toggle span {
  background: #fff;
}

.nav-toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle--open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-book-link {
  display: none;
}

/* ── Homepage ── */

.home-section {
  padding: 24px 0 20px;
}

.home-headline h1 {
  margin: 0 0 28px;
  text-align: center;
  font-family: var(--heading-font);
  font-size: clamp(34px, 3.2vw, 56px);
  font-weight: var(--heading-weight);
  letter-spacing: -0.01em;
}

.headline-sub {
  display: block;
  font-size: clamp(18px, 1.8vw, 30px);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-top: 6px;
  color: var(--ink-muted);
}

.stay-stack {
  width: min(var(--content), calc(100% - 10px));
  display: grid;
  gap: 24px;
}

.stay-card {
  position: relative;
  display: block;
  text-decoration: none;
  overflow: hidden;
  background: #d8d8d8;
  border-radius: var(--card-radius);
}

.stay-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.stay-card:hover img {
  transform: scale(1.03);
}

.stay-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.stay-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.stay-overlay h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(42px, 5.1vw, 86px);
  letter-spacing: 0.02em;
  line-height: 1.08;
}

.stay-overlay p {
  margin: 10px 0 0;
  font-family: var(--heading-font);
  font-size: clamp(20px, 2vw, 34px);
}

.split-links {
  width: min(var(--content), calc(100% - 10px));
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
}

.split-links a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 12px 0;
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
}

.split-links a:hover {
  text-decoration: underline;
}

.stay-stack--spaced {
  margin-top: 32px;
}

/* ── Town Page: Between-Cards Text ── */

.town-between-text {
  text-align: center;
  padding: 48px 0 20px;
}

.town-between-text p {
  margin: 0 auto 14px;
  max-width: 680px;
  font-size: 18px;
  line-height: 1.6;
}

.town-between-text p.coming-soon-note {
  font-style: italic;
  color: var(--ink-muted);
  font-size: 15px;
}

/* ── Coming Soon (Town page) ── */

.stay-card--coming-soon {
  cursor: default;
}

.stay-card--coming-soon img {
  filter: grayscale(0.4) brightness(0.85);
}

.coming-soon-badge {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 22px;
  border: 1.5px solid #fff;
  font-family: var(--body-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: none;
}

.coming-soon-info {
  text-align: center;
  padding: 48px 0 20px;
}

.coming-soon-info h2 {
  margin: 0 0 18px;
  font-family: var(--heading-font);
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.coming-soon-info p {
  margin: 0 auto 14px;
  max-width: 680px;
  font-size: 18px;
  line-height: 1.6;
}

.coming-soon-info p.coming-soon-note {
  font-style: italic;
  color: var(--ink-muted);
  font-size: 15px;
}

/* ── Antidote Section (Homepage) ── */

.antidote-section {
  padding: 64px 0;
  background: var(--bg-alt);
}

.antidote-inner {
  max-width: var(--content);
  text-align: center;
}

.antidote-inner h2 {
  margin: 0 0 24px;
  font-family: var(--heading-font);
  font-size: clamp(32px, 3vw, 52px);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.antidote-inner p {
  margin: 0 auto 20px;
  max-width: 780px;
  font-size: var(--body-size);
  line-height: 1.7;
}

.antidote-inner p.antidote-tagline {
  font-style: italic;
  font-size: 16px;
  color: var(--ink-muted);
  margin-bottom: 28px;
}

.antidote-inner .outline-btn {
  display: inline-block;
  text-decoration: none;
}

/* ── Mailing Section (Homepage) ── */

.mailing-section {
  padding: 56px 0;
}

.mailing-inner {
  max-width: var(--content);
  text-align: center;
}

.mailing-inner h2 {
  margin: 0 0 12px;
  font-family: var(--heading-font);
  font-size: clamp(28px, 2.6vw, 44px);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.mailing-inner p {
  margin: 0 0 0;
  font-size: 14px;
}

.mailing-inner .subscribe-form {
  margin-top: 22px;
}

/* ── Blog ── */

.blog-section {
  padding: 42px 0 20px;
}

.blog-title {
  margin: 0 0 38px;
  text-align: center;
  font-family: var(--heading-font);
  font-size: clamp(30px, 3.6vw, 56px);
  letter-spacing: 0em;
  font-weight: 700;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.post-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--card-bg);
  overflow: hidden;
  border-radius: var(--card-radius);
}

.post-card-thumb {
  display: block;
  overflow: hidden;
}

.post-card-thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.post-card-thumb:hover img {
  transform: scale(1.03);
}

.post-card-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
}

.post-card h2 {
  margin: 0 0 12px;
  text-align: left;
  font-size: clamp(16px, 1.4vw, 24px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.post-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
}

.post-card-body > a:last-child {
  display: inline-block;
  margin-top: 14px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.post-card-body > a:last-child:hover {
  text-decoration: underline;
}

/* ── Stay Detail Pages ── */

.unit-page {
  padding-bottom: 12px;
}

.unit-hero {
  position: relative;
  min-height: 76vh;
}

.unit-hero > img {
  width: 100%;
  height: min(76vh, 860px);
  object-fit: cover;
  display: block;
}

.unit-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.unit-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  text-align: center;
  color: #fff;
  padding-top: 58px;
}

.unit-hero-overlay h1 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(42px, 5.6vw, 94px);
  letter-spacing: 0.02em;
  line-height: 1.08;
  font-weight: 700;
}

.unit-hero-overlay p {
  margin: 8px 0 18px;
  font-family: var(--body-font);
  font-size: clamp(22px, 2.1vw, 34px);
  font-weight: 600;
}

.ghost-btn,
.outline-btn {
  background: transparent;
  color: inherit;
  border: 1.5px solid currentColor;
  padding: 11px 24px;
  border-radius: var(--btn-radius);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  font-family: var(--body-font);
  transition: background 0.2s, color 0.2s;
}

.outline-btn:hover {
  background: var(--ink);
  color: var(--bg);
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.section-narrow {
  width: min(var(--content), calc(100% - 72px));
  margin: 56px auto 0;
}

.unit-intro {
  text-align: center;
}

.unit-intro h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(34px, 3.2vw, 52px);
  letter-spacing: -0.01em;
  font-weight: 400;
}

.unit-intro p {
  margin: 18px auto 24px;
  max-width: 860px;
  font-size: var(--body-size);
  line-height: 1.6;
}

/* ── Story Section (stay pages) ── */

.unit-story {
  text-align: center;
}

.unit-story h2 {
  margin: 0 0 18px;
  font-family: var(--heading-font);
  font-size: clamp(30px, 2.8vw, 46px);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.unit-story p {
  margin: 0 auto;
  max-width: 820px;
  font-size: 18px;
  line-height: 1.65;
}

/* ── Gallery ── */

.unit-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.gallery-tile {
  border: 0;
  padding: 0;
  margin: 0;
  background: #ddd;
  cursor: zoom-in;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-tile:hover img {
  transform: scale(1.05);
}

/* ── Specs Grid (stay pages) ── */

.unit-details {
  text-align: center;
}

.unit-details h2,
.unit-map h2,
.unit-book h2 {
  margin: 0 0 20px;
  text-align: center;
  font-family: var(--heading-font);
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.spec-icon {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.spec-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

/* ── Map ── */

.unit-map iframe {
  width: 100%;
  border: 0;
  height: 380px;
  /* Warm tint instead of grayscale — remove filter entirely for full colour */
  filter: saturate(0.7) sepia(0.15) brightness(1.02);
}

.map-link {
  text-align: center;
  margin: 10px 0 0;
  font-size: 13px;
}

.map-link a {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  color: var(--accent);
}

/* ── Book Section ── */

.unit-book {
  text-align: center;
}

.unit-book p {
  margin: 0 auto 20px;
  max-width: 780px;
  font-size: 19px;
}

/* ── Instagram Slider ── */

.unit-instagram {
  text-align: center;
}

.unit-instagram h2 {
  margin: 0 0 20px;
  font-family: var(--heading-font);
  font-size: clamp(28px, 2.6vw, 42px);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.instagram-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

.insta-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1;
  padding: 0 4px;
}

.insta-track::-webkit-scrollbar {
  display: none;
}

.insta-slide {
  flex: 0 0 200px;
  width: 200px;
  height: 200px;
  scroll-snap-align: start;
  overflow: hidden;
  background: var(--bg-alt);
  display: block;
  border-radius: 4px;
}

.insta-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, opacity 0.2s;
}

.insta-slide:hover img {
  opacity: 0.85;
  transform: scale(1.04);
}

.insta-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--card-bg);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background 0.2s, box-shadow 0.2s;
  margin: 0 8px;
  z-index: 2;
}

.insta-arrow:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.instagram-follow {
  margin-top: 18px;
  font-size: 14px;
}

.instagram-follow a {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  color: var(--accent);
}

/* Fallback: Instagram embed widget */
.insta-embed-wrapper {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

.insta-embed-wrapper iframe {
  width: 100%;
  height: 520px;
  border: 0;
  background: var(--card-bg);
  border-radius: 6px;
}

/* ── Place Map Link (in blog posts) ── */

.place-map-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--accent);
  border: 1px solid var(--line);
  padding: 3px 8px;
  margin-left: 6px;
  vertical-align: middle;
  transition: border-color 0.2s, background 0.2s;
}

.place-map-link:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

/* ── Contact Section ── */

.contact-section {
  padding: 64px 0;
  background: var(--bg-alt);
}

.contact-inner h2 {
  margin: 0 0 10px;
  text-align: center;
  font-family: var(--heading-font);
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.contact-subtext {
  text-align: center;
  margin: 0 0 36px;
  font-size: 16px;
  color: var(--ink-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  max-width: 860px;
  margin: 0 auto;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}

.contact-detail svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
}

.contact-detail a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.contact-detail a:hover {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row--full {
  grid-column: 1 / -1;
}

.contact-form label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--line);
  background: var(--card-bg);
  padding: 12px 14px;
  font-size: 16px;
  font-family: var(--body-font);
  color: var(--ink);
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form button {
  grid-column: 1 / -1;
  justify-self: start;
  border: 1.5px solid var(--ink);
  border-radius: var(--btn-radius);
  background: transparent;
  padding: 12px 28px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--body-font);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.contact-form button:hover {
  background: var(--ink);
  color: var(--bg);
}

#contact-feedback {
  text-align: center;
  margin-top: 16px;
  font-size: 15px;
  color: var(--accent);
}

/* ── Footer ── */

.site-footer {
  margin-top: 0;
  background: var(--footer-bg);
}

.footer-inner {
  max-width: var(--content);
  text-align: center;
  padding: 56px 0;
}

.footer-contact h3,
.footer-social h3 {
  margin: 0 0 10px;
  font-family: var(--heading-font);
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.footer-contact p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-contact a:hover {
  border-bottom-color: var(--ink);
}

.footer-social {
  margin-top: 28px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 10px;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-links svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  transition: stroke 0.2s;
}

.social-links a:hover svg {
  stroke: var(--accent);
}

/* ── Subscribe Form ── */

.subscribe-form {
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: 1fr auto;
  max-width: 460px;
  gap: 10px;
}

.subscribe-form input {
  height: 48px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 16px;
  padding: 0 14px;
  font-family: var(--body-font);
}

.subscribe-form input:focus {
  border-color: var(--accent);
  outline: none;
}

.subscribe-form button {
  height: 48px;
  min-width: 130px;
  border: 1.5px solid var(--ink);
  border-radius: var(--btn-radius);
  background: transparent;
  font-size: 15px;
  letter-spacing: 0.03em;
  font-family: var(--body-font);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.subscribe-form button:hover {
  background: var(--ink);
  color: var(--bg);
}

.policy-links {
  margin-top: 20px;
  font-size: 13px;
}

.footer-line {
  margin: 32px auto 24px;
  border-top: 1px solid var(--line);
}

.copyright {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 19px;
  line-height: 1.4;
}

/* ── Lightbox ── */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 22px;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox img {
  max-width: min(1280px, 95vw);
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 24px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

/* ── Responsive ── */

@media (max-width: 980px) {
  .container,
  .section-narrow {
    width: min(var(--max), calc(100% - 28px));
  }

  .topbar-inner {
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    padding: 14px 0;
  }

  .logo svg {
    height: 44px;
  }

  .main-nav {
    gap: 16px;
  }

  .main-nav a {
    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .contact-btn {
    padding: 6px 10px;
    font-size: 9px;
    letter-spacing: 0.14em;
  }

  .icon-link {
    width: 44px;
    height: 44px;
  }

  .icon-link svg {
    width: 18px;
    height: 18px;
  }

  .home-headline h1 {
    font-size: 34px;
    margin-bottom: 20px;
  }

  .headline-sub {
    font-size: 16px;
  }

  .stay-stack {
    gap: 16px;
  }

  .stay-overlay h2 {
    font-size: clamp(30px, 8vw, 48px);
  }

  .stay-overlay p {
    font-size: clamp(15px, 4vw, 24px);
  }

  .split-links {
    flex-direction: column;
    gap: 8px;
  }

  .antidote-section {
    padding: 40px 0;
  }

  .antidote-inner h2 {
    font-size: 28px;
  }

  .antidote-inner p {
    font-size: 16px;
  }

  .mailing-section {
    padding: 36px 0;
  }

  .mailing-inner h2 {
    font-size: 24px;
  }

  .coming-soon-info h2 {
    font-size: 28px;
  }

  .coming-soon-info p {
    font-size: 16px;
  }

  .blog-section {
    padding-top: 24px;
  }

  .blog-title {
    font-size: 36px;
    margin-bottom: 20px;
  }

  .posts-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .post-card h2 {
    font-size: 20px;
  }

  .post-card-body {
    padding: 18px 20px;
  }

  .blog-photo-wide {
    width: 100% !important;
    margin-left: 0 !important;
    max-width: 100% !important;
  }

  .blog-photo-right,
  .blog-photo-left {
    float: none;
    width: 100%;
    margin: 20px 0;
    aspect-ratio: 16 / 9;
  }

  .blog-photo-pair {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .unit-hero > img {
    height: 66vh;
  }

  .unit-hero-overlay {
    padding-top: 40px;
  }

  .unit-hero-overlay h1 {
    font-size: clamp(34px, 10vw, 60px);
  }

  .unit-hero-overlay p {
    font-size: clamp(18px, 4.4vw, 26px);
  }

  .unit-intro h2,
  .unit-details h2,
  .unit-map h2,
  .unit-book h2,
  .unit-story h2 {
    font-size: 28px;
  }

  .unit-intro p,
  .unit-book p,
  .unit-story p {
    font-size: 16px;
  }

  .specs-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 20px;
  }

  .unit-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .unit-map iframe {
    height: 280px;
  }

  .insta-slide {
    flex: 0 0 170px;
    width: 170px;
    height: 170px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-info {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
  }

  .footer-inner {
    padding: 38px 0;
  }

  .footer-contact h3,
  .footer-social h3 {
    font-size: 20px;
  }

  .subscribe-form {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .subscribe-form input,
  .subscribe-form button {
    font-size: 15px;
    height: 44px;
  }

  .copyright {
    font-size: 16px;
  }
}

@media (max-width: 580px) {
  .post-card {
    grid-template-columns: 1fr;
  }

  .post-card-thumb img {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  /* ── Mobile Header ── */
  .topbar-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0;
    padding: 12px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 18px 0 22px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  [data-page="stay"] .main-nav {
    background: rgba(20, 20, 20, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.15);
  }

  .main-nav.nav-open {
    display: flex;
  }

  .main-nav a {
    font-size: 12px;
    letter-spacing: 0.18em;
    padding: 12px 20px;
    width: 100%;
    text-align: center;
  }

  .nav-book-link {
    display: block;
    margin-top: 8px;
    padding: 12px 28px;
    border: 1.5px solid var(--ink);
    font-weight: 600;
    width: auto;
  }

  [data-page="stay"] .nav-book-link {
    border-color: #fff;
  }

  .header-actions {
    display: none;
  }

  .logo svg {
    height: 36px;
  }

  .insta-slide {
    flex: 0 0 150px;
    width: 150px;
    height: 150px;
  }

  .insta-arrow {
    width: 34px;
    height: 34px;
    font-size: 16px;
    margin: 0 4px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .unit-gallery {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .gallery-tile {
    aspect-ratio: 4 / 3;
  }

  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

  .coming-soon-badge {
    font-size: 9px;
    padding: 6px 16px;
  }

  .social-links {
    gap: 14px;
  }
}

/* ── Festival Badge (Town page – Hay Glamping) ── */

.stay-card--festival::after {
  background: linear-gradient(rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.50));
}

.festival-badge {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 22px;
  border: 1.5px solid #fff;
  background: rgba(0, 0, 0, 0.25);
  font-family: var(--body-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: none;
}

/* ── Blog Post Detail ── */

.blog-post {
  max-width: var(--content);
  padding: 24px 0 40px;
}

.blog-back {
  display: inline-block;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 12px 0;
  margin-bottom: 8px;
  color: var(--accent);
}

.blog-post-hero {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display: block;
}

.blog-post-title {
  margin: 32px 0 24px;
  font-family: var(--heading-font);
  font-size: clamp(26px, 3vw, 44px);
  font-weight: var(--heading-weight);
  letter-spacing: -0.01em;
  text-align: center;
}

.blog-post-body {
  max-width: 780px;
  margin: 0 auto;
}

.blog-post-body h2 {
  margin: 36px 0 14px;
  font-family: var(--heading-font);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: var(--heading-weight);
  letter-spacing: -0.01em;
}

.blog-post-body h3 {
  margin: 28px 0 10px;
  font-family: var(--heading-font);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: var(--heading-weight);
  letter-spacing: -0.01em;
}

.blog-post-body p {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.7;
}

.blog-post-body strong {
  font-weight: 600;
}

.blog-post-cta {
  display: inline-block;
  margin: 32px auto 0;
  text-align: center;
}

.blog-post-body + .blog-post-cta {
  display: block;
  width: fit-content;
  margin-inline: auto;
}

/* ── Blog Post Inline Photos ── */

.blog-photo {
  width: 100%;
  display: block;
  margin: 28px 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0;
}

.blog-photo-pair img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.blog-photo-right {
  float: right;
  width: 44%;
  margin: 6px 0 18px 28px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.blog-photo-left {
  float: left;
  width: 44%;
  margin: 6px 28px 18px 0;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.blog-photo-wide {
  width: calc(100% + 100px);
  margin-left: -50px;
  display: block;
  margin-top: 32px;
  margin-bottom: 32px;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.blog-post-body::after {
  content: '';
  display: table;
  clear: both;
}

.blog-post-body h2 {
  clear: both;
}

@media (max-width: 980px) {
  .blog-post-title {
    font-size: 28px;
  }

  .blog-post-body p {
    font-size: 16px;
  }

  .blog-post-body h2 {
    font-size: 22px;
  }

  .festival-badge {
    font-size: 9px;
    padding: 6px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
