/* ---------- Hero split preview: the copy keeps 70% of the stage, the co-owner stands in the other 30% ----------
   Loaded only by hero-preview.html, on top of style.css. */

/* Owner chip: phones and tablets, where a 30% column is too narrow for a standing figure */
.hero-chip {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 auto 18px;
  padding: 6px 22px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .85); color: var(--ink-soft);
  box-shadow: 0 1px 2px rgba(29, 29, 31, .06), 0 12px 32px -16px rgba(29, 29, 31, .25);
  font-size: 15px; line-height: 1.3; text-align: left; letter-spacing: -0.01em;
}
.hero-chip img {
  width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 50% 6%;
  background: linear-gradient(135deg, var(--rosa) 0%, var(--celeste) 100%);
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--rosa-line);
}
.hero-chip strong { display: block; font-size: 16px; color: var(--ink); font-weight: 620; }

.hero-owner { display: none; }

/* Phones: the word steps down so she gets a real face in the first screen */
@media (max-width: 699px) {
  .hero-word--tall { width: min(70vw, 420px, 22svh * 1.94); }
  .hero-copy { margin-top: 20px; }
  .hero-chip { gap: 14px; margin-bottom: 16px; padding: 6px 20px 6px 6px; max-width: 100%; }
  .hero-chip img { width: 112px; height: 112px; box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--rosa-line); }
  .hero-chip span { min-width: 0; }
  .hero-chip small { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
}
/* Short phones (iPhone SE class): everything steps down so the call to action still lands in the first screen */
@media (max-width: 699px) and (max-height: 780px) {
  .hero-stage { padding-bottom: 20px; }
  .hero-word--tall { width: min(64vw, 18svh * 1.94); }
  .hero-copy { margin-top: 14px; }
  .hero-chip { margin-bottom: 10px; }
  .hero-chip img { width: 92px; height: 92px; }
  .hero-lead { margin-top: 10px; }
  .picker { margin-top: 18px; }
  .hero-actions { margin-top: 14px; gap: 8px; }
}

@media (min-width: 1000px) {
  .hero-chip { display: none; }

  /* The copy column: everything that was centered on the full stage now centers in the left 70% */
  .hero-stage { padding-right: 30%; }
  .hero-word--wide { width: min(62vw, 1040px, 30svh * 7.19); }
  .hero-copy { padding-inline: var(--gutter); }

  /* The figure column: she stands up from the bottom edge, cut below the knee by the stage */
  .hero-owner {
    display: block; position: absolute; z-index: 2; right: 0; bottom: 0; margin: 0;
    width: 30%; height: calc(100% - var(--nav-h) - 44px); overflow: hidden; pointer-events: none;
  }
  /* A soft disc in the word's own light, rosa into celeste, sitting behind her shoulders */
  .hero-owner::before {
    content: ""; position: absolute; z-index: 0; left: 50%; top: 9%; translate: -50% 0;
    width: min(88%, 420px); aspect-ratio: 1; border-radius: 50%;
    background: linear-gradient(135deg, var(--rosa) 0%, #f6c6dc 40%, #bfe6f6 70%, var(--celeste) 100%);
    opacity: .7;
  }
  .hero-owner img {
    position: relative; z-index: 1; display: block; margin-inline: auto;
    height: 128%; width: auto; max-width: none;
    filter: drop-shadow(0 24px 40px rgba(29, 29, 31, .18));
  }
  .hero-owner figcaption {
    position: absolute; z-index: 2; left: 4%; bottom: 14%;
    padding: 10px 16px; border-radius: 16px;
    background: rgba(255, 255, 255, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 2px rgba(29, 29, 31, .06), 0 16px 36px -18px rgba(29, 29, 31, .35);
    font-size: 14px; line-height: 1.3; color: var(--ink-soft); text-align: left; letter-spacing: -0.01em;
  }
  .hero-owner figcaption strong { display: block; font-size: 16px; font-weight: 620; color: var(--ink); }
}

/* Motion: she rises in after the copy, and leaves with it when the scroll flies into the "l" */
html.loading .hero-owner, html.loading .hero-chip { animation-play-state: paused; }
/* The entrance runs on the children so it never fights the scroll-driven opacity on the figure itself */
.motion .hero-owner > *, .motion .hero-owner::before { animation: owner-in 1.1s var(--ease) both; animation-delay: .55s; }
.motion .hero-owner figcaption { animation-delay: .8s; }
.motion .hero-owner { opacity: clamp(0, 1 - var(--hp, 0) * 5, 1); transform: translateY(calc(var(--hp, 0) * -10vh)); }
.hero.is-flown .hero-owner { visibility: hidden; }
@keyframes owner-in { from { opacity: 0; transform: translateY(40px); } }

/* The chip's second line breaks at every size, not only on phones */
.hero-chip small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-2); white-space: nowrap; }

