/* Bumblebee Barn — palette taken from the photos:
   sage-blue kitchen, oak floors, honey cushions, warm limewash walls. */
:root {
  /* Mirror Wings brand palette */
  --limestone: #FBF7EE;   /* page background */
  --hive: #22201C;        /* Hive Black: text, footer */
  --honey: #E9A820;       /* Honey: buttons, bee body */
  --wing: #FFF1C7;        /* Wing: soft highlights */
  --hedgerow: #5E7461;    /* Hedgerow Sage: feature bands */

  --paper: var(--limestone);
  --paper-2: #F3EDDF;
  --ink: var(--hive);
  --ink-soft: #5F5B53;
  --honey-ink: #8A5E00;   /* honey dark enough for small text on Limestone */
  --sage: var(--hedgerow);
  --sage-deep: #4A5D4D;
  --honey-soft: var(--wing);
  --oak: var(--honey-ink);
  --line: #DEDAD0;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sage-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
.eyebrow { font: 600 .76rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--oak); margin: 0 0 1rem; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 40em; }
.wrap { width: min(var(--wrap), 100% - 3rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 3rem); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section--tint { background: var(--paper-2); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Placeholder for facts only the owners can supply */
.tbc { background: var(--honey-soft); color: var(--ink); border-bottom: 1px dashed var(--oak); padding: 0 .25em; font-style: normal; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  font: 600 .95rem/1 var(--sans); letter-spacing: .02em; text-decoration: none;
  padding: .95rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn--honey { background: var(--honey); color: var(--hive); }
.btn--honey:hover { background: #F2B93A; color: var(--hive); transform: translateY(-1px); }
.btn--ghost { border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: inherit; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--sage-deep); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 236, .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 2rem; height: 76px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: inherit; margin-right: auto; }
.brand img { width: 44px; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; gap: .3rem; }
.brand__name { font: 600 1.4rem/1 var(--serif); letter-spacing: -.01em; }
.brand__place { font: 600 .58rem/1 var(--sans); letter-spacing: .36em; text-transform: uppercase; opacity: .75; }
.brand .mark-dark { display: none; }
.has-hero .site-header:not(.is-solid) .mark-light { display: none; }
.has-hero .site-header:not(.is-solid) .mark-dark { display: block; }
.nav { display: flex; gap: 1.75rem; }
.nav a { color: inherit; text-decoration: none; font-size: .95rem; font-weight: 500; padding: .3rem 0; border-bottom: 1.5px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--honey); }
.site-header .btn { padding: .75rem 1.25rem; }
.menu-toggle { display: none; background: none; border: 0; padding: .5rem; color: inherit; cursor: pointer; }

/* Transparent header over the full-screen hero */
.has-hero .site-header { position: fixed; inset: 0 0 auto; background: transparent; border-color: transparent; color: #fff; backdrop-filter: none; transition: background .3s, color .3s, border-color .3s; }
.has-hero .site-header.is-solid { background: rgba(247, 243, 236, .95); color: var(--ink); border-color: var(--line); backdrop-filter: blur(10px); }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 76px 0 auto; flex-direction: column; gap: 0; background: var(--paper); color: var(--ink); padding: .5rem 1.5rem 1.5rem; border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .site-header .wrap { gap: 1rem; }
  .site-header .btn { padding: .65rem 1rem; font-size: .88rem; }
}

/* ---------- Home hero (full-bleed) ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; color: #fff; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,18,18,.45) 0%, rgba(10,18,18,0) 22%, rgba(10,18,18,0) 40%, rgba(10,18,18,.72) 100%); }
.hero__content { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(2.5rem, 7vh, 5rem); }
.hero h1 { max-width: 13em; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero .eyebrow { color: var(--wing); }
.hero__sub { font-size: 1.15rem; max-width: 34em; opacity: .95; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 1.75rem; }
.hero__price { font-size: .95rem; margin-left: .5rem; opacity: .95; }
.hero__price strong { font: 600 1.3rem var(--serif); }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 1.2rem; translate: -50% 0; color: #fff; opacity: .75; }
.scroll-cue svg { width: 22px; height: 22px; animation: nudge 2.4s infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue svg { animation: none; } }

/* ---------- Intro + key facts ---------- */
.intro { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.facts li span:first-child { color: var(--ink-soft); }
.facts li span:last-child { font-weight: 600; text-align: right; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

/* ---------- Full-bleed fading slideshow ---------- */
.fader { position: relative; height: 92vh; height: 92svh; min-height: 480px; background: #111; overflow: hidden; color: #fff; }
.fader__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s ease-in-out; }
.fader__slide.is-active { opacity: 1; }
.fader__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s ease-out; }
.fader__slide.is-active img { transform: scale(1); }
.fader__slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 4rem 0 1.6rem; background: linear-gradient(0deg, rgba(10,18,18,.6), rgba(10,18,18,0)); font-size: .95rem; }
.fader__head { position: absolute; z-index: 3; top: clamp(1.5rem, 5vh, 3rem); left: 0; right: 0; pointer-events: none; }
.fader__head .eyebrow { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.4); margin: 0; }
.fader__controls { position: absolute; z-index: 3; right: max(1.5rem, (100% - var(--wrap)) / 2); bottom: 1.3rem; display: flex; align-items: center; gap: .5rem; }
.fader__controls button { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); background: rgba(0,0,0,.2); color: #fff; cursor: pointer; display: grid; place-items: center; }
.fader__controls button:hover { background: rgba(255,255,255,.18); }
.fader__controls svg { width: 16px; height: 16px; }
.fader__count { font-size: .85rem; min-width: 4.2em; text-align: center; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  .fader__slide, .fader__slide img { transition: none; }
  .fader__slide img { transform: none; }
}
@media (max-width: 640px) { .fader { height: 70svh; } .fader__slide figcaption { padding-right: 9rem; } }

/* ---------- Book direct band ---------- */
.book-band { background: var(--hedgerow); color: #fff; }
.book-band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.book-band h2 { color: #fff; }
.book-band .price { font: 400 1.15rem var(--sans); opacity: .95; }
.book-band .price strong { font: 600 2.4rem/1 var(--serif); color: var(--wing); }
.promises { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.promises li { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.2rem; background: rgba(255,255,255,.07); border-radius: var(--radius); }
.promises svg { flex: none; width: 22px; height: 22px; color: var(--wing); margin-top: .15rem; }
.promises strong { display: block; }
.promises span { opacity: .85; font-size: .95rem; }
.book-band .tbc { color: var(--ink); }
@media (max-width: 860px) { .book-band .wrap { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.section-head p { margin: 0; max-width: 36em; color: var(--ink-soft); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(34,48,47,.45); color: inherit; }
.card__img { aspect-ratio: 3 / 2; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card__body p { color: var(--ink-soft); font-size: .97rem; margin-bottom: 1rem; }
.card__meta { font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--oak); margin-bottom: .5rem; }
.card__more { margin-top: auto; font-weight: 600; font-size: .92rem; color: var(--sage-deep); }
.card--cat { background: var(--hedgerow); color: #fff; border: 0; }
.card--cat .card__body p { color: rgba(255,255,255,.82); }
.card--cat .card__more, .card--cat .card__meta { color: var(--wing); }
.card--cat:hover { color: #fff; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Hosts ---------- */
.hosts { display: grid; grid-template-columns: 220px 1fr; gap: 3rem; align-items: center; }
.hosts__photo { aspect-ratio: 1; border-radius: 50%; background: var(--paper-2); border: 1.5px dashed var(--oak); display: grid; place-items: center; text-align: center; font-size: .85rem; color: var(--ink-soft); padding: 1.5rem; }
@media (max-width: 700px) { .hosts { grid-template-columns: 1fr; } .hosts__photo { width: 180px; } }

/* ---------- Inner-page header ---------- */
.page-head { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); }
.page-head--image { position: relative; color: #fff; border: 0; padding: 0; height: 62vh; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; }
.page-head--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-head--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,18,18,.62), rgba(10,18,18,0) 60%); }
.page-head--image .wrap { position: relative; z-index: 2; padding-bottom: 3rem; }
.page-head--image .eyebrow { color: var(--honey-soft); }
.crumbs { font-size: .88rem; margin-bottom: 1.25rem; color: var(--ink-soft); }
.crumbs a { color: inherit; }
.crumbs span { margin: 0 .4rem; opacity: .6; }

/* ---------- Gallery (The Barn) ---------- */
.gallery { columns: 3 320px; column-gap: 1rem; }
.gallery figure { margin: 0 0 1rem; break-inside: avoid; }
.gallery button { all: unset; cursor: zoom-in; display: block; width: 100%; }
.gallery button:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; }
.gallery img { width: 100%; height: auto; border-radius: var(--radius); }
.gallery figcaption { font-size: .88rem; color: var(--ink-soft); padding: .5rem .1rem 0; }
.rooms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.rooms div { border-top: 2px solid var(--honey); padding-top: 1rem; }
.rooms h3 { font-size: 1.2rem; }
.rooms p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
@media (max-width: 860px) { .rooms { grid-template-columns: 1fr 1fr; } }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12,16,16,.94); display: none; place-items: center; padding: 3rem 4.5rem; }
.lightbox.is-open { display: grid; }
.lightbox img { max-height: 84vh; width: auto; border-radius: 2px; }
.lightbox p { color: #fff; text-align: center; margin: 1rem 0 0; font-size: .95rem; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; padding: .8rem; }
.lightbox svg { width: 28px; height: 28px; }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: .75rem; top: 50%; translate: 0 -50%; }
.lightbox .lb-next { right: .75rem; top: 50%; translate: 0 -50%; }

/* ---------- Area guide ---------- */
.guide-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.guide-item { display: grid; grid-template-columns: 4rem 1fr auto; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.guide-item__num { font: 800 2.2rem/1 var(--serif); color: var(--honey-ink); }
.guide-item h2, .guide-item h3 { font-size: 1.55rem; margin-bottom: .3rem; }
.guide-item h3 a { color: inherit; text-decoration: none; }
.guide-item h3 a:hover { text-decoration: underline; text-decoration-color: var(--honey); }
.guide-item p { color: var(--ink-soft); margin: .4rem 0 0; }
.meta { font-size: .85rem; font-weight: 600; color: var(--oak); letter-spacing: .03em; }
.rating { display: inline-block; margin-top: .6rem; font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 700px) { .guide-item { grid-template-columns: 2.6rem 1fr; } .guide-item > .btn { grid-column: 2; justify-self: start; } }

.note { border-left: 3px solid var(--honey); background: #fff; padding: 1rem 1.25rem; font-size: .95rem; color: var(--ink-soft); border-radius: 0 var(--radius) var(--radius) 0; }
.prose { font-size: 1.12rem; }
.prose p:first-of-type { font-size: 1.28rem; color: var(--ink); }
.topic-facts { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin: 1.5rem 0 2rem; padding: 1rem 0; border-block: 1px solid var(--line); font-size: .95rem; }
.topic-facts b { color: var(--oak); font-weight: 600; margin-right: .35rem; }
.also { columns: 2 260px; padding-left: 1.2rem; }

/* CTA strip */
.cta-strip { background: var(--honey-soft); }
.cta-strip .wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding: 2.75rem 0; }
.cta-strip h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; }
.cta-strip p { margin: .3rem 0 0; color: var(--ink-soft); }

/* ---------- Booking page ---------- */
.booking-slot { border: 2px dashed var(--oak); border-radius: 8px; background: #fff; padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.booking-slot h2 { font-size: 1.6rem; }
.booking-slot p { color: var(--ink-soft); max-width: 36em; margin-inline: auto; }
.mock-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; max-width: 360px; margin: 1.5rem auto; opacity: .45; }
.mock-cal span { aspect-ratio: 1; background: var(--paper-2); border-radius: 3px; }
.mock-cal span:nth-child(5n+3) { background: var(--honey-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--hive); color: rgba(255,255,255,.82); padding: 4rem 0 2rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer h2 { font: 600 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--honey); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.footer-brand { color: var(--limestone); margin-bottom: 1.2rem; }
.footer-brand img { width: 52px; height: 52px; }
.footer-brand .brand__name { font-size: 1.6rem; }
.footer-base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .85rem; opacity: .7; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Good to know (from content/about-the-barn.md) */
.glance { list-style: none; padding: 0; margin: 1.5rem 0 2.5rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.glance li { background: var(--wing); border: 1px solid #EBD89F; border-radius: 999px; padding: .55rem 1.1rem; font-weight: 600; font-size: .95rem; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 4rem; max-width: 860px; }
.features h3 { font-size: 1.25rem; padding-bottom: .6rem; border-bottom: 2px solid var(--honey); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.ticks li { display: flex; gap: .65rem; align-items: flex-start; }
.ticks svg { flex: none; width: 18px; height: 18px; margin-top: .3rem; color: var(--hedgerow); }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }

/* Photo credit on favourite cards (required by CC licences) */
.card__img { position: relative; }
.card__credit { position: absolute; right: 0; bottom: 0; max-width: 100%; padding: .25rem .5rem; font-size: .68rem; line-height: 1.3; color: #fff; background: rgba(34,32,28,.62); border-top-left-radius: 4px; }
.credits { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.credits li { padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.credits strong { color: var(--ink); font-weight: 600; }
