/* ==========================================================================
   Epic Pesach
   Brand system: Villatel Resort Orlando guidelines (Studio Born, April 2026).
   Layout: editorial split bands on a 12-column grid. The grounds are the light
   neutrals (Porcelain, Coconut Milk, Seafoam), as on villatelresort.com; Cypress
   is kept for type, buttons, the booking card and the footer. Photographs stay
   square-cornered.
   ========================================================================== */

:root {
  /* Brand palette. Use as given: no tints, no gradients. */
  --porcelain: #fdf9ec;
  --seafoam: #d1dbd6;
  --coconut: #e6ded1;
  --mauvewood: #714242;
  --apricot: #d39985;
  --cypress: #153834;
  --eucalyptus: #89afaf;

  /* Type. The guidelines name Aboreto, PP Fragment Serif and PP Fragment Sans. Lora and Rethink Sans
     are the web stand-ins villatelresort.com itself uses for the two PP Fragment faces. */
  --display: "Aboreto", "Cinzel", "Trajan Pro", Georgia, serif;
  --serif: "Lora", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Rethink Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --hebrew: "Frank Ruhl Libre", "Times New Roman", serif;

  --gutter: clamp(18px, 4.2vw, 56px);
  --max: 1280px;
  --section: clamp(64px, 9vw, 128px);
  --header-h: 76px;

  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--cypress);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Paints the strip above the sticky header on phones with a system bar. */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--porcelain);
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
address { font-style: normal; }

/* The ring takes the ink of whatever ground it sits on, so it reads on Porcelain and on Cypress. */
:focus-visible { outline: 2px solid var(--fg, var(--cypress)); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--porcelain);
  color: var(--cypress);
}
.skip:focus { top: 12px; }

/* ----- Layout ----------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* Each band sets its own ground and ink; everything inside reads these. */
.band {
  --bg: var(--porcelain);
  --fg: var(--cypress);
  --fg-2: rgba(21, 56, 52, 0.76);
  --line: rgba(21, 56, 52, 0.22);
  background: var(--bg);
  color: var(--fg);
  padding-block: var(--section);
}
.band--coconut { --bg: var(--coconut); }
.band--seafoam { --bg: var(--seafoam); }
.band--cypress {
  --bg: var(--cypress);
  --fg: var(--porcelain);
  --fg-2: rgba(253, 249, 236, 0.8);
  --line: rgba(253, 249, 236, 0.26);
}
.band--mauve {
  --bg: var(--mauvewood);
  --fg: var(--porcelain);
  --fg-2: rgba(253, 249, 236, 0.84);
  --line: rgba(253, 249, 236, 0.3);
}
.band--tight { padding-block: clamp(40px, 6vw, 72px); }

.center { text-align: center; }

/* ----- Type ------------------------------------------------------------- */

.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.06;
  text-wrap: balance;
  /* A word too long for its line (large text on a narrow phone) turns instead of running off the screen. */
  overflow-wrap: break-word;
}
h1.display { font-size: clamp(2.35rem, 5.3vw, 4.6rem); }
h2.display { font-size: clamp(1.8rem, 3.4vw, 3rem); }

h3 {
  font: 400 1.3rem/1.3 var(--serif);
  text-wrap: balance;
}

.eyebrow,
.label {
  font: 600 0.76rem/1.4 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow { color: var(--fg-2); }

.lede {
  font: 400 clamp(1.15rem, 1.55vw, 1.4rem)/1.5 var(--serif);
  text-wrap: pretty;
}

.fine { font-size: 0.9rem; color: var(--fg-2); }

.he { font-family: var(--hebrew); font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 1.25em; line-height: 1; }

.shead { display: grid; gap: 18px; max-width: 46rem; margin-bottom: clamp(32px, 4.5vw, 56px); }
.shead .lede { color: var(--fg-2); max-width: 38rem; }
.shead--center { margin-inline: auto; text-align: center; justify-items: center; }

.prose { display: grid; gap: 1.1em; max-width: 40rem; }
.prose p { color: var(--fg-2); }

/* ----- Buttons and links ------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75em;
  padding: 1.15em 1.7em;
  border: 1px solid transparent;
  font: 600 0.76rem/1 var(--sans);
  letter-spacing: 0.17em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--sm { padding: 1.1em 1.25em; }
.btn[disabled] { opacity: 0.5; cursor: default; }

.btn--primary { background: var(--cypress); color: var(--porcelain); }
.btn--primary:hover { background: var(--mauvewood); }
.btn--accent { background: var(--apricot); color: var(--cypress); }
.btn--accent:hover { background: var(--fg, var(--porcelain)); color: var(--bg, var(--cypress)); }
.btn--light { background: var(--porcelain); color: var(--cypress); }
.btn--light:hover { background: var(--apricot); }
.btn--ghost { border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: var(--fg, var(--cypress)); border-color: var(--fg, var(--cypress)); color: var(--bg, var(--porcelain)); }

.btnrow { display: flex; flex-wrap: wrap; gap: 12px; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding-block: 6px;
  border-bottom: 1px solid currentColor;
  font: 600 0.76rem/1.2 var(--sans);
  letter-spacing: 0.17em;
  text-transform: uppercase;
  text-decoration: none;
}
.textlink .arrow { transition: transform 0.2s; }
.textlink:hover .arrow { transform: translateX(4px); }
/* Under the pointer the rule beneath the words doubles, so a link with no arrow answers too. */
.textlink:hover { box-shadow: 0 1px 0 currentColor; }

.prose a,
.handoff a,
.inline-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

.handoff { font-size: 0.9rem; color: var(--fg-2, rgba(21, 56, 52, 0.76)); max-width: 34rem; }
.handoff strong { font-weight: 600; color: var(--fg, var(--cypress)); }
.handoff--center { margin: 18px auto 0; text-align: center; }

/* ----- Preview bar, header ---------------------------------------------- */

.draftbar { background: var(--apricot); color: var(--cypress); font-size: 0.875rem; line-height: 1.4; }
.draftbar .wrap { padding-block: 9px; text-align: center; }
/* On a phone the notice would push the booking bar off the first screen, so there it is shown once,
   at the end of the page, and the copy at the top is hidden. */
.draftbar--foot { display: none; }
@media (max-width: 640px) {
  .draftbar--top { display: none; }
  .draftbar--foot { display: block; }
}

.header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--porcelain);
  border-bottom: 1px solid rgba(21, 56, 52, 0.16);
}
.header__in { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }

.brand { display: grid; gap: 5px; text-decoration: none; margin-right: auto; }
/* The logo is the way home: it gets a taller area to tap than the line of type. */
.header .brand { padding-block: 14px; margin-block: -14px; }
.brand__name { font: 400 1.5rem/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.brand__sub { font: 600 0.6rem/1 var(--sans); letter-spacing: 0.34em; text-transform: uppercase; opacity: 0.72; }
/* The designed logo: sized by height in the header, by width in the footer. */
/* A logo with an accent shape draws it in Apricot; a one-colour logo ignores this. */
.brand--logo { --accent: var(--apricot); }
.brand--logo svg { display: block; width: auto; }
.brand--horizontal svg { height: 23px; }
.brand--stacked svg { height: auto; width: min(100%, 230px); }

.nav ul { display: flex; gap: clamp(16px, 2.1vw, 34px); }
.nav a:not(.btn) {
  display: block;
  padding-block: 8px;
  font: 500 0.76rem/1.2 var(--sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.nav a:not(.btn):hover,
.nav a[aria-current="page"] { border-bottom-color: currentColor; }
.nav__cta { display: none; }
/* Home and Contact: only in the menu that opens on a phone or a tablet. */
.nav__menuonly { display: none; }
/* Shown only inside the phone and tablet menu: booking is also by phone, text and email. */
.nav__contact { display: none; }

.menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 14px 0 14px 10px;
  border: 0;
  background: none;
  color: inherit;
  font: 600 0.76rem/1 var(--sans);
  letter-spacing: 0.17em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-btn__bars { position: relative; width: 22px; height: 10px; border-block: 1.5px solid currentColor; }

@media (max-width: 1080px) {
  .header__cta { display: none; }
  .menu-btn { display: inline-flex; }
  /* The open menu never runs past the bottom of the screen: site.js sets --menu-max to the room under
     the header, and the panel scrolls inside itself instead of letting the page move behind it. */
  .nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    background: var(--porcelain);
    border-bottom: 1px solid rgba(21, 56, 52, 0.16);
    padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) 28px max(var(--gutter), env(safe-area-inset-left, 0px));
    max-height: var(--menu-max, calc(100vh - var(--header-h)));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav.is-open { display: block; }
  /* On a phone the open menu always reaches the foot of the screen, so nothing of the page (or of
     the bar pinned there) shows in a strip under a short menu. */
  @media (max-width: 699px) {
    .nav.is-open { min-height: var(--menu-max, calc(100vh - var(--header-h))); }
  }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid rgba(21, 56, 52, 0.14); }
  .nav__menuonly { display: block; }
  .nav a:not(.btn) { padding-block: 18px; font-size: 0.86rem; border-bottom: 0; }
  .nav__cta { display: flex; margin-top: 22px; }
  /* The two ways to reach a person, each its own line to tap. */
  .nav__contact { display: grid; margin-top: 10px; }
  .nav .nav__contact a { display: block; padding: 12px 0; font: 400 1rem/1.25 var(--sans); letter-spacing: 0; text-transform: none; white-space: normal; color: var(--cypress); text-decoration: underline; text-underline-offset: 0.2em; overflow-wrap: anywhere; }
}

@media (max-width: 1080px) and (max-height: 700px) {
  /* A short phone: each row at the 44px minimum, so the whole menu, down to the email line, fits a
     640px screen without scrolling inside itself. */
  .nav { padding-bottom: 16px; }
  .nav a:not(.btn) { padding-block: 13.75px; }
  .nav__cta { margin-top: 14px; }
  .nav__contact { margin-top: 6px; }
}

/* Tablets and small laptops have room for the Book button beside the Menu button. */
@media (min-width: 600px) and (max-width: 1080px) {
  .header__cta { display: inline-flex; padding: 0.95em 1.25em; }
  .nav__cta { display: none; }
}
/* A villa or apartment page pins its own booking bar to the foot of the screen below 1100px, so the
   header does not carry a second Book button there. */
@media (min-width: 600px) and (max-width: 1099px) {
  body:has(.has-mobilebook) .header__cta { display: none; }
  body:has(.has-mobilebook) .nav__cta { display: flex; }
}

@media (max-width: 640px) {
  .brand__name { font-size: 1.3rem; }
  .brand--horizontal svg { height: 19px; }
}

/* ----- Frames (photographs) --------------------------------------------- */

.frame { overflow: hidden; background: var(--coconut); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }

/* The home hero is in parts/10-ui.css. */

/* ----- Booking bar ------------------------------------------------------ */

.bookbar {
  --cell-x: 20px;
  grid-area: bar;
  position: relative;
  z-index: 3;
  display: grid;
  background: var(--porcelain);
  color: var(--cypress);
  border: 1px solid rgba(21, 56, 52, 0.26);
  box-shadow: 0 14px 34px rgba(21, 56, 52, 0.1);
}
.bookbar__cell { display: grid; gap: 4px; align-content: center; padding: 14px var(--cell-x); border-top: 1px solid rgba(21, 56, 52, 0.16); min-width: 0; }
.bookbar__cell:first-child { border-top: 0; }
.bookbar__cell > strong { font: 400 1.1rem/1.3 var(--serif); }
.bookbar__sub { font-size: 0.875rem; color: rgba(21, 56, 52, 0.76); }
.bookbar .label { color: rgba(21, 56, 52, 0.76); }
.bookbar__hint { font-size: 0.875rem; color: var(--mauvewood); }
/* The plain list, shown only when scripts are off. */
.bookbar select {
  width: 100%;
  padding: 4px 28px 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23153834' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 4px center / 12px 8px;
  color: var(--cypress);
  font: 400 1.1rem/1.3 var(--serif);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  text-overflow: ellipsis;
}
.bookbar__cell--go { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px var(--cell-x); }
.bookbar__go { flex: 1 1 auto; min-height: 54px; }
/* On a phone the bar is kept short, so the Reserve button is on the first screen too. */
@media (max-width: 480px) {
  .bookbar__cell { padding-block: 11px; }
  .bookbar__cell--go { padding-block: 10px; }
  .bookbar__go { min-height: 50px; }
}

/* Tablets and small laptops: the dates run along the top; the choice and the button share the row
   beneath, so the longest name ("6-Bedroom Villa with Theater") is never cut short in the field. */
@media (min-width: 700px) and (max-width: 1099px) {
  .bookbar { --cell-x: 24px; grid-template-columns: minmax(0, 1fr) auto; }
  .bookbar__cell:first-child { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 18px; padding-block: 13px; }
  .bookbar__cell--go { border-left: 1px solid rgba(21, 56, 52, 0.16); padding: 12px 18px 12px 24px; }
  .bookbar__go { flex: none; min-width: 11.5rem; }
}
/* One row from the width where all three parts fit side by side. */
@media (min-width: 1100px) {
  .bookbar { --cell-x: 24px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: stretch; }
  .bookbar__cell { border-top: 0; border-left: 1px solid rgba(21, 56, 52, 0.16); padding-block: 16px; }
  .bookbar__cell:first-child { border-left: 0; }
  .bookbar__cell--go { padding: 14px 18px 14px 24px; }
  /* Wide enough for any of its labels ("Reserve", "Show all", "How to book"), so a choice moves nothing. */
  .bookbar__go { min-width: 12.5rem; }
}
/* On the narrowest phones a long name takes a second line in the field instead of being cut. */
@media (max-width: 359px) {
  .pick .pick__value { white-space: normal; }
}

/* The villa chooser: a list drawn in the site's own type, in place of the browser's. site.js builds
   it from the <select> above, which stays in the page as the record of the choice. */
.pick { position: relative; min-width: 0; }
.pick__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 3px 4px 3px 0;
  border: 0;
  background: none;
  color: var(--cypress);
  font: 400 1.1rem/1.3 var(--serif);
  text-align: left;
  cursor: pointer;
}
.pick__btn:focus-visible { outline: 2px solid var(--cypress); outline-offset: 2px; }
/* The label above the field and the cell's own padding open the list too. */
.pick__btn::before { content: ""; position: absolute; inset: -26px calc(-1 * var(--cell-x)) -12px; }
.pick__value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* The same tone as the label above it: 5.9 to 1 on Porcelain. */
.pick__value.is-placeholder { color: rgba(21, 56, 52, 0.76); }
.pick__chev { flex: none; width: 12px; height: 8px; transition: transform 0.2s; }
.pick__btn[aria-expanded="true"] .pick__chev { transform: rotate(180deg); }
.pick__list {
  position: absolute;
  z-index: 20;
  left: calc(-1 * var(--cell-x));
  right: calc(-1 * var(--cell-x));
  top: calc(100% + 15px);
  /* site.js lowers this to the room there is between the field and the header or the screen's edge. */
  max-height: min(62vh, 470px);
  display: flex;
  flex-direction: column;
  background: var(--porcelain);
  border: 1px solid rgba(21, 56, 52, 0.26);
  box-shadow: 0 18px 40px rgba(21, 56, 52, 0.16);
}
.pick--up .pick__list { top: auto; bottom: calc(100% + 30px); }
/* The choices scroll inside the panel when it is shorter than they are. A thin scrollbar is drawn
   where the browser draws one, and "More below" says so in words where it does not. */
