/* The DLE template loads this stylesheet on the homepage only. */
body.is-home {
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, sans-serif;
  --wrap: min(1400px, calc(100% - 96px));
  --home-forest: #102820;
  --home-cream: #f6f2e8;
  --home-gold: #ffd29b;
  --home-gap: clamp(28px, 4vw, 64px);
}

.home-hero {
  position: relative;
  min-height: clamp(710px, 100svh, 900px);
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header) + clamp(58px, 7vw, 118px));
  color: #fffaf1;
  background: var(--home-forest);
}

.home-hero__photo,
.home-hero::before {
  position: absolute;
  inset: 0;
}

.home-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 53%;
  filter: saturate(.74) brightness(.9);
}

.home-hero::before {
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgb(10 28 22 / .96), rgb(10 28 22 / .86) 28%, rgb(10 28 22 / .42) 49%, rgb(10 28 22 / .06) 75%),
    linear-gradient(180deg, rgb(10 28 22 / .74), transparent 28%, transparent 58%, rgb(10 28 22 / .83) 100%);
  pointer-events: none;
}

.home-hero__grid, .home-hero__facts {
  position: relative;
  z-index: 2;
}

.home-hero__grid {
  padding-bottom: clamp(26px, 5vw, 72px);
}

.home-hero__content {
  max-width: 650px;
}

.home-hero__content .section-label {
  margin-bottom: 18px;
  color: var(--home-gold);
}

.home-hero h1 {
  margin: 0 0 20px;
  font: 500 clamp(44px, 5.25vw, 83px)/1.02 var(--serif);
  letter-spacing: -.048em;
  text-wrap: unset;
}

.home-hero h1 em { color: var(--home-gold); }
.home-hero h1 > span { font-size: .72em; }

.home-hero__lead {
  max-width: 42ch;
  margin: 0;
  color: #e0e7df;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.55;
}

.home-hero__rates {
  display: grid;
  gap: 3px;
  margin-block: 24px;
}

.home-hero__rates p { margin: 0; }
.home-hero__rates strong { font-size: clamp(24px, 2.3vw, 34px); line-height: 1.15; }
.home-hero__rates p span { color: #e0e7df; font-size: 14px; }
.home-hero__rates p + p { color: var(--home-gold); font-size: 15px; }

.home-hero__actions, body.is-home #content .house-feature__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}

.home-hero .button {
  color: var(--ink);
  background: var(--home-gold);
  border-color: var(--home-gold);
}

.home-hero__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: auto;
  border-top: 1px solid #50635b;
}

.home-hero__facts a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 8px 18px;
  font-size: 14px;
}

.home-hero__facts a:first-child { padding-left: 0; }
.home-hero__facts a:last-child { padding-right: 0; }
.home-hero__facts a + a { border-left: 1px solid #50635b; }
.home-hero__facts a:hover, .home-hero__facts a span { color: var(--home-gold); }

/* Tighten the vertical rhythm and keep text legible next to large photographs. */
body.is-home #content .section { padding-block: clamp(42px, 6.3vw, 99px); }
body.is-home #content .section-head { margin-bottom: clamp(24px, 3.4vw, 54px); gap: 24px 48px; }
body.is-home #content .section h2 {
  font-size: clamp(34px, 4.2vw, 65px);
  line-height: 1.04;
  letter-spacing: -.041em;
  overflow-wrap: normal;
}

body.is-home #content .section-label, body.is-home #content .kicker {
  margin-bottom: 14px;
  color: #84502f;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: .12em;
}

body.is-home #content :is(.section--dark, .home-hero, .final-cta) :is(.section-label, .kicker) {
  color: var(--home-gold);
}

body.is-home #content .quiet-link { font-size: 14px; min-height: 44px; }
body.is-home #content .button { letter-spacing: .015em; text-transform: none; font-size: 15px; }
body.is-home #content .home-hero__content .section-label { margin-bottom: 14px; }
body.is-home .intro { background: var(--home-cream); }

