/* The Old Stone House Guesthouse. Palette is drawn from the logo's
   parchment ground and blush-white lettering. */
:root {
  --ivory: #f8f4ea;
  --parchment: #ece3cd;
  --stone: #d8cdb0;
  --line: #cbbf9f;
  --bark: #2f2b21;
  --muted: #595241;
  --moss: #4a5538;
  --moss-dark: #394229;
  --clay: #7a5f3c;
  --slate: #5b6660;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 72rem;
  --head-h: 4.25rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 1rem); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 1.0625rem/1.65 var(--sans); color: var(--bark); background: var(--ivory); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--moss-dark); text-underline-offset: .2em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; max-width: 62ch; }
ul { margin: 0; padding: 0; list-style: none; }
.muted { color: var(--muted); font-size: .95rem; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.skip { position: absolute; left: .5rem; top: -4rem; background: var(--moss); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { top: .5rem; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.9rem; padding: .6rem 1.35rem; font: 600 .98rem/1.2 var(--sans); text-decoration: none; text-align: center; border: 1.5px solid var(--moss); border-radius: 3px; cursor: pointer; transition: background-color .15s, color .15s; }
.btn-primary { background: var(--moss); color: #fff; }
.btn-primary:hover { background: var(--moss-dark); }
.btn-outline { background: transparent; color: var(--moss-dark); }
.btn-outline:hover { background: var(--parchment); }
.btn-light { background: var(--ivory); color: var(--moss-dark); border-color: var(--ivory); }
.btn-text { background: none; border-color: transparent; color: var(--moss-dark); text-decoration: underline; padding-inline: .5rem; }
.btn.is-off, .btn[aria-disabled="true"] { background: transparent; color: var(--muted); border: 1.5px dashed var(--line); cursor: not-allowed; }
.ico { width: 1.15rem; height: 1.15rem; fill: currentColor; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1.4rem; }
.actions.stack { margin-top: 1.4rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ivory); border-bottom: 1px solid var(--line); }
.bar { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; min-height: var(--head-h); display: flex; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--bark); margin-right: auto; }
.brand img { width: 3.25rem; height: 3.25rem; }
.brand span { font: 500 1.15rem/1.15 var(--serif); }
.brand small { display: block; font: .8rem/1.3 var(--sans); color: var(--muted); }
.menu-btn { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; background: none; border: 1.5px solid var(--moss); border-radius: 3px; color: var(--moss-dark); cursor: pointer; }
.i-close, .nav-open .i-open { display: none; }
.nav-open .i-close { display: block; }
.head-book { min-height: 2.5rem; padding: .4rem 1rem; }
#site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--ivory); border-bottom: 1px solid var(--line); display: none; padding: .5rem 1.25rem 1.25rem; }
.nav-open #site-nav { display: block; }
#site-nav a:not(.btn) { display: block; padding: .8rem 0; color: var(--bark); text-decoration: none; border-bottom: 1px solid var(--parchment); }
#site-nav a:not(.btn):hover { color: var(--moss); text-decoration: underline; }
.nav-book { display: none; }
@media (max-width: 30rem) { .head-book { display: none; } .nav-book { display: block; padding-top: 1rem; } }
@media (min-width: 62em) {
  .menu-btn { display: none; }
  #site-nav { position: static; display: block; border: 0; padding: 0; background: none; }
  #site-nav ul { display: flex; gap: 1.4rem; }
  #site-nav a:not(.btn) { padding: .4rem 0; border: 0; font-size: .95rem; }
  .brand { margin-right: auto; }
}

/* Photos and placeholders */
.photo { position: relative; background: var(--stone); overflow: hidden; aspect-ratio: 4 / 3; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.ph { position: absolute; inset: 0; display: grid; place-items: center; background: var(--stone); border: 1px dashed var(--clay); color: #4e4735; font-size: .95rem; text-align: center; padding: 1rem; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.tint { background: var(--parchment); }
.head { margin-bottom: 2.5rem; }
.head p { color: var(--muted); }
.split { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 52em) { .split { grid-template-columns: 5fr 7fr; } }
.prose p:last-child { margin-bottom: 0; }
.sub { font-size: 1.25rem; margin: 2.5rem 0 1rem; }
.note { margin-top: 2.5rem; color: var(--muted); font-size: .95rem; border-top: 1px solid var(--line); padding-top: 1rem; }

/* Hero: full-bleed photo slider under a flat tint, logo as the centrepiece */
.hero { position: relative; isolation: isolate; min-height: min(90vh, 48rem); display: grid; align-items: center; background: var(--moss-dark); color: #f6f1e2; text-align: center; padding: 3.5rem 0 5.5rem; overflow: hidden; }
.slides, .hero-tint { position: absolute; inset: 0; z-index: -1; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-tint { z-index: 0; background: rgba(28, 32, 20, .6); }
.hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.hero h1 { margin: 0 0 1rem; line-height: 0; }
.hero h1 img { width: min(72vw, 22rem); height: auto; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .35)); }
.hero p { max-width: 40rem; font-size: 1.1rem; }
.hero .tagline { font: italic 1.6rem/1.35 var(--serif); color: #fff; margin-bottom: 1rem; }
.hero .actions { justify-content: center; }
.btn-ghost { background: transparent; color: #fff; border-color: #f6f1e2; }
.btn-ghost:hover { background: rgba(255, 255, 255, .15); }
.hero :focus-visible, .hero-controls :focus-visible { outline-color: #fff; }
.hero-controls { position: absolute; z-index: 2; bottom: 1.25rem; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; }
.hero-controls[hidden] { display: none; }
.hero-controls button { width: 2.9rem; height: 2.9rem; display: grid; place-items: center; background: rgba(28, 32, 20, .6); color: #fff; border: 1.5px solid #f6f1e2; border-radius: 3px; cursor: pointer; }
.hero-controls button:hover { background: rgba(28, 32, 20, .85); }
.hero-controls svg { width: 1.3rem; height: 1.3rem; }
.i-play, #hero-pause[aria-pressed="true"] .i-pause { display: none; }
#hero-pause[aria-pressed="true"] .i-play { display: block; }
@media (min-width: 52em) { .hero h1 img { width: 26rem; } .hero .tagline { font-size: 1.9rem; } }

/* Accommodation: alternating editorial rows, each with its own tone */
.unit { display: grid; gap: 1.5rem; padding: 2.5rem 0; border-top: 1px solid var(--line); }
.unit:first-child { border-top: 0; padding-top: 0; }
.unit-body { border-left: 4px solid var(--tone, var(--moss)); padding-left: 1.4rem; align-self: center; }
.unit--moss { --tone: var(--moss); } .unit--clay { --tone: var(--clay); } .unit--slate { --tone: var(--slate); }
.rate { font-size: 1.15rem; margin-bottom: .8rem; }
.rate strong { font: 500 1.7rem var(--serif); }
.rate .muted { margin-left: .4rem; }
.ticks li { position: relative; padding-left: 1.4rem; margin-bottom: .35rem; max-width: 52ch; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .6em; width: .7rem; height: 2px; background: var(--tone, var(--moss)); }
.details { margin-top: 1rem; padding: 1rem 1.2rem; background: var(--ivory); border: 1px solid var(--line); font-size: .97rem; }
.details p:last-child { margin: 0; }
@media (min-width: 52em) {
  .unit { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .unit.flip .photo { order: 2; }
  .unit .photo { aspect-ratio: 5 / 4; }
}

/* Booking platforms */
.platforms { display: flex; flex-wrap: wrap; gap: .75rem; }
.platform-note { flex-basis: 100%; margin: .25rem 0 0; }

/* Facilities */
.fac-grid { display: grid; gap: 2.5rem; }
.fac-photos { display: grid; gap: 1rem; align-content: start; }
.fac-list div { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.fac-list div:first-child { border-top: 0; padding-top: 0; }
.fac-list dt { font: 500 1.25rem/1.3 var(--serif); }
.fac-list dd { margin: .25rem 0 0; color: var(--muted); max-width: 56ch; }
@media (min-width: 52em) { .fac-grid { grid-template-columns: 5fr 6fr; gap: 4rem; } }

/* Day use */
.hours { font: 500 clamp(2rem, 5vw, 3rem)/1.1 var(--serif); color: var(--moss-dark); margin-bottom: .4rem; }

/* Team */
.team { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); max-width: 54rem; }
.person { margin: 0; }
.person .photo { aspect-ratio: 4 / 5; margin-bottom: .9rem; }
.person figcaption strong { display: block; font: 500 1.25rem/1.3 var(--serif); }
.person figcaption span { color: var(--muted); font-size: .95rem; }

/* Reviews */
.reviews { display: grid; gap: 2.5rem; }
.review { margin: 0; border-top: 2px solid var(--line); padding-top: 1.25rem; }
.stars { display: flex; gap: .2rem; margin-bottom: .75rem; }
.stars svg { width: 1.2rem; height: 1.2rem; fill: var(--clay); }
.review h3 { font-size: 1.2rem; line-height: 1.35; }
.review blockquote { margin: 0 0 1rem; }
.review blockquote p { max-width: none; color: var(--muted); }
.review figcaption { font-weight: 600; }
@media (min-width: 52em) { .reviews { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

/* Gallery */
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.tab { min-height: 2.75rem; padding: .5rem 1rem; font: 600 .95rem var(--sans); background: transparent; color: var(--moss-dark); border: 1.5px solid var(--line); border-radius: 3px; cursor: pointer; }
.tab[aria-pressed="true"] { background: var(--moss); color: #fff; border-color: var(--moss); }
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.tile { position: relative; aspect-ratio: 4 / 3; padding: 0; border: 0; background: var(--stone); cursor: zoom-in; overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
div.tile { cursor: default; }

/* Lightbox */
#lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
#lightbox::backdrop { background: rgba(30, 27, 20, .92); }
#lightbox figure { margin: 0; height: 100%; display: grid; grid-template-rows: 1fr auto; padding: 4.5rem 1rem 1rem; gap: .75rem; }
#lightbox img { max-width: 100%; max-height: 100%; margin: auto; object-fit: contain; }
#lightbox figcaption { color: #f3eedd; text-align: center; }
.lb-btn { position: absolute; width: 3rem; height: 3rem; font-size: 2rem; line-height: 1; background: var(--ivory); color: var(--bark); border: 0; border-radius: 3px; cursor: pointer; }
.lb-close { top: 1rem; right: 1rem; } .lb-prev { left: 1rem; top: 50%; } .lb-next { right: 1rem; top: 50%; }

/* Contact */
.contact-grid { display: grid; gap: 2.5rem; }
address { font-style: normal; margin-bottom: 1.25rem; }
.contact-list li { display: flex; align-items: center; gap: .7rem; padding: .4rem 0; }
.contact-list a { padding: .2rem 0; }
.map iframe { width: 100%; height: 100%; min-height: 20rem; border: 1px solid var(--line); }
@media (min-width: 52em) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* Footer */
.site-footer { background: var(--moss-dark); color: #efe9d6; padding-top: 3.5rem; }
.site-footer a { color: #efe9d6; }
.site-footer .btn-light { color: var(--moss-dark); }
.site-footer .brand { margin-bottom: 1rem; }
.site-footer .brand small { color: #d6cfb8; }
.foot-grid { display: grid; gap: 2rem; }
.foot-grid li { padding: .2rem 0; }
.social { display: flex; gap: .75rem; margin-top: 1.25rem; }
.social a { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border: 1.5px solid #efe9d6; border-radius: 50%; }
.social svg { width: 1.3rem; height: 1.3rem; fill: currentColor; }
.social a[aria-disabled="true"] { opacity: .5; border-style: dashed; cursor: not-allowed; }
.copy { max-width: none; margin: 3rem 0 0; padding: 1.25rem; text-align: center; font-size: .9rem; border-top: 1px solid rgba(239, 233, 214, .25); }
@media (min-width: 52em) { .foot-grid { grid-template-columns: 2fr 1fr 1.5fr; } }
.hru-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 52px;
  height: 52px;
  border-radius: 2px;
  background: #25A75A;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}