:root{
  /* Core */
  --bg: #fff;            /* warm paper cream */
  --surface: #ffffff;

  /* Brand (Johanna Manor) */
  --jm-green: #3f5f3c;       /* eucalyptus green */
  --jm-green-soft: #5f7a5a;  /* lighter UI green */
  --jm-green-dark: #2f4a2d;  /* footer / deep accents */
  --jm-pink: #d88b8b;        /* blossom pink */
  --jm-border: rgba(63,95,60,0.15);

  /* Map these into your existing “brand” tokens so nothing breaks */
  --brand: var(--jm-green);
  --brand2: var(--jm-green-dark);
  --brandRing: rgba(63,95,60,.22);

  /* Text */
  --text: #081418;
  --muted: rgba(8,20,24,.72);

  /* Brand-safe text */
  --text-main: #2f2f2f;
  --text-muted: #6b6b6b;

  /* Borders */
  --border: rgba(8,20,24,.12);
  --border2: rgba(8,20,24,.08);

  /* Layout */
  --max: 1280px;
  --pad: clamp(15px, 3vw, 28px);

  /* Typography */
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Cormorant Garamond", serif;
}

/* Base / reset */
*{ box-sizing:border-box; }
[hidden]{ display:none !important; }

html, body{
  background: var(--bg);
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.6;
}

a{ color: inherit; }
button{
  font: inherit;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
button:disabled{ cursor: default; }

p, li, input, textarea, select, button{
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6{
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #2b3a2e;
  margin: 0;
  margin-bottom: 30px;
}

h1{ font-size: clamp(34px, 3.6vw, 54px); line-height: 1.8; letter-spacing: -0.02em; }
h2{ font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; }
h3{ font-size: clamp(24px, 2.0vw, 26px); line-height: 1.18; }
h4{ font-size: 24px; line-height: 1; }
h5{ font-size: 18px; line-height: 1.3; }
h6{ font-size: 17px; line-height: 1.35; }

/* Optional “logo-like” spacing on hero/section titles */
.section-title,
.hero-title{
  letter-spacing: 0.04em;
}

/* optional “logo-like” spacing on hero/section titles */
.section-title,
.hero-title{
  letter-spacing: 0.04em;
}

/* Optional editorial calm */
p{ max-width: 75ch; }


/* ===== Layout helpers ===== */
.wrap{
  width:min(100%, var(--max));
  margin:0 auto;
  padding: 56px var(--pad);
}
.section-title{
  margin: 0 0 8px;
  letter-spacing: -.2px;
}
.section-lead{
  margin: 0 0 12px;
  color: var(--muted);
  max-width: 96ch;
}

/* ===== Buttons (two styles only) ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;

  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -0.1px;
  line-height: 1;

  white-space: nowrap;
  text-decoration:none;

  border: 1px solid transparent;
  transition: transform .12s ease, filter .12s ease, background-color .12s ease, border-color .12s ease;
}

.btn:hover{ transform: translateY(-1px); filter: brightness(1.03); }
.btn:active{ transform: translateY(0); }
.btn:focus-visible{ outline: 3px solid var(--brandRing); outline-offset: 3px; }

.btn.primary{
  color:#fff;
  background: var(--jm-pink);
  border-color: transparent;
}
.btn.primary:hover{ filter: brightness(0.98); }

.btn.secondary{
  color: var(--jm-green);
  background: transparent;
  border-color: var(--jm-green);
}
.btn.secondary:hover{
  background: rgba(63,95,60,0.08);
}


/* ===== HERO (image hero) ===== */
.site-hero{
  position: relative;
  min-height: clamp(380px, 58vh, 620px);
  background: var(--bg);
}
.site-hero__media{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.site-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.42) 0%,
    rgba(0,0,0,.22) 45%,
    rgba(0,0,0,.55) 100%
  );
}
.site-hero__inner{
  position: relative;
  z-index: 1;
  padding-top: clamp(56px, 10vh, 110px);
  padding-bottom: clamp(44px, 8vh, 90px);
  color: #fff;
}
.site-hero__kicker{
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: .2px;
  opacity: .92;
}
.site-hero__title{
  margin: 0 0 10px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -.4px;
  max-width: 24ch;
}
.site-hero__lead{
  margin: 0 0 18px;
  color: rgba(255,255,255,.88);
  font-size: 14px;
  max-width: 62ch;
}
.site-hero__actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===== Hero overlay logo ===== */
.hero-overlay{
  position: absolute;
  left: 0; right: 0;
  top: 0;
  z-index: 5;
  pointer-events: none;
}
.hero-overlay__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px var(--pad);
  pointer-events: auto;
}
.hero-overlay__brand{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
  color: #fff;
}
.hero-overlay__logo{
  height: 64px;
  width: auto;
  display:block;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.35));
}
.hero-overlay__right{
  display:flex;
  align-items:center;
  gap: 10px;
}

