/* ==========================================================================
   DIA BONITO · retreats.css
   Host a Retreat: the page for retreat leaders. The hero overlay, content,
   title, rule and lede come from the shared hero groups in style.css (the
   ret-hero prefix sits alongside stay/isl/exp/din/gh/occ). The apply form
   uses booking.css, loaded on this page as well. Panels, panel-backing,
   buttons and tokens all come from style.css.
   ========================================================================== */

/* --- Hero: the section frame, image and hairline rule -------------------- */

.ret-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.ret-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* No panel-drift here: the hero now carries its own video (the shared
   .ret-hero-video rule lives in style.css), same as Stay and Getting Here. */

.ret-hero-rule {
  width: 52px;
  height: 1px;
  background: var(--lagoon-dim);
  margin-left: auto;
  margin-right: auto;
}

.ret-hero-content > * { animation: hero-rise 1.1s var(--ease-out) both; }
.ret-hero-content > *:nth-child(2) { animation-delay: 0.15s; }
.ret-hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.ret-hero-content > *:nth-child(4) { animation-delay: 0.45s; }

.ret-hero-ctas { margin-top: 40px; }

/* --- Shared section heading ---------------------------------------------- */

.ret-section-title {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--bone);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.ret-section-rule,
.ret-flow-rule,
.ret-why-rule,
.ret-step-rule,
.ret-faq-rule {
  width: 52px;
  height: 1px;
  background: var(--lagoon-dim);
}

.ret-section-rule { margin: 32px auto clamp(48px, 7vw, 72px); }

/* --- Why host with us (one column) --------------------------------------- */

.ret-why {
  padding: var(--section-y) 0;
}

.ret-why-grid,
.ret-steps-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: 56px;
}

/* The why-blocks stack in one column at every width, heading above body,
   held to a readable measure instead of spanning the full page. */
.ret-why-grid {
  max-width: 760px;
  gap: clamp(40px, 5vw, 64px);
}

@media (min-width: 860px) {
  .ret-steps-grid {
    max-width: 900px;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(40px, 5vw, 80px);
  }
}

.ret-steps-grid { list-style: none; }

.ret-why-block,
.ret-step {
  border-top: 1px solid var(--line);
  padding-top: 36px;
}

.ret-why-title,
.ret-step-title,
.ret-faq-title {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(23px, 3vw, 29px);
  line-height: 1.25;
  color: var(--bone);
}

.ret-why-rule,
.ret-step-rule,
.ret-faq-rule { margin: 26px 0; }

.ret-why-body,
.ret-step-body,
.ret-faq-body {
  font-size: 15px;
  line-height: 1.85;
  color: var(--bone-2);
}

/* --- Photo panels (The Space, The Rooms) --------------------------------- */

.ret-panel-body {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.8;
  color: var(--bone);
  max-width: 620px;
  margin: 0 auto;
  text-align: left;
}

.ret-panel-body + .ret-panel-body { margin-top: 1em; }

/* --- Flowing ink text sections (What's Included, Getting Here) ------------ */

.ret-flow {
  padding: var(--section-y) 0;
  text-align: center;
}

.ret-flow + .ret-flow { padding-top: 0; }

.ret-flow-title {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--bone);
  max-width: 720px;
  margin: 0 auto;
}

.ret-flow-rule { margin: 32px auto 40px; }

.ret-flow-body {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.8;
  color: var(--bone-2);
  max-width: 640px;
  margin: 0 auto 24px;
  text-align: left;
  /* Prices read cleaner in lining figures than Playfair's old-style ones */
  font-variant-numeric: lining-nums;
}

.ret-flow-body:last-child { margin-bottom: 0; }

.ret-included { padding-top: var(--section-y); }

/* --- How it works (numbered steps) --------------------------------------- */

.ret-steps {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--line-soft);
}

.ret-step-num {
  display: block;
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(48px, 6vw, 64px);
  line-height: 1;
  color: var(--lagoon);
  margin-bottom: 18px;
}

/* --- Who we are ---------------------------------------------------------- */

.ret-who {
  padding: var(--section-y) var(--gutter);
  border-top: 1px solid var(--line-soft);
}