body.is-home .intro__grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, .72fr);
  gap: 12px var(--home-gap);
  align-items: start;
}

body.is-home .intro__grid > .section-label { grid-column: 1 / -1; margin: 0; }
body.is-home .intro__text { align-self: start; font-size: 17px; }
body.is-home .intro h2 span { color: #3d6252; }

.house-rates {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: 18px 36px;
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.house-rates h3 { margin: 0 0 5px; font: 500 clamp(23px, 2.4vw, 33px)/1.1 var(--serif); }
.house-rates p { margin: 0; color: var(--muted); }
.house-rates dl { margin: 0; }
.house-rates dl div { display: flex; justify-content: space-between; gap: 8px 18px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.house-rates dl div:first-child { padding-top: 0; }
.house-rates dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.house-rates dd { margin: 0; text-align: right; white-space: nowrap; }
.house-upcoming { display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: center; margin-top: 22px; color: var(--muted); }
.house-upcoming h3 { margin: 0; color: var(--ink); font-size: 17px; }
.house-upcoming p { margin: 0; }

body.is-home .houses .section-head { display: block; }
body.is-home .house-feature { grid-template-columns: minmax(0, 1.23fr) minmax(0, .77fr); box-shadow: none; border-radius: 18px; }
body.is-home .house-feature__media { min-height: 0; }
body.is-home .house-feature__media > img { position: absolute; inset: 0; }
body.is-home .house-feature__body { padding: clamp(24px, 3.3vw, 50px); }
body.is-home .house-feature__title h3 { font-size: clamp(42px, 5vw, 68px); margin-bottom: 16px; }
body.is-home .feature-table { margin-block: 10px 22px; }
body.is-home .feature-table b { font-size: 14px; }

body.is-home :is(.steam__grid, .tub__grid, .occasions__grid) {
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr);
  gap: var(--home-gap);
}

body.is-home .tub__grid { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
body.is-home .tub__copy { grid-column: 1; grid-row: 1; }
body.is-home .tub__media { grid-column: 2; grid-row: 1; }
body.is-home :is(.steam__media, .tub__media, .occasions__media) { min-width: 0; max-width: none; }
body.is-home .steam__media { padding: 0; }
body.is-home .steam__media::before { content: none; }

body.is-home :is(.steam__media, .tub__media, .occasions__media) > img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  border-radius: 18px;
  box-shadow: none;
}

body.is-home .steam__media > span,
body.is-home .occasions__media > span {
  position: static;
  display: block;
  max-width: none;
  margin-top: 10px;
  padding: 0;
  color: inherit;
  background: transparent;
  backdrop-filter: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-align: start;
  text-transform: none;
}

body.is-home .steam__media > span { color: #d4dfd7; }
body.is-home .occasions__media > span { color: var(--muted); }
body.is-home .tub__media > div { inset: auto 14px 14px auto; width: auto; height: auto; gap: 3px; padding: 8px 16px; }
body.is-home .tub__media strong { font-size: 19px; }
body.is-home .tub__media span { font-size: 12px; letter-spacing: 0; text-transform: none; }
body.is-home :is(.steam__lead, .tub__copy > p:not(.section-label), .occasions__copy > p:not(.section-label)) {
  margin-block: 16px 22px;
  font-size: 17px;
  overflow-wrap: normal;
}

body.is-home .steam__lead { color: #e0e7df; }
body.is-home :is(.fact-list, .occasions__copy ul, .price-list) { margin-block: 0 20px; }
body.is-home .fact-list > div { grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding-block: 11px; }
body.is-home .fact-list > div > b { font-size: 12px; }
body.is-home .fact-list small { color: #d4dfd7; font-size: 14px; }
body.is-home .occasions__copy ul { gap: 6px; padding-block: 12px; }
body.is-home :is(.occasions__copy li, .price-list div) { font-size: 15px; }
body.is-home .price-list div { padding-block: 9px; }

body.is-home .format-card { min-height: 0; padding: clamp(18px, 2.4vw, 32px); box-shadow: none; }
body.is-home .format-card h3 { margin: 15px 0 10px; font-size: clamp(23px, 2.5vw, 34px); }
body.is-home .format-card p { margin-bottom: 18px; font-size: 15px; }
body.is-home .format-card b { font-size: 14px; }
body.is-home .care-grid article { min-height: 0; padding: 24px; }
body.is-home .care-grid h3 { margin: 14px 0 10px; }
body.is-home .care-grid p { font-size: 15px; }

body.is-home .gallery-mosaic {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: none;
  gap: 12px;
}

body.is-home .gallery-shot { grid-area: auto; min-height: 0; aspect-ratio: 16 / 9; border-radius: 12px; }
body.is-home .gallery-shot img { opacity: 1; }
body.is-home .gallery-shot > span { font-size: 13px; }

@media (max-width: 1260px) {
  body.is-home { --wrap: min(1400px, calc(100% - 56px)); }
  body.is-home .site-header__inner { grid-template-columns: minmax(0, 1fr) auto; }
  body.is-home :is(.desktop-nav, .header-phone) { display: none; }
  body.is-home .menu-toggle { display: block; }
}

@media (max-width: 820px) {
  body.is-home { --wrap: calc(100% - 40px); }
  .home-hero {
    --home-hero-image-height: clamp(365px, 66vw, 520px);
    min-height: 0;
    padding-top: calc(var(--header) + clamp(125px, 30vw, 240px));
  }
  .home-hero__photo, .home-hero::before { bottom: auto; height: var(--home-hero-image-height); }
  .home-hero__photo img { object-position: 57% 50%; }
  .home-hero::before {
    background: linear-gradient(180deg, rgb(10 28 22 / .76) 0, rgb(10 28 22 / .55) var(--header), rgb(10 28 22 / .12) 32%, rgb(16 40 32 / .7) 62%, var(--home-forest) 98%);
  }
  .home-hero__grid { padding-bottom: 22px; }
  .home-hero h1 { font-size: clamp(39px, 8vw, 55px); margin-bottom: 12px; }
  .home-hero h1 br:last-of-type { display: none; }
  .home-hero__rates { margin-block: 14px 18px; }
  .home-hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hero__facts a { min-height: 52px; padding-inline: 8px; font-size: 13px; }
  .home-hero__facts a:nth-child(odd) { padding-left: 0; border-left: 0; }
  .home-hero__facts a:nth-child(n+3) { border-top: 1px solid #50635b; }
  body.is-home .intro__grid, body.is-home .house-rates, body.is-home .house-feature,
  body.is-home :is(.steam__grid, .tub__grid, .occasions__grid) { grid-template-columns: minmax(0, 1fr); }
  body.is-home .house-feature__media { aspect-ratio: 16 / 9; }
  body.is-home .tub__media, body.is-home .tub__copy { grid-area: auto; order: 0; }
  body.is-home .gallery-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}

@media (max-width: 560px) {
  body.is-home .cookie {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 13px;
  }

  body.is-home .cookie strong { font: 600 14px var(--sans); }
  body.is-home .cookie .button { min-height: 44px; padding-inline: 14px; font-size: 12px; }
}

@media (max-width: 450px) {
  body.is-home { --wrap: calc(100% - 32px); }
  .home-hero h1 { font-size: clamp(35px, 10.4vw, 45px); }
  .home-hero h1 > span { display: block; margin-top: 4px; }
  .home-hero__actions .button { min-height: 48px; padding-inline: 16px; }
  .house-rates dl div { align-items: baseline; font-size: 14px; }
  body.is-home .feature-table div { grid-template-columns: 68px minmax(0, 1fr); gap: 12px; }
}