.pick__scroll { position: relative; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-block: 6px; scrollbar-width: thin; scrollbar-color: rgba(21, 56, 52, 0.45) transparent; }
.pick__more { flex: none; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 9px var(--cell-x); border-top: 1px solid rgba(21, 56, 52, 0.16); font: 600 0.76rem/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: rgba(21, 56, 52, 0.76); cursor: pointer; }
.pick__more svg { width: 10px; height: 7px; }
.pick__group { padding: 14px var(--cell-x) 6px; font: 600 0.76rem/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: rgba(21, 56, 52, 0.7); }
.pick__opt { position: relative; display: grid; gap: 1px; padding: 10px calc(var(--cell-x) + 22px) 10px var(--cell-x); border-top: 1px solid rgba(21, 56, 52, 0.1); cursor: pointer; }
.pick__scroll > .pick__opt:first-child { border-top: 0; }
.pick__name { font: 400 1.06rem/1.3 var(--serif); }
.pick__meta { font: 500 0.875rem/1.4 var(--sans); color: rgba(21, 56, 52, 0.76); }
/* The row the keyboard or the pointer is on: a tint, and a Cypress bar that does not rely on the tint. */
.pick__opt.is-active { background: var(--seafoam); box-shadow: inset 4px 0 0 var(--cypress); }
/* On a wide screen each choice is one line, name on the left and its detail on the right, and the
   list may be wider than the field, so all ten rows show without scrolling. */
@media (min-width: 1100px) {
  .pick__list { right: auto; width: max(calc(100% + 2 * var(--cell-x)), 35rem); }
  .pick__opt { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 18px; padding-block: 8px; }
  .pick__group { padding-top: 12px; }
  .pick__meta { text-align: right; white-space: nowrap; }
}
/* The choice in force carries a small Apricot square, the site's list marker. */
.pick__opt[aria-selected="true"]::after { content: ""; position: absolute; right: var(--cell-x); top: 50%; width: 8px; height: 8px; margin-top: -4px; background: var(--apricot); }

/* ----- Info note beside a button ----------------------------------------- */

.infotip { position: relative; display: inline-flex; flex: none; }
.infotip__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: none;
  color: inherit;
  font: italic 400 1.05rem/1 var(--serif);
  cursor: pointer;
}
/* A wider area to tap than the circle that is drawn. */
.infotip__btn::before { content: ""; position: absolute; inset: -8px; }
.infotip__btn:hover,
.infotip.is-open .infotip__btn { background: var(--cypress); border-color: var(--cypress); color: var(--porcelain); }
/* The note opens above the button. Its lower padding bridges the gap, so the pointer can travel
   from the button into the note without the note closing. */
.infotip__panel {
  position: absolute;
  z-index: 30;
  right: -10px;
  bottom: 100%;
  width: min(22.5rem, calc(100vw - 2 * var(--gutter) - 12px));
  padding-bottom: 16px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.15s, visibility 0.15s;
}
.infotip__box { display: block; padding: 16px 18px; background: var(--porcelain); color: var(--cypress); border: 1px solid rgba(21, 56, 52, 0.26); font: 400 0.88rem/1.55 var(--sans); letter-spacing: 0; text-transform: none; text-align: left; box-shadow: 0 18px 40px rgba(21, 56, 52, 0.16); }
.infotip__box strong { font-weight: 600; }
.infotip__box a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; white-space: nowrap; }
/* Pinned open by a click, a tap or the keyboard; with scripts off, shown by the pointer or by focus. */
.infotip.is-open .infotip__panel,
.infotip:not(.is-ready):hover .infotip__panel,
.infotip:not(.is-ready):focus-within .infotip__panel { visibility: visible; opacity: 1; }
/* Shown under the pointer only where there is a pointer that can hover: on a touch screen a tap
   would otherwise leave it stuck open. */
@media (hover: hover) {
  .infotip:hover .infotip__panel,
  .infotip.is-lingering .infotip__panel { visibility: visible; opacity: 1; }
}
.infotip__panel:focus { outline: 0; }
.infotip.is-dismissed .infotip__panel { visibility: hidden; opacity: 0; }
/* site.js opens the note downward when there is no room for it between the button and the header. */
.infotip--down .infotip__panel { bottom: auto; top: 100%; padding: 16px 0 0; }

/* ----- Intro ------------------------------------------------------------ */

.intro__grid { display: grid; gap: clamp(36px, 5vw, 72px); align-items: start; }
.intro__copy { display: grid; gap: 1.1em; }
.intro__copy .shead { margin-bottom: 8px; }
.intro__copy > p { color: var(--fg-2); max-width: 34rem; }
.intro__side { display: grid; gap: 28px; min-width: 0; }
.intro__side .frame { aspect-ratio: 16 / 10; }
@media (min-width: 960px) {
  .intro__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}

.facts { display: grid; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: minmax(104px, 0.34fr) minmax(0, 1fr); gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); align-items: baseline; }
.facts dt { font: 600 0.76rem/1.5 var(--sans); letter-spacing: 0.17em; text-transform: uppercase; color: var(--fg-2); }
.facts dd { font: 400 1.08rem/1.4 var(--serif); text-wrap: pretty; }
.facts--dist > div { grid-template-columns: minmax(0, 1fr) auto; }
.facts--dist dt { font: 400 1.08rem/1.4 var(--serif); letter-spacing: 0; text-transform: none; color: var(--fg); }
.facts--dist dd { font: 500 0.98rem/1.4 var(--sans); text-align: right; font-variant-numeric: tabular-nums; }
.facts__sub { display: block; font-size: 0.875rem; font-weight: 400; color: var(--fg-2); }

/* ----- Included grid ---------------------------------------------------- */

.incl { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 clamp(24px, 3vw, 44px); margin-bottom: clamp(32px, 4vw, 48px); }
.incl li { display: grid; gap: 8px; align-content: start; padding-block: 24px; border-top: 1px solid var(--line); }
.incl p { font-size: 0.97rem; color: var(--fg-2); }

/* ----- Villa cards ------------------------------------------------------ */

.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 40px); margin-bottom: clamp(36px, 4.5vw, 56px); }
.vcard { display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.vcard__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--coconut); }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.vcard:hover .vcard__media img { transform: scale(1.035); }
.vcard__body { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 12px; padding-top: 22px; }
.vcard__name { font: 400 1.45rem/1.15 var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
.vcard__name a { text-decoration: none; }
.vcard__name a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.vcard__summary { color: var(--fg-2); font-size: 0.99rem; }
.specs { display: flex; flex-wrap: wrap; align-content: start; gap: 4px 0; font: 500 0.875rem/1.5 var(--sans); }
.specs li:not(:last-child)::after { content: "·"; margin-inline: 0.7em; opacity: 0.8; }
.vcard__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.vcard__actions { display: flex; align-items: center; gap: 20px; }

.price { display: grid; gap: 2px; }
.price__amount { font: 400 1.75rem/1 var(--display); letter-spacing: 0.03em; font-variant-numeric: tabular-nums; }
.price__note { font-size: 0.875rem; color: var(--fg-2); text-wrap: pretty; }

/* ----- Program band ----------------------------------------------------- */

.program__grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
/* The tallis photo is a wide crop, so its frame is never taller than the file can fill sharply. */
.program__grid .frame--tall { aspect-ratio: 3 / 2; }
.program__copy { display: grid; gap: 8px; justify-items: start; min-width: 0; }
.program__copy .shead { margin-bottom: 12px; }
@media (min-width: 960px) {
  .program__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .program__grid .frame--tall { aspect-ratio: 1; }
}

.rows { display: grid; width: 100%; margin-bottom: 28px; border-top: 1px solid var(--line); }
.rows li { display: grid; gap: 6px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.rows p { color: var(--fg-2); font-size: 0.99rem; max-width: 40rem; }
@media (min-width: 720px) {
  .rows li { grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1fr); gap: 24px; align-items: baseline; }
}

.daystrip-wrap { margin-top: clamp(40px, 5vw, 72px); overflow-x: auto; scrollbar-width: thin; }
.daystrip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(112px, 1fr); min-width: max-content; border-top: 1px solid var(--line); }
@media (min-width: 1180px) {
  .daystrip { grid-auto-columns: minmax(0, 1fr); min-width: 0; }
  .daychip__date { font-size: 1.05rem; }
}
.daychip { display: grid; gap: 5px; align-content: start; padding: 18px 14px 4px 0; position: relative; }
.daychip::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--fg); }
.daychip--yomtov::before,
.daychip--erev::before { background: var(--apricot); }
/* Apricot is faint on the light grounds, so there the same days are marked in Mauvewood. */
.band:not(.band--cypress):not(.band--mauve) .daychip--yomtov::before,
.band:not(.band--cypress):not(.band--mauve) .daychip--erev::before { background: var(--mauvewood); }
.daychip__dow { font: 600 0.76rem/1.2 var(--sans); letter-spacing: 0.17em; text-transform: uppercase; color: var(--fg-2); }
.daychip__date { font: 400 1.15rem/1.1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.daychip__title { font-size: 0.875rem; line-height: 1.35; color: var(--fg-2); max-width: 8.5rem; }

/* ----- Dining band ------------------------------------------------------ */

.dining__grid { display: grid; gap: clamp(40px, 5vw, 80px); align-items: center; }
.dining__copy { display: grid; gap: 8px; justify-items: start; min-width: 0; }
.dining__copy .shead { margin-bottom: 12px; }
.dining__copy .fine { margin-bottom: 22px; }
.dining__copy .rows { margin-bottom: 18px; }
.dining__art { position: relative; padding: 0 0 22% 18%; min-width: 0; }
.dining__art .frame--a { aspect-ratio: 4 / 5; }
.dining__art .frame--b { position: absolute; left: 0; bottom: 0; width: 52%; aspect-ratio: 1; border: 8px solid var(--bg); }
@media (min-width: 960px) {
  .dining__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
@media (max-width: 959px) {
  .dining__art { max-width: 520px; }
}

/* ----- Location --------------------------------------------------------- */

.location__grid { display: grid; gap: clamp(36px, 5vw, 80px); align-items: center; }
.location__art .frame { aspect-ratio: 5 / 4; }
.location__copy { display: grid; gap: 26px; justify-items: start; min-width: 0; }
.location__copy .shead { margin-bottom: 0; }
.location__copy .facts { width: 100%; }
@media (min-width: 960px) {
  .location__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* ----- Steps (a real sequence, so it is numbered) ----------------------- */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 clamp(24px, 3vw, 44px); counter-reset: step; }
.steps li { display: grid; gap: 10px; align-content: start; padding-block: 26px; border-top: 1px solid var(--line); counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font: 500 0.86rem/1 var(--sans);
}
.steps p { font-size: 0.97rem; color: var(--fg-2); }

/* ----- Closing band ----------------------------------------------------- */

.cta { position: relative; display: grid; isolation: isolate; background: var(--cypress); color: var(--porcelain); }
.cta__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
/* A flat darkening layer keeps type legible on the photograph (brand: no gradients). */
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8, 24, 22, 0.56); }
.cta__in { --fg: var(--porcelain); --bg: var(--cypress); display: grid; gap: 22px; justify-items: center; text-align: center; padding-block: clamp(84px, 11vw, 150px); }
.cta__in .eyebrow { color: var(--porcelain); }
.cta__in .lede { max-width: 36rem; }
.cta__in .btnrow { justify-content: center; margin-top: 8px; }

/* ----- Footer ----------------------------------------------------------- */

.footer { padding-block: clamp(56px, 7vw, 88px) 0; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 40px clamp(28px, 4vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.footer__brand { display: grid; gap: 18px; align-content: start; }
.footer__brand p { color: var(--fg-2); font-size: 0.95rem; max-width: 20rem; }
.brand--footer { margin-right: 0; justify-self: start; padding-block: 4px; }
.footer__h { margin-bottom: 16px; font: 600 0.76rem/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-2); }
.footer__links { display: grid; gap: 0; }
.footer__links a { display: inline-block; min-width: 44px; padding-block: 9px; text-decoration: none; overflow-wrap: anywhere; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.footer__logo { display: block; width: 190px; max-width: 100%; margin-bottom: 16px; }
.footer__logo svg { display: block; width: 100%; height: auto; }
.footer__venue address { color: var(--fg-2); font-size: 0.95rem; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 22px 26px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--fg-2); }

/* ----- Inner page hero -------------------------------------------------- */

.phero { padding-block: clamp(48px, 6.5vw, 96px); }
.phero__grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.phero__copy { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.phero__copy .lede { color: var(--fg-2); max-width: 34rem; }
.phero__art { aspect-ratio: 4 / 3; overflow: hidden; min-width: 0; }
.phero__art img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) {
  .phero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); }
  .phero__grid:not(:has(.phero__art)) { grid-template-columns: minmax(0, 46rem); }
}

/* ----- Tick lists ------------------------------------------------------- */

.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; color: var(--fg-2); font-size: 0.99rem; text-wrap: pretty; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; background: var(--apricot); }
.ticks--cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 10px 32px; }

/* ----- Villa detail ----------------------------------------------------- */

.vhero { padding-block: 0; }
.vhero__grid { display: grid; }
.vhero__copy { display: grid; gap: 20px; align-content: center; justify-items: start; padding: clamp(40px, 6vw, 88px) max(var(--gutter), env(safe-area-inset-right, 0px)) clamp(40px, 6vw, 88px) max(var(--gutter), env(safe-area-inset-left, 0px)); min-width: 0; }
.vhero__copy .lede { color: var(--fg-2); max-width: 32rem; }
.vhero__art { min-height: 300px; overflow: hidden; }
.vhero__art img { width: 100%; height: 100%; object-fit: cover; }
.crumb { font: 600 0.76rem/1.4 var(--sans); letter-spacing: 0.17em; text-transform: uppercase; text-decoration: none; color: var(--fg-2); }
.crumb:hover { color: var(--fg); }
@media (min-width: 960px) {
  .vhero__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); min-height: clamp(460px, 44vw, 620px); }
  .vhero__copy { padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2), env(safe-area-inset-left, 0px)); padding-right: clamp(32px, 4vw, 64px); }
}

.specbar { border-bottom: 1px solid var(--line); padding-block: 0; }
.specbar ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.specbar li { display: grid; gap: 4px; padding: 22px 16px 22px 0; }
.specbar strong { font: 400 1.5rem/1.1 var(--display); letter-spacing: 0.03em; text-transform: uppercase; }
.specbar span { font: 600 0.7rem/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-2); }

.vbody { display: grid; gap: clamp(40px, 5vw, 72px); align-items: start; }
.vbody__main { display: grid; gap: clamp(40px, 5vw, 64px); min-width: 0; }
/* The booking card takes its own column only from 1100px: below that (an iPad held sideways, a
   narrow laptop window) the photographs keep the full width and the pinned bar carries the booking. */
@media (min-width: 1100px) {
  .vbody { grid-template-columns: minmax(0, 1fr) minmax(300px, 372px); }
  .bookcard { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px); }
}

/* Two large photos, then four across. */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; }
.gallery a { display: block; grid-column: span 3; aspect-ratio: 1; overflow: hidden; background: var(--coconut); }
.gallery a:nth-child(1),
.gallery a:nth-child(2) { grid-column: span 6; aspect-ratio: 3 / 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery a:hover img { transform: scale(1.04); }
@media (max-width: 640px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery a,
  .gallery a:nth-child(1),
  .gallery a:nth-child(2) { grid-column: span 1; aspect-ratio: 4 / 3; }
}

.featgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0 clamp(24px, 3vw, 44px); }
.featgrid > div { display: grid; gap: 14px; align-content: start; padding-block: 24px; border-top: 1px solid var(--line); }
.subhead { font: 400 1.5rem/1.2 var(--display); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 20px; }

