/* Cottam Properties — direction 2a
   ink #221F1A · cream #F6F3EC · sand #DFD9B7 · bronze #8A7A4B · dune #EAE4D2 */

:root {
  --ink: #221f1a;
  --body: #5e574c;
  --muted: #4b463d;
  --faint: #857c6e;
  --cream: #f6f3ec;
  --dune: #eae4d2;
  --sand: #dfd9b7;
  --bronze: #6d5a2f;
  --line: rgba(34, 31, 26, 0.14);
  --line-soft: rgba(34, 31, 26, 0.09);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, sans-serif;
  --pad: 120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--bronze);
}
a:hover {
  color: var(--ink);
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  font-family: var(--serif);
}
p {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.eyebrow {
  font: 400 15px var(--sans);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--bronze);
}
.eyebrow--light {
  color: rgba(223, 217, 183, 0.9);
  letter-spacing: 0.42em;
}
.lede {
  font-size: 17px;
  line-height: 2.05;
  color: var(--body);
  text-wrap: pretty;
}
.section {
  padding: 96px var(--pad) 0;
}
.section--last {
  padding-bottom: 96px;
}
.section#gallery {
  padding-bottom: 96px;
}

/* buttons ------------------------------------------------------------- */
.btn {
  display: inline-block;
  font: 400 15px var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 16px 32px;
  text-decoration: none;
  background: var(--ink);
  color: #fff;
  border: 0;
  cursor: pointer;
  transition: background 0.25s ease;
}
.btn:hover {
  background: var(--bronze);
  color: #fff;
}
.btn--block {
  display: block;
  width: 100%;
  text-align: center;
}
.btn--ghost {
  background: none;
  color: var(--sand);
  border: 1px solid rgba(223, 217, 183, 0.45);
  padding: 12px 22px;
  letter-spacing: 0.22em;
}
.btn.btn--ghost:hover {
  background: var(--sand);
  color: var(--ink);
}
.link {
  display: inline-block;
  font: 400 15px var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--bronze);
  padding-bottom: 6px;
}
.link:hover {
  color: var(--bronze);
}

/* site-header (sticky nav) -------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 40px var(--pad);
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
}
.logo {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.logo img {
  width: 90px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: opacity 0.2s;
}
.logo:hover img {
  opacity: 1;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 220px;
}
.nav__group {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav__group--right .btn {
  margin-left: 6px;
}
.nav a {
  font: 400 15px var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav a:hover,
.nav a[aria-current="page"],
.nav a.is-active {
  color: var(--sand);
}
.nav a {
  position: relative;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}
.nav a:not(.btn):hover::after,
.nav a:not(.btn).is-active::after {
  width: 100%;
}

/* accessible dropdown (nav items with a submenu) */
.nav__item {
  position: relative;
}
.nav__sub {
  position: absolute;
  top: calc(100% + 10px);
  left: -12px;
  min-width: 220px;
  background: var(--cream);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s;
  z-index: 120;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}
.nav__item:hover .nav__sub,
.nav__item:focus-within .nav__sub,
.nav__item.is-open .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav .nav__sub a {
  color: var(--ink);
  padding: 9px 22px;
  white-space: nowrap;
}
.nav .nav__sub a::after {
  display: none;
}
.nav .nav__sub a:hover {
  color: var(--bronze);
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  padding: 10px;
  cursor: pointer;
  position: relative;
  z-index: 110;
}
.burger span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 6px 0;
  transition:
    transform 0.3s ease,
    opacity 0.2s ease,
    margin 0.3s ease;
}
.burger[aria-expanded="true"] span {
  margin: 8px 0;
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
  margin-top: -18px;
}

/* scrolled state */
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}
.site-header.is-scrolled .logo img {
  filter: brightness(1);
  opacity: 1;
}
.site-header.is-scrolled .nav a {
  color: rgba(34, 31, 26, 0.85);
}
.site-header.is-scrolled .nav a:hover,
.site-header.is-scrolled .nav a[aria-current="page"],
.site-header.is-scrolled .nav a.is-active {
  color: var(--ink);
}
.site-header.is-scrolled .burger span {
  background: var(--ink);
}
.site-header.is-scrolled .nav:not(.is-open) .nav__sub a:hover {
  color: var(--bronze);
}

/* hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 650px;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  isolation: isolate;
  padding-top: 96px;
}
.hero--short {
  min-height: 600px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(24, 21, 17, 0.72) 0%,
    rgba(24, 21, 17, 0.2) 38%,
    rgba(24, 21, 17, 0.78) 100%
  );
}
.hero__inner {
  margin-top: auto;
  padding: 0 var(--pad) 150px;
  text-align: center;
  color: #fff;
}
.hero h1 {
  font-size: 74px;
  line-height: 1.02;
  color: #fff;
  font-weight: 600;
  margin-top: 26px;
}
.hero h1 em {
  display: block;
  font-style: italic;
  line-height: 1.06;
  color: var(--sand);
}

/* booking bar --------------------------------------------------------- */
.bookbar {
  position: relative;
  z-index: 2;
  margin: -58px var(--pad) 0;
  background: #fff;
  box-shadow: 0 30px 70px rgba(34, 31, 26, 0.22);
  padding: 24px 32px;
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr))
    auto;
  gap: 0 26px;
  align-items: center;
}
.bookbar__rule {
  height: 38px;
  background: var(--line);
}
.bookbar label {
  display: block;
  font: 400 15px var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #57503f;
}
.bookbar input,
.bookbar select {
  border: 0;
  outline: 0;
  background: none;
  width: 100%;
  margin-top: 5px;
  font: 400 17px var(--sans);
  color: var(--ink);
  font-family: var(--sans);
}
.bookbar input::placeholder {
  color: var(--ink);
}
.bookbar .btn {
  font-size: 17px;
}
/* Air Datepicker theme (booking bar) — tuned to the site's ink/serif */
.air-datepicker {
  --adp-color: var(--ink);
  --adp-color-disabled: #b7b1a6;
  --adp-accent-color: var(--ink);
  --adp-background-color-selected: var(--ink);
  --adp-background-color-hover: #efeae1;
  --adp-day-name-color: #57503f;
  --adp-border-color: var(--line);
  --adp-font-family: var(--sans);
  font-family: var(--sans);
}
.air-datepicker-cell.-selected- {
  color: #fff;
}
.air-datepicker-body--cells .air-datepicker-cell.-current- {
  color: var(--ink);
}

.price {
  font: 400 26px/1 var(--serif);
}
.price small {
  font: 300 17px var(--sans);
  color: #57503f;
}

/* statement + properties ---------------------------------------------- */
.statement {
  padding: 96px var(--pad) 0;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 60px;
  align-items: end;
}
.statement h2 {
  font-size: 40px;
  line-height: 1.28;
  text-wrap: pretty;
  font-weight: 600;
}
.statement p {
  font-size: 17px;
  line-height: 2.1;
  color: var(--body);
  text-wrap: pretty;
}