/* ===== Sticky nav ===== */
.sticky-nav{
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  isolation: isolate;

  background: rgba(246,241,234,0.92); /* cream */
  backdrop-filter: saturate(1.1) blur(6px);
  border-bottom: 1px solid var(--jm-border);
}

.sticky-nav__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.sticky-nav__links{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
}
.sticky-nav__links a{
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 999px;
}
.sticky-nav__links a:hover{
    background: rgba(63,95,60,0.08);
  color: var(--jm-pink);
}

.slider::after{
  content:"";
  position:absolute;
  top: 0;
  right: 0;
  width: 64px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to left, var(--bg) 0%, rgba(255,255,255,0) 100%);
}

/* Slider nav buttons (you already have HTML for these) */
.nav-btn{
  font-size: 36px;
  line-height: 1;
  padding: 0.25em 0.3em;
}

/* ===== Cards ===== */
.card{
  flex: 0 0 auto;
  width: var(--cardW);
  scroll-snap-align: start;

  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow:hidden;
  text-align:left;

  appearance:none;
  -webkit-appearance:none;

  transition: transform .15s ease, border-color .15s ease, background-color .15s ease;
}
.card:focus-visible{
  outline: 3px solid var(--brandRing);
  outline-offset: 3px;
}
.card:hover{
  transform: translateY(-1px);
  border-color: rgba(31,107,79,.22);
  background: rgba(31,107,79,.02);
}
.card-media{
  height: 190px;
  background-size: cover;
  background-position:center;
  position:relative;
}
.card, .card * { color: inherit; }
.card a { color: inherit; text-decoration: none; }

