/* The Heart Reset retreat page. Shares the site's type, nav, forms and footer.
   glass.css loads after this file and remaps the colour tokens. */
:root {
  color-scheme: light;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --x-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --x-ivory: #f6f1e7;
  --x-ivory-2: #ede6d9;
  --x-charcoal: #1b1a18;
  --x-gold: #c8a872;
  --x-navy: #0b1a35;
  --x-gold-ink: #7d6037;
  --x-ink-2: #5e5850;
  --x-body: #3a3732;
  --x-ivory-2-ink: #bdb4a6;
  --x-rule: #1b1a1826;
  --x-rule-on: #f6f1e72e;
  --x-max: 1240px;
  --x-pad: clamp(20px, 5vw, 64px);
  --x-nav-h: 72px;
  --x-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --r-s: 12px;
  --r-pill: 100px;
  --text-primary: var(--x-charcoal);
  --text-secondary: var(--x-ink-2);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--x-nav-h) + 12px); }
body { margin: 0; background: var(--x-ivory); color: var(--x-charcoal); font: 400 16px/1.65 var(--sans); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
picture { display: contents; }
picture > source { display: none; }
:focus-visible { outline: 2px solid var(--x-gold-ink); outline-offset: 4px; }
.x-on-dark :focus-visible { outline-color: var(--x-gold); }
.x-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 12px 18px; background: var(--x-gold); color: var(--x-charcoal); }
.x-skip:focus { left: 8px; }
.x-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.x-wrap { max-width: var(--x-max); margin: 0 auto; padding-inline: var(--x-pad); }
.x-on-dark { background: var(--x-charcoal); color: var(--x-ivory); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.x-h2 { margin: 0; font: 400 clamp(36px, 4.4vw, 62px)/1.06 var(--x-serif); letter-spacing: -0.02em; max-width: 16ch; text-wrap: balance; }
.x-eyebrow { margin: 0 0 14px; font: 500 12px/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--x-gold-ink); }
.x-lede { margin: 16px 0 0; max-width: 42em; font-size: clamp(17px, 1.35vw, 19px); color: var(--x-body); }
.x-prose p { margin: 0; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.75; color: var(--x-body); max-width: 40em; }
.x-prose p + p { margin-top: 18px; }
.x-sec { padding-block: clamp(64px, 9vw, 112px); }
#apply, #interest { scroll-margin-top: calc(var(--x-nav-h) + 16px); }

.x-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.x-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: var(--r-pill);
  font: 500 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid var(--x-charcoal); color: var(--x-charcoal); background: transparent;
  transition: background-color 220ms var(--x-ease), color 220ms var(--x-ease), border-color 220ms var(--x-ease);
}
.x-btn:hover { background: var(--x-charcoal); color: var(--x-ivory); }
.x-btn--gold { background: var(--x-gold); border-color: var(--x-gold); color: var(--x-charcoal); }
.x-btn--small { min-height: 44px; padding: 0 20px; font-size: 14px; }