.bookcard { display: grid; gap: 18px; padding: clamp(24px, 3vw, 32px); background: var(--cypress); color: var(--porcelain); --fg: var(--porcelain); --fg-2: rgba(253, 249, 236, 0.8); --line: rgba(253, 249, 236, 0.26); --bg: var(--cypress); }
.bookcard__title { font: 400 1.15rem/1.2 var(--display); letter-spacing: 0.08em; text-transform: uppercase; }
.bookcard .price__amount { font-size: 2.4rem; }
.bookcard .facts dd { font-size: 1rem; }
.bookcard .facts > div { grid-template-columns: minmax(92px, 0.36fr) minmax(0, 1fr); padding-block: 11px; }
.bookcard .btn { width: 100%; }
.bookcard .handoff { font-size: 0.875rem; }

.mobilebook { display: none; }
@media (max-width: 1099px) {
  .mobilebook {
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
    background: var(--cypress);
    color: var(--porcelain);
    --fg: var(--porcelain);
    --fg-2: rgba(253, 249, 236, 0.8);
  }
  .mobilebook .price__amount { font-size: 1.35rem; }
  .has-mobilebook + .footer { padding-bottom: 84px; }
  /* A link reached with Tab is not left hidden behind the pinned booking bar. */
  html:has(.has-mobilebook) { scroll-padding-bottom: 84px; }
}

/* ----- Tables ----------------------------------------------------------- */

.tablewrap { position: relative; overflow-x: auto; border-top: 1px solid var(--line); }
table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 0.97rem; }
th, td { padding: 16px 18px 16px 0; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
thead th { font: 600 0.76rem/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-2); white-space: nowrap; }
tbody th { font: 400 1.1rem/1.3 var(--serif); }
tbody th a { text-decoration: none; }
tbody th a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
td { font-variant-numeric: tabular-nums; }
td.num { font: 400 1.25rem/1 var(--display); letter-spacing: 0.03em; white-space: nowrap; }
td:last-child, th:last-child { padding-right: 0; text-align: right; }

/* ----- Schedule --------------------------------------------------------- */

.schedule { display: grid; border-top: 1px solid var(--line); }
.day { display: grid; gap: 14px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.day__when { display: grid; gap: 4px; align-content: start; }
.day__date { font: 400 1.5rem/1.1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
.day__heb { font: 600 0.7rem/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-2); }
.day__title { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.day__title::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--fg); }
.day--yomtov .day__title::before,
.day--erev .day__title::before { background: var(--apricot); }
.day .ticks li::before { width: 5px; height: 5px; top: 0.7em; background: var(--fg-2); }
@media (min-width: 760px) {
  .day { grid-template-columns: minmax(170px, 0.28fr) minmax(0, 1fr); gap: 32px; }
}

.legend { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 24px; font-size: 0.875rem; color: var(--fg-2); }
.legend span { display: inline-flex; align-items: center; gap: 10px; }
.legend span::before { content: ""; width: 8px; height: 8px; background: var(--fg); }
.legend .legend--yt::before { background: var(--apricot); }

/* ----- Split feature sections ------------------------------------------ */

.split { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split__copy { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.split__copy .shead { margin-bottom: 0; }
.split__copy > p { color: var(--fg-2); max-width: 36rem; }
.split__copy .facts { width: 100%; }
.split__art { aspect-ratio: 4 / 3; overflow: hidden; min-width: 0; }
.split__art img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--flip .split__art { order: -1; }
}

.photo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.photo-row figure { display: grid; gap: 12px; align-content: start; }
.photo-row--after { margin-top: clamp(40px, 5vw, 72px); }
.photo-row .frame { aspect-ratio: 4 / 3; }
.photo-row figcaption { display: grid; gap: 4px; }
.photo-row figcaption strong { font: 400 1.12rem/1.3 var(--serif); }
.photo-row figcaption span { font-size: 0.92rem; color: var(--fg-2); }

.cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 0 clamp(24px, 3vw, 44px); }
.cards3 > li,
.cards3 > div { display: grid; gap: 10px; align-content: start; padding-block: 26px; border-top: 1px solid var(--line); }
.cards3 p { color: var(--fg-2); font-size: 0.98rem; }

.note { padding: 20px 24px; border: 1px solid var(--line); font-size: 0.95rem; color: var(--fg-2); max-width: 46rem; }
.note strong { color: var(--fg); font-weight: 600; }

/* ----- Pricing ---------------------------------------------------------- */

.pricegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 0 clamp(24px, 3vw, 40px); }
.pricerow { display: grid; gap: 14px; align-content: start; padding-block: 28px; border-top: 1px solid var(--line); }
.pricerow h3 { font: 400 1.3rem/1.15 var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
.pricerow h3 a { text-decoration: none; }
.pricerow .price__amount { font-size: 2.2rem; }
.pricerow .btn { justify-self: start; }
.pricerow__p { font-size: 0.95rem; color: var(--fg-2); }

/* ----- FAQ -------------------------------------------------------------- */

.faqgroup { display: grid; gap: 0; margin-bottom: clamp(40px, 5vw, 64px); }
.faqgroup > h2 { font: 400 1.5rem/1.2 var(--display); letter-spacing: 0.05em; text-transform: uppercase; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; font: 400 1.2rem/1.35 var(--serif); cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; font: 400 1.5rem/1 var(--sans); transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 48px 24px 0; color: var(--fg-2); max-width: 46rem; }
.faq-layout { display: grid; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (min-width: 1000px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); }
  .faq-layout aside { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px); }
}

.aside-card { display: grid; gap: 14px; padding: clamp(24px, 3vw, 32px); background: var(--coconut); }
.aside-card h2 { font: 400 1.15rem/1.2 var(--display); letter-spacing: 0.08em; text-transform: uppercase; }
.aside-card p { font-size: 0.97rem; color: rgba(21, 56, 52, 0.76); }
.aside-card .big { font: 400 1.35rem/1.3 var(--serif); color: var(--cypress); overflow-wrap: anywhere; }

/* ----- Contact form ----------------------------------------------------- */

.contact-layout { display: grid; gap: clamp(36px, 5vw, 80px); align-items: start; }
@media (min-width: 960px) {
  .contact-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
}
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font: 600 0.76rem/1.4 var(--sans); letter-spacing: 0.17em; text-transform: uppercase; color: var(--fg-2); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(21, 56, 52, 0.62);
  border-radius: 0;
  background: var(--porcelain);
  color: var(--cypress);
  font: 400 1rem/1.4 var(--sans);
}
.field textarea { min-height: 140px; resize: vertical; }
/* When the browser brings a field into view (an error on Send), its label above it comes too. */
.field input,
.field select,
.field textarea { scroll-margin-top: 44px; }
.field__hint { font-size: 0.875rem; color: var(--fg-2); }
.banner { margin-bottom: clamp(28px, 4vw, 48px); overflow: hidden; background: var(--coconut); }
.banner img { width: 100%; height: clamp(150px, 18vw, 250px); object-fit: cover; }
.notebox { display: grid; gap: 8px; padding: 22px 24px; border: 1px solid var(--line); scroll-margin-top: 120px; }
.notebox__title { font: 400 1.18rem/1.3 var(--serif); }
.notebox p { font-size: 0.95rem; color: var(--fg-2); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--cypress); outline-offset: 1px; }
.form__actions { grid-column: 1 / -1; display: grid; gap: 14px; justify-items: start; }
.form__status { padding: 16px 20px; background: var(--seafoam); font-size: 0.97rem; }
.form__status a { text-decoration: underline; text-underline-offset: 0.2em; white-space: nowrap; }
/* The two buttons a message carries when it hands the inquiry to the visitor's own email or text app. */
.form__send { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 14px 12px; }
.form__status a.btn { text-decoration: none; }
/* The line under a Send button that cannot work yet (scripts are off, or the script has not arrived).
   It waits a moment before it shows, so it does not flash while the script is on its way; the script
   takes it out when the button is ready. */
.form__needs { max-height: 0; padding-block: 0; overflow: hidden; visibility: hidden; animation: form-needs 0s 1.5s forwards; }
@keyframes form-needs { to { max-height: 14em; padding-block: 16px; visibility: visible; } }
@media (max-width: 560px) {
  .form { grid-template-columns: minmax(0, 1fr); }
}

/* ----- Lightbox --------------------------------------------------------- */

.lightbox { --fg: var(--porcelain); width: min(94vw, 1280px); max-width: none; max-height: 92vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(8, 24, 22, 0.97); }
.lightbox img { display: block; width: 100%; max-height: 82vh; object-fit: contain; }
@media (max-height: 480px) {
  .lightbox img { max-height: calc(100vh - 118px); }
}
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; color: var(--porcelain); font-size: 0.9rem; }
.lightbox__nav { display: flex; gap: 8px; }
.lightbox button { min-height: 44px; padding: 10px 16px; border: 1px solid rgba(253, 249, 236, 0.6); background: transparent; color: var(--porcelain); font: 600 0.76rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; }
/* Only where a pointer can hover: on a touch screen the filled state would stick after a tap. */
@media (hover: hover) {
  .lightbox button:hover { background: var(--porcelain); color: var(--cypress); }
}

/* ----- Preliminary marker ----------------------------------------------- */

.prelim { margin-bottom: clamp(24px, 3vw, 36px); padding: 12px 18px; border: 1px solid var(--line); font-size: 0.92rem; color: var(--fg-2); max-width: 46rem; }
.prelim strong { color: var(--fg); font-weight: 600; }
.program__copy .prelim { margin: 20px 0 0; }

/* ----- Apartments ------------------------------------------------------- */

.apts { margin-block: clamp(48px, 6vw, 80px) clamp(36px, 4.5vw, 56px); padding-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line); }
.apts__head { display: grid; gap: 8px; max-width: 46rem; margin-bottom: clamp(24px, 3vw, 36px); }
.apts__head .subhead { margin-bottom: 4px; }
.apts__head p { color: var(--fg-2); }
.agrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 40px); align-items: start; }
.afacts dl { display: grid; margin: 0; }
.afacts dl > div { display: grid; gap: 6px; align-content: start; padding-block: 18px; border-top: 1px solid var(--line); }
.afacts dt { font: 400 1.12rem/1.3 var(--serif); }
.afacts dd { margin: 0; font-size: 0.93rem; color: var(--fg-2); }
@media (min-width: 720px) {
  .agrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .afacts { grid-column: 1 / -1; }
  .afacts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 40px); }
}
@media (min-width: 1100px) {
  .agrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .afacts { grid-column: auto; }
  .afacts dl { grid-template-columns: minmax(0, 1fr); }
}
.featgrid__p { font-size: 0.97rem; color: var(--fg-2); }
.price__label { font: 400 1.2rem/1.15 var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
td.num--note { font: 500 0.9rem/1.3 var(--sans); letter-spacing: 0; text-transform: none; }
.addon-price { font: 600 0.76rem/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-2); }
.pricerow .btnrow { gap: 10px; }
.bookcard .btn + .btn { margin-top: -6px; }
.note + .note { margin-top: 14px; }

/* ----- Program page pieces ---------------------------------------------- */

.cards3--tight { margin-top: 8px; }
.split--text { align-items: start; }
.ticks--panel { padding: clamp(24px, 3vw, 32px); border: 1px solid var(--line); align-content: start; }
.brochure-row { margin-top: -8px; }
.strip-title { margin-top: clamp(40px, 5vw, 64px); font: 600 0.76rem/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-2); }
.strip-title + .daystrip-wrap { margin-top: 20px; }
.strip-note { margin-top: 22px; max-width: 46rem; }
.daychip__heb { font-size: 0.875rem; line-height: 1.3; color: var(--fg-2); }

/* ----- Small pieces ----------------------------------------------------- */

.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tablenote { margin-top: 18px; }
.tablewrap--plain { width: 100%; }
.table--compact { min-width: 0; }
.table--compact td:last-child, .table--compact th:last-child { text-align: left; }
.kit { display: grid; gap: 18px; padding-top: 28px; border-top: 1px solid var(--line); }
.goodtoknow .facts dd { font-size: 1.02rem; }
.contact-info { display: grid; gap: 24px; }
.contact-info .facts a { text-decoration: none; overflow-wrap: anywhere; }
.contact-info .facts a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.cards3 + .note { margin-top: clamp(28px, 4vw, 44px); }
.vgrid + .handoff { margin-top: 0; }

/* ----- Review fixes: states, small screens, tap targets ------------------ */

/* The hidden attribute always wins, whatever display a class sets (the chat buttons rely on it). */
[hidden] { display: none !important; }
button.btn--ghost { background: transparent; }

/* Long display words ("INTERNATIONAL") fit the narrowest phones. */
.display { overflow-wrap: break-word; }
@media (max-width: 360px) {
  h1.display { font-size: 2rem; letter-spacing: 0.02em; }
}

/* The comparison table keeps the villa name in view while the other columns scroll under it. */
.tablehint { display: none; margin-top: 12px; }
@media (max-width: 1279px) {
  .tablehint { display: block; }
  .tablewrap:not(.tablewrap--plain) tbody th,
  .tablewrap:not(.tablewrap--plain) thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 9.5rem;
    min-width: 9.5rem;
    max-width: 9.5rem;
    padding-right: 14px;
    background: var(--bg, var(--porcelain));
    box-shadow: 1px 0 0 var(--line);
    white-space: normal;
  }
  .tablewrap:not(.tablewrap--plain) td:first-of-type,
  .tablewrap:not(.tablewrap--plain) thead th:nth-child(2) { padding-left: 16px; }
  .tablewrap:not(.tablewrap--plain) tbody th { font-size: 1rem; }
}
/* On a phone the name column narrows, so the price beside it is in view without scrolling. */
@media (max-width: 480px) {
  .tablewrap:not(.tablewrap--plain) tbody th,
  .tablewrap:not(.tablewrap--plain) thead th:first-child { width: 7.5rem; min-width: 7.5rem; max-width: 7.5rem; }
  .tablewrap:not(.tablewrap--plain) tbody th { font-size: 0.94rem; }
  .tablewrap:not(.tablewrap--plain) td.num { font-size: 1.1rem; }
  .tablewrap:not(.tablewrap--plain) td.num.num--note { font-size: 0.875rem; }
}
/* Ranges such as "1,240 to 1,428" stay on one line. */
.tablewrap:not(.tablewrap--plain) td { white-space: nowrap; }
.incl__note { margin-top: calc(-1 * clamp(8px, 1.5vw, 16px)); margin-bottom: clamp(20px, 2.6vw, 28px); }

/* Grids that would leave one item alone on a row. */
@media (min-width: 600px) and (max-width: 1023px) {
  .incl, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .incl, .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1139px) {
  .pricerow--note { grid-column: 1 / -1; }
}
@media (min-width: 600px) {
  .featgrid > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .featgrid > div:last-child:nth-child(odd) .ticks { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); column-gap: 32px; }
}
@media (min-width: 600px) and (max-width: 959px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* The seven page links run in two columns, so the footer is not a page tall on a tablet. */
  .footer__grid nav .footer__links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .dining__art { margin-inline: auto; }
}