.prop {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: center;
}
.prop + .prop {
  margin-top: 96px;
}
.prop--flip {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}
.prop--flip .prop__media {
  order: 2;
}
.prop__media {
  aspect-ratio: 4/5;
}
.prop__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prop h2 {
  font-size: 40px;
  line-height: 1.06;
  font-weight: 600;
  margin-top: 20px;
}
.prop p {
  margin-top: 22px;
}
.stats {
  display: flex;
  gap: 34px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.stats b {
  display: block;
  font: 400 34px var(--serif);
  font-weight: 400;
}
.stats small {
  display: block;
  margin-top: 3px;
  font-size: 15px;
  color: var(--muted);
}
.prop .link {
  margin-top: 30px;
}

/* amenities (dark) ----------------------------------------------------- */
.amen {
  background: var(--ink);
  padding: 88px var(--pad) 92px;
  color: rgba(255, 255, 255, 0.86);
}
.amen h2 {
  font-size: 40px;
  line-height: 1.16;
  color: #fff;
  font-weight: 600;
  margin-top: 18px;
  max-width: 620px;
  text-wrap: pretty;
}
.amen__photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 70px;
  margin-top: 48px;
}
.amen__photos div {
  aspect-ratio: 1/1;
}
.amen__photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.amen__lists {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 70px;
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.amen__lists ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.amen__lists li {
  display: flex;
  align-items: flex-start;
  column-gap: 14px;
  font-size: 17px;
  line-height: 1.6;
}
.amen__lists i {
  color: var(--bronze);
  font-size: 15px;
  flex: none;
  margin-top: 6px;
}
.amen__lists .amen__rule {
  flex: none;
  width: 1px;
  height: 16px;
  background: rgba(223, 217, 183, 0.38);
  margin-top: 6px;
}

/* availability --------------------------------------------------------- */
.avail__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.avail__head h2 {
  font-size: 40px;
}
.calgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 36px;
}
.cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cal__title {
  font: 400 15px var(--sans);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
}
.cal__nav {
  border: 0;
  background: none;
  font: 400 15px var(--sans);
  color: var(--ink);
  cursor: pointer;
  padding: 2px 8px;
  line-height: 1;
}
.cal__nav:hover {
  color: var(--bronze);
}
.cal__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-top: 18px;
}
.cal__dow {
  text-align: center;
  font: 400 15px var(--sans);
  letter-spacing: 0.1em;
  color: #57503f;
  padding-bottom: 10px;
}
.day {
  text-align: center;
  font: 400 15px/1 var(--sans);
  padding: 11px 0;
  color: var(--ink);
}
.day.is-unavailable {
  color: #9a948a;
  text-decoration: line-through;
}
.day.is-today {
  color: var(--ink);
  font-weight: 500;
  box-shadow: inset 0 -1px 0 var(--bronze);
}
.calnote {
  margin-top: 20px;
  font-size: 16px;
  color: #57503f;
}

