/* ==========================================================================
   DIA BONITO · our-hosts.css
   Meet Your Hosts: plain ink header (no photo hero, matches privacy.css),
   then two alternating portrait + full-bio profiles. The booking invite
   closes Ruben's bio.
   ========================================================================== */

.hosts-head {
  padding: calc(var(--header-h) + clamp(32px, 5vw, 64px)) var(--gutter) clamp(32px, 4vw, 48px);
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
}

/* .container-narrow alone carries no auto margins; center it. */
.hosts-head .container-narrow { margin: 0 auto; }

.hosts-title {
  font-family: var(--serif);
  font-weight: 330;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--bone);
}

.hosts-lede {
  font-family: var(--serif);
  font-weight: 380;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.7;
  color: var(--bone-2);
  max-width: 620px;
  margin: 14px auto 0;
}

/* --- Profiles ------------------------------------------------------------ */

.host-profile {
  padding: clamp(40px, 5vw, 64px) var(--gutter);
}

/* Sized to portrait + gap + the bio's 640px measure, so both profiles fill
   their row edge to edge instead of leaving one side empty. */
.host-profile-grid {
  max-width: 1056px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

@media (max-width: 799px) {
  .host-profile-grid { max-width: 640px; }
}

@media (min-width: 800px) {
  .host-profile-grid {
    grid-template-columns: minmax(260px, 360px) 1fr;
  }
  /* Second profile mirrors the layout so the page doesn't feel like a list */
  .host-profile-reverse .host-profile-grid {
    grid-template-columns: 1fr minmax(260px, 360px);
  }
  .host-profile-reverse .host-portrait { order: 2; }
  .host-profile-reverse .host-bio { order: 1; }
}

/* Portrait: real photo goes here once supplied (see the MEDIA SLOT comment
   in our-hosts.html). Until then this renders as a tasteful placeholder
   card, not a broken image. */
.host-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;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

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

/* Animated placeholder: a slow ambient sheen, standing in for a real
   headshot until one is supplied. Remove this ::before rule (and the
   -placeholder class on the <figure>) once an <img> replaces it. */
.host-portrait-placeholder::before {
  content: '';
  position: absolute;
  inset: -25%;
  background: linear-gradient(
    120deg,
    transparent 35%,
    rgba(143, 184, 168, 0.16) 50%,
    transparent 65%
  );
  background-size: 240% 240%;
  background-position: 0% 0%;
}

@media (prefers-reduced-motion: no-preference) {
  .host-portrait-placeholder::before {
    animation: host-portrait-sheen 10s ease-in-out infinite;
  }
  .host-portrait-placeholder .host-portrait-initial {
    animation: host-portrait-breathe 5s ease-in-out infinite;
  }
}

@keyframes host-portrait-sheen {
  0%, 100% { background-position: 0% 0%; }
  50%      { background-position: 100% 100%; }
}

@keyframes host-portrait-breathe {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 0.95; }
}

.host-portrait-initial {
  position: relative;
  font-family: var(--serif);
  font-weight: 330;
  font-size: 64px;
  color: var(--bone-2);
}

.host-portrait-caption {
  position: relative;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-3);
}

.host-name {
  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;
}

.host-bio-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;
}

.host-bio-body + .host-bio-body { margin-top: 20px; }

/* --- Closing invite: ends Ruben's bio, aligned with the text above ------- */

.host-bio .closing-invite {
  max-width: 640px;
  margin-left: 0;
  margin-right: 0;
}

.host-closing-title {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.25;
  color: var(--bone);
  margin-bottom: 14px;
}

/* The closing invite spans the whole last profile, centered on the page
   rather than inside the bio column. */
.host-profile > .closing-invite {
  max-width: 640px;
  margin: clamp(40px, 5vw, 64px) auto 0;
}

/* Tall bios: the portrait lines up with the name at the top and stays in
   view while the text scrolls, so no empty bands above and below it. */
@media (min-width: 800px) {
  .host-profile-grid { align-items: start; }
  .host-portrait { position: sticky; top: 140px; }
}