.ret-who-grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

/* Stacked (below 800px), the text column shares the centered portrait's
   axis instead of running to its 600px measure against the left edge. */
@media (max-width: 799px) {
  .ret-who-grid { max-width: 600px; }
}

@media (min-width: 800px) {
  /* Top-aligned beside the text: centered, the portrait floated mid-column
     with a band of empty space above and below it whenever the text ran
     taller (about 75px each way at 1024). Now it starts level with the
     "Who we are" heading. */
  .ret-who-grid { grid-template-columns: minmax(260px, 360px) 1fr; align-items: start; }
  .ret-who-portrait { margin-top: 6px; }
}

.ret-who-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}

.ret-who-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ret-who-title {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(30px, 4.5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--bone);
  margin-bottom: 20px;
}

.ret-who-body {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.8;
  color: var(--bone-2);
  max-width: 600px;
}

.ret-who-body + .ret-who-body { margin-top: 20px; }

/* --- FAQ (two-column notes grid) ----------------------------------------- */

.ret-faq {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--line-soft);
}

.ret-faq-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: 64px;
}

@media (min-width: 860px) {
  .ret-faq-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(64px, 8vw, 120px);
  }
}

/* Seven questions: the last one sits centered under the pairs. */
@media (min-width: 860px) {
  .ret-faq-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - clamp(64px, 8vw, 120px)) / 2);
  }
}

.ret-faq-item {
  border-top: 1px solid var(--line);
  padding-top: 36px;
}

/* --- Apply ---------------------------------------------------------------- */

.ret-apply {
  padding-top: var(--section-y);
  border-top: 1px solid var(--line-soft);
}

.ret-apply .ret-section-rule { margin-bottom: clamp(40px, 6vw, 56px); }

/* ==========================================================================
   WORK ORDER 6 PHASE 2 · THE REBUILT PAGE
   Cards and short lists instead of prose walls. Order: hero, what you
   keep, included, rooms, gathering space, pricing and terms, Leader Kit,
   fit, who, how it works, questions, the form, then the corporate note.
   ========================================================================== */

/* --- Hero: eyebrow, and a first phone screen that ends at the button ---- */

.ret-hero-eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone);
  background: rgba(9, 16, 13, 0.6);
  padding: 0.4rem 0.8rem;
  margin: 0 auto 22px;
}

.ret-hero-content .ret-hero-lede {
  max-width: 600px;
  font-variant-numeric: lining-nums;
}
.ret-hero-ctas { margin-top: 32px; }
.ret-hero-content > *:nth-child(5) { animation-delay: 0.6s; }

@media (max-width: 767px) {
  /* The trade bar pads main down by its own height, so the hero is that
     much shorter than the screen: its button then ends on the first
     screen instead of just under it. */
  .ret-hero { min-height: calc(100svh - (0.8rem + 0.78rem * 1.8)); }
  .ret-hero-content {
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 36px;
  }
  .ret-hero-eyebrow { font-size: 11px; letter-spacing: 0.18em; margin-bottom: 16px; }
  .ret-hero .ret-hero-title { font-size: clamp(36px, 10vw, 52px); line-height: 1.04; }
  .ret-hero .ret-hero-rule { margin-top: 20px; margin-bottom: 18px; }
  .ret-hero .ret-hero-lede { font-size: 18px; line-height: 1.5; }
  .ret-hero-ctas { margin-top: 22px; }
  .ret-hero-ctas .hero-cta { width: 100%; max-width: 340px; }
}

/* Laptop screens (QA 2026-10-13). At a fixed 116px the title sets on three
   lines and, with both ledes, the hero grew to about 1,010px, so the button
   sat below the first screen at every common laptop size (1280x720 up to
   1536x864, and 1920x1080 once the browser's own bars are counted). Under
   1,000px of height the title now scales with the screen and sets on two
   lines, so the first screen ends at the button here as it does on phones.
   Taller screens keep the full 116px. The shortest windows (a 1366x768 or
   1536x864 laptop once the browser's bars are counted) also take the
   phone's lede size and tighter spacing. */
