:root { --jardin-green: #164b78; }
.home-only { height: auto; overflow: visible; }
.home-only .home-illustration .logo,
.page-header.mobile-enhanced > .wordmark::before,
.villa-signature img {
  filter: url("assets/logo-blue-filter.svg#blue");
}
.home-only .home-brand-title,
.home-only .home-tagline,
.page-header .wordmark,
.footer-name { color: var(--jardin-green); }
.home-only .home-brand-title {
  font-size: clamp(30px, 5.1vw, 62px);
  letter-spacing: .09em;
  white-space: normal;
  text-align: center;
}
.villa-chapters .story-cover-0,
.villa-chapters .story-cover-1 { overflow: hidden; }
.villa-chapters .story-cover-0 img,
.villa-chapters .story-cover-1 img {
  transform: scale(1.46);
  transform-origin: center top;
}
.villa-chapters .chapter-copy .curated-link {
  display: table;
  margin: 22px auto 0;
  padding: 12px 22px;
  border: 1px solid var(--jardin-green);
  color: var(--jardin-green);
  text-align: center;
  text-decoration: none;
}
.villa-chapters .chapter-copy .curated-link:hover {
  background: var(--jardin-green);
  color: #fff;
}
body .day-story {
  box-sizing: border-box;
  width: min(960px, 90%);
  margin: 44px auto;
  border-block: 1px solid #cdd3cc;
  color: var(--jardin-green);
}
body .day-story > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  text-align: center;
  font: 400 clamp(19px, 3vw, 32px)/1.2 TiziriBodoni, Georgia, serif;
}
.day-story > summary::-webkit-details-marker { display: none; }
.day-story[open] .day-toggle { transform: rotate(45deg); }
.day-story .day-story-body { max-width: 680px; margin: auto; padding: 0 0 30px; }
.day-story .day-story-body header { text-align: center; }
.day-story .day-story-body p { text-transform: uppercase !important; line-height: 1.7; }
.retreat-page #reformer .wellness-partners { margin: 30px 0; padding: 25px 0; }
.retreat-page .rooms-title h1 { text-wrap: balance; }
@media (max-width: 760px) {
  .home-only .home-brand-title { font-size: clamp(29px, 7vw, 45px); }
  .page-header.mobile-enhanced > .wordmark { font-size: 14px !important; }
  .villa-chapters .chapter-copy,
  .villa-chapters .chapter-copy p,
  .villa-chapters .meaning-list { text-align: center !important; }
  .villa-chapters .chapter-copy p,
  .villa-chapters .meaning-list {
    font-family: var(--serif) !important;
    font-size: clamp(19px, 5.3vw, 24px) !important;
    line-height: 1.5 !important;
    text-transform: uppercase !important;
  }
  .villa-chapters .moon-rail .moon-label {
    font-size: clamp(10px, 3vw, 13px) !important;
    font-weight: 650;
    text-transform: uppercase !important;
    letter-spacing: 0;
  }
  .villa-chapters .moon-rail .moon-path { gap: 2px; }
  .villa-chapters .moon-rail .moon-path > a { min-height: 53px !important; }
  .villa-chapters .story-cover-0 img,
  .villa-chapters .story-cover-1 img { transform: scale(1.55); }
}

:root { accent-color: var(--jardin-green); }
.location-map img { filter: grayscale(1) sepia(.35) hue-rotate(32deg) saturate(.65); }
.home-only .home-illustration { aspect-ratio: auto; }
.home-only .home-illustration .logo { display: block; }