/* Pay after the cleaning: the client wants this as visible as the co-owner chip */
.hero-pay {
  display: inline-flex; align-items: center; gap: 12px; margin: 20px auto 0;
  padding: 10px 22px 10px 12px; border-radius: 999px;
  background: var(--celeste-soft); border: 2px solid var(--celeste-line); color: var(--ink-soft);
  font-size: 15px; line-height: 1.3; text-align: left; letter-spacing: -0.01em;
  box-shadow: 0 12px 32px -16px rgba(10, 106, 142, .45);
}
.hero-pay .i { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--celeste-ink); color: #fff; }
.hero-pay strong { display: block; font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); color: var(--ink); font-weight: 680; }
.motion .hero-copy > .hero-pay { animation-delay: .5s; }

/* Account discount: out in the open, with a worked example */
.acct-deal {
  display: grid; gap: 22px; margin: 28px auto 0; max-width: 980px; padding: clamp(22px, 3vw, 36px);
  border-radius: 24px; background: var(--celeste-soft); border: 2px solid var(--celeste-line); text-align: left;
}
@media (min-width: 860px) { .acct-deal { grid-template-columns: 1.1fr 1fr; align-items: center; } .acct-deal-note { grid-column: 1 / -1; } }
.acct-deal-kicker { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--celeste-ink); }
.acct-deal h3 { margin-top: 6px; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); line-height: 1.1; letter-spacing: -0.03em; color: var(--ink); }
.acct-deal-copy p:last-child { margin-top: 10px; color: var(--ink-soft); }
.acct-deal-example { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.acct-deal-example li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-radius: 14px; background: #fff; }
.acct-deal-example small { font-size: 14px; color: var(--ink-soft); }
.acct-deal-example b { font-size: 20px; color: var(--ink); }
.acct-deal-example s { color: var(--ink-2); font-weight: 500; }
.acct-deal-example .is-deal { background: var(--celeste-ink); }
.acct-deal-example .is-deal small, .acct-deal-example .is-deal b, .acct-deal-example .is-deal em { color: #fff; }
.acct-deal-example em { flex-basis: 100%; font-style: normal; font-size: 13px; font-weight: 600; }
.acct-deal-note { font-size: 13px; color: var(--ink-2); }

/* Real visits: photos the team takes on the job */
.real { padding: clamp(64px, 9vw, 120px) 0; }
.real-grid { display: grid; gap: 14px; margin-top: 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.real-item { position: relative; margin: 0; overflow: hidden; border-radius: 20px; aspect-ratio: 3 / 4; background: var(--mist-2, #f2f2f4); }
.real-item img { width: 100%; height: 100%; object-fit: cover; }
.real-item figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 14px; font-weight: 600;
}
@media (max-width: 599px) {
  .real-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .real-item figcaption { left: 8px; right: 8px; bottom: 8px; padding: 5px 10px; font-size: 12px; text-align: center; }
  .hero-pay { padding: 8px 16px 8px 8px; }
}