@media (min-width: 768px) and (max-height: 1000px) {
  .ret-hero .ret-hero-title { font-size: clamp(52px, 9.5vh, 96px); }
  .ret-hero .ret-hero-rule { margin-top: 24px; margin-bottom: 22px; }
  .ret-hero-ctas { margin-top: 24px; }
}
@media (min-width: 768px) and (max-height: 760px) {
  .ret-hero-content { padding-top: calc(var(--header-h) + 16px); }
  .ret-hero .ret-hero-rule { margin-top: 18px; margin-bottom: 16px; }
  .ret-hero .ret-hero-lede { font-size: 18px; line-height: 1.5; }
  .ret-hero .ret-hero-lede + .ret-hero-lede { margin-top: 10px; }
  .ret-hero-ctas { margin-top: 18px; }
}

/* --- Shared card ----------------------------------------------------------- */

.ret-card {
  text-align: left;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  padding: clamp(24px, 3.4vw, 34px);
}

.ret-card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(21px, 2.4vw, 25px);
  line-height: 1.25;
  color: var(--bone);
  margin-bottom: 12px;
}

.ret-card-body,
.ret-card-note {
  font-size: 15px;
  line-height: 1.75;
  color: var(--bone-2);
}

.ret-card-note { margin-top: 18px; color: var(--bone); }

.ret-center { text-align: center; }

/* Lists with a lagoon hairline marker instead of bullets. */
.ret-list {
  list-style: none;
  text-align: left;
}
.ret-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--bone-2);
}
.ret-list li + li { margin-top: 10px; }
.ret-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 10px;
  height: 1px;
  background: var(--lagoon);
}
.ret-list strong { font-weight: 500; color: var(--bone); }

.ret-flow .container-narrow > .ret-list,
.ret-terms-wrap .ret-list {
  max-width: 640px;
  margin: 0 auto 24px;
}
.ret-flow .container-narrow > .ret-list li,
.ret-terms-wrap .ret-list li {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.65;
}

/* --- What you keep ----------------------------------------------------------- */

.ret-keep { padding-top: var(--section-y); }
.ret-keep-card {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--lagoon-dim);
  background: var(--ink-2);
  text-align: left;
}
.ret-keep-body {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.7;
  color: var(--bone);
  font-variant-numeric: lining-nums;
  margin-bottom: 24px;
}

/* --- Included and not included, side by side -------------------------------- */

.ret-included { padding-top: var(--section-y); }
.ret-inc-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}
@media (min-width: 760px) {
  .ret-inc-grid { grid-template-columns: 3fr 2fr; gap: 24px; }
}
.ret-card-quiet { background: transparent; border-color: var(--line); }

/* --- Rooms ------------------------------------------------------------------ */

.ret-room-grid,
.ret-price-grid {
  list-style: none;
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
@media (min-width: 760px) {
  .ret-room-grid,
  .ret-price-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
.ret-room-num,
.ret-price-num {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(44px, 6vw, 60px);
  line-height: 1;
  color: var(--lagoon);
  margin-bottom: 14px;
  font-variant-numeric: lining-nums;
}
.ret-price-num { font-size: clamp(36px, 4.6vw, 48px); }
.ret-room-price {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--bone);
  font-variant-numeric: lining-nums;
}

.ret-rooms-detail {
  max-width: 1040px;
  margin: clamp(28px, 4vw, 44px) auto 0;
  display: grid;
  gap: 24px;
  align-items: center;
  text-align: left;
}
@media (min-width: 860px) {
  .ret-rooms-detail { grid-template-columns: 460px 1fr; gap: 40px; }
}
.ret-rooms-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line-soft);
}
.ret-rooms-detail .ret-beds { margin-bottom: 18px; }
.ret-rooms-detail .ret-flow-body { margin: 0; max-width: none; font-size: 16px; font-family: var(--sans); font-weight: 300; line-height: 1.75; }

/* --- Pricing and terms --------------------------------------------------------- */

