/* Review Generation & Reputation (/review-generation-reputation/): the collage header, the pinned story's place on the
   ground and the page's own sizes for its scenes; every shared look is in components.css. */
@import url("../arsenal/pinned-stage.css");

/* the header: the words on the ink; the collage beside them, a tall framed photo and, over its lower left corner, the
   phone the review is asked and posted on (review-ask, the phone alone under 640 px of its box) */
.rhero { padding-block: clamp(40px, 5vw, 72px) clamp(56px, 6vw, 96px); }
.rhero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 620px); gap: clamp(28px, 4vw, 64px); align-items: center; }
.rhero__copy { display: grid; gap: var(--space-4); align-content: center; max-width: 560px; }
.rhero__copy h1 { margin: 0; font-size: clamp(2.3rem, 1.25rem + 2.9vw, 3.9rem); }
.rhero__copy .lead { margin: 0; }
.rhero__art { position: relative; height: 680px; }
.rhero__photo { position: absolute; right: 0; top: 0; width: 400px; height: 480px; margin: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-l); }
.rhero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--focus, 50% 50%); }
.rhero__ring { position: absolute; right: -34px; top: -34px; width: 150px; height: 150px; z-index: 0; opacity: 0.9; pointer-events: none; }
.rhero__arc--1 { fill: var(--c-found); }
.rhero__arc--2 { fill: var(--c-answered); }
.rhero__arc--3 { fill: var(--c-chosen); }
.rhero__photo { z-index: 1; }
.rhero__phone { position: absolute; z-index: 2; left: -20px; top: 80px; width: 360px; height: 600px; }
.rhero__phone .scene { width: 100%; height: 100%; }
.rhero__stop { position: absolute; z-index: 3; right: 14px; top: 14px; }
@media (max-width: 1100px) { .rhero__in { grid-template-columns: 1fr; } .rhero__art { width: min(620px, 100%); margin-inline: auto; } }
@media (max-width: 760px) {
  .rhero__art { height: auto; }
  .rhero__photo { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5; }
  .rhero__photo img { object-position: var(--focus-phone, var(--focus, 50% 50%)); }
  .rhero__ring { right: -10px; top: -14px; width: 92px; height: 92px; }
  .rhero__phone { position: relative; left: auto; top: auto; width: min(360px, 100%); height: 600px; margin: -110px auto 0; }
  /* the stop icon over the photo's foot, just above the phone, so the two fit one view */
  .rhero__stop { top: calc((100vw - 2 * var(--gutter)) * 1.25 - 166px); right: 12px; }
}

/* the pinned story on the designed ground: its stage sticks under the site's header */
.rev-how { padding-block: var(--section-y) 0; }
.rev-how .pinned-stage { margin-top: var(--space-5); --pn-bg: var(--c-ink); }
.rev-how .pinned-stage__stage { background: radial-gradient(90% 70% at 50% 45%, color-mix(in srgb, var(--c-brand) 16%, var(--c-ink-2)) 0%, var(--c-ink) 100%); }
.rev-how .pinned-stage__scene .scene { position: absolute; inset: 0; }
@media (max-width: 880px) { .rev-how .pinned-stage { --pin-top-narrow: 72px; } }

/* how the owner sees it: the reviews arriving on her card, in glass on the photo's calm right */
.rev-see .grp__h { margin: 0; font-size: clamp(1.9rem, 1.2rem + 1.9vw, 2.8rem); text-wrap: balance; }
@media (min-width: 761px) { .rev-see .grp__scene { width: min(380px, 52%); } }
@media (max-width: 760px) { .rev-see .grp__media { aspect-ratio: 3 / 5; } }