/* reviews (dune) ------------------------------------------------------- */
.reviews {
  background: var(--dune);
  margin-top: 96px;
  padding: 88px var(--pad) 92px;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.1fr) minmax(0, 0.7fr);
  gap: 56px;
  align-items: start;
}
.reviews__photo {
  aspect-ratio: 3/4;
}
.reviews__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quote {
  font: 600 40px/1.7 var(--serif);
  font-style: italic;
  text-wrap: pretty;
}
.quote__by {
  margin-top: 26px;
  font: 400 15px var(--sans);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bronze);
}
.reviews__side {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding-top: 8px;
}
.reviews__side p {
  font-size: 17px;
  line-height: 1.95;
  color: var(--body);
  text-wrap: pretty;
}
.reviews__side article {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.reviews__side article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.reviews__who {
  margin-top: 12px;
  font: 400 15px var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* contact --------------------------------------------------------------- */
.contact {
  background: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}
.map {
  position: relative;
  min-height: 620px;
  background: #efeae0;
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.contact__body {
  padding: 92px 90px 96px;
}
.contact__body h2 {
  font-size: 40px;
  line-height: 1.14;
  margin-top: 16px;
}
.contact__details {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 17px;
  line-height: 1.7;
  color: #4a443b;
}
.form {
  margin-top: 46px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 26px;
}
.form input,
.form textarea {
  border: 0;
  border-bottom: 1px solid rgba(34, 31, 26, 0.2);
  background: none;
  padding: 16px 0;
  font: 400 17px var(--sans);
  font-family: var(--sans);
  color: var(--ink);
  outline: 0;
  width: 100%;
}
.form input::placeholder,
.form textarea::placeholder {
  color: var(--faint);
}
.form input:focus,
.form textarea:focus {
  border-bottom-color: var(--bronze);
}
.form textarea {
  grid-column: 1/3;
  height: 96px;
  resize: vertical;
}
.form__wide {
  grid-column: 1/3;
}
.form .btn {
  margin-top: 30px;
  justify-self: start;
}
/* Web3Forms hCaptcha slot — spans the full form width */
.form__captcha {
  grid-column: 1/3;
  margin-top: 20px;
}
/* Web3Forms contact-form inline status (shown by script.js on submit) */
.form__status {
  grid-column: 1/3;
  margin-top: 16px;
  font: 300 14px/1.5 var(--sans);
  color: var(--muted);
}
.form__status--success {
  color: #3f6b45;
}
.form__status--error {
  color: #a3402c;
}

/* footer ---------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  padding: 64px var(--pad) 26px;
  color: rgba(255, 255, 255, 0.75);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 56px;
}
.footer__brand {
  font: 300 15px/1 var(--serif);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--sand);
}
.footer__motto {
  margin-top: 10px;
  font: 400 15px var(--sans);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(223, 217, 183, 0.78);
}
.site-footer h4 {
  font: 600 15px var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}
.site-footer p,
.site-footer li {
  font-size: 17px;
  line-height: 2;
}
.site-footer a {
  color: var(--sand);
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
}
.footer__links {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__bar {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
}
.footer__bar a {
  color: rgba(255, 255, 255, 0.6);
}

/* sticky mobile bar ------------------------------------------------------ */
.stickybar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 12px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -8px 24px rgba(34, 31, 26, 0.1);
  /* Scroll-reveal: off-screen and non-interactive until the user scrolls
     (script.js adds .is-visible). Desktop stays display:none. */
  transform: translateY(100%);
  visibility: hidden;
  transition:
    transform 0.3s ease,
    visibility 0s linear 0.3s;
}
.stickybar.is-visible {
  transform: translateY(0);
  visibility: visible;
  transition:
    transform 0.3s ease,
    visibility 0s;
}
.stickybar small {
  display: block;
  font-size: 15px;
  color: var(--muted);
}
.stickybar strong {
  font: 400 17px var(--serif);
  font-weight: 400;
}
.stickybar .btn {
  flex: 1;
  text-align: center;
  padding: 15px 18px;
}

/* ===================== property page ==================================== */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: 210px;
  gap: 6px;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Lightbox anchors — fill their grid cell so the layout is unchanged */
.gallery a {
  display: block;
  height: 100%;
}
.gallery__tall {
  grid-row: span 2;
}
.gallery__more {
  position: relative;
}
.gallery__more span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(255, 255, 255, 0.94);
  padding: 9px 16px;
  font: 400 15px var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}

.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  gap: 70px;
  padding: 88px var(--pad) 0;
  align-items: start;
}
.detail h2 {
  font-size: 40px;
  line-height: 1.1;
  margin-top: 16px;
}
.facts {
  display: flex;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts div {
  flex: 1;
  padding: 20px 0;
}
.facts b {
  display: block;
  font: 400 24px var(--serif);
  font-weight: 400;
}
.facts small {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  color: var(--muted);
}
.detail p {
  margin-top: 22px;
  font-size: 17px;
  line-height: 2.05;
  color: var(--body);
  text-wrap: pretty;
}
.detail__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px 44px;
  margin-top: 48px;
}
.detail__cols h3 {
  font-size: 28px;
  font-weight: 600;
}
.detail__cols p {
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.95;
}