.ret-terms-wrap { margin: clamp(32px, 5vw, 48px) auto 0; padding: 0; }
.ret-terms-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 26px);
  color: var(--bone);
  max-width: 640px;
  margin: 36px auto 16px;
  text-align: left;
}
.ret-cta-row { max-width: 640px; margin: 28px auto 0; text-align: left; }
@media (max-width: 639px) {
  .ret-cta-row .hero-cta, .ret-keep-card .hero-cta { width: 100%; text-align: center; }
}

/* --- Form: required fields first, then the optional ones ------------------- */

.inquire-form .form-optional-note {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.6;
  color: var(--bone-2);
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
  margin: 0;
}

/* The corporate note now follows the form. */
.ret-corporate { border-top: 1px solid var(--line-soft); padding-top: clamp(56px, 8vw, 90px); }

/* --- Photo strip (the shared .gallery strip, eight across) --------------- */

.ret-strip { padding-top: clamp(24px, 4vw, 48px); }

@media (min-width: 860px) {
  .ret-strip .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

/* Accommodations footnote and the included / additional-fees lists */
.ret-panel-note { font-family: var(--sans); font-size: clamp(15px, 1.6vw, 16px); font-style: italic; line-height: 1.65; color: var(--bone-2); padding-top: 16px; border-top: 1px solid var(--lagoon-dim); }
.ret-flow-subhead { margin-top: 32px; margin-bottom: 12px; }

/* --- Accommodations: two small cards so the bedroom video shows ----------
   Desktop: one card top-left, one bottom-right, the room visible between.
   Phones: the video gets its own clear band, the cards follow below it. */
.acc-split .panel-content { text-align: left; }
.acc-split .acc-card {
  max-width: 470px;
  margin: 0;
  padding: clamp(24px, 3vw, 34px);
}
.acc-split .acc-card .panel-title {
  font-size: clamp(30px, 3.4vw, 44px);
  margin-bottom: 18px;
}
.acc-split .acc-card .ret-panel-body { font-size: clamp(15px, 1.25vw, 17px); line-height: 1.7; max-width: none; }
.acc-split .acc-card .ret-panel-note { font-size: 14px; }

@media (min-width: 900px) {
  .acc-split .panel-sticky { min-height: min(96svh, 980px); align-items: stretch; }
  .acc-split .panel-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr auto;
    max-width: 1320px;
  }
  .acc-split .acc-card-a { grid-column: 1; grid-row: 1; justify-self: start; align-self: start; }
  .acc-split .acc-card-b { grid-column: 2; grid-row: 3; justify-self: end; align-self: end; }
}

@media (max-width: 899px) {
  .acc-split .panel-sticky { display: block; min-height: 0; }
  .acc-split .panel-media { position: relative; height: 58svh; }
  .acc-split .panel-scrim { display: none; }
  .acc-split .panel-content { padding: 0 var(--gutter) clamp(40px, 8vw, 64px); }
  .acc-split .acc-card { max-width: none; margin: 0 calc(var(--gutter) * -1); background: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; text-shadow: none; }
  .acc-split .acc-card + .acc-card { padding-top: 0; }
}

/* --- Quiet link to the planning guide, just above the application ---------- */

.ret-guide-link {
  padding: clamp(24px, 4vw, 40px) 0 clamp(40px, 6vw, 64px);
  text-align: center;
}

.ret-guide-link-text {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.7;
  color: var(--bone-2);
  max-width: 560px;
  margin: 0 auto;
}

.ret-guide-link-text a {
  color: var(--lagoon);
  border-bottom: 1px solid var(--lagoon-dim);
  white-space: nowrap;
}

/* Mirror the Who we are layout for the profile that follows it. */
@media (min-width: 800px) {
  .ret-who-reverse .ret-who-grid { grid-template-columns: 1fr minmax(260px, 360px); }
  .ret-who-reverse .ret-who-portrait { order: 2; }
  .ret-who-reverse .ret-who-text { order: 1; }
}

/* Full-width phone buttons (2026-10-03): with 13px labels the side padding
   goes to the words so "Start the conversation" keeps to one line. */
@media (max-width: 639px) {
  .ret-hero-ctas .hero-cta,
  .ret-cta-row .hero-cta,
  .ret-keep-card .hero-cta { padding-left: 16px; padding-right: 16px; }
}