.card-media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.40) 0%, rgba(0,0,0,0) 58%);
}
.badge{
  position:absolute;
  left: 12px;
  top: 12px;
  z-index: 1;

  font-size: 11px;
  font-weight: 400;
  color: #fff;

  background: var(--jm-green); 
  border: 1px solid rgba(255,255,255,.16);
  padding: 6px 10px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.card-body{
  padding: 18px 16px 16px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.card-title{ margin:0; font-size: 22px; font-weight: 600; }
.card-meta{ margin: 0; font-size: 13px; color: var(--muted); }
.card-desc{
  margin: 6px 0 14px;
  line-height: 1.5;
  font-size: 15px;
  color: rgba(8,20,24,.84);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow:hidden;
}
.tags{
  display:flex;
  gap: 6px;
  margin: 0;
  margin-top:auto;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tags::-webkit-scrollbar{ display:none; }
.tag{
  flex: 0 0 auto;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(8,20,24,.12);
  background: rgba(8,20,24,.035);
  color: rgba(8,20,24,.74);
  font-weight: 400;
  line-height: 1.1;
  white-space: nowrap;
}
.card-cta{
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--border2);
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}
.card-cta > span:first-child{
  color: #var(--jm-green-dark);
  font-weight: 600;
  font-size: 13px;
}

/* ===== Modals (general) ===== */
dialog.modal{
  width: min(980px, 100%);
  border: 0;
  padding: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
dialog.modal::backdrop{
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(2px);
}
.modal-head{
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  z-index: 2;
}
.modal-head h3{ margin:0; letter-spacing: -.2px; }
.modal-head p{ margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.close{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(8,20,24,.14);
  background: rgba(8,20,24,.03);
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
}
.close:hover{ background: rgba(8,20,24,.07); }
.modal-body{ padding: 16px 18px 22px; }

/* Expanded card layout */
.expanded{
  display:grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}
.expanded-hero{
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.10);
}
.hero-media{
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f2f2f2;
  display: block;
}
.hero-media > img,
.hero-media > iframe{
  width:100%;
  height:100%;
  display:block;
  border:0;
}
.hero-media > img{ object-fit: cover; }
.thumbs{ display:flex; gap: 10px; padding: 12px 2px 0; }
.thumb{
  width: 84px;
  height: 58px;
  border-radius: 12px;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.12);
}
.thumb img{ width:100%; height:100%; object-fit: cover; }
.thumb[aria-current="true"]{ outline: 3px solid var(--brandRing); outline-offset: 2px; }
.expanded-side{
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 14px;
}
.expanded-desc{ margin: 0; font-size: 14px; color: rgba(8,20,24,.84); line-height: 1.45; }
.expanded-tags{ display:flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.actions{ display:flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

/* ===== Photo Tour ===== */
dialog.photo-tour{
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  inset: 0;
  background: #fff;
}
.photo-tour::backdrop{ background: rgba(0,0,0,.45); }

.pt-shell{
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.pt-head{
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(8,20,24,.10);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding-top: 14px;
  padding-bottom: 14px;
  padding-left: max(18px, calc((100vw - var(--max)) / 2 + 18px));
  padding-right: max(18px, calc((100vw - var(--max)) / 2 + 18px));
}
.pt-title{ display: flex; flex-direction: column; gap: 2px; }
.pt-title strong{ font-size: 16px; letter-spacing: -.2px; }
.pt-sub{ font-size: 12px; color: rgba(8,20,24,.70); }

.pt-close{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(8,20,24,.14);
  background: rgba(8,20,24,.03);
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
}
.pt-close:hover{ background: rgba(8,20,24,.07); }

.pt-tabs{
  position: sticky;
  top: 63px;
  z-index: 4;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(8,20,24,.08);
}
.pt-tabs-track{
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 18px;

  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pt-tabs-track::-webkit-scrollbar{ display:none; }

.pt-tab{
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 92px;
  text-align: left;
}
.pt-thumb{
  width: 92px;
  height: 62px;
  border-radius: 14px;
  background: #f2f2f2;
  overflow: hidden;
  border: 1px solid rgba(8,20,24,.10);
}
.pt-thumb img{ width: 100%; height: 100%; object-fit: cover; }
.pt-label{
  font-size: 12px;
  color: rgba(8,20,24,.72);
  font-weight: 700;
  letter-spacing: -.15px;
}
.pt-tab[aria-current="true"] .pt-thumb{ outline: 3px solid var(--brandRing); outline-offset: 2px; }
.pt-tab[aria-current="true"] .pt-label{ color: rgba(8,20,24,.92); }

.pt-body{
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px;
  scroll-behavior: smooth;
}
.pt-section{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(8,20,24,.08);
}
.pt-section:last-child{ border-bottom: 0; }
.pt-section h3{ margin: 0; font-size: 16px; letter-spacing: -.2px; }
.pt-section p{ margin: 6px 0 0; color: rgba(8,20,24,.70); font-size: 13px; }

.pt-mosaic{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
.pt-photo{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(8,20,24,.10);
}
.pt-photo img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.pt-photo:nth-child(1){ grid-column: 1 / -1; }
.pt-photo:nth-child(1) img{ height: 360px; }
.pt-photo:not(:nth-child(1)) img{ height: 220px; }

/* Lightbox */
.pt-lightbox{
  align-items: center;
  justify-content: center;
}
.pt-lightbox::backdrop{ background: rgba(0,0,0,.65); }
#ptLbImg{
  max-width: 92vw;
  max-height: 86vh;
  margin: auto;
  display: block;
  object-fit: contain;
}
.pt-lb-close{
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}
.pt-lb-nav{
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.70);
  font-size: 54px;
  font-weight: 900;
  width: 64px;
  height: 64px;
}
.pt-lb-prev{ left: 16px; }
.pt-lb-next{ right: 16px; }
.pt-lb-nav:hover{ color: rgba(255,255,255,.92); }

/* ===== Airbnb-like body block ===== */
.airlike{ background: var(--bg); }
.airlike__grid{
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 32px var(--pad);

  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  align-items: start;
}
.airlike__main{ min-width: 0; }
.airlike__aside{
  position: sticky;
  top: calc(var(--stickyTop, 76px));
  align-self: start;

  width: 380px;
  max-width: 380px;
  justify-self: end;
}

.airlike__more{ margin-top: 12px; }
.airlike__rule{
  border: 0;
  border-top: 1px solid var(--border2);
  margin: 22px 0;
}

/* Where you'll sleep */
.sleep-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.sleep-card{
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
}
.sleep-card__img{
  background-size: cover;
  background-position: center;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 160px;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.sleep-card__body{
  padding: 12px 14px 14px;
}
.sleep-card__title{
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}
.sleep-card__meta{
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.3;
}
.sleep-note{
  font-weight: 700;
  color: rgba(8,20,24,.62);
  font-size: 12px;
}
.sleep-card:nth-child(1){ grid-column: 1 / -1; }

/* Amenities */
.amen-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
  margin-bottom: 16px;
}
.amen-item{
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px;
  font-size: 14px;
  color: rgba(8,20,24,.84);
}
.amen-ic{ line-height: 1; opacity: .9; }
.amen-item--muted{ color: rgba(8,20,24,.55); }
.airlike__amenBtn{ margin-top: 6px; }

/* Booking sidebar */
.book-card{ display: grid; gap: 12px; padding-top: 48px; }
.book-card__inner{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 14px 28px rgba(0,0,0,.10);
}

.book-price__big{ font-size: 20px; }
.book-price__small{
  font-size: 13px;
  color: var(--muted);
  margin-left: 6px;
}
.book-discount{
  margin-top: 6px;
  font-size: 13px;
  color: rgba(8,20,24,.72);
}

.book-form{ margin-top: 14px; display: grid; gap: 10px; position: relative; }
.book-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(8,20,24,.24);
  border-radius: 10px;
  overflow: hidden;
}
.book-field{ padding: 10px 12px; background: #fff; }
.book-field + .book-field{ border-left: 1px solid rgba(8,20,24,.24); }
.book-label{
  font-size: 10px;
  letter-spacing: .5px;
  font-weight: 900;
  color: rgba(8,20,24,.72);
}
.book-value{
  font-size: 13px;
  margin-top: 2px;
  color: rgba(8,20,24,.92);
}
.book-guests{
  border: 1px solid rgba(8,20,24,.24);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  text-align: left;
}
.book-chevron{ font-size: 16px; opacity: .7; }
.book-cta{ width: 100%; padding: 12px 14px; border-radius: 999px; }
.book-note{ text-align: center; font-size: 12px; color: var(--muted); }

/* Email + Message boxes */
.book-box{
  border: 1px solid rgba(8,20,24,.24);
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  display: grid;
  gap: 2px;
}
.book-input,
.book-textarea{
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0;
  margin-top: 2px;
  font: inherit;
  font-size: 13px;
  color: rgba(8,20,24,.92);
  -webkit-text-fill-color: rgba(8,20,24,.92);
}
.book-textarea{
  resize: vertical;
  min-height: 110px;
}
.book-input::placeholder,
.book-textarea::placeholder{
  font: inherit;
  font-size: 13px;
  color: rgba(8,20,24,.74);
  opacity:.7;
}

/* Guests dropdown */
.book-guestWrap{ position: relative; }
.guest-pop{
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  border: 1px solid rgba(8,20,24,.18);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(0,0,0,.12);
  padding: 10px 12px;
  z-index: 30;
}
.guest-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 2px;
}
.guest-row + .guest-row{ border-top: 1px solid rgba(8,20,24,.08); }
.guest-title{ font-size: 13px; color: rgba(8,20,24,.84); }
.guest-ctrl{ display: inline-flex; align-items: center; gap: 10px; }
.guest-btn{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(8,20,24,.22);
  background: #fff;
  font-size: 18px;
  line-height: 1;
}
.guest-btn:hover{ background: rgba(8,20,24,.05); }
.guest-count{
  min-width: 18px;
  text-align: center;
  font-weight: 800;
  font-size: 13px;
}
.guest-actions{
  display:flex;
  justify-content: flex-end;
  padding-top: 10px;
}
.guest-close{
  border: 0;
  background: transparent;
  font-weight: 800;
  font-size: 13px;
  color: rgba(8,20,24,.75);
  text-decoration: underline;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 10px;
}
.guest-close:hover{
  background: rgba(8,20,24,.06);
  text-decoration: none;
}

/* ===== Media safety (global) ===== */
img, iframe{ max-width: 100%; }

/* ===== Map ===== */
.map-shell{
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.map-shell iframe{
  display:block;
  width: 100%;
  height: clamp(240px, 52vw, 420px);
  border: 0;
}

/* ===== Footer ===== */
.site-footer{
  border-top: 1px solid var(--border2);
  background: var(--bg);
}
.site-footer__inner{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
}
.site-footer__muted{
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.site-footer__right{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}
.site-footer__right a{
  font-size: 13px;
  font-weight: 650;
  color: rgba(8,20,24,.72);
  text-decoration: none;
}
.site-footer__right a:hover{
  color: rgba(8,20,24,.92);
  text-decoration: underline;
}

/* ===== Footer spacing & logo ===== */
.site-footer{
  padding-top: 64px;
  padding-bottom: 64px;

  background: var(--jm-green-dark);
  color: var(--jm-cream, #f6f1ea);
}

.site-footer a{
  color: #f6f1ea;
  opacity: 0.85;
}
.site-footer a:hover{ opacity: 1; }

/* Doc-based brand classnames */
.brand--footer{
  align-items: flex-start;
}
.brand--footer .brand__emblem{
  width: 66px;
  height: 66px;
}
.brand--footer .brand__name{
  font-size: 20px;
}
.brand--footer .brand__tagline{
  font-size: 11px;
}

/* Your existing brandmark classnames (safe support) */
.brandmark--footer{
  align-items: flex-start;
}
.brandmark--footer .brandmark__emblem{
  height: 64px;
}
.brandmark--footer .brandmark__name{
  font-size: 45px;
}
.brandmark--footer .brandmark__tag{
  font-size: 11px;
}

/* Optional desktop breathing room */
@media (min-width: 960px){
  .site-footer{
    padding-top: 40px;
    padding-bottom: 20px;
  }
}

/* ========= VIDEO HERO (cover) ========= */
.video-hero{
  --heroH: clamp(420px, 60vh, 640px);
  position: relative;
  height: var(--heroH);
  overflow: hidden;
  border-radius: 0;
}
.video-hero__media{
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.video-hero__media iframe{
  position: absolute;
  top: 50%;
  left: 50%;
  width:  max(100vw, calc(var(--heroH) * 16 / 9));
  height: max(var(--heroH), calc(100vw * 9 / 16));
  transform: translate(-50%, -50%);
  transform-origin: center;
  border: 0;
  display: block;
  pointer-events: none;
}
.video-hero__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.0);
}
.video-hero__content{
  position: relative;
  z-index: 1;
  padding: clamp(18px, 4vw, 42px);
  color: #fff;
}

/* =================================================================================
   RESPONSIVE (ALL IN ONE PLACE)
================================================================================= */

/* <= 1120px: slightly narrower booking panel */
@media (max-width: 1120px){
  .airlike__grid{
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
  }
  .airlike__aside{
    width: 340px;
    max-width: 340px;
  }
}

/* <= 1100px: tablet/small laptops */
@media (max-width: 1100px){
  /* Video hero height a bit shorter */
  .video-hero{ --heroH: clamp(440px, 52vh, 520px); }

  /* Photo tour stacked */
  .pt-section{ grid-template-columns: 1fr; }
  .pt-photo:nth-child(1) img{ height: 300px; }
  .pt-photo:not(:nth-child(1)) img{ height: 200px; }
}

/* <= 980px: stack the airlike layout */
@media (max-width: 980px){
  .airlike__grid{
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .airlike__aside{
    position: static;
    width: 100%;
    max-width: 460px;
    margin: 18px auto 0;
    justify-self: center;
  }
  .book-card{ padding-top: 0; }

  /* Keep content readable */
  .airlike__main,
  .airlike__aside{
    width: 100%;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  .book-card__inner{
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .sleep-grid{ grid-template-columns: 1fr; }
  .amen-grid{ grid-template-columns: 1fr; }
  .map-shell iframe{ height: 320px; }
}

/* <= 720px: phone / small tablet */
@media (max-width: 720px){
  .sticky-nav__links{ gap: 8px; }
  .sticky-nav__links a{ padding: 8px 9px; }
  }

  .sleep-card__img{ min-height: 140px; }

  /* Prevent iOS zoom in inputs */
  .book-input,
  .book-textarea,
  input,
  textarea,
  select{
    font-size: 16px;
  }

  /* Video hero: reduce height on phones */
  .video-hero{ --heroH: clamp(280px, 44vh, 400px); }
}

/* <= 620px: slightly shorter card images */
@media (max-width: 620px){
  .card-media{ height: 160px; }
    --cards: 1;
    --gap: 12px;
}

/* <= 520px: tight phones */
@media (max-width: 520px){
  .wrap{ padding: 2px var(--pad); }
  .book-card__inner{ max-width: 100%; }
  .sleep-card__img{ aspect-ratio: 4 / 3; }
  .map-shell iframe{ height: 280px; }
}

/* <= 420px: very small phones */
@media (max-width: 420px){
  .video-hero{ --heroH: clamp(240px, 40vh, 380px); }
}



/* ===== Slider (clean: 3.5 desktop, 1.5 mobile) ===== */
.slider{
  --visible: 3.25;   /* how many cards you want to see */
  --gaps: 3;        /* gaps between those visible cards: 3.5 => 3 gaps */
  --gap: 14px;
  --edge: 8px;
  --navSpace: 80px; /* room for your next/prev buttons */

  position: relative;
  padding: 0 2px 18px;
  background: var(--bg);
}

.track{
  display:flex;
  gap: var(--gap);
  overflow-x:auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;

  padding: 10px var(--edge) 14px;
  padding-right: calc(var(--edge) + var(--navSpace));
  scroll-padding-left: var(--edge);
  scroll-padding-right: calc(var(--edge) + var(--navSpace));

  scrollbar-width: none;
}
.track::-webkit-scrollbar{ display:none; }

.card{
  flex: 0 0 auto;
  width: calc((100% - (var(--gap) * var(--gaps))) / var(--visible));
  scroll-snap-align: start;
}

/* <= 720px: 1.5 cards */
@media (max-width: 720px){
  .slider{
    --visible: 1.2;
    --gaps: 1;     /* 1.5 => 1 gap */
    --gap: 12px;
    --edge: 8px;
    --navSpace: 0px; /* optional: if you hide nav buttons on mobile */
  }
}






/* =========================
   TEXT LOGO (emblem + real text)
   ========================= */

.brandmark{
  /* default (non-hero) colours */
  --jm-green: #456F44;
  --jm-cream: rgba(249,244,236,.92);

  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--jm-green);
}

.brandmark__emblem{
  height: 64px;
  width: auto;
  display: block;
  position: relative;
  z-index: 1;
}

.brandmark__type{
  display: grid;
  gap: 6px;
  line-height: 1;
    justify-items: center;   /* <- key: centres children on same axis */
  text-align: center;      /* <- key: centres text regardless of width */
}

.brandmark__name{
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 47px;
  letter-spacing: 0;
  color: currentColor;
}

.brandmark__subline{
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brandmark__tag{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .35em;
  text-transform: uppercase;
  opacity: .95;
}

.brandmark__rule{
  width: 48px;
  height: 1px;
  background: currentColor;
  opacity: .55;
  transform: translateY(1px);
}

/* On-video variant (for your hero overlay) */
.brandmark--on-hero{
  color: rgba(255,255,255,.96);
}

.brandmark--on-hero .brandmark__emblem{
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.35));
}

/* responsive nudge */
@media (max-width: 720px){
  .brandmark__emblem{ height: 44px; }
  .brandmark__name{ font-size: 28px; }
  .brandmark__tag{ font-size: 12px; letter-spacing: .30em; }
  .brandmark__rule{ width: 36px; }
}

/* ===== Amenities (popup) ===== */
.amenities{
  display: grid;
  gap: 16px;
}

.amenity-title{
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .2px;
  color: rgba(8,20,24,.78);
  text-transform: uppercase;
}

.amenity-list{
  list-style: none;
  margin: 0;
  padding: 0;

  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.amenity-item{
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px;
  padding: 12px 12px;
}

.amenity-item + .amenity-item{
  border-top: 1px solid var(--border2);
}

.amenity-ic{
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--brand2);
  opacity: .95;
  margin-top: 1px;
}

.amenity-ic .ic{
  width: 20px;
  height: 20px;
}

.amenity-label{
  font-size: 14px;
  color: rgba(8,20,24,.86);
  line-height: 1.35;
}
/* ==========================================================================
   BOOKING / CONTACT FORM — prevent bottom cutoff on laptop-height screens
   Goal: shrink the form gracefully so it fits, without breaking layout
   ========================================================================== */

/* 1) Hard guard: the sticky sidebar can never exceed the viewport height */
.airlike__aside{
  max-height: calc(100vh - var(--stickyTop, 76px) - 24px);
}

/* 2) If content is still too tall, allow *internal* scroll (last resort) */
.book-card__inner{
  max-height: calc(100vh - var(--stickyTop, 76px) - 40px);
  overflow: auto;
}

/* 3) Laptop-height tuning: reduce paddings, gaps, and field heights */
@media (max-height: 820px){
  /* remove extra top spacing that pushes the card down */
  .book-card{ padding-top: 18px; }

  /* tighten the card */
  .book-card__inner{
    padding: 12px;
    box-shadow: 0 10px 22px rgba(0,0,0,.10);
  }

  /* tighten typography in the pricing header area (if present) */
  .book-price__big{ font-size: 16px; }
  .book-price__small{ font-size: 12px; }

  /* tighten form spacing */
  .book-form{ gap: 8px; margin-top: 10px; }

  /* tighten date row + guest row */
  .book-row{ border-radius: 9px; }
  .book-field{ padding: 8px 10px; }
  .book-label{ font-size: 9px; }
  .book-value{ font-size: 12px; }

  .book-guests{ padding: 8px 10px; border-radius: 9px; }
  .book-chevron{ font-size: 15px; }

  /* tighten email/message boxes */
  .book-box{ padding: 8px 10px; border-radius: 9px; }
  .book-input,
  .book-textarea{
    font-size: 12.5px;
  }

  /* KEY: message area shrinks with viewport height */
  .book-textarea{
    min-height: clamp(72px, 14vh, 110px);
  }

  /* button tighter */
  .book-cta{ padding: 11px 12px; }
  .book-note{ font-size: 11px; }
}

/* 4) Very short heights: shrink a little more (still “reasonable” screens) */
@media (max-height: 720px){
  .book-card{ padding-top: 10px; }
  .book-card__inner{ padding: 10px; }

  .book-form{ gap: 7px; }
  .book-field{ padding: 7px 9px; }
  .book-guests{ padding: 7px 9px; }

  .book-textarea{
    min-height: clamp(64px, 12vh, 96px);
  }

  .book-cta{ padding: 10px 12px; }
}
/* Map framed like the booking form card */


.map-shell{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0,0,0,.10); /* match .book-card__inner vibe */
}