/* Small links get a taller tap area without moving. */
.crumb { display: inline-block; padding-block: 12px; margin-block: -12px; }
.vcard__actions .textlink { padding-block: 13px; }
tbody th a { display: inline-block; padding-block: 9px; }
.pricerow h3 a { display: inline-block; padding-block: 7px; }
.lightbox button { padding-block: 14px; }

/* A long button label wraps on a phone instead of pushing the page sideways. */
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; line-height: 1.3; }
  /* The pinned booking bar's button is always short, so it stays on one line. So do buttons inside
     the comparison table, which scrolls sideways and has no reason to squeeze them. */
  .mobilebook .btn,
  .tablewrap .btn { white-space: nowrap; }
  .mobilebook .price__label { font-size: 1rem; }
}
.vhero__note { font-size: 0.9rem; color: var(--fg-2); max-width: 32rem; }

/* Pieces added with the review. */
.minihead { font: 600 0.76rem/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-2); margin-top: 6px; }
.note--apts { margin-top: clamp(24px, 3vw, 36px); max-width: 52rem; }
.vgrid__note { margin: calc(-1 * clamp(12px, 2vw, 24px)) auto clamp(20px, 2.6vw, 28px); text-align: center; max-width: 46rem; }
.vgrid__note strong, .tablenote strong { font-weight: 600; color: var(--fg); }
/* A safeguard, so never the smallest type on the page. */
.price__prelim { margin-top: 6px; font: 600 0.875rem/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--apricot); }
.strip-hint { display: none; margin-top: 12px; }
@media (max-width: 1179px) {
  .strip-hint { display: block; }
}
.center.fine { margin-inline: auto; max-width: 46rem; }

/* ----- Motion ----------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .infotip__panel,
  .pick__chev { transition: none; }
  .vcard__media img,
  .gallery img,
  .btn .arrow,
  .textlink .arrow { transition: none; }
}

/* ----- Fixes from the review of the light redesign ------------------------ */

/* The comparison table's scroll box began and ended exactly at its first and last columns, which cut
   the keyboard focus ring there. It now has 6px of room on each side without moving the table. */
.tablewrap:not(.tablewrap--plain) { padding-inline: 6px; margin-inline: -6px; border-top: 0; }
.tablewrap:not(.tablewrap--plain) table { border-top: 1px solid var(--line); }
@media (max-width: 1279px) {
  .tablewrap:not(.tablewrap--plain) tbody th,
  .tablewrap:not(.tablewrap--plain) thead th:first-child { box-shadow: 1px 0 0 var(--line), -6px 0 0 var(--bg, var(--porcelain)); }
}

/* The five figures under a villa's opening band sit three and two on tablets, with their labels level. */
@media (min-width: 600px) and (max-width: 1023px) {
  .specbar ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ===== parts/10-ui.css ===== */
/* ==========================================================================
   The photo-led design layer. Joined onto site.css by the build.

   The rule behind it: the photograph leads and the words are a caption. A
   headline is six words or fewer, a supporting line is one short sentence,
   and a list item is a label. Sets of cards sit in a grid on a wide screen
   and become a sideways swipe on a phone, so pages stay short there.
   ========================================================================== */

:root { --section: clamp(48px, 8vw, 116px); }
@media (max-width: 640px) {
  :root { --header-h: 64px; }
}

.shead { margin-bottom: clamp(22px, 3.2vw, 44px); }
/* A section heading with one link beside it. */
.shead-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 32px; margin-bottom: clamp(22px, 3.2vw, 44px); }
.shead-row .shead { margin-bottom: 0; }
.shead-row .textlink { padding-block: 14px 10px; }
/* A heading that may run the width of the page, for a line meant to be read in one or two breaths. */
.shead--wide { max-width: none; }
@media (min-width: 1100px) {
  .nowrap-lg { display: block; white-space: nowrap; }
}
/* Each sentence of a two-sentence headline starts its own line, at every width. */
.hl { display: block; }
@media (max-width: 374px) {
  .shead--wide h2.display { font-size: 1.7rem; }
}
/* Words that stay on one line: a last word and the "i" after it, a name with a dot in it. */
.nb { white-space: nowrap; }

/* A text link is a thin line of small capitals: it gets a taller area to tap without moving. */
.textlink { position: relative; }
.textlink::after { content: ""; position: absolute; inset: -10px -8px; }

/* ----- Header ------------------------------------------------------------ */

/* The phone number sits beside the Book button where there is room for it. */
.header__phone { display: none; padding-block: 12px; font: 500 0.875rem/1 var(--sans); letter-spacing: 0.1em; text-decoration: none; white-space: nowrap; }
.header__phone:hover { text-decoration: underline; text-underline-offset: 0.3em; }
@media (min-width: 1260px) {
  .header__phone { display: inline-block; }
}

/* ----- The round stamp --------------------------------------------------- */

.seal { position: absolute; z-index: 2; width: clamp(88px, 10vw, 136px); }
.seal svg { display: block; width: 100%; height: auto; overflow: visible; }
.seal__disc { fill: var(--apricot); }
.seal__rule { fill: none; stroke: var(--cypress); stroke-width: 0.8; opacity: 0.5; }
.seal__text { font: 400 13px var(--display); fill: var(--cypress); letter-spacing: 0.04em; }
.seal__mark { fill: var(--cypress); }
.seal__ring { transform-origin: 100px 100px; animation: seal-turn 70s linear infinite; }
@keyframes seal-turn { to { transform: rotate(360deg); } }

/* ----- Home hero --------------------------------------------------------- */

/* The name, one line, and a photograph that runs off the edge of the screen, with the booking bar
   across its foot. Everything here is sized from the height of the window as well as its width, so
   the booking bar stays on the first screen. */
.hero { padding-block: 0 clamp(32px, 5vw, 72px); overflow-x: clip; }
.hero__grid { display: grid; grid-template-areas: "art" "copy" "bar"; }
/* The column is as wide as the screen allows and no wider, whatever the name's size, and on a phone
   the name is sized from the screen's width alone, so it fits its one line at any text size. */
.hero__copy { grid-area: copy; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; justify-items: start; min-width: 0; padding-block: 16px 14px; }
h1.display.hero__title { font-size: min(13vw, 5rem); letter-spacing: 0.04em; line-height: 0.98; white-space: nowrap; }
.hero__copy .lede { max-width: 26rem; color: var(--fg-2); font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
.hero__art { grid-area: art; position: relative; min-width: 0; margin-inline: calc(-1 * var(--gutter)); }
/* Sized from the window's height, so the Reserve button is on the first screen of a short phone too. */
.hero__main { height: min(86vw, 36vh); min-height: 168px; overflow: hidden; background: var(--seafoam); }
.hero__main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero__inset { display: none; }
.hero .seal { right: var(--gutter); bottom: -30px; }
/* A small Apricot label on the corner of the photograph: the one accent on the first screen. */
.hero__tag { position: absolute; z-index: 2; left: 0; top: 0; padding: 10px 16px 9px max(var(--gutter), env(safe-area-inset-left, 0px)); background: var(--apricot); color: var(--cypress); font: 600 0.76rem/1.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; }
@media (min-width: 960px) {
  .hero__tag { padding-left: 18px; padding-right: 18px; }
}
@media (max-width: 699px) {
  /* On a phone the ring of type would be too small to read, so the stamp is the monogram alone. */
  .seal { width: 72px; }
  .seal__ring,
  .seal__rule { display: none; }
  .seal__inner { transform: scale(1.5); transform-origin: 100px 100px; }
}
.hero .bookbar { grid-area: bar; }
@media (max-width: 479px) {
  /* On a phone the line above the name is the dates alone; the resort is named in the footer and the menu. */
  .hero__venue { display: none; }
}
@media (max-width: 699px) and (max-height: 600px) {
  /* A short phone (an iPhone SE with Safari's bars showing): a shallower photograph. */
  .hero__main { height: 27vh; min-height: 130px; }
}
@media (max-width: 340px) and (max-height: 600px) {
  /* The smallest phones still made (320 x 568): tighter still, so Reserve is on the first screen. */
  .hero__main { height: 20vh; min-height: 100px; }
  .hero__copy { gap: 4px; padding-block: 10px 8px; }
  .hero .bookbar__cell { padding-block: 7px; }
  .hero .bookbar__cell--go { padding-block: 7px; }
}
/* Where the browser can say how tall the screen is with its own bars showing (svh), a phone's
   photograph takes exactly the room that is left once the name, the line under it and the whole
   booking bar are on the first screen: 392px plus a little that grows with the width of the name.
   It is never taller than the screen is wide. The rules above are for browsers without that unit. */
@supports (height: 100svh) {
  @media (max-width: 699px) {
    /* --short is 1px on a short phone (under 600px of screen with the browser's bars showing: an
       iPhone SE or 8) and 0 on any other. There the line under the name is left to screen readers
       (the four pictures just below say the same) and its room goes to the photograph. It is worked
       out from svh, which does not change as the browser's bars slide away, so nothing on the page
       jumps while it is scrolled. */
    .hero { --short: clamp(0px, calc((600px - 100svh) * 999), 1px); --lede-room: calc(var(--short) * 58); }
    .hero__copy .lede { max-height: calc(9em - var(--short) * 400); margin-top: calc(var(--short) * -8); overflow: hidden; }
    .hero__main { height: clamp(100px, calc(100svh - 392px - 9.6vw + var(--lede-room)), 92vw); min-height: 0; }
  }
  @media (max-width: 359px) {
    .hero { --lede-room: calc(var(--short) * 84); }
    .hero__main { height: clamp(100px, calc(100svh - 462px + var(--lede-room)), 92vw); }
  }
  @media (min-width: 560px) and (max-width: 699px) {
    .hero__main { height: clamp(100px, calc(100svh - 532px + var(--lede-room)), 62vw); }
  }
}

@media (min-width: 700px) and (max-width: 959px) {
  .hero__main { height: min(56vw, 44vh); }
  .hero__inset { display: block; position: absolute; left: var(--gutter); bottom: -28px; width: 30%; aspect-ratio: 4 / 3; overflow: hidden; border: 8px solid var(--bg, var(--porcelain)); }
  .hero__inset img { width: 100%; height: 100%; object-fit: cover; }
  .hero__copy { padding-top: 48px; }
}
/* A tablet, or a narrow window on a laptop: in a tall window the photograph is as large as above; in
   a short one it gives way, so the booking bar is still on the first screen. The preview notice above
   the header, while there is one, is counted too. */
:root:has(.draftbar--top) { --notice-h: 57px; }
@supports (height: 100svh) {
  @media (min-width: 700px) and (max-width: 959px) {
    .hero__main { height: clamp(110px, calc(100svh - var(--hero-rest, 467px) - var(--notice-h, 0px)), min(56vw, 44vh)); min-height: 0; }
  }
}
@media (min-width: 700px) and (max-width: 959px) and (max-height: 840px) {
  /* In that short window the small second photograph would stand taller than the first, so it is left
     out, and the room kept for it above the name goes to the first photograph. */
  .hero__inset { display: none; }
  .hero__copy { padding-top: 24px; }
  .hero { --hero-rest: 443px; }
}

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); grid-template-areas: "copy art" "bar bar"; column-gap: clamp(36px, 5vw, 80px); align-items: center; }
  .hero__copy { gap: 18px; padding-block: 28px 80px; }
  /* Two lines, as large as the column and the window's height allow. */
  h1.display.hero__title { font-size: clamp(3.6rem, min(8vw, 15vh), 7.2rem); line-height: 0.94; white-space: normal; }
  .hero__title span { display: block; }
  /* The photograph runs from under the header to the right-hand edge of the screen. */
  .hero__art { margin-inline: 0 calc(-1 * max(var(--gutter), (100vw - var(--max)) / 2)); }
  .hero__main { height: clamp(330px, calc(100vh - 190px), 640px); }
  .hero__main img { object-position: 60% 50%; }
  .hero__inset { display: block; position: absolute; left: -9%; bottom: 84px; width: 32%; aspect-ratio: 4 / 3; overflow: hidden; border: 8px solid var(--bg, var(--porcelain)); }
  .hero__inset img { width: 100%; height: 100%; object-fit: cover; }
  .hero .seal { right: auto; bottom: auto; left: -58px; top: 34px; }
  /* The booking bar straddles the photograph's lower edge. */
  .hero .bookbar { margin-top: -52px; }
}
@media (min-width: 960px) and (max-height: 640px) {
  .hero__inset { display: none; }
  .hero__copy { padding-bottom: 64px; }
}
@media (min-width: 960px) and (max-width: 1099px) {
  /* Here the booking bar is two rows and the preview notice two lines, so the photograph gives up 50px. */
  .hero__main { height: clamp(300px, calc(100vh - 240px), 640px); }
  .hero__inset { left: 20px; }
  .hero__venue { display: none; }
}

/* The phone booking bar: the chooser, the button, and one line under them. The dates are the line
   above the name, so the bar does not print them a second time (a screen reader still gets them),
   and the photograph has the room instead. The line that stays says nobody has to take every night. */
