/* Public Sans (SIL Open Font License), self-hosted variable font, latin subset */
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/public-sans-latin.woff2") format("woff2");
}
:root {
  --cream: #fffced;
  --slate: #648193;
  --slate-dark: #4d6676;
  --navy: #304254;
  --olive: #506425;
  --brown: #452920;
  --ink: #2a2a28;
  --line: rgba(0, 0, 0, .55);
  --radius: 6px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 300 1.0625rem/1.65 "Public Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { font-weight: 300; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.h3 { font-size: 1.3rem; font-weight: 400; margin-top: 1.6em; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 99; }
.center { text-align: center; margin-top: 2rem; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 252, 237, .96); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 16px; }
.brand { font-size: 1.25rem; font-weight: 400; text-decoration: none; color: var(--navy); letter-spacing: -.01em; }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: .95rem; }
.site-nav a { text-decoration: none; color: #6b6b66; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); }
.site-nav a[aria-current] { font-weight: 400; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 12px; font: inherit; color: var(--ink); cursor: pointer; }
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border-bottom: 1px solid rgba(0,0,0,.1); padding: 8px 16px 16px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
  .site-nav .btn { margin-top: 12px; text-align: center; border-bottom: 0; }
}

/* buttons */
.btn { display: inline-block; background: #fff; color: var(--slate-dark) !important; font-weight: 600; text-decoration: none; padding: 12px 26px; border-radius: var(--radius); box-shadow: 0 1px 3px rgba(0,0,0,.15); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.btn-small { padding: 7px 16px; background: var(--slate); color: #fff !important; box-shadow: none; }
.btn-outline { background: transparent; border: 1px solid var(--slate); box-shadow: none; }

/* hero */
.hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.05) 60%); }
.hero-text { position: relative; z-index: 1; padding-bottom: 56px; width: 100%; }
.hero h1 { font-size: clamp(3rem, 9vw, 6rem); margin-bottom: .2em; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.hero p { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 34em; margin-bottom: 1.5em; }

/* bands */
.band { padding: 72px 0; }
.page-top { padding-top: 48px; }
.band-slate { background: var(--slate); color: #fff; }
.band-slate .section-head { border-color: rgba(255,255,255,.7); }
.band-dark { background: var(--navy); color: #fff; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.section-head h2 { margin: 0 0 .25em; }
.section-sub { margin: 0 0 .5em; font-size: .95rem; }
.band:not(.band-slate):not(.band-dark) .section-head h2, .page-title { color: var(--slate); }
.page-title.olive { color: var(--olive); }
.page-title { border-bottom: 1px solid var(--brown); padding-bottom: .2em; margin-bottom: .8em; }
.lead { font-size: 1.15rem; }
.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 860px) { .split { grid-template-columns: 1.4fr 1fr; gap: 56px; } }
.stack { display: grid; gap: 20px; }
.rounded { border-radius: var(--radius); }
.note { font-size: .9rem; opacity: .85; margin-top: 1.5em; }

/* overview */
.facts { list-style: none; padding: 0; margin: 0 0 1.5em; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.facts strong { font-size: 1.6rem; font-weight: 300; margin-right: 4px; }

/* bedrooms */
.beds { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.bed { margin: 0; }
.bed img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.bed figcaption { padding-top: 10px; display: flex; flex-direction: column; gap: 2px; font-size: .95rem; }
.bed strong { color: var(--slate-dark); }

/* reviews */
.reviews { display: grid; gap: 20px; }
@media (min-width: 860px) { .reviews { grid-template-columns: 1fr 1fr; } .review:last-child { grid-column: 2; grid-row: 1 / span 2; } }
.review { margin: 0; background: #fff; color: var(--slate-dark); border-radius: 8px; padding: 22px 26px; font-weight: 400; }
.review p { margin-bottom: .6em; }
.review footer { font-weight: 600; }

/* gallery */
.gallery { columns: 1; column-gap: 12px; }
@media (min-width: 600px) { .gallery { columns: 2; } }
@media (min-width: 960px) { .gallery { columns: 3; } }
.g-item { display: block; margin-bottom: 12px; break-inside: avoid; overflow: hidden; border-radius: 4px; cursor: zoom-in; }
.g-item img { transition: transform .4s; }
.g-item:hover img { transform: scale(1.03); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(15, 20, 25, .94); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 82vh; object-fit: contain; }
.lightbox figure { margin: 0; text-align: center; color: #ddd; font-size: .95rem; }
.lightbox figcaption { margin-top: 12px; padding: 0 16px; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; padding: 12px 18px; line-height: 1; }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* features */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 6px 0 6px 28px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; opacity: .85; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid rgba(255,255,255,.6); border-radius: 99px; padding: 4px 14px; font-size: .95rem; }

/* location */
.drive { list-style: none; padding: 0; margin: 0; }
.drive li { padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.12); }
.drive strong { display: inline-block; min-width: 72px; color: var(--slate-dark); }
.band-slate a { color: #fff; }

/* things to do */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: 32px 0; }
.card { background: var(--olive); color: #fff; padding: 24px; border-radius: var(--radius); display: flex; flex-direction: column; }
.card h2 { font-size: 1.3rem; font-weight: 400; margin-bottom: .2em; }
.card .town { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.card p { font-size: .97rem; }
.card a { margin-top: auto; font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

/* contact */
.contact { display: grid; min-height: 70vh; }
@media (min-width: 860px) { .contact { grid-template-columns: 1fr 1fr; } }
.contact-img img { width: 100%; height: 100%; object-fit: cover; max-height: 80vh; }
.contact-body { background: var(--brown); color: #fff; padding: 48px 16px; }
@media (min-width: 700px) { .contact-body { padding: 56px 48px; } }
.contact-body .page-title { color: #fff; border-color: rgba(255,255,255,.7); }
.contact-item h2 { font-size: 1.2rem; font-weight: 400; display: inline-block; border-bottom: 1px solid #fff; padding-bottom: 4px; margin: 1em 0 .5em; }

/* cta + footer */
.cta { text-align: center; }
.cta p { opacity: .9; }
.site-footer { background: #232f3c; color: #d5dbe1; padding: 40px 0 24px; font-size: .95rem; }
.footer-inner { display: grid; gap: 16px; }
@media (min-width: 700px) { .footer-inner { grid-template-columns: 1fr auto; } }
.footer-brand { font-size: 1.3rem; color: #fff; margin-bottom: .3em; }
.copyright { margin-top: 24px; font-size: .85rem; opacity: .75; }

/* keep grid/flex children from forcing horizontal overflow on phones */
.split { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .split { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.split > *, .reviews > *, .contact > * { min-width: 0; }
.reviews { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .reviews { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
html, body { overflow-x: clip; }

/* bedroom carousel (sized like the Canva embed: ~3/4 of content width, centered) */
.carousel { position: relative; max-width: 860px; margin: 0 auto; background: var(--slate); color: #fff; border-radius: 8px; padding: 20px 20px 16px; }
@media (min-width: 700px) { .carousel { padding: 32px 40px 20px; } }
.slide { margin: 0; }
.slide[hidden] { display: none; }
.slide img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.slide figcaption { padding: 18px 0 4px; display: flex; flex-direction: column; gap: 2px; }
.slide strong { font-size: 1.6rem; font-weight: 600; letter-spacing: -.01em; }
.slide span { font-size: 1.15rem; }
.c-prev, .c-next { position: absolute; top: calc(20px + (100% - 150px) / 2); transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--navy); font-size: 1.8rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.c-prev { left: 8px; }
.c-next { right: 8px; }
@media (min-width: 1000px) { .c-prev { left: -22px; } .c-next { right: -22px; } }
.dots { display: flex; justify-content: center; gap: 10px; padding-top: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.dot[aria-current] { background: #fff; }

/* Good to know */
.good-to-know { margin: 0; padding-left: 1.2em; }
.good-to-know li { margin-bottom: .8em; }
.good-to-know li::marker { color: var(--slate); }
.band-slate .good-to-know li::marker { color: #fff; }
.good-to-know { max-width: 760px; }
