/* Layout concept: the logo's world. Cream ground, sage and tan arches framing the photos, soft charcoal lettering; fingerpost signs for distances. */
:root {
  --bg: #f2ece0;          /* logo cream */
  --surface: #faf6ee;
  --ink: #3f413c;         /* logo lettering, deepened for body text */
  --muted: #66675e;
  --line: #ddd4c3;
  --moss: #5a654f;        /* deep sage for labels */
  --sage: #9aa189;        /* logo outer arch */
  --tan: #d6c2a3;         /* logo door and inner arch */
  --accent: #56614b;      /* deep sage for buttons and links */
  --accent-ink: #f7f2e8;
  --band: #474f3e;        /* deep sage band */
  --band-ink: #f2ece0;
  --gold: #d6c2a3;        /* tan on the band */
  --gold-ink: #3f413c;
  --sign: #faf6ee;
  --sign-ink: #4f514c;
  --photo-a: #e6dccb;
  --photo-b: #dccfb9;
  --plate: #e8e0cf;       /* footer: a shade deeper than the page */
  --pewter: #5c5d55;
  --logo-ink: #4f514c;
  --todo-bg: #fff1b8;
  --todo-ink: #5a4500;
  --f-display: "Marcellus", "Optima", "Candara", "Georgia", serif;
  --f-body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 72rem;
  --radius: 4px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #22251f; --surface: #2a2e26; --ink: #efe9dc; --muted: #b5b6a8; --line: #3a3f35;
    --moss: #b7bf9f; --sage: #9aa189; --tan: #d6c2a3; --accent: #b7bf9f; --accent-ink: #22251f;
    --band: #2f3529; --band-ink: #efe9dc; --gold: #d6c2a3; --gold-ink: #22251f;
    --sign: #efe9dc; --sign-ink: #22251f; --photo-a: #2c3027; --photo-b: #343a2e;
    --plate: #1b1e18; --pewter: #c9cbc0; --logo-ink: #efe9dc; --todo-bg: #4a3d00; --todo-ink: #ffe78a; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #22251f; --surface: #2a2e26; --ink: #efe9dc; --muted: #b5b6a8; --line: #3a3f35;
  --moss: #b7bf9f; --sage: #9aa189; --tan: #d6c2a3; --accent: #b7bf9f; --accent-ink: #22251f;
  --band: #2f3529; --band-ink: #efe9dc; --gold: #d6c2a3; --gold-ink: #22251f;
  --sign: #efe9dc; --sign-ink: #22251f; --photo-a: #2c3027; --photo-b: #343a2e;
  --plate: #1b1e18; --pewter: #c9cbc0; --logo-ink: #efe9dc; --todo-bg: #4a3d00; --todo-ink: #ffe78a; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.1; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.4rem; }
p { margin: 0; max-width: 65ch; }
.wrap {
  max-width: var(--wrap); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.eyebrow { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--moss); }
.lede { font-size: 1.2rem; color: var(--muted); }
.todo { background: var(--todo-bg); color: var(--todo-ink); padding: 0 .3em; border-radius: 2px; font-family: var(--f-mono); font-size: .9em; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: var(--bg); border-bottom: 2px solid var(--sage); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; padding-block: .8rem; }
.brand { display: flex; align-items: center; gap: .7rem; font-family: var(--f-display); font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; margin-right: auto; white-space: nowrap; line-height: 1.2; }
.brand .mark { height: 2.9rem; width: auto; flex: none; }
.brand small { display: block; margin-top: .15rem; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 1.4rem; align-items: center; }
.nav a { text-decoration: none; font-size: .95rem; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: var(--radius); padding: .4rem .7rem; font: inherit; font-size: .9rem; cursor: pointer; }
@media (max-width: 820px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: .5rem 1rem; }
  .nav.open { display: flex; }
  .nav a { padding-block: .7rem; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: .8rem; text-align: center; }
}

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 600;
  padding: .75rem 1.3rem; border-radius: var(--radius); border: 2px solid var(--accent); line-height: 1.2; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.nav .btn { color: var(--accent-ink); font-size: .9rem; padding: .55rem 1rem; }

/* Sections */
section { padding-block: clamp(3rem, 7vw, 5.5rem); }
section + section { border-top: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: 1.1rem; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.hero .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .6rem; }