@media (max-width: 699px) {
  .hero .bookbar__cell { padding-block: 10px; }
  .hero .bookbar__cell:first-child { position: relative; order: 3; display: block; padding-block: 9px 10px; border-top: 1px solid rgba(21, 56, 52, 0.16); }
  .hero .bookbar__cell:first-child .label,
  .hero .bookbar__cell:first-child > strong { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .hero .bookbar__cell--pick { border-top: 0; }
  .hero .bookbar__cell--go { padding-block: 9px; }
}

/* ----- Info notes ---------------------------------------------------------- */

/* A note keeps normal line breaks whatever it sits in, and on a short screen a long one scrolls
   inside itself instead of running under the header. */
.infotip__panel { white-space: normal; }
.infotip__box { max-height: calc(100vh - var(--header-h) - 132px); overflow-y: auto; overscroll-behavior: contain; }

/* ----- Photo tiles -------------------------------------------------------- */

/* A photograph with its title on a tab cut into the lower corner, and one short line beneath. */
.tile { min-width: 0; }
.tile__link { display: grid; gap: 8px; justify-items: start; color: inherit; text-decoration: none; }
.tile__photo { display: block; width: 100%; overflow: hidden; background: var(--coconut); }
.tile__photo--tall { aspect-ratio: 3 / 4; }
.tile__photo--wide { aspect-ratio: 4 / 3; }
.tile__photo--square { aspect-ratio: 1; }
.tile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); transition: transform 0.6s ease; }
a.tile__link:hover .tile__photo img { transform: scale(1.04); }
.tile__label { position: relative; margin-top: -38px; padding: 14px 18px 0 0; background: var(--bg, var(--porcelain)); font: 400 1.3rem/1.15 var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
.tile__text { font-size: 0.95rem; line-height: 1.5; color: var(--fg-2); max-width: 22rem; }
a.tile__link:hover .tile__label { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
/* A label is cut into the photograph's corner, which only reads when it is one line: where tiles are
   narrow it is set a size down. Keep labels to about fourteen characters. */
@media (max-width: 359px), (min-width: 560px) and (max-width: 699px), (min-width: 900px) and (max-width: 1179px) {
  .tile__label { font-size: 1.08rem; letter-spacing: 0.03em; }
}

/* ----- Rows that swipe on a phone ---------------------------------------- */

.swipe { display: grid; gap: clamp(28px, 3.4vw, 48px) clamp(16px, 2.4vw, 32px); }
.swipe--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.swipe--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.swipe--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* Positioned, so anything placed absolutely inside a card (a screen-reader label, a price tab) stays
   inside the row when the row scrolls sideways, and cannot widen the page. */
.swipe__item { position: relative; min-width: 0; }
/* Every other card in a staggered row sits lower on a wide screen, so the row reads as a set of
   prints laid out by hand and not as a table. */
@media (min-width: 900px) {
  .swipe--stagger .swipe__item:nth-child(even) { margin-top: clamp(28px, 4.4vw, 68px); }
}
@media (max-width: 899px) {
  /* One row, edge to edge, with the next card showing so it reads as something to swipe. */
  .swipe {
    display: flex;
    gap: 14px;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe__item { flex: 0 0 76%; scroll-snap-align: start; }
}
@media (min-width: 560px) and (max-width: 899px) {
  .swipe__item { flex-basis: 42%; }
}
@media (max-width: 899px) and (hover: hover) and (pointer: fine) {
  /* A narrow window on a computer: there is no finger to swipe with, so the row shows a thin scrollbar. */
  .swipe { padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: rgba(21, 56, 52, 0.4) transparent; }
  .swipe::-webkit-scrollbar { display: block; height: 6px; }
  .swipe::-webkit-scrollbar-thumb { background: rgba(21, 56, 52, 0.4); }
}

/* ----- The short villa card ---------------------------------------------- */

.vmini { display: grid; grid-template-rows: auto 1fr; gap: 14px; min-width: 0; }
.vmini__body { grid-template-rows: auto 1fr auto; }
/* Cards in a row end level: the line of Details and Book sits at the foot of each card. On a phone
   one card fills the row and is read alone, so there each card is as tall as its own words and the
   line sits right under them, with no hole above it. From 560px two cards show side by side, and
   their lines stay level. */
.swipe__item:has(> .vmini) { display: grid; }
@media (max-width: 559px) {
  .swipe__item:has(> .vmini) { align-content: start; }
}
.vmini__photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--seafoam); }
.vmini__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.vmini:hover .vmini__photo img { transform: scale(1.035); }
/* The price sits on a tab cut into the photograph's corner. */
.vmini__price { position: absolute; left: 0; bottom: 0; padding: 12px 16px 6px 0; background: var(--bg, var(--porcelain)); font: 400 1.5rem/1 var(--display); letter-spacing: 0.03em; font-variant-numeric: tabular-nums; }
.vmini__price--note { padding: 13px 16px 8px 0; font: 600 0.76rem/1 var(--sans); letter-spacing: 0.17em; text-transform: uppercase; }
.vmini__body { display: grid; gap: 6px; }
.vmini__name { font: 400 1.22rem/1.15 var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
/* The name is a link with a taller area to tap than its line of type. */
.vmini__name a { display: block; padding-block: 13px; margin-block: -13px; text-decoration: none; }
.vmini__name a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
/* The link's tap area is taller than its line of type, so the keyboard's ring is drawn on the name
   itself and does not run through the line under it. */
.vmini__name a:focus-visible { outline: 0; }
.vmini__name:has(a:focus-visible) { outline: 2px solid var(--fg, var(--cypress)); outline-offset: 2px; }
/* In a row that scrolls, and on the small "back" link, the ring is drawn just inside the box so no edge of it is cut. */
.swipe .tile__link:focus-visible,
.crumb:focus-visible { outline-offset: -2px; }
/* The facts sit in a row that wraps. Each carries its dot in the space to its left, and the row is
   clipped by that much on the left, so the first fact of every line shows no dot. */
.vmini__meta { display: flex; flex-wrap: wrap; align-content: flex-start; margin-left: -1.1em; clip-path: inset(0 0 0 1.1em); font: 500 0.875rem/1.5 var(--sans); color: var(--fg-2); }
.vmini__fact { position: relative; padding-left: 1.1em; white-space: nowrap; }
.vmini__fact::before { content: "·"; content: "·" / ""; position: absolute; left: 0; width: 1.1em; text-align: center; }
.vmini__actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.vmini__actions .textlink { padding-block: 13px; }

/* A line of small print that ends in an "i". The words flow as a sentence; the "i" sits on the line
   after its last word. */
.pricefine { margin-top: clamp(20px, 2.6vw, 32px); line-height: 2; }
.pricefine .infotip { margin-left: 8px; vertical-align: middle; }
.pricefine strong { font-weight: 600; color: var(--fg); }
.pricefine > strong { margin-right: 4px; }
.pricefine .infotip__btn { width: 26px; height: 26px; font-size: 0.95rem; }
.pricefine .infotip__btn::before { inset: -10px; }
.pricefine--second { margin-top: 6px; }
/* The note here hangs from the whole line, not from the button, so it spans the text column and can
   never reach past the edge of a phone screen. */
.pricefine { position: relative; }
.pricefine .infotip { position: static; }
.pricefine .infotip__btn { position: relative; }
.pricefine .infotip__panel { right: auto; left: 0; width: min(22.5rem, 100%); }

/* One line that leads to the apartments. */
.aptlink { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; align-items: center; gap: 12px 22px; margin-top: clamp(26px, 3.6vw, 44px); padding: 12px 22px 12px 12px; background: var(--porcelain); border: 1px solid var(--line); color: inherit; text-decoration: none; }
.aptlink__photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--seafoam); }
.aptlink__photo img { width: 100%; height: 100%; object-fit: cover; }
.aptlink__text { font: 400 1.08rem/1.4 var(--serif); }
.aptlink__text strong { font-weight: 500; }
.aptlink__go { font: 600 0.76rem/1.2 var(--sans); letter-spacing: 0.17em; text-transform: uppercase; white-space: nowrap; }
.aptlink:hover .aptlink__go { text-decoration: underline; text-underline-offset: 0.3em; }
@media (max-width: 640px) {
  .aptlink { grid-template-columns: 92px minmax(0, 1fr); padding-right: 14px; }
  .aptlink__go { grid-column: 2; white-space: normal; }
  .aptlink__text { font-size: 1rem; }
}

/* ----- What the price covers --------------------------------------------- */

/* The one block of colour on the page: a photograph down one side, the list on Mauvewood beside it. */
.allin { display: grid; padding-block: 0; }
.allin__photo { min-width: 0; overflow: hidden; background: var(--coconut); aspect-ratio: 16 / 9; }
.allin__photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.allin__body { display: grid; gap: 24px; align-content: center; min-width: 0; padding: clamp(36px, 6vw, 88px) max(var(--gutter), env(safe-area-inset-right, 0px)) clamp(40px, 6vw, 88px) max(var(--gutter), env(safe-area-inset-left, 0px)); }
.allin__head { display: grid; gap: 18px; justify-items: start; }
/* The small line above the heading keeps the band's own second ink: Apricot on Mauvewood is too faint at this size. */
.allin__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; border-top: 1px solid var(--line); }
.allin__list li { position: relative; padding: 13px 0 13px 22px; border-bottom: 1px solid var(--line); font: 400 1.06rem/1.35 var(--serif); }
.allin__list li::before { content: ""; position: absolute; left: 0; top: 1.36em; width: 7px; height: 7px; background: var(--apricot); }
/* An odd number of labels would leave a hole in the second column, so such a list is one column. */
.allin__list:has(li:nth-child(odd):last-child) { grid-template-columns: minmax(0, 1fr); }
.allin__fine { color: var(--fg-2); }
@media (min-width: 900px) {
  .allin { grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); }
  .allin__photo { aspect-ratio: auto; min-height: 100%; }
  .allin__body { padding-left: clamp(36px, 5vw, 84px); padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2), env(safe-area-inset-right, 0px)); }
}
@media (max-width: 520px) {
  .allin__list { grid-template-columns: minmax(0, 1fr); }
  .allin__list li { padding-block: 11px; font-size: 1.02rem; }
}

/* ----- Program band ------------------------------------------------------- */