/* Nav, matching the homepage */
.x-nav { position: sticky; top: 0; z-index: 50; background: var(--x-ivory); border-bottom: 1px solid var(--x-rule); }
.x-nav__bar { display: flex; align-items: center; gap: 32px; height: var(--x-nav-h); }
.x-wordmark { display: inline-flex; align-items: center; min-height: 44px; font: 500 23px/1 var(--x-serif); color: var(--x-charcoal); text-decoration: none; white-space: nowrap; }
.x-nav__links { display: flex; margin: 0 0 0 auto; padding: 0; list-style: none; }
.x-nav__links a { display: inline-flex; align-items: center; min-height: 44px; font: 400 14px/1 var(--sans); color: var(--x-ink-2); text-decoration: none; white-space: nowrap; transition: color 200ms; }
.x-nav__links a:hover, .x-nav__links a[aria-current="page"] { color: var(--x-charcoal); }
.x-nav__links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--x-gold-ink); text-underline-offset: 6px; }
.x-nav__signin { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; font: 600 14px/1 var(--sans); color: #0f1724; text-decoration: none; white-space: nowrap; }
.x-nav__signin:hover { color: #0022dc; }
.x-menu-btn { display: none; margin-left: auto; min-height: 44px; padding: 0 4px; background: none; border: 0; color: var(--x-charcoal); font: 500 14px/1 var(--sans); cursor: pointer; }
.x-menu-btn b { position: relative; display: inline-block; width: 22px; height: 11px; margin-left: 12px; vertical-align: middle; }
.x-menu-btn b i, .x-menu-btn b::before, .x-menu-btn b::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform 320ms var(--x-ease), opacity 200ms; }
.x-menu-btn b::before { top: 0; }
.x-menu-btn b i { top: 5px; }
.x-menu-btn b::after { top: 10px; }
.x-menu-btn[aria-expanded="true"] b::before { transform: translateY(5px) rotate(45deg); }
.x-menu-btn[aria-expanded="true"] b::after { transform: translateY(-5px) rotate(-45deg); }
.x-menu-btn[aria-expanded="true"] b i { opacity: 0; }
@media (max-width: 1100px) {
  .x-menu-btn { display: inline-flex; align-items: center; }
  .x-nav__panel {
    position: fixed; left: 0; right: 0; top: var(--x-nav-h); bottom: 0; overflow-y: auto; overscroll-behavior: contain;
    display: flex; flex-direction: column; gap: 32px; background: var(--x-ivory); padding: 24px var(--x-pad) 40px;
    opacity: 0; visibility: hidden; transition: opacity 280ms var(--x-ease), visibility 0s linear 280ms;
  }
  .x-nav.is-open .x-nav__panel { opacity: 1; visibility: visible; transition-delay: 0s; }
  .x-nav__links { flex-direction: column; margin: 0; }
  .x-nav__links a { display: flex; padding: 12px 0; font: 400 clamp(28px, 6vw, 40px)/1.15 var(--x-serif); color: var(--x-charcoal); border-bottom: 1px solid var(--x-rule); white-space: normal; }
  .x-nav__links a[aria-current="page"] { font-style: italic; color: var(--x-gold-ink); text-decoration: none; }
  .x-nav .x-btn { align-self: flex-start; }
  .x-nav__signin { display: flex; padding: 12px 0; font: 400 clamp(28px, 6vw, 40px)/1.15 var(--x-serif); color: var(--x-charcoal); border-bottom: 1px solid var(--x-rule); }
  .x-menu-open { overflow: hidden; }
}
@media (min-width: 1101px) {
  .x-nav__panel { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 24px); flex: 1; min-width: 0; }
  .x-nav__links { gap: clamp(10px, 1.15vw, 22px); }
}
@media (prefers-reduced-motion: reduce) { .x-menu-btn b i, .x-menu-btn b::before, .x-menu-btn b::after { transition: none; } }

/* Hero */
.r-hero { display: grid; }
.r-hero__media { margin: 0; background: var(--x-navy); }
.r-hero__media img { width: 100%; height: min(62vw, 420px); object-fit: cover; object-position: center 60%; display: block; }
.r-hero__copy { padding: clamp(32px, 6vw, 56px) var(--x-pad) clamp(40px, 7vw, 64px); }
.r-hero h1 { margin: 0; font: 400 clamp(48px, 8vw, 84px)/0.94 var(--x-serif); letter-spacing: -0.03em; text-wrap: balance; }
.r-hero__sub { margin: 14px 0 0; font: 500 13px/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--x-gold-ink); }
.r-hero__where, .r-hero__hosts { margin: 16px 0 0; max-width: 42em; color: var(--x-body); }
.r-hero__hosts { font: italic 400 clamp(20px, 2vw, 26px)/1.35 var(--x-serif); color: var(--x-charcoal); }
.r-tag { margin: 22px 0 0; font: 500 12px/1.3 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--x-gold-ink); }
@media (min-width: 900px) {
  .r-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: stretch; min-height: calc(100svh - var(--x-nav-h)); }
  .r-hero__media { order: 2; min-height: 100%; }
  .r-hero__media img { height: 100%; min-height: 640px; }
  .r-hero__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 5vw, 72px) clamp(28px, 3vw, 48px) clamp(48px, 5vw, 72px) max(var(--x-pad), calc((100vw - var(--x-max)) / 2 + var(--x-pad))); }
}