/* Photo slots (replace with real <img>) */
.photo { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, var(--photo-a) 0 14px, var(--photo-b) 14px 28px); overflow: hidden; }
.photo.tall { aspect-ratio: 4 / 5; }
.photo.arch { border-radius: 50% 50% var(--radius) var(--radius) / 38% 38% var(--radius) var(--radius);
  box-shadow: 0 0 0 5px var(--tan), 0 0 0 13px var(--bg), 0 0 0 17px var(--sage); margin: 17px; }
.photo.wide { aspect-ratio: 16 / 9; }
.photo span { position: absolute; left: .7rem; bottom: .7rem; background: var(--surface); color: var(--muted); font-family: var(--f-mono); font-size: .72rem; padding: .25rem .5rem; border-radius: 2px; }
.photo { margin: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; left: .7rem; bottom: .7rem; right: .7rem; width: fit-content; background: var(--surface); color: var(--ink); font-size: .82rem; padding: .3rem .6rem; border-radius: 2px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery > * { min-width: 0; }
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
.meta { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); }

/* Fingerposts: the signature motif */
.posts { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 0; list-style: none; }
.post { display: inline-flex; align-items: center; gap: .7rem; background: var(--sign); color: var(--sign-ink); border: 2px solid var(--sign-ink);
  font-family: var(--f-body); font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .35rem .5rem .35rem .8rem; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%); padding-right: 1.4rem; }
.post b { font-family: var(--f-mono); font-weight: 500; letter-spacing: 0; text-transform: none; }

/* Facts list */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0; border-top: 1px solid var(--line); margin: 0; padding: 0; list-style: none; }
.facts li { padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; }
.facts span { color: var(--muted); font-size: .95rem; }

/* Rooms */
.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.room-grid > * { min-width: 0; }
@media (max-width: 820px) { .room-grid { grid-template-columns: 1fr; } }
.room-card { display: flex; flex-direction: column; gap: .8rem; }
.room-card .meta { font-family: var(--f-mono); font-size: .8rem; color: var(--muted); }

/* Booking band */
.band { background: var(--band); color: var(--band-ink); }
.band .eyebrow { color: var(--gold); }
.band .btn { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.band .lede { color: var(--band-ink); opacity: .85; }
.band .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }

.calendar-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(.75rem, 2vw, 1.5rem); min-height: 12rem; overflow-x: auto; }
.fallback { font-size: .95rem; color: var(--muted); }

/* Prose pages */
.prose { display: flex; flex-direction: column; gap: 1rem; max-width: 46rem; }
.prose h2 { margin-top: 1.6rem; font-size: 1.8rem; }
.prose h3 { margin-top: .8rem; }
.prose ul { margin: 0; padding-left: 1.2rem; max-width: 65ch; }
.prose li + li { margin-top: .35rem; }

details { border-bottom: 1px solid var(--line); padding-block: 1rem; max-width: 46rem; }
details summary { cursor: pointer; font-family: var(--f-display); font-size: 1.25rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details summary::after { content: "+"; font-family: var(--f-mono); color: var(--accent); }
details[open] summary::after { content: "–"; }
details p { margin-top: .6rem; color: var(--muted); }

dl.contact { display: grid; grid-template-columns: max-content 1fr; gap: .6rem 1.5rem; margin: 0; }
dl.contact dt { font-family: var(--f-mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-top: .2rem; }
dl.contact dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--plate); border-top: 1px solid var(--line); padding-block: 3rem; font-size: .92rem; color: var(--pewter); }
.site-footer .logo { width: 11rem; height: auto; margin-bottom: .6rem; }
.logo .logo-text, .mark .logo-text { fill: var(--logo-ink); }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.site-footer .wrap > * { min-width: 0; }
.site-footer a { color: var(--ink); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .3rem; }
@media (max-width: 700px) { .site-footer .wrap { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Things to do */
.things { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem 1.5rem; }
.things > * { min-width: 0; }
@media (max-width: 900px) { .things { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .things { grid-template-columns: 1fr; } }
.thing { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; padding-top: 1rem; border-top: 2px solid var(--sage); }
.thing p { color: var(--muted); font-size: .98rem; }

/* Stay guide tags */
.g-tag { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding: .1rem .5rem; border-radius: 3px; border: 1px solid var(--tan); color: var(--muted); }
.g-tag.ours { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