.program__art { min-width: 0; }
@media (min-width: 960px) {
  .program__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
}
.program__copy { gap: 18px; }
.program__copy .shead { margin-bottom: 0; }
/* Short labels in a row, in place of paragraphs. */
.taglist { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.taglist li { position: relative; padding-left: 17px; font: 500 0.94rem/1.4 var(--sans); }
.taglist li::before { content: ""; position: absolute; left: 0; top: 0.46em; width: 7px; height: 7px; background: var(--apricot); }

@media (max-width: 699px) {
  .daystrip-wrap { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .daystrip-wrap::-webkit-scrollbar { display: none; }
}
@media (min-width: 700px) and (max-width: 1179px) {
  /* Tablets and small laptops: the eleven days in two rows, with nothing to scroll. */
  .daystrip-wrap { overflow: visible; }
  .daystrip { grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); min-width: 0; row-gap: 26px; border-top: 0; }
  .daychip { border-top: 1px solid var(--line); }
  .strip-hint { display: none; }
}

/* The brochure as an object: two of its pages, fanned. */
.bmock { position: relative; display: block; width: min(100%, 400px); aspect-ratio: 1 / 1.12; margin-inline: auto; }
.bmock__page { position: absolute; display: block; width: 56%; aspect-ratio: 9 / 16; overflow: hidden; background: var(--porcelain); box-shadow: 0 16px 36px rgba(21, 56, 52, 0.22); transition: transform 0.35s ease; }
.bmock__page img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.bmock__page--back { right: 5%; top: 0; transform: rotate(5deg); }
.bmock__page--front { left: 7%; bottom: 0; transform: rotate(-3deg); }
.bmock:hover .bmock__page--front { transform: rotate(-1.5deg) translateY(-6px); }
.bmock:hover .bmock__page--back { transform: rotate(6.5deg); }
@media (max-width: 959px) {
  .bmock { width: min(72%, 300px); }
}

/* ----- A photograph with a card of figures on it -------------------------- */

.place { position: relative; isolation: isolate; display: grid; min-height: clamp(440px, 46vw, 640px); background: var(--seafoam); }
.place__img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.place__in { display: grid; align-items: end; padding-block: clamp(24px, 4vw, 56px); }
.place--right .place__card { justify-self: end; }
.place__card { --fg: var(--cypress); --fg-2: rgba(21, 56, 52, 0.76); --line: rgba(21, 56, 52, 0.22); --bg: var(--porcelain); display: grid; gap: 18px; justify-items: start; justify-self: start; width: min(100%, 35rem); padding: clamp(22px, 3vw, 40px); background: var(--porcelain); color: var(--cypress); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; padding-block: 18px; border-block: 1px solid var(--line); }
.stat { display: grid; gap: 6px; align-content: start; min-width: 0; }
/* The smallest size of a figure, and of its label on a phone, is capped by the screen's width, so
   three figures still share a phone's width when its text size has been raised. */
.stat__n { font: 400 clamp(min(2.3rem, 11.5vw), 4.4vw, 3.3rem)/1 var(--display); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.stat__n small { margin-inline: 0.22em; font: 600 max(0.34em, 0.76rem)/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.stat__l { font: 600 0.76rem/1.4 var(--sans); letter-spacing: 0.13em; text-transform: uppercase; color: var(--fg-2); }
@media (max-width: 699px) {
  .stat__l { font-size: min(0.76rem, 3.8vw); }
}
@media (max-width: 699px) {
  /* On a phone the photograph comes first and the card laps over its lower edge. */
  .place { display: block; min-height: 0; background: none; }
  .place__img { position: static; aspect-ratio: 4 / 3; height: auto; }
  .place__in { margin-top: -44px; padding-block: 0 44px; }
  .place__card { width: 100%; border: 1px solid var(--line); }
}

/* ----- Closing band: shorter ---------------------------------------------- */

.cta__in { padding-block: clamp(64px, 9vw, 120px); gap: 18px; }

/* ----- Inner page opening -------------------------------------------------- */

/* A photograph the full width of the screen. The page's name sits on a block cut into the
   photograph's lower corner, the same device as the label on a photo tile. */
.phead { --bg: var(--porcelain); --fg: var(--cypress); --fg-2: rgba(21, 56, 52, 0.76); --line: rgba(21, 56, 52, 0.22); position: relative; background: var(--porcelain); color: var(--cypress); overflow-x: clip; }
.phead__photo { height: clamp(260px, 52vh, 560px); overflow: hidden; background: var(--seafoam); }
.phead__photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.phead__card { position: relative; display: grid; gap: 16px; justify-items: start; width: min(100%, 48rem); margin-top: clamp(-132px, -9vw, -60px); padding: clamp(26px, 3.2vw, 44px) clamp(28px, 4vw, 60px) clamp(8px, 2vw, 24px) 0; background: var(--porcelain); }
/* The block runs on to the left-hand edge of the screen. */
.phead__card::before { content: ""; position: absolute; inset: 0 100% 0 auto; width: 50vw; background: var(--porcelain); }
/* The block's one column is as wide as the block and no wider, and the name's smallest size is capped
   by the screen's width, so on a phone whose text size has been raised a long word still fits. */
.phead__card { grid-template-columns: minmax(0, 1fr); }
.phead__card h1.display { font-size: clamp(min(2.2rem, 9.4vw), 4.9vw, 4.2rem); }
.phead__card .lede { max-width: 35rem; color: var(--fg-2); }
.phead__card .btnrow { margin-top: 6px; }
.phead--short .phead__photo { height: clamp(180px, 30vh, 330px); }
.phead + .band { padding-top: clamp(36px, 5vw, 72px); }
.phead__dates { white-space: nowrap; }
@media (min-width: 700px) {
  /* The block is as wide as what it holds, so the photograph shows beside it and the cut corner reads as one. */
  .phead__card { width: fit-content; max-width: min(88%, 46rem); }
}
@media (min-width: 1000px) {
  /* On a laptop the photograph fills the first screen under the header, and the title block is laid
     over its lower left corner. The opening is never shorter than the block plus a strip of
     photograph above it, so the block always reads as cut into the picture and never hides the
     picture's whole left side. */
  .phead { display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(440px, calc(100vh - 124px), 760px); padding-top: clamp(56px, 11vh, 104px); }
  .phead__photo,
  .phead--short .phead__photo { position: absolute; inset: 0; height: auto; }
  .phead__photo img { object-position: var(--focus-wide, var(--focus, 50% 50%)); }
  .phead--short { min-height: clamp(300px, 46vh, 440px); }
  .phead > .wrap { position: relative; }
  .phead__card { margin-top: 0; padding-bottom: clamp(26px, 3vw, 40px); }
  .phead + .band { padding-top: clamp(48px, 6vw, 88px); }
  /* The block in the lower right corner instead, for a photograph whose subject is on the left. */
  .phead--right .phead__card { margin-left: auto; padding-left: clamp(28px, 4vw, 60px); padding-right: 0; }
  .phead--right .phead__card::before { inset: 0 auto 0 100%; }
  /* A page people come to use (prices, questions, contact) has a smaller name on one line and a
     wider block, so the block is low and what they came for starts sooner. */
  .phead--short .phead__card { max-width: min(92%, 56rem); gap: 12px; padding-top: clamp(22px, 2.4vw, 32px); padding-bottom: clamp(22px, 2.4vw, 30px); }
  .phead--short .phead__card h1.display { font-size: clamp(2rem, 3.5vw, 3.1rem); }
  .phead--short .phead__card .lede { max-width: 52rem; }
  .phead--short + .band { padding-top: clamp(32px, 3.4vw, 52px); }
}
@media (max-width: 699px) {
  .phead__photo { height: min(62vw, 36vh); min-height: 190px; }
  .phead__card { width: calc(100% - 30px); margin-top: -36px; padding: 20px 22px 4px 0; gap: 12px; }
  .phead--short .phead__photo { height: min(42vw, 24vh); min-height: 140px; }
  /* Only the first line sits in the corner cut from the photograph. Everything under it runs the
     full width of the page, so a name takes fewer lines and a button ends on the gutter. */
  .phead__card > :not(.eyebrow):not(.crumb) { width: calc(100% + 52px); max-width: none; }
  .phead__card .lede { max-width: none; }
}
@media (max-width: 360px) {
  /* A long word (INTERNATIONAL, APARTMENT) still fits the title block on the narrowest phones. */
  .phead__card h1.display { font-size: min(2rem, 10vw); }
  /* And the small line above it, with the dates, stays one line. */
  .phead__card .eyebrow { letter-spacing: 0.12em; }
}

/* ----- A photograph beside a few words ------------------------------------ */

.feature__grid { display: grid; gap: clamp(24px, 5vw, 84px); align-items: center; }
.feature__art { position: relative; min-width: 0; }
.feature__main { aspect-ratio: 16 / 11; }
.feature__art--pair { padding-bottom: 8%; }
.feature__inset { position: absolute; right: var(--gutter); bottom: 0; width: 34%; aspect-ratio: 1; border: 6px solid var(--bg, var(--porcelain)); }
.feature__copy { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.feature__copy .shead { margin-bottom: 0; }
.feature__text { max-width: 33rem; color: var(--fg-2); font: 400 1.1rem/1.55 var(--serif); }
.feature__copy .morelist,
.feature__copy .facts,
.feature__copy .stats { width: 100%; }
@media (max-width: 959px) {
  /* The photograph sits at the top of the band, edge to edge. */
  .feature { padding-top: 0; }
  .feature__art { margin-inline: calc(-1 * var(--gutter)); }
}
@media (min-width: 960px) {
  .feature__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
  .feature--flip .feature__art { order: 2; }
  .feature--flip .feature__grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
  .feature__main { aspect-ratio: 5 / 4; }
  .feature__art--pair { padding: 0 7% 9% 0; }
  .feature--flip .feature__art--pair { padding: 0 0 9% 7%; }
  .feature__inset { right: 0; width: 40%; border-width: 8px; }
  .feature--flip .feature__inset { right: auto; left: 0; }
}

/* ----- Detail behind a tap ------------------------------------------------- */

.morelist { width: 100%; border-top: 1px solid var(--line); }
.more summary { gap: 18px; padding-block: 16px; font: 500 1.02rem/1.35 var(--sans); }
.more summary::after { font-size: 1.3rem; }
.more__body { display: grid; gap: 12px; max-width: 44rem; padding: 0 28px 22px 0; color: var(--fg-2); font-size: 0.97rem; }
.more__body p { padding: 0; max-width: none; }
.more__body strong { font-weight: 600; color: var(--fg); }
.more__body a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

/* ----- The bar pinned to the foot of a phone screen ----------------------- */

.actionbar { display: none; }
@media (max-width: 699px) {
  .actionbar {
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
    background: var(--porcelain);
    border-top: 1px solid rgba(21, 56, 52, 0.22);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s;
  }
  .actionbar.is-on { transform: none; visibility: visible; }
  .actionbar__ways { display: flex; flex: none; gap: 4px; }
  .actionbar__call { flex: none; padding: 16px 8px; font: 600 0.76rem/1 var(--sans); letter-spacing: 0.15em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 0.3em; }
  .actionbar__ways .actionbar__call:first-child { padding-left: 0; }
  .actionbar__go { flex: 1 1 auto; min-height: 48px; background: var(--cypress); color: var(--porcelain); line-height: 1.2; text-align: center; }
  .actionbar__go { min-width: 0; padding-inline: 14px; }
  .has-actionbar + .footer { padding-bottom: 72px; }
  html:has(.actionbar) { scroll-padding-bottom: 76px; }
}
@media (max-width: 389px) {
  .actionbar__go .arrow { display: none; }
}
@media (max-width: 359px) {
  /* The narrowest phones: Call and the main action share the line; Text is in the footer and the menu. */
  .actionbar { gap: 10px; }
  .actionbar__call { letter-spacing: 0.1em; }
  .actionbar__call + .actionbar__call { display: none; }
  .actionbar__go { letter-spacing: 0.1em; }
}

/* A pinned bar repeats the page's main action. While that action is on screen in the page itself (the
   booking card on a villa page, the closing band elsewhere) site.js puts the bar away. */
.actionbar.is-away,
.mobilebook.is-away { transform: translateY(110%); visibility: hidden; }
@media (max-width: 1099px) {
  .mobilebook { transition: transform 0.25s ease, visibility 0.25s; }
}
@media (max-width: 374px) {
  /* On the narrowest phones the villa bar's note is two words shorter, so it stays on one line. */
  .bar-allin { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mobilebook { transition: none; }
  .seal__ring { animation: none; }
  .tile__photo img,
  .vmini__photo img { transition: none; }
  .actionbar { transition: none; }
  .bmock__page { transition: none; }
}

/* ===== parts/20-villas.css ===== */
/* ==========================================================================
   Villas: the listing, the six villa pages and the two apartment pages.
   Joined after site.css and 10-ui.css. Everything here hangs off classes
   that only these three templates use: .vlist on the listing's <main>,
   .has-mobilebook on a villa's or an apartment's, and the blocks below.
   ========================================================================== */

/* ----- Listing: the opening ----------------------------------------------- */

/* Two links under the headline that jump down the page, tall enough to tap. */
.vlist .phead__card .btnrow { gap: 0 28px; margin-top: -4px; }
.vjump { padding-block: 17px 11px; }

/* ----- Cards on the listing ------------------------------------------------ */

/* On a phone the six villas sit one to a row, each photograph the full width of the screen: this is
   the page that sells them, and the photograph leads. The two apartments stay side by side. From a
   tablet up the villas are three to a row. */
.vcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
/* The cards in a row end level: the line with Details and Book sits at the foot of each, also when
   one name runs to two lines and its neighbor's to one. */
.vcards .vmini { grid-template-rows: auto 1fr; }
.vcards .vmini__body { grid-template-rows: auto 1fr auto; }
.vcards .vmini__actions .textlink { padding-block: 15px 13px; }
.vcards .vmini__actions .btn { min-height: 44px; }
.vcards .vmini__meta,
.vnear .vmini__meta { font-size: 0.875rem; }
/* The name is a link too: it gets a taller area to tap without moving anything. */
.vcards .vmini__name a,
.vnear .vmini__name a { display: block; padding-block: 13px; margin-block: -13px; }
.vpick .pricefine .infotip__btn::before,
.vcmp .pricefine .infotip__btn::before,
.vnear .pricefine .infotip__btn::before { inset: -10px; }
@media (min-width: 700px) {
  .vcards { gap: clamp(28px, 3.4vw, 48px) clamp(16px, 2.4vw, 32px); }
  .vcards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  .vcards .vmini { gap: 10px; }
  .vcards .vmini__body { gap: 4px; }
  .vcards .vmini__price { padding: 10px 12px 4px 0; font-size: 1.25rem; }
  .vcards .vmini__price--note { padding: 11px 12px 6px 0; font-size: 0.76rem; }
  .vcards .vmini__name { font-size: 1.04rem; }
  .vcards .vmini__actions { gap: 8px; margin-top: 6px; padding-top: 6px; }
  .vcards .vmini__actions .btn { padding-inline: 1em; }
  /* An apartment's button is the longer "How to book", so it takes the line; the photograph and the
     name still lead to the apartment's page. */
  .vcards .vmini--apt .textlink { display: none; }
  .vcards .vmini--apt .btn { flex: 1 1 auto; }
}
@media (max-width: 379px) {
  .vcards .vmini__actions .arrow { display: none; }
  .vcards .vmini__name { font-size: 0.96rem; }
}
@media (max-width: 339px) {
  .vcards .vmini__actions .textlink,
  .vcards .vmini__actions .btn { letter-spacing: 0.1em; }
  .vcards .vmini__actions .btn { padding-inline: 0.8em; }
}
@media (max-width: 699px) {
  /* One villa to a row: the card is drawn at its full size again, whatever the phone's width. */
  .vcards--3 { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .vcards--3 .vmini { gap: 12px; }
  .vcards--3 .vmini__photo { aspect-ratio: 3 / 2; }
  .vcards--3 .vmini__price { padding: 12px 16px 6px 0; font-size: 1.5rem; }
  .vcards--3 .vmini__name { font-size: 1.22rem; }
  .vcards--3 .vmini__body { gap: 6px; }
  .vcards--3 .vmini__actions { gap: 16px; margin-top: 6px; padding-top: 8px; }
  .vcards--3 .vmini__actions .arrow { display: inline-block; }
  .vcards--3 .vmini__actions .textlink,
  .vcards--3 .vmini__actions .btn { letter-spacing: 0.16em; }
  .vcards--3 .vmini__actions .btn { padding-inline: 1.4em; }
}

/* The second line under a row of cards: on the listing, that nobody has to take all ten nights; and
   how booking works, behind its "i". Where the two "i" buttons sit one above the other, the lines are
   far enough apart that their tap areas do not meet. */
.vpick__book { margin-top: 18px; }
/* On the listing the two lines sit above the cards. */
.vpick__notes { margin-bottom: clamp(22px, 3vw, 36px); }
.vpick__notes > .pricefine:first-child { margin-top: 0; }
.vbookline { margin-top: 6px; }

/* ----- Listing: apartments ------------------------------------------------ */

.vapts__grid { display: grid; gap: 26px; }
.vapts__head { margin-bottom: 0; }
.vapts__note { max-width: none; }
/* The four ways an apartment stay differs, as a ruled list of labels. */
.vruled { border-top: 1px solid var(--line); }
.vruled li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); font: 400 1.06rem/1.35 var(--serif); }
.vruled li::before { content: ""; position: absolute; left: 0; top: 1.3em; width: 7px; height: 7px; background: var(--apricot); }
/* A link in a label keeps its place in the line and gets a taller area to tap. */
.vruled a { padding-block: 11px; }
@media (min-width: 900px) and (max-width: 1079px) {
  /* The two apartments take two thirds of the row and their four facts the last third, so an
     apartment's photograph is the size of a villa's above it, not twice the size. */
  .vapts__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 3vw, 40px); align-items: start; }
  .vapts__head,
  .vapts__note { grid-column: 1 / -1; }
  .vapts__cards { grid-column: span 2; }
  .vapts__facts { grid-column: 3; }
}
@media (min-width: 1080px) {
  /* The words on the left, the two apartments on the right, and the caution across the foot of both,
     so neither column is left hollow. */
  .vapts__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); grid-template-areas: "head cards" "facts cards" "note note"; grid-template-rows: auto auto auto; gap: 28px clamp(40px, 5vw, 84px); align-items: start; }
  .vapts__head { grid-area: head; }
  .vapts__cards { grid-area: cards; }
  .vapts__facts { grid-area: facts; }
  .vapts__note { grid-area: note; }
}

/* ----- Listing: in every villa -------------------------------------------- */

/* Two short lists of labels, side by side where there is room. */
.vduo { display: grid; gap: 22px; width: 100%; }
.vduo .minihead { margin: 0 0 12px; }
.vduo .ticks { gap: 8px; }
.vduo .ticks li { color: var(--fg); font-size: 1rem; line-height: 1.45; }
@media (min-width: 520px) {
  .vduo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(20px, 3vw, 40px); }
  .vduo--one { grid-template-columns: minmax(0, 1fr); }
}

/* ----- Listing: the comparison -------------------------------------------- */

/* One table at every width, and it never needs a sideways scroll: a phone shows the name, the price,
   who it sleeps, the seats at the table and an arrow that books; a tablet adds square feet and a line
   under each name that says what else the villa has; a laptop has bedrooms and the four columns of
   dots in place of that line. */