@font-face {
  font-family: TiziriEditorial;
  src: url("fonts/cormorant-garamond-variable.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

body.home-only .home-brand-title {
  white-space: nowrap;
  letter-spacing: .075em;
}
body.home-only .home-brand-title span { white-space: inherit; }

body .villa-chapters .chapter-copy p,
body .villa-chapters .meaning-list,
body .villa-chapters .meaning-list li,
body .suite-description,
body .restaurant-intro p,
body .wellness-description,
body .wellness-path p,
body .location-copy p {
  font-family: TiziriEditorial, Georgia, serif !important;
  font-size: clamp(22px, 2.05vw, 29px) !important;
  font-weight: 500;
  line-height: 1.48 !important;
  letter-spacing: normal;
  text-transform: uppercase !important;
}

body .day-story > summary {
  gap: 12px;
  padding-block: 24px;
}
body .day-story > summary .day-title {
  font-family: TiziriEditorial, Georgia, serif !important;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.05;
  text-transform: uppercase;
  text-wrap: balance;
}
body .day-story > summary .day-toggle {
  flex: none;
  font-size: 22px;
  font-weight: 400;
}
body .day-story .day-story-body {
  width: min(100%, 800px);
  margin-inline: auto;
  padding: 0 0 32px;
}
body .day-story .day-story-body header {
  margin: 0 0 26px;
}
body .day-story .day-story-body .day-subtitle {
  margin: 0;
  color: var(--jardin-green);
  font-size: clamp(13px, 1.3vw, 15px);
  letter-spacing: .09em;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}
body .day-story .day-story-body .day-part {
  margin: 0;
  padding: 25px 0;
  border-top: 1px solid #cdd3cc;
}
body .day-story .day-story-body .day-part h3 {
  margin: 0 0 10px;
  font-family: TiziriEditorial, Georgia, serif !important;
  font-size: clamp(24px, 2.5vw, 31px) !important;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: normal;
  text-transform: uppercase;
}
body .day-story .day-story-body .day-part p {
  margin: 0 0 .65em;
  font-family: TiziriEditorial, Georgia, serif !important;
  font-size: clamp(18px, 1.7vw, 22px) !important;
  font-weight: 500;
  line-height: 1.55 !important;
  letter-spacing: normal;
  text-align: start;
}

@media (max-width: 760px) {
  body.home-only .home-brand-title {
    font-size: clamp(20px, 6vw, 36px) !important;
    letter-spacing: .055em !important;
  }
  body.home-only .home-brand-title::before,
  body.home-only .home-brand-title::after { display: none; }
}

/* Uppercase presentation keeps the original copy and form values intact. */
body { text-transform: uppercase; }
body :is(button, select, option, input[type="button"], input[type="submit"]) {
  text-transform: uppercase;
}
body :is(input, textarea)::placeholder { text-transform: uppercase; }
body :is(input:not([type="button"], [type="submit"]), textarea, [contenteditable="true"]) {
  text-transform: none;
}
body .day-story .day-story-body .day-part p { text-wrap: pretty; }

@media (min-width: 761px) {
  body .day-story .day-story-body .day-part {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
    column-gap: 32px;
    align-items: start;
  }
  body .day-story .day-story-body .day-part h3 {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  body .day-story .day-story-body .day-part p { grid-column: 2; }
}

@media (max-width: 760px) {
  body .day-story { width: calc(100% - 32px); }
  body .day-story > summary .day-title { font-size: clamp(25px, 7vw, 33px); }
  body .day-story .day-story-body .day-part { padding-block: 20px; }
}

/* Restore the original blue across site text. */
:root {
  --brand-text: #164b78;
  --ink: var(--brand-text);
  --muted: var(--brand-text);
  --blue: var(--brand-text);
}

body { color: var(--brand-text); }

body :is(.wordmark, .home-brand-title, .home-tagline, .footer-name),
body .day-story,
body .day-story .day-story-body .day-subtitle,
body .moon-rail .moon-path > a,
body .page-header nav > a:not(.reserve),
body .site-footer {
  color: var(--brand-text);
}

@media (max-width: 760px) {
  body .page-header .wordmark,
  body .footer-name {
    white-space: nowrap;
  }

  body .page-header.mobile-enhanced > .wordmark {
    min-width: max-content;
    font-size: clamp(11px, 3.5vw, 14px) !important;
    letter-spacing: .11em;
  }
}

/* Use the existing menu toggle before desktop links become crowded. */
@media (min-width: 761px) and (max-width: 1050px) {
  body .page-header.mobile-enhanced {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px 24px;
  }
  body .page-header.mobile-enhanced > .wordmark { white-space: nowrap; }
  body .page-header.mobile-enhanced .mobile-header-actions { display: flex; }
  body .page-header.mobile-enhanced .mobile-book { display: none; }
  body .page-header.mobile-enhanced nav { display: none; }
  body .page-header.mobile-enhanced.mobile-nav-open nav {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 8px 24px;
  }
  body .page-header.mobile-enhanced nav > a { white-space: nowrap; }
  .hamburger-lines { display: grid; gap: 5px; width: 24px; }
  .hamburger-lines i { height: 1px; background: currentColor; }
}

@media (min-width: 761px) and (max-width: 1050px) {
  body .page-header.mobile-enhanced .mobile-menu-toggle {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink);
  }
}

/* La Villa is the reference for editorial typography throughout the site. */
body main :is(h1, h2, h3, h4),
body main p:not([role], .booking-status) {
  font-family: TiziriEditorial, Georgia, serif !important;
}

/* Blend the blue ink illustrations directly into the page paper. */
body .location-page .location-map img,
body .project-wellness img.wellness-hero {
  filter: brightness(1.16) contrast(1.08);
  mix-blend-mode: multiply;
}

/* Shared editorial palette. The Villa remains the typography reference. */
:root {
  --editorial-title: #164b78;
  --editorial-subtitle: #485845;
  --editorial-copy: #434e50;
  --editorial-accent: #80513c;
  --editorial-tint: #edf0e9;
}
body main :is(h1, h2) {
  color: var(--editorial-title);
}
body main h3 {
  color: var(--editorial-subtitle);
}
body main p:not([role], .booking-status, .eyebrow) {
  color: var(--editorial-copy);
}
body main :is(.eyebrow, .chapter-eyebrow, .wellness-date p:first-child, .retreat-calendar-entry > p:first-child),
body main .chapter-divider > span {
  color: var(--editorial-accent);
}
body .project-wellness .wellness-routes .wellness-calendar-route {
  background: var(--editorial-tint);
}
body .project-wellness .wellness-routes .wellness-choice:not(.wellness-calendar-route) .wellness-link {
  color: var(--editorial-subtitle);
}

body .villa-chapters .chapter-copy p,
body .villa-chapters .day-story-body p,
body .restaurant-intro p,
body .presentation .restaurant-intro > div:last-child p {
  color: var(--editorial-copy) !important;
}

body :is(.home-brand-title,.home-brand-title span,.wordmark) {
  font-family: TiziriEditorial, Georgia, serif !important;
}
body :is(.home-illustration,.location-map) {
  background-color: transparent;
}
body .home-only .home-illustration .logo,
body.home-only .home-illustration .logo,
body .villa-chapters .villa-signature img {
  filter: brightness(1.12) contrast(1.06) !important;
  mix-blend-mode: multiply;
}
@media(max-width:760px){
  body.home-only .home-brand-title {white-space:normal;line-height:1.12}
  body.home-only .home-brand-title span {white-space:normal}
  body .villa-chapters .story-cover img {transform:none}
  body .moon-rail .moon-label {max-width:100%;text-wrap:balance}
}

.booking-page .room-details .room-setup {
  margin: 8px auto 0;
  font-family: var(--serif) !important;
  font-size: 17px;
  line-height: 1.45;
  color: var(--editorial-copy);
}