.r-photos { list-style: none; margin: clamp(28px, 4vw, 40px) 0 0; padding: 0; display: grid; gap: 12px; }
.r-photos li { margin: 0; min-width: 0; }
.r-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; display: block; }
@media (min-width: 700px) { .r-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.r-gallery { margin: 0; }
.r-gallery figcaption { margin-top: 12px; max-width: 62ch; font-size: 14px; line-height: 1.5; color: var(--x-ink-2); }

.x-list { margin: 8px 0 0; padding: 0; list-style: none; max-width: 44em; }
.x-list li { padding: 14px 0; border-bottom: 1px solid var(--x-rule); color: var(--x-body); }
.x-list li:first-child { border-top: 1px solid var(--x-rule); }
.x-list b { font-weight: 600; color: var(--x-charcoal); }

.r-quote { margin: 0; }
.r-quote blockquote { margin: 0; max-width: 28em; font: italic 400 clamp(26px, 3vw, 40px)/1.25 var(--x-serif); letter-spacing: -0.015em; color: var(--x-charcoal); text-wrap: pretty; }
.r-quote figcaption { margin-top: 16px; font: 500 14px/1.4 var(--sans); color: var(--x-ink-2); }
.r-quote figcaption::before { content: ""; display: block; width: 40px; height: 1px; margin-bottom: 14px; background: var(--x-gold-ink); }

.r-panel { padding: clamp(8px, 2vw, 18px) clamp(16px, 3vw, 28px); }
.r-schedule { width: 100%; border-collapse: collapse; }
.r-schedule th, .r-schedule td { text-align: left; vertical-align: top; padding: 14px 12px; border-bottom: 1px solid var(--x-rule); font-weight: 400; }
.r-schedule thead th { font: 500 12px/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--x-gold-ink); }
.r-schedule tbody th { font: 500 15px/1.4 var(--sans); color: var(--x-charcoal); white-space: nowrap; }
.r-schedule td { color: var(--x-body); }
@media (max-width: 720px) {
  .r-schedule thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .r-schedule, .r-schedule tbody { display: block; }
  .r-schedule tr { display: block; padding: 8px 0 14px; border-bottom: 1px solid var(--x-rule); }
  .r-schedule th, .r-schedule td { display: block; width: auto; border: 0; padding: 6px 0; white-space: normal; }
  .r-schedule tbody th { font: 400 clamp(22px, 5vw, 28px)/1.2 var(--x-serif); padding-top: 8px; }
  .r-schedule td::before { content: attr(data-label); display: block; margin-bottom: 2px; font: 500 12px/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--x-gold-ink); }
  .r-schedule td:empty { display: none; }
}

.r-hostgrid, .r-prices, .r-steps { list-style: none; margin: clamp(28px, 4vw, 40px) 0 0; padding: 0; display: grid; gap: 16px; align-items: stretch; }
.r-hostgrid > li, .r-prices > li, .r-steps > li { display: flex; min-width: 0; }
.x-adv__card { display: flex; flex-direction: column; width: 100%; padding: clamp(22px, 3vw, 28px); color: var(--x-charcoal); }
.r-hostgrid .x-adv__card { flex: 1; height: 100%; }
.r-host__photo { margin: 0 0 16px; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--x-ivory-2); }
.r-host__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; display: block; }
.r-host__title, .r-price h3, .r-steps h3 { margin: 0 0 8px; font: 400 clamp(26px, 2vw, 32px)/1.15 var(--x-serif); letter-spacing: -0.01em; }
.r-host__role { margin: 0 0 10px; font: 500 12px/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--x-gold-ink); }
.x-adv__card p { margin: 0; color: var(--x-body); }
.r-price__amt { margin-top: 12px; font: 400 clamp(36px, 4vw, 48px)/1 var(--x-serif); color: var(--x-charcoal); white-space: nowrap; }
.r-price__note { margin-top: 6px; font: 500 13px/1.4 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--x-gold-ink); }
.r-note { margin: 18px 0 0; max-width: 62ch; color: var(--x-body); }
.r-hint { margin: 6px 0 0; max-width: 62ch; font-size: 14px; line-height: 1.5; color: var(--x-ink-2); }
.r-steps span { display: block; margin-bottom: 12px; font: 500 13px/1 var(--sans); letter-spacing: 0.16em; color: var(--x-gold-ink); }
@media (min-width: 720px) {
  .r-hostgrid { grid-template-columns: 1fr 1fr; }
  .r-prices, .r-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) { .r-hostgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.x-disclaimer { margin-top: 28px; padding: 20px 22px; border-left: 2px solid var(--x-gold); font-size: 15px; line-height: 1.6; color: var(--x-body); max-width: 68ch; }
.x-disclaimer p { margin: 0; }

.x-formwrap { margin-top: 28px; padding: clamp(20px, 3vw, 36px); container-type: inline-size; }
.x-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin: 0; }
.x-field { display: grid; gap: 4px; align-content: start; min-width: 0; }
.x-field label, .x-check label { font: 400 clamp(19px, 1.6vw, 22px)/1.3 var(--x-serif); color: var(--x-charcoal); }
.x-req { color: var(--x-gold-ink); margin-left: 2px; }
.r-opt { margin-left: 8px; font: 400 13px/1 var(--sans); letter-spacing: 0; color: var(--x-ink-2); }
.x-field input, .x-field select, .x-field textarea {
  width: 100%; min-height: 44px; margin: 0; padding: 10px 0;
  font: 400 16px/1.5 var(--sans); color: var(--x-charcoal);
  background-color: transparent; border: 0; border-bottom: 1px solid var(--x-ink-2); border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
.x-field textarea { min-height: 120px; resize: vertical; }
.x-field select {
  padding-right: 28px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--x-gold-ink) 50%), linear-gradient(135deg, var(--x-gold-ink) 50%, transparent 50%);
  background-position: calc(100% - 11px) 52%, calc(100% - 6px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}