/* The scroll box keeps 6px of room on each side, so a focus ring on the first or last column is not cut. */
.vcmp .tablewrap { width: auto; padding-inline: 6px; margin-inline: -6px; border-top: 0; }
.vcmp__table { min-width: 0; border-top: 1px solid var(--line); }
.vcmp__table thead th { vertical-align: bottom; }
.vcmp__table td,
.vcmp__nb { white-space: nowrap; }
/* A name is a link, with a taller area to tap than the line it sits on. */
.vcmp__table tbody th a { display: inline-block; padding-block: 12px; margin-block: -10px; }
.vcmp__extras { display: block; margin-top: 1px; padding-bottom: 3px; font: 500 0.875rem/1.35 var(--sans); color: var(--fg-2); }
.vcmp__go { min-width: 46px; min-height: 44px; }
.vcmp .pricefine { margin-top: 18px; }
.vcmp .vcmp__note { margin-top: 18px; }
.vcmp__note strong { font-weight: 600; color: var(--fg); }
@media (max-width: 719px) {
  .vcmp__table th,
  .vcmp__table td { padding: 9px 8px 9px 0; }
  /* The figures take only the room they need, and the name has the rest. */
  .vcmp__table td,
  .vcmp__table thead th + th { width: 1%; }
  .vcmp__table thead th { letter-spacing: 0.1em; white-space: normal; }
  .vcmp__table tbody th { font-size: 1rem; line-height: 1.25; }
  .vcmp__table td.num { padding-right: 12px; font-size: 1.02rem; letter-spacing: 0.01em; }
  .vcmp__table td.num.num--note { font-size: 0.875rem; white-space: normal; }
  .vcmp__md,
  .vcmp__wide,
  .vcmp__extras { display: none; }
}
@media (max-width: 374px) {
  /* The figures in a price are not all one width, and the resort's prices move. This leaves room for
     the widest price it could quote, so a change of digits never brings a sideways swipe. */
  .vcmp__table td.num { padding-right: 7px; letter-spacing: 0; }
}
@media (max-width: 359px) {
  /* The narrowest phones: the same five columns, drawn a little tighter. */
  .vcmp__table th,
  .vcmp__table td { padding-right: 6px; }
  .vcmp__table thead th { letter-spacing: 0.05em; }
  .vcmp__table tbody th { font-size: 0.94rem; }
  .vcmp__table td.num { padding-right: 8px; font-size: 0.96rem; }
  .vcmp__go { width: 40px; min-width: 40px; }
}
@media (max-width: 339px) {
  /* The narrowest phones (320): a pixel less between columns, so the table still fits without a sideways swipe. */
  .vcmp__table th,
  .vcmp__table td { padding-right: 5px; }
  .vcmp__table thead th { letter-spacing: 0.02em; }
  .vcmp__table tbody th { font-size: 0.9rem; }
  .vcmp__table td.num { padding-right: 6px; font-size: 0.9rem; }
}
@media (max-width: 899px) {
  .vcmp__md2 { display: none; }
}
@media (max-width: 999px) {
  .vcmp__golabel { display: none; }
  .vcmp__go { width: 46px; padding: 0; }
}
@media (min-width: 1000px) {
  /* The buttons carry their own words here, so the column's heading is for screen readers only. */
  .vcmp__acthead { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
/* The four columns of dots join only where all eleven columns fit with the Book buttons whole (the
   table needs about 1,215px, and a 1280px window with a scrollbar has 1,170). */
@media (max-width: 1359px) {
  .vcmp__lg { display: none; }
}
@media (min-width: 1360px) {
  .vcmp__extras { display: none; }
}

/* ----- Villa and apartment pages: the opening ----------------------------- */

/* The way back and the line above the name share one row, like a breadcrumb, which keeps the price
   and the button on the first screen. On the narrowest phones they stack again. */
.has-mobilebook .phead__card { grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; }
.has-mobilebook .phead__card > * { grid-column: 1 / -1; }
.has-mobilebook .phead__card > .crumb { grid-column: 1; align-self: center; padding-block: 14px; margin-block: -14px; }
.has-mobilebook .phead__card > .eyebrow { grid-column: 2; align-self: center; }
.has-mobilebook .phead__card > .eyebrow::before { content: "/"; margin-right: 12px; opacity: 0.6; }
@media (max-width: 359px) {
  .has-mobilebook .phead__card > .eyebrow { grid-column: 1 / -1; }
  .has-mobilebook .phead__card > .eyebrow::before { content: none; }
}
/* From the width where the pinned bar is gone, the photograph is taller and the block is cut deeper
   into it, so the price and the button are on the first screen and less of the block hangs below
   with nothing beside it. */
/* In a short laptop window the name is set smaller, so the price and the button stay on the first screen. */
@media (min-width: 1000px) and (max-height: 760px) {
  .has-mobilebook .phead__card h1.display { font-size: clamp(2.2rem, min(4.9vw, 7.6vh), 4.2rem); }
}
@media (min-width: 1000px) {
  .has-mobilebook .phead__card { min-width: min(100%, 34rem); }
}

/* The price and the button at the foot of the opening block, ruled off from the name. */
.has-mobilebook .phead__card .btnrow { justify-self: stretch; }
.vbuy { position: relative; display: flex; flex: 1 1 100%; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-top: 16px; border-top: 1px solid var(--line); }
.vbuy__price { display: grid; gap: 5px; }
.vbuy__amount { display: flex; align-items: center; gap: 12px; font: 400 clamp(1.9rem, 3vw, 2.5rem)/1 var(--display); letter-spacing: 0.03em; font-variant-numeric: tabular-nums; }
.vbuy__label { font: 400 clamp(1.15rem, 1.8vw, 1.4rem)/1.15 var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
.vbuy__note { font: 500 0.875rem/1.4 var(--sans); color: var(--fg-2); }
.vbuy__note strong { font-weight: 600; color: var(--fg); }
.vbuy .btn { min-height: 52px; }
/* The note behind the "i" hangs from the whole row, so it can never reach past the edge of a phone. */
.vbuy .infotip { position: static; }
.vbuy .infotip__btn { position: relative; width: 26px; height: 26px; font-size: 0.95rem; }
.vbuy .infotip__btn::before { inset: -10px; }
.vbuy .infotip__panel { right: auto; left: 0; width: min(22.5rem, 100%); }
@media (max-width: 699px) {
  .vbuy { gap: 12px; padding-top: 12px; }
  .vbuy .btn { flex: 1 1 100%; }
  /* A villa's name is set a little smaller than other page names on a phone, so "6-Bedroom Villa"
     keeps to one line and the price and the button stay on the first screen. */
  .has-mobilebook .phead__card h1.display { font-size: min(1.85rem, 7.3vw); }
}

/* On a short screen the bar at the foot is pinned from the start and carries the price and the button
   (see the end of this file), so the opening block keeps only the line that says what the price is
   and for which dates. Otherwise the same price would show twice, one of them half covered. */
@media (max-width: 1099px) and (max-height: 619px), (max-width: 359px) and (max-height: 679px) {
  .vbuy .vbuy__amount,
  .vbuy .vbuy__label,
  .vbuy .vbuy__what,
  .vbuy .btn { display: none; }
  .vbuy { padding-top: 10px; }
}
@media (max-width: 339px) and (max-height: 600px) {
  /* The smallest phones (320 x 568): a shallower photograph, so the line with the dates ends above the pinned bar. */
  .has-mobilebook .phead__photo { height: 26vh; min-height: 140px; }
}
@media (min-width: 700px) and (max-width: 999px) and (max-height: 619px) {
  /* A phone held sideways, or a very short window: the bar is pinned over the foot of the screen from
     the start, so the photograph is a strip and the page's name stays in view above the bar. */
  .has-mobilebook .phead__photo { height: clamp(90px, calc(100vh - 440px), 560px); min-height: 0; }
}
@media (min-width: 700px) and (max-width: 999px) and (min-height: 620px) and (max-height: 799px) {
  /* A tablet-width window that is short (half a laptop screen): a shallower photograph, so the whole
     Book button is on the first screen. The pinned bar only arrives with the photographs here. */
  .has-mobilebook .phead__photo { height: clamp(200px, calc(100vh - 470px), 52vh); }
}

/* ----- The figures --------------------------------------------------------- */

.vfacts { padding-bottom: 0; }
.phead + .vfacts { padding-top: clamp(22px, 3vw, 44px); }
.vstats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 16px; }
/* On the narrowest phones a four-figure number still fits a third of the screen. */
.vstats .stat__n { font-size: clamp(1.8rem, 9.4vw, 3.3rem); }
@media (min-width: 392px) {
  .vstats .stat__n { font-size: clamp(2.3rem, 4.4vw, 3.3rem); }
}
/* The fifth "figure" is a word or two, so it is set smaller and sits on the same baseline. */
.vstats .stat:last-child .stat__n { display: flex; align-items: flex-end; min-height: clamp(2.3rem, 4.4vw, 3.3rem); font-size: clamp(1.3rem, 2.1vw, 1.9rem); letter-spacing: 0.03em; text-transform: uppercase; }
@media (max-width: 699px) {
  .vstats .stat:last-child { grid-column: span 2; }
}
@media (min-width: 700px) {
  .vstats { grid-template-columns: repeat(4, minmax(0, 0.8fr)) minmax(0, 1.3fr); gap: 16px clamp(16px, 2.4vw, 32px); padding-block: clamp(18px, 2.2vw, 28px); }
}

/* ----- Photographs --------------------------------------------------------- */

.vmain { padding-top: clamp(32px, 4.5vw, 64px); }
.vshots .subhead,
.vinside .subhead { margin-bottom: 16px; }
/* One large picture and five smaller ones. */
.vshots__row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.vshots__row a { position: relative; display: block; grid-column: span 2; aspect-ratio: 4 / 3; overflow: hidden; background: var(--coconut); }
.vshots__row a:first-child { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; }
.vshots__row img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.vshots__row a:hover img { transform: scale(1.04); }
@media (max-width: 699px) {
  /* On a phone: one row of large pictures, edge to edge, that swipes. The row keeps a little room
     above and below for the focus ring. */
  .vshots__row { display: flex; gap: 8px; margin: -6px calc(-1 * var(--gutter)); padding: 6px var(--gutter); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .vshots__row::-webkit-scrollbar { display: none; }
  .vshots__row a,
  .vshots__row a:first-child { flex: 0 0 88%; aspect-ratio: 4 / 3; scroll-snap-align: start; }
}

/* ----- The booking card ---------------------------------------------------- */

.bookcard .price { position: relative; gap: 6px; }
.bookcard .price__prelim { margin-top: 0; }
.bookcard .price__note { font-size: 0.875rem; }
/* The labels take the room of the longest one ("Check-out") and no more, so that the values have a
   line long enough for "Whole holiday or part of it;". */
.bookcard .facts > div { grid-template-columns: max(90px, 5.65rem) minmax(0, 1fr); gap: 10px; }
.bookcard .facts dt { white-space: nowrap; }
.bookcard .facts dd { text-wrap: balance; }
/* A phrase that stays whole when its line has to turn. */
.bookcard .vph { display: inline-block; }
/* The button with its "i" beside it, as on the home page's booking bar. */
.bookcard__go { display: flex; align-items: center; gap: 14px; }
.bookcard__go .btn { flex: 1 1 auto; width: auto; min-height: 54px; }
/* The "i" after "Rates on Marriott.com" stays on the line with the last word. Its note hangs from
   the whole line and spans the card. */
.bookcard--apt .price__label { font-size: 1.08rem; }
.bookcard .price__label .vnb { white-space: nowrap; }
.bookcard .price__label .infotip { position: static; margin-left: 6px; vertical-align: middle; }
.bookcard .price__label .infotip__btn { position: relative; top: -2px; width: 26px; height: 26px; font-size: 0.95rem; text-transform: none; }
.bookcard .price__label .infotip__btn::before { inset: -10px; }
.bookcard .price__label .infotip__panel { right: auto; left: 0; width: 100%; max-width: 24rem; white-space: normal; }
.bookcard--apt .btn { min-height: 52px; }
/* On the Cypress card the "i" turns Porcelain when it is open, not Cypress. */
.bookcard .infotip__btn:hover,
.bookcard .infotip.is-open .infotip__btn { background: var(--porcelain); border-color: var(--porcelain); color: var(--cypress); }
.bookcard .note { max-width: none; padding: 16px 18px; font-size: 0.9rem; }
.bookcard--apt .handoff { max-width: none; font-size: 0.9rem; }
.bookcard--apt .handoff a { padding-block: 11px; }
/* The card is pinned beside the page only where the window is tall enough to show all of it, down to
   its last line. In a somewhat shorter window it is drawn tighter, and tighter again in the window
   of a 768-pixel laptop screen (about 650 pixels once the browser's own bars are taken off), so the
   column beside the page is not left empty there. In a shorter window still it scrolls with the
   page, and the button in the header is the one that stays in view. An apartment's card is taller
   (it carries the caution, both Marriott buttons and the confirmation line), so it needs a taller
   window. */
@media (min-width: 1100px) and (min-height: 660px) and (max-height: 759px) {
  .bookcard:not(.bookcard--apt) { top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 12px); gap: 12px; padding: 20px 24px; }
  .bookcard:not(.bookcard--apt) .price__amount { font-size: 2rem; }
  .bookcard:not(.bookcard--apt) .facts > div { padding-block: 8px; }
  .bookcard:not(.bookcard--apt) .bookcard__go .btn { min-height: 48px; }
}
@media (min-width: 1100px) and (min-height: 590px) and (max-height: 659px) {
  .bookcard:not(.bookcard--apt) { top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 8px); gap: 8px; padding: 14px 22px 16px; }
  .bookcard:not(.bookcard--apt) .price__amount { font-size: 1.8rem; }
  .bookcard:not(.bookcard--apt) .facts > div { padding-block: 5px; }
  .bookcard:not(.bookcard--apt) .facts dd { font-size: 0.95rem; line-height: 1.35; }
  .bookcard:not(.bookcard--apt) .bookcard__go .btn { min-height: 46px; }
}
@media (min-width: 1100px) and (max-height: 589px) {
  .bookcard { position: static; }
}
@media (min-width: 1100px) and (min-height: 860px) and (max-height: 989px) {
  .bookcard--apt { top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 12px); gap: 12px; padding: 20px 24px; }
  .bookcard--apt .facts > div { padding-block: 8px; }
  .bookcard--apt .note { padding: 12px 14px; }
  .bookcard--apt .btn { min-height: 46px; }
}
@media (min-width: 1100px) and (max-height: 859px) {
  .bookcard--apt { position: static; }
}

/* Arriving at #photos, the heading clears the pinned header with room to spare. */
#photos { scroll-margin-top: 14px; }

/* ----- Other sizes --------------------------------------------------------- */

.vnear .shead-row .textlink { padding-block: 17px 11px; }
.vnear .vmini__actions .textlink { padding-block: 15px 13px; }
.vnear .vmini__actions .btn { min-height: 44px; }
/* The cards in the row end level, as on the listing. */
.vnear .swipe__item { display: grid; }
.vnear .vmini { grid-template-rows: auto 1fr; }
.vnear .vmini__body { grid-template-rows: auto 1fr auto; }
@media (max-width: 899px) {
  /* A card in the swipe row is never narrower than its own line of Details and How to book. */
  .vnear .swipe__item { min-width: 248px; }
}

/* ----- The bar pinned to the foot of a phone screen ------------------------ */

/* Drawn like the shared action bar: Porcelain, a hairline on top, the price on the left and a
   Cypress button on the right. */
@media (max-width: 1099px) {
  .mobilebook {
    --bg: var(--porcelain);
    --fg: var(--cypress);
    --fg-2: rgba(21, 56, 52, 0.76);
    gap: 14px;
    padding: 10px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
    background: var(--porcelain);
    color: var(--cypress);
    border-top: 1px solid rgba(21, 56, 52, 0.22);
  }
  .mobilebook .price { gap: 3px; min-width: 0; }
  .mobilebook .price__amount { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; }
  .mobilebook .price__note { font-size: 0.875rem; line-height: 1.3; }
  .mobilebook .btn { flex: 0 0 auto; min-width: 42%; min-height: 48px; }
  /* The note behind the "i" opens above the bar and spans it. */
  .mobilebook .infotip { position: static; }
  .mobilebook .infotip__btn { position: relative; width: 24px; height: 24px; font-size: 0.9rem; }
  .mobilebook .infotip__btn::before { inset: -11px; }
  .mobilebook .infotip__panel { right: max(var(--gutter), env(safe-area-inset-right, 0px)); left: max(var(--gutter), env(safe-area-inset-left, 0px)); width: auto; max-width: 24rem; padding-bottom: 10px; }
}
/* Like the shared bar, it leaves the first screen clear: the opening block shows the price and the
   button itself. It is pinned to the foot of the screen for as long as the block from the photographs
   down (.vrest) is on it, so it rides in with the photographs, and at the end of the page it comes to
   rest under the closing band. The block's own top is set 190px lower than its first section (which
   is pulled back up by the same amount, so nothing moves): that keeps the bar off the first screen of
   a tall phone as well, and it is still in place before the opening block's button has scrolled away.
   On a short screen, where that button begins below the fold, the bar is there from the start; the
   narrowest phones, whose opening block runs longer, count as short up to 680px. */
