/* ═══════════════════════════════════════════════════════════════════════
   Host band — Владислав. Rehouses the owner trust signal out of the hero
   into its own warm moment, placed just before the guest reviews so the
   page reads: apartments → the person behind them → what guests say.
   Uses the live site tokens (dailyrent.css / tokens.css).
   ═══════════════════════════════════════════════════════════════════════ */
.host {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: hsl(var(--paper));
  /* The host band sits between the apartment grid and the reviews band;
     a hairline + generous padding mark it as its own "who's behind this"
     moment without stealing the warm tint that distinguishes reviews. */
  border-top: 1px solid hsl(var(--hairline));
}
.host__inner {
  width: var(--layout-rail);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 46ch);
  justify-content: start;
  gap: clamp(1.75rem, 4vw, 3.75rem);
  align-items: center;
}

/* Portrait — circular box that CLIPS the image; the inner <img> is panned
   (translate) and zoomed (scale) via CSS vars so the framing can be fine-
   tuned. The face-framing module makes the boxes draggable while the Tweaks
   panel is open, persists per-face values, and exposes them via DR_FACES(). */
.host__portrait { justify-self: center; }
.host__ava {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 4px solid hsl(36 30% 99%);
  box-shadow: 0 20px 44px -24px hsl(30 30% 15% / 0.55), 0 0 0 1px hsl(var(--hairline));
  width: clamp(150px, 20vw, 220px);
  background: hsl(var(--paper-soft));
}
.host__ava img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: translate(var(--tx, 0%), var(--ty, 0%)) scale(var(--zoom, 1));
  transform-origin: center;
}
/* Per-face default crop (the framing tool composes on top of this). */
.host__ava[data-face="vlad"] img { object-position: center 38%; }

/* Paired hosts — two overlapping circular avatars. */
.host__portrait--pair { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; }
.host__portrait--pair .host__ava { width: clamp(132px, 15vw, 162px); }
.host__portrait--pair .host__ava + .host__ava { margin-left: clamp(-42px, -4.5vw, -34px); }

/* Face-framing adjust mode — only while the Tweaks panel is open. */
.host__portrait.is-adjustable .host__ava { cursor: grab; outline: 2px dashed hsl(var(--ink) / 0.3); outline-offset: 4px; z-index: 1; touch-action: none; }
.host__portrait.is-adjustable .host__ava:active { cursor: grabbing; }
.host__ava-readout {
  position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%);
  font: 600 10px/1 var(--font-sans); letter-spacing: 0.04em;
  background: hsl(var(--ink) / 0.82); color: #fff;
  padding: 3px 6px; border-radius: 6px; white-space: nowrap;
  pointer-events: none; opacity: 0; transition: opacity 150ms ease;
}
.host__portrait.is-adjustable .host__ava-readout { opacity: 1; }
.host__adjust-hint { flex-basis: 100%; margin: 1rem 0 0; font-size: 0.72rem; color: hsl(var(--ink-muted)); text-align: center; display: none; }
.host__portrait.is-adjustable .host__adjust-hint { display: block; }

.host__eyebrow {
  margin: 0 0 0.85rem;
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--ink-muted));
}
.host__name {
  margin: 0 0 0.35rem;
  font-family: var(--font-sans);
  font-size: clamp(1.9rem, 3.4vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: hsl(var(--ink));
}
.host__role {
  margin: 0 0 1.1rem;
  font-size: 1.02rem;
  font-weight: 500;
  color: hsl(var(--ink-soft));
}
.host__note {
  margin: 0 0 1.4rem;
  max-width: 54ch;
  font-size: 1.02rem;
  line-height: 1.62;
  color: hsl(var(--ink-soft));
  text-wrap: pretty;
}

/* Stat row — Airbnb "Reviews · Rating · Years hosting" pattern, dividers
   between cells. Honest numbers only (verified against the site data). */

.host__stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0 clamp(1rem, 2vw, 1.6rem);
}
.host__stat:first-child { padding-left: 0; }
.host__stat + .host__stat { border-left: 1px solid hsl(var(--hairline)); }




/* ── Variant B · centered profile (Tweak: hostLayout=center) ──────────── */
.host[data-layout="center"] .host__inner {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  max-width: 60ch;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}
.host[data-layout="center"] .host__note { margin-left: auto; margin-right: auto; }
.host[data-layout="center"] .host__stats { justify-content: center; }
.host[data-layout="center"] .host__actions { justify-content: center; }



.host__points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wa);
  flex: none;
}

.host__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem 1.25rem;
}
.host__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  white-space: nowrap;
  background: var(--wa);
  color: #fff;
  text-decoration: none;
  padding: 0.95rem 1.75rem;
  border-radius: var(--r-pill);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 26px -18px rgba(31, 168, 85, 0.7);
  transition: background 200ms var(--ease, cubic-bezier(0.22, 1, 0.36, 1)),
              transform 200ms var(--ease, cubic-bezier(0.22, 1, 0.36, 1));
}
.host__cta:hover,
.host__cta:focus-visible { background: var(--wa-hover); transform: translateY(-1px); outline: none; }
.host__cta:active { transform: translateY(0); }
.host__cta svg { width: 18px; height: 18px; flex: none; }
.host__phone { font-size: 0.92rem; color: hsl(var(--ink-muted)); }

@media (prefers-reduced-motion: reduce) {
  .host__cta { transition: none; }
}

@media (max-width: 680px) {
  .host__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1.5rem;
  }
  .host__note { margin-left: auto; margin-right: auto; }
  
  .host__actions { justify-content: center; }
  /* Drop the vertical dividers when stats wrap, centre the row. */
  
  .host__stat { padding: 0; }
  .host__stat + .host__stat { border-left: 0; }
}