.x-field input:focus-visible, .x-field select:focus-visible, .x-field textarea:focus-visible { outline: none; border-bottom-color: var(--x-gold-ink); box-shadow: 0 1px 0 var(--x-gold-ink); }
.x-check { grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 12px; padding-top: 4px; }
.x-check input[type="checkbox"] {
  width: 44px; height: 44px; min-height: 44px; margin: 0; padding: 0; cursor: pointer;
  border: 1px solid var(--x-ink-2); border-radius: 0; background: transparent;
  display: grid; place-content: center; -webkit-appearance: none; appearance: none;
}
.x-check input[type="checkbox"]::before { content: ""; width: 18px; height: 18px; background: var(--x-gold-ink); transform: scale(0); }
.x-check input[type="checkbox"]:checked { border-color: var(--x-gold-ink); }
.x-check input[type="checkbox"]:checked::before { transform: scale(1); }
.x-check input[type="checkbox"]:focus-visible { outline: 2px solid var(--x-gold-ink); outline-offset: 4px; box-shadow: none; }
.x-check label { cursor: pointer; padding: 8px 0; }
.x-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.x-form__foot .x-btn { flex: 0 0 auto; }
.x-privacy { margin: 0; flex: 1 1 220px; max-width: 46ch; font-size: 14px; line-height: 1.5; color: var(--x-ink-2); }
.x-privacy a { color: var(--x-gold-ink); text-decoration: underline; text-underline-offset: 3px; }
@container (min-width: 680px) {
  .x-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 40px; }
  .x-field--full, .x-form__foot { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .x-form__foot { align-items: stretch; }
  .x-form__foot .x-btn { width: 100%; }
}

.r-thanks { max-width: 40em; padding-block: clamp(48px, 10vw, 96px); }
.r-thanks h1 { margin: 0; font: 400 clamp(40px, 6vw, 68px)/1.02 var(--x-serif); letter-spacing: -0.02em; text-wrap: balance; }
.r-thanks .x-lede { font: italic 400 clamp(22px, 2.4vw, 30px)/1.35 var(--x-serif); color: var(--x-charcoal); }

/* Footer */
.x-foot { padding-block: clamp(56px, 7vw, 88px) 28px; }
.x-foot__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px clamp(32px, 5vw, 80px); }
.x-foot .x-wordmark { color: var(--x-ivory); }
.x-foot__brand p { margin: 8px 0 0; max-width: 28ch; color: var(--x-ivory-2-ink); }
.x-foot h2 { margin: 0 0 6px; font: 500 14px/1.4 var(--sans); color: var(--x-ivory); }
.x-foot ul { margin: 0; padding: 0; list-style: none; }
.x-foot__links ul { columns: 2; column-gap: 32px; }
.x-foot li { break-inside: avoid; }
.x-foot a:not(.x-wordmark) { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--x-ivory-2-ink); text-decoration: none; }
.x-foot a:not(.x-wordmark):hover, .x-foot a[aria-current="page"] { color: var(--x-gold); }
.x-foot__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 12px; border-top: 1px solid var(--x-rule-on); font-size: 13px; color: var(--x-ivory-2-ink); }
.x-foot__health { flex: 1 0 100%; margin: 0 0 8px; max-width: 62em; font-size: 13px; line-height: 1.55; color: var(--x-ivory-2-ink); }
.x-foot__health a { color: inherit; text-decoration: underline; text-underline-offset: 3px; min-height: 0; }
.x-foot__trader { flex-basis: 100%; margin: 6px 0 0; font-size: 12px; }
@media (max-width: 860px) { .x-foot__grid { grid-template-columns: minmax(0, 1fr); } }