@media (min-width: 360px) and (max-width: 1099px) and (min-height: 620px), (max-width: 359px) and (min-height: 680px) {
  .vrest { padding-top: 190px; }
  .vrest > .vmain { margin-top: -190px; }
  .vrest > .mobilebook { position: sticky; }
  /* The bar no longer lies over the footer, so the footer does not have to leave room for it. */
  .has-mobilebook + .footer { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .vshots__row img { transition: none; }
}

/* ===== parts/30-program-resort.css ===== */
/* ==========================================================================
   The Program and The Resort. Joined after site.css and parts/10-ui.css.

   Every rule here begins with .pg-program or .pg-resort, the class each of the
   two pages puts on <main>, so nothing here can change another page.
   ========================================================================== */

/* ----- Both pages ---------------------------------------------------------- */

/* The line under a section heading is one short sentence. It may run a little wider than the kit's
   measure, so it keeps to two even lines on a wide screen, and it is set a size down on a phone. */
.pg-program .shead .lede,
.pg-resort .shead .lede { max-width: 44rem; text-wrap: balance; }
@media (max-width: 699px) {
  .pg-program .shead .lede,
  .pg-resort .shead .lede { font-size: 1.06rem; }
}

/* A text link at the foot of a card or a column is a full-height tap target; its underline stays
   close to the words. */
.pg-program .place__card .textlink,
.pg-resort .feature__copy .textlink { margin-top: -14px; padding-block: 22px 8px; }

/* A small line never ends on one word alone, and a tile's caption breaks into even lines. */
.pg-program .fine,
.pg-resort .fine { text-wrap: pretty; }
.pg-program .tile__text,
.pg-resort .tile__text { text-wrap: balance; }

/* A tile's label is cut into the corner of its photograph, which only works while the label sits on
   one line. The labels on these pages are fourteen characters or fewer; where a tile is at its
   narrowest the label is set a size down, so every one of them stays on its line. */
@media (max-width: 359px), (min-width: 560px) and (max-width: 699px) {
  .pg-program .tile__label,
  .pg-resort .tile__label { font-size: 1.14rem; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .pg-program .tile__label,
  .pg-resort .tile__label { font-size: 1.05rem; }
}

/* ----- The program at a glance: six labels, ruled -------------------------- */

/* Two columns on a phone, so the six fit under the photograph; one column of larger labels beside
   the photograph on a wide screen. */
.pg-program .biglabels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; width: 100%; border-top: 1px solid var(--line); }
.pg-program .biglabels li { position: relative; display: flex; align-items: center; padding: 12px 0 12px 20px; border-bottom: 1px solid var(--line); font: 400 1.04rem/1.3 var(--serif); text-wrap: balance; }
.pg-program .biglabels li::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; background: var(--apricot); }
.pg-program .feature__copy .prelim { margin-bottom: 0; }
@media (max-width: 699px) {
  /* The Seder table is a 4:3 picture; on a phone it is shown as a wide strip so the labels follow closely. */
  .pg-program .feature__main { aspect-ratio: 16 / 9; }
  .pg-program .feature__main img { object-position: 50% 62%; }
  .pg-program .feature__copy .prelim { padding: 10px 14px; }
}
@media (min-width: 960px) {
  .pg-program .biglabels { grid-template-columns: minmax(0, 1fr); }
  .pg-program .biglabels li { padding: 15px 0 15px 26px; font-size: clamp(1.2rem, 1.65vw, 1.45rem); }
}

/* ----- The shul: a figure in place of a photograph ------------------------ */

/* There is no photograph of the tent, so the band opens with a numeral as tall as the three names
   beside it. */
.pg-program .shul__grid { display: grid; gap: clamp(28px, 5vw, 84px); align-items: center; }
.pg-program .shul__figure { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(20px, 3.4vw, 52px); min-width: 0; }
.pg-program .shul__count { display: grid; gap: clamp(10px, 1.3vw, 18px); align-content: center; justify-items: start; }
/* The smallest sizes are capped by the screen's width as well, so the figure and the three names
   still sit side by side on a phone whose text size has been raised. */
.pg-program .shul__n { font: 400 clamp(min(8.2rem, 41vw), 20vw, 16rem)/0.76 var(--display); }
.pg-program .shul__of { max-width: 8em; font: 600 0.875rem/1.35 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-2); }
.pg-program .shul__names { display: grid; border-top: 1px solid var(--line); }
.pg-program .shul__names li { display: flex; align-items: center; padding-block: 0.4em; border-bottom: 1px solid var(--line); font: 400 clamp(min(1.5rem, 7.5vw), 3.1vw, 2.6rem)/1.1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
.pg-program .shul__copy { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.pg-program .shul__copy .shead { margin-bottom: 0; }
/* The four labels sit two to a row on a phone. */
.pg-program .shul .taglist { gap: 10px 22px; }
@media (min-width: 960px) {
  .pg-program .shul__grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
  .pg-program .shul__figure { order: 2; }
  .pg-program .shul__of { max-width: none; }
}

/* ----- For the kids: the tiles are shorter on a phone --------------------- */

@media (max-width: 559px) {
  .pg-program .kidsrow .tile__photo--tall { aspect-ratio: 4 / 3; }
}

/* ----- Chol HaMoed --------------------------------------------------------- */

/* The one line above the figures. */
.pg-program .pline { max-width: 33rem; font: 400 1.1rem/1.5 var(--serif); color: var(--fg-2); }
@media (max-width: 699px) {
  /* A wider strip than the kit's 4:3, placed so the lake and its fountain stay in the picture. */
  .pg-program .place__img { aspect-ratio: 16 / 10; object-position: 22% 50%; }
  .pg-program .place__in { padding-bottom: 32px; }
  .pg-program .place__card .pline { font-size: 1.02rem; }
  /* The drive time is a caption to the figures; the line about the shuttle starts under it. */
  .pg-program .place__card .drive { display: block; }
}
@media (min-width: 700px) and (max-width: 959px) {
  /* On a tablet the card is narrower, so more of the photograph shows beside it. */
  .pg-program .place__card { width: min(100%, 29rem); }
}

/* ----- The calendar: the brochure, then the eleven days ------------------- */

.pg-program .cal__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pg-program .cal__art { min-width: 0; }
.pg-program .cal__copy { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.pg-program .cal__copy .shead { margin-bottom: 0; }
.pg-program .cal__text { max-width: 30rem; color: var(--fg-2); font: 400 1.1rem/1.5 var(--serif); text-wrap: balance; }
.pg-program .cal .daystrip-wrap { margin-top: clamp(28px, 4.4vw, 64px); }
/* What each day is, and its Hebrew date, at 14px. */
.pg-program .cal .daychip__title,
.pg-program .cal .daychip__heb { font-size: 0.875rem; }
.pg-program .cal .daychip__title { color: var(--fg); }
.pg-program .cal .strip-note { margin-top: 14px; text-wrap: balance; }
@media (max-width: 699px) {
  /* On a phone the brochure sits beside the heading, and the line and the button run full width
     under them. The heading is sized from the screen so "the brochure" always fits its column. */
  .pg-program .cal__grid { grid-template-columns: min(32vw, 130px) minmax(0, 1fr); grid-template-areas: "art head" "text text" "go go"; gap: 14px 16px; }
  .pg-program .cal__copy { display: contents; }
  .pg-program .cal__art { grid-area: art; }
  .pg-program .cal__art .bmock { width: 100%; }
  .pg-program .cal__copy .shead { grid-area: head; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pg-program .cal__copy h2.display { font-size: min(1.8rem, 6.1vw); }
  .pg-program .cal__text { grid-area: text; font-size: 1.04rem; }
  .pg-program .cal__copy .btnrow { grid-area: go; }
}

/* ----- The resort: the second row of tiles --------------------------------- */

@media (max-width: 559px) {
  .pg-resort .aroundrow .tile__photo--square { aspect-ratio: 4 / 3; }
}

/* ----- The resort: Shabbos and Yom Tov, as a ruled list ------------------- */

.pg-resort .ticks--rule { gap: 0; width: 100%; border-top: 1px solid var(--line); }
.pg-resort .ticks--rule li { padding: 13px 0 13px 22px; border-bottom: 1px solid var(--line); color: var(--fg); font: 400 1.04rem/1.4 var(--serif); text-wrap: pretty; }
.pg-resort .ticks--rule li::before { top: 1.42em; }
@media (min-width: 960px) {
  .pg-resort .ticks--rule li { padding-block: 15px; font-size: 1.12rem; }
}

/* ----- The resort: every distance, as a small timetable -------------------- */

/* Three columns that always fit a phone: the place, the miles, the minutes. It never scrolls sideways. */
.pg-resort .trips { width: 100%; min-width: 0; max-width: 38rem; border-collapse: collapse; }
.pg-resort .trips th,
.pg-resort .trips td { padding: 11px 0 11px 16px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: baseline; }
.pg-resort .trips thead th { padding-block: 0 8px; font: 600 0.875rem/1.4 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); white-space: nowrap; }
.pg-resort .trips thead td { padding: 0; }
.pg-resort .trips tbody th { padding-left: 0; text-align: left; font: 400 1.04rem/1.35 var(--serif); text-wrap: balance; }
.pg-resort .trips tbody td { font: 500 0.98rem/1.35 var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pg-resort .trips tbody td:last-child { color: var(--fg-2); font-weight: 400; }
/* The small print under the timetable keeps to the timetable's width. */
.pg-resort .feature__copy .fine { max-width: 38rem; }
@media (max-width: 699px) {
  /* Narrower gutters between the columns, so the longest names keep to one line where they can. */
  .pg-resort .trips th,
  .pg-resort .trips td { padding-left: 12px; }
  .pg-resort .trips tbody th { font-size: 0.98rem; }
  /* "Typical drive times." is a caption to the timetable; the line about the shuttle starts under it. */
  .pg-resort .feature__copy .drive { display: block; }
}

/* ===== parts/40-pages.css ===== */
/* ==========================================================================
   Dining, Pricing, Questions, Contact and the not-found page.
   Built from the photo-led kit in 10-ui.css; this file holds only what is
   particular to these pages.
   ========================================================================== */

/* A group of tap-to-open lines that follows a row of cards or a list. On a wide screen the lines sit
   side by side across the row above them. */
.morelist--after { margin-top: clamp(24px, 3.4vw, 44px); max-width: 52rem; }
@media (min-width: 1100px) {
  .morelist--after { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); column-gap: clamp(32px, 4vw, 64px); align-items: start; max-width: none; border-top: 0; }
  .morelist--after > .more { border-top: 1px solid var(--line); }
}
/* A short ruled row of labels (what an apartment stay is, in four). */
.ticks--row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 10px 32px; margin-top: clamp(18px, 2.4vw, 28px); }
.ticks--row li { color: var(--fg); }
.ticks--row + .keyline { margin-top: clamp(18px, 2.4vw, 28px); }

/* The one line on a page that must not be missed. */
.keyline { max-width: 40rem; padding-left: 16px; border-left: 3px solid var(--apricot); }
.keyline strong { font-weight: 600; color: var(--fg); }

/* Two figures side by side instead of three. */
.stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 30rem; }
.stats--2 .stat__l { max-width: 13rem; }

/* ----- Price list --------------------------------------------------------- */

/* One line per villa: photograph, name and facts, price, Book. On a wide screen the lines sit two
   abreast; on a phone each is a short row with the price under the name. */
.plist { display: grid; border-top: 1px solid var(--line); }
.plist__row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; grid-template-areas: "photo what go" "photo price go"; align-items: center; gap: 2px 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.plist__photo { grid-area: photo; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--coconut); }
.plist__photo img { width: 100%; height: 100%; object-fit: cover; }
.plist__what { grid-area: what; display: grid; gap: 2px; align-self: end; min-width: 0; }
.plist__name { font: 400 1.06rem/1.2 var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
/* A taller area to tap than the line of type, without moving it. */
.plist__name a { position: relative; z-index: 1; display: inline-block; padding-block: 13px; margin-block: -9px; text-decoration: none; }
.plist__name a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.plist__meta { font: 500 0.875rem/1.4 var(--sans); color: var(--fg-2); }
.plist__price { grid-area: price; align-self: start; font: 400 1.4rem/1.1 var(--display); letter-spacing: 0.03em; font-variant-numeric: tabular-nums; }
.plist__price.plist__price--note { padding-top: 4px; font: 600 0.76rem/1.2 var(--sans); letter-spacing: 0.17em; text-transform: uppercase; white-space: nowrap; }
.plist__go { grid-area: go; }
.plist + .pricefine,
.plist + .keyline { margin-top: clamp(18px, 2.4vw, 28px); }
@media (max-width: 699px) {
  .plist__row { grid-template-columns: 76px minmax(0, 1fr) auto; gap: 2px 12px; }
  .plist__name { font-size: 0.96rem; letter-spacing: 0.03em; }
  .plist__go { padding-inline: 1em; }
  /* An apartment's button says more ("How to book"), so on a phone it sits under the name. */
  .plist__row--apt { grid-template-areas: "photo what" "photo price" "photo go"; grid-template-columns: 76px minmax(0, 1fr); }
  .plist__row--apt .plist__go { justify-self: start; margin-top: 8px; }
  .plist__row--apt .plist__photo { align-self: start; }
}
@media (max-width: 389px) {
  /* A 360px phone: a smaller photograph and no arrow in the button, so a name and its facts each keep to one line. */
  .plist__row { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 2px 10px; }
  .plist__row--apt { grid-template-columns: 58px minmax(0, 1fr); }
  .plist__go .arrow { display: none; }
  .plist__go { padding-inline: 0.9em; }
}
@media (min-width: 700px) {
  .plist__row { grid-template-columns: 132px minmax(0, 1fr) auto auto; grid-template-areas: "photo what price go"; gap: 0 24px; padding-block: 16px; }
  .plist__what { align-self: center; }
  .plist__price { align-self: center; font-size: 1.7rem; }
  .plist__price.plist__price--note { padding-top: 0; font-size: 0.76rem; }
  .plist__name { font-size: 1.2rem; }
}
@media (min-width: 1360px) {
  .plist { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 4vw, 64px); }
  .plist__row { grid-template-columns: 120px minmax(0, 1fr) auto auto; gap: 0 20px; }
  .plist__price { font-size: 1.55rem; }
}

/* On the Mauvewood band the tap-to-open lines take the band's own ink. */
.allin .morelist { max-width: none; }
.allin .more__body .ticks li { color: var(--fg-2); }
.allin .more__body .ticks strong { color: var(--fg); }

.goodtoknow .facts { max-width: 52rem; }
.goodtoknow .morelist { max-width: 52rem; border-top: 0; }
@media (min-width: 1100px) {
  /* The facts on the left, the lines that open on the right, so the band is used across its width. */
  .goodtoknow { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 96px); align-items: start; }
  .goodtoknow > .shead { grid-column: 1 / -1; }
  .goodtoknow .facts,
  .goodtoknow .morelist { max-width: none; }
  .goodtoknow .morelist { border-top: 1px solid var(--line); }
}

/* ----- Questions ---------------------------------------------------------- */

/* The groups, as a row of links that swipes on a phone. */
/* The column may shrink to the screen, so the row of links scrolls inside itself. */
.faq-layout > * { min-width: 0; }
.faqnav { min-width: 0; margin-bottom: clamp(24px, 3vw, 40px); }
.faqnav ul { display: flex; gap: 8px; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
.faqnav ul::-webkit-scrollbar { display: none; }
.faqnav a { display: block; padding: 14px 16px; border: 1px solid var(--line); font: 600 0.76rem/1.2 var(--sans); letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.faqnav a:hover { background: var(--cypress); border-color: var(--cypress); color: var(--porcelain); }
.faqgroup { scroll-margin-top: calc(var(--header-h) + 24px); }
.faqgroup details a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; white-space: nowrap; }
@media (min-width: 700px) {
  .faqnav ul { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; }
}
@media (max-width: 699px) {
  .faqgroup summary { padding-block: 17px; font-size: 1.08rem; gap: 16px; }
  .faqgroup details p { padding-right: 8px; }
}

/* The two ways to reach us in the "Still deciding?" card are separate lines to tap. */
.aside-card .big a { display: inline-block; padding-block: 8px; }

/* ----- Contact ------------------------------------------------------------ */

/* Call, text, email: three large buttons. */
.ways { display: grid; gap: 10px; }
.way { display: grid; gap: 4px; padding: 16px 20px; border: 1px solid var(--line); text-decoration: none; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.way:hover { background: var(--cypress); border-color: var(--cypress); color: var(--porcelain); }
.way:hover .way__label { color: inherit; }
.way__label { font: 600 0.76rem/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-2); }
.way__value { font: 400 1.3rem/1.25 var(--serif); overflow-wrap: anywhere; }
@media (min-width: 560px) and (max-width: 959px) {
  .ways { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .way__value { font-size: 1.05rem; }
}

/* The not-found page: room under the opening before the footer. */
.phead__end { height: clamp(40px, 7vw, 96px); background: var(--porcelain); }

@media (prefers-reduced-motion: reduce) {
  .way { transition: none; }
}