.rail {
  position: sticky;
  top: 100px;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 30px 28px;
}
.rail__price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.rail__price b {
  font: 400 30px var(--serif);
  font-weight: 400;
}
.rail__price em {
  font-style: normal;
  font-size: 15px;
  color: var(--muted);
}
.stars {
  font: 400 15px var(--sans);
  letter-spacing: 0.2em;
  color: #c0a85e;
}
.rail form {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rail__row {
  display: flex;
  gap: 10px;
}
.rail .field {
  flex: 1;
  border: 1px solid rgba(34, 31, 26, 0.16);
  background: #fff;
  padding: 12px 14px;
}
.rail .field input,
.rail .field select {
  border: 0;
  outline: 0;
  background: none;
  width: 100%;
  font: 300 15px var(--sans);
  font-family: var(--sans);
  color: var(--ink);
}
.rail .field input::placeholder {
  color: var(--muted);
}
.note {
  font-size: 16px;
  line-height: 1.6;
  color: #57503f;
  text-align: center;
}
.rail__list {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.rail__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  color: #4a443b;
}
.rail__list i {
  width: 6px;
  height: 6px;
  background: var(--bronze);
  transform: rotate(45deg);
  flex: none;
}

.area {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 34px;
}
.area__img {
  aspect-ratio: 4/3;
}
.area__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.area h3 {
  margin-top: 16px;
  font-size: 28px;
  font-weight: 600;
}
.area p {
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.95;
  color: var(--body);
  text-wrap: pretty;
}
.row-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

/* ===================== responsive ======================================= */
@media (max-width: 1280px) {
  :root {
    --pad: 72px;
  }
  .nav {
    gap: 165px;
  }
  .nav__group {
    gap: 20px;
  }
  .nav a {
    font-size: 15px;
  }
  .contact__body {
    padding: 80px 60px 84px;
  }
}

@media (max-width: 1080px) {
  :root {
    --pad: 48px;
  }
  .header__inner {
    justify-content: space-between;
    gap: 24px;
  }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    background: var(--ink);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 60px 40px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  }
  .nav.is-open {
    transform: translateX(0);
  }
  /* NOTE: these link/button open-state styles are intentionally NOT gated
     behind .is-open. They always apply inside this mobile drawer so the text
     stays in its stacked, full-width layout while the drawer transform
     animates. On close, only the transform slides out — the text no longer
     condenses before the drawer moves (the closed drawer sits off-screen at
     translateX(100%), so this styling is invisible there). The only state
     toggled by .is-open below is the transform (show/hide). */
  .nav a,
  .nav .nav__sub a {
    padding: 19px 0;
    width: 100%;
    font-size: 17px;
    text-align: center;
    /* The flattened "Cottages" children (.nav__sub a) are kept in line with
       the other top-level links here: this overrides the desktop tooltip's
       9px/22px padding that would otherwise leave them off-line/indented. */
  }
  .nav a:not(.btn)::after {
    bottom: 15px;
  }
  .nav .btn {
    margin-top: 36px;
    width: 100%;
    text-align: center;
    background: var(--sand);
    color: var(--ink);
    border-color: transparent;
  }
  .logo {
    position: static;
    transform: none;
  }
  .nav__group {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
  }
  .nav__group + .nav__group {
    margin-top: 36px;
  }
  .nav__item {
    width: 100%;
  }
  /* mobile only: flatten the "Cottages" dropdown — hide the parent toggle
     and let the two properties render as full-width top-level links */
  .nav__item > .nav__toggle {
    display: none;
  }
  .nav__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: none;
    box-shadow: none;
    min-width: 0;
    padding: 0;
  }
  .nav .nav__sub a {
    color: rgba(255, 255, 255, 0.9);
  }
  .nav .nav__sub a:hover {
    color: var(--sand);
  }
  .site-header .nav a:not(.btn) {
    color: rgba(255, 255, 255, 0.9);
  }
  .site-header .nav a:not(.btn):hover {
    color: var(--sand);
  }
  .burger {
    display: block;
  }
  body.nav-open .site-header .burger span {
    background: #fff;
  }
  body.nav-open {
    overflow: hidden;
  }
  .hero h1 {
    font-size: 56px;
  }
  .bookbar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 20px;
  }
  .bookbar .btn {
    grid-column: 1/-1;
  }
  .prop,
  .prop--flip {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .prop--flip .prop__media {
    order: 0;
  }
  .prop__media {
    aspect-ratio: 3/2;
  }
  .prop h2 {
    font-size: 40px;
  }
  .statement {
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
  }
  .statement h2 {
    font-size: 40px;
  }
  .amen__photos {
    gap: 26px;
  }
  .amen__lists {
    gap: 0 34px;
  }
  .amen h2 {
    font-size: 40px;
  }
  .reviews {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .reviews__photo {
    grid-row: span 2;
  }
  .contact {
    grid-template-columns: 1fr;
  }
  .map {
    min-height: 380px;
  }
  .detail {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .rail {
    position: static;
  }
  /* in-the-area page: at this width the logo is back in-flow (112px wide ≈ 108px
     tall) on top of 40px header padding, so the sticky bar and map must clear the
     full 188px header rather than the 128px desktop height */
  .page-area {
    padding-top: 188px;
  }
  .filters {
    top: 188px;
  }
  .mapcol {
    top: 260px;
    height: calc(100vh - 260px);
  }
}

@media (max-width: 820px) {
  :root {
    --pad: 24px;
  }
  body {
    padding-bottom: 78px;
  }
  .site-header {
    padding: 16px var(--pad);
  }
  .logo img {
    width: auto;
    height: 48px;
  }
  .burger span {
    margin: 5px 0;
  }
  .burger[aria-expanded="true"] span {
    margin: 7px 0;
  }
  .nav {
    width: 100%;
    max-width: 100%;
    padding: 80px 24px 40px;
  }

  .hero {
    /* ~half the viewport height on mobile so the booking bar (which
       overlaps the hero bottom by -48px) fits above the fold */
    min-height: 55vh;
    padding-top: 80px;
  }
  .hero__inner {
    padding-bottom: 120px;
  }
  .hero h1 {
    font-size: 38px;
    line-height: 1.08;
    margin-top: 18px;
  }
  .eyebrow--light {
    letter-spacing: 0.3em;
    font-size: 16px;
  }

  .bookbar {
    margin: -48px 24px 0;
    padding: 20px 22px;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bookbar__rule {
    display: none;
  }
  .bookbar .btn {
    grid-column: auto;
    text-align: center;
  }

  .section {
    padding: 56px var(--pad) 0;
  }
  .section--last {
    padding-bottom: 56px;
  }
  .section#gallery {
    padding-bottom: 56px;
  }
  .statement {
    padding: 56px var(--pad) 0;
  }
  .statement h2 {
    font-size: 32px;
    line-height: 1.32;
  }
  .prop + .prop {
    margin-top: 56px;
  }
  .prop h2 {
    font-size: 32px;
  }
  .prop__media {
    aspect-ratio: 4/3;
  }
  .stats {
    gap: 22px;
    flex-wrap: wrap;
  }

  .amen {
    padding: 56px var(--pad) 60px;
  }
  .amen h2 {
    font-size: 32px;
  }
  .amen__photos {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 30px;
  }
  .amen__photos div:last-child {
    display: none;
  }
  .amen__lists {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 28px;
    padding-top: 28px;
  }
  .amen__lists ul {
    gap: 14px;
    padding-bottom: 14px;
  }
  .amen__lists li {
    font-size: 17px;
  }

  .avail__head h2 {
    font-size: 32px;
  }
  .calgrid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 28px;
  }

  .reviews {
    margin-top: 56px;
    padding: 56px var(--pad) 60px;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .reviews__photo {
    grid-row: auto;
    aspect-ratio: 4/3;
  }
  .quote {
    font-size: 32px;
    line-height: 1.6;
  }

  .contact__body {
    padding: 56px var(--pad) 60px;
  }
  .contact__body h2 {
    font-size: 32px;
  }
  .form {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
  .form textarea,
  .form__wide {
    grid-column: auto;
  }
  .map {
    min-height: 300px;
  }

  .site-footer {
    padding: 48px var(--pad) 90px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer__bar {
    flex-direction: column;
    gap: 8px;
    margin-top: 32px;
  }

  .stickybar {
    display: flex;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }
  .gallery__tall {
    grid-row: span 2;
    grid-column: 1/3;
  }
  .detail {
    padding: 44px var(--pad) 0;
  }
  .detail h2 {
    font-size: 40px;
  }
  .facts {
    flex-wrap: wrap;
  }
  .facts div {
    flex: 0 0 50%;
  }
  .detail__cols {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 34px;
  }
  .area {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

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

/* in-the-area page ----------------------------------------------- */
.page-area {
  padding-top: 128px;
}
.areaintro {
  padding: 8px 0 24px;
  max-width: 60ch;
}
.areaintro h1 {
  font-size: 48px;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.areaintro h1 em {
  font-style: italic;
  /* sand is designed for dark backgrounds — bronze keeps the warm accent
     legible on the cream page background */
  color: var(--bronze);
}
.areaintro p {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--body);
  text-wrap: pretty;
}
.areaintro p b {
  /* sand is designed for dark backgrounds — ink keeps the emphasised
     sentence legible on the cream page background */
  color: var(--ink);
  font-weight: 400;
}
.page-area .leaflet-container {
  font-family: var(--sans);
  background: #efeae0;
}
.page-area .leaflet-control-attribution {
  font-size: 9px;
  background: rgba(255, 255, 255, 0.75);
}
.pagehead {
  background: var(--ink);
  padding-bottom: 0;
}
.pagehead .nav a {
  color: rgba(255, 255, 255, 0.85);
}
.pagehead__title {
  padding: 8px var(--pad) 54px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 60px;
  align-items: end;
}
.pagehead__title h1 {
  font-size: 80px;
  line-height: 0.98;
  color: #fff;
  letter-spacing: -0.02em;
}
.pagehead__title h1 em {
  font-style: italic;
  color: var(--sand);
}
.pagehead__title p {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(246, 243, 236, 0.72);
  text-wrap: pretty;
  max-width: 44ch;
}
.pagehead__title p b {
  color: var(--sand);
  font-weight: 400;
}
.filters {
  position: sticky;
  top: 128px;
  z-index: 41;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.filters__set {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.chip {
  font: 400 15px var(--sans);
  letter-spacing: 0.06em;
  color: var(--body);
  background: none;
  cursor: pointer;
  border: 1px solid var(--line);
  padding: 9px 16px;
  transition: all 0.2s ease;
}
.chip:hover {
  border-color: var(--bronze);
  color: var(--ink);
}
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.filters__count {
  margin-left: auto;
  font: 400 15px var(--sans);
  color: var(--muted);
  letter-spacing: 0.04em;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: 0;
  align-items: start;
}
.plist {
  padding: 8px var(--pad) 40px 0;
  margin-left: var(--pad);
}
.mapcol {
  position: sticky;
  top: 200px;
  height: calc(100vh - 200px);
  border-left: 1px solid var(--line);
  background: #efeae0;
  z-index: 10;
}
#areamap {
  width: 100%;
  height: 100%;
}
.mapcol__hint {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 500;
  background: rgba(246, 243, 236, 0.92);
  font: 400 15px var(--sans);
  letter-spacing: 0.06em;
  color: var(--body);
  padding: 8px 12px;
}
.grouphead {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 52px 0 8px;
  border-bottom: 1px solid var(--ink);
}
.grouphead h2 {
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.grouphead span {
  font: 400 15px var(--sans);
  color: var(--bronze);
  letter-spacing: 0.1em;
}
.groupsub {
  margin: 16px 0 4px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--body);
  max-width: 60ch;
  text-wrap: pretty;
}
.pcard {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
  transition: background 0.2s ease;
}
.pcard.is-active,
.pcard:hover {
  background: rgba(223, 217, 183, 0.28);
}
.pcard__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pcard__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}
.pcard h3 {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.pcard__where {
  margin-top: 7px;
  font: 400 15px var(--sans);
  color: var(--muted);
  letter-spacing: 0.04em;
}
.pcard__dist {
  flex: none;
  text-align: right;
  font: 400 34px/1 var(--serif);
  color: var(--bronze);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.pcard__dist small {
  display: block;
  font: 400 15px var(--sans);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 7px;
}
.pcard p {
  font-size: 17px;
  line-height: 1.72;
  color: var(--body);
  text-wrap: pretty;
  max-width: 56ch;
}
.pcard__foot {
  margin-top: 2px;
}
.pcard.is-hidden {
  display: none;
}
.mcard {
  position: absolute;
  z-index: 600;
  width: 250px;
  background: var(--cream);
  border: 1px solid var(--ink);
  padding: 14px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
}
.mcard.is-on {
  opacity: 1;
  transform: translateY(0);
}
.mcard b {
  display: block;
  font: 400 20px/1.2 var(--serif);
  color: var(--ink);
}
.mcard i {
  display: block;
  font-style: normal;
  margin-top: 8px;
  font: 400 15px var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}
.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--cream);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}
.dot.is-home {
  background: var(--bronze);
  width: 18px;
  height: 18px;
}
.dot.is-on {
  transform: scale(1.55);
  background: var(--bronze);
}
.dot.is-dim {
  opacity: 0.18;
}
@media (max-width: 1180px) {
  .pagehead__title {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pagehead__title h1 {
    font-size: 64px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .plist {
    margin-left: 0;
    padding: 0 var(--pad) 40px;
  }
  .mapcol {
    /* map hidden below desktop — the stacked full-width block was pushing the
       venue list down by ~460px on tablet / 360px on phone (unwanted scroll). */
    display: none;
    position: relative;
    top: 0;
    height: 460px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .mapcol--desktop {
    display: none;
  }
  .pcard {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}
@media (max-width: 820px) {
  .page-area {
    padding-top: 80px;
  }
  .mapcol {
    height: 360px;
  }
  .filters {
    top: 80px;
    padding: 14px var(--pad);
    gap: 10px;
  }
  .filters__count {
    display: none;
  }
  .grouphead {
    padding-top: 40px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .grouphead h2 {
    font-size: 32px;
  }
  .pcard {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 0;
  }
  .pcard h3 {
    font-size: 24px;
  }
  .pcard__dist {
    font-size: 26px;
  }
}
.split {
  position: relative;
}
.plist {
  grid-column: 1;
  grid-row: 1;
}
.mapcol {
  grid-column: 2;
  grid-row: 1;
}

/* ===================== review pages ================================= */
body.page-review {
  background: var(--cream);
  min-height: 100vh;
}
.rev {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 56px;
  min-height: 100vh;
  box-sizing: border-box;
}
.rev__card {
  max-width: 560px;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(34, 31, 26, 0.12);
  overflow: hidden;
}
.rev__brand {
  display: flex;
  justify-content: center;
  padding: 28px;
  /* Colour logo on white — the brand bar must not sit on the dark ink
     background or the dark logo becomes illegible. */
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.rev__logo {
  /* Match the header navigation logo size (112px wide). */
  width: 112px;
  height: auto;
}
.rev__hero {
  position: relative;
  aspect-ratio: 16 / 10;
}
.rev__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rev__body {
  padding: 36px 40px 40px;
  text-align: center;
}
.rev__eyebrow {
  font: 400 15px var(--sans);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--bronze);
}
.rev__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.1;
  margin: 14px 0 6px;
  color: var(--ink);
}
.rev__prop {
  font: 400 17px var(--sans);
  color: var(--body);
  letter-spacing: 0.04em;
}
.rev__stars {
  font-size: 20px;
  letter-spacing: 0.3em;
  color: var(--bronze);
  margin: 16px 0 0;
}
.rev__lede {
  margin: 18px auto 0;
  max-width: 42ch;
  font-size: 17px;
  line-height: 1.75;
  color: var(--body);
  text-wrap: pretty;
}
.rev__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
}
.rev__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  font: 400 15px var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 20px;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.rev__btn--primary {
  background: var(--ink);
  color: #fff;
}
.rev__btn--primary:hover {
  background: var(--bronze);
  color: #fff;
}
.rev__btn--ghost {
  background: none;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.rev__btn--ghost:hover {
  background: var(--ink);
  color: #fff;
}
.rev__btn-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bronze);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}
.rev__btn-txt {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 2px;
}
.rev__btn-txt small {
  font: 400 15px var(--sans);
  letter-spacing: 0.04em;
  text-transform: none;
  opacity: 0.8;
}
.rev__foot {
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  text-wrap: pretty;
}
@media (max-width: 600px) {
  .rev {
    padding: 96px 16px 48px;
  }
  .rev__body {
    padding: 28px 22px 32px;
  }
  .rev__title {
    font-size: 32px;
  }
}
