@import url("../arsenal/statement.css");
/* AI Readiness Assessment: its own sizes and crops only (design\components.md, "Inner-page patterns"). */

/* ---------- #top: the brokerage's team, framed; every face above the card on the frame's foot ---------- */
.ai .phead--mirror .phead__frame video { object-position: 50% 45%; }

/* ---------- #map: the readiness map on the ground ---------- */
.ai-map-box { position: relative; margin-top: var(--space-5); }
.ai-map-box > .scene { position: relative; height: var(--rm-h, 560px); }
.ai-map-box > .stop { top: -48px; right: 0; }

/* ---------- #roadmap: the words at left, the broker framed at right with the roadmap hanging past the frame's edge ---------- */
.ai-road__grid { display: grid; gap: var(--space-5); }
.ai-road__visual { position: relative; }
.ai-road__photo { height: 460px; }
.ai-road__photo img { object-position: 85% 40%; }
.ai-road__photo .frame__grade { background: linear-gradient(270deg, rgba(7,18,37,0.18) 0%, rgba(7,18,37,0) 40%); }
.ai-road__visual > .stop { top: 12px; left: 12px; right: auto; }
/* below 1200 px the card stands on the photo's lower half (half of it or more on the photo at every width), clear of her face */
.ai-road__card { position: relative; z-index: 3; width: min(380px, calc(100vw - 20px)); aspect-ratio: 380 / 420; margin: -224px 24px 0 auto; }
@media (min-width: 1200px) {
  .ai-road__grid { grid-template-columns: 420px minmax(0, 1fr); gap: 56px; align-items: center; }
  .ai-road__visual { padding-right: 80px; }
  .ai-road__photo { height: clamp(500px, 39vw, 560px); }
  .ai-road__card { position: absolute; right: 0; top: 50%; width: 380px; margin: 0; transform: translateY(-50%); }
}
@media (max-width: 699px) {
  .ai-road__photo { height: 460px; }
  .ai-road__photo img { object-position: 40% 40%; }
  .ai-road__card { margin: -212px auto 0; }
}

/* ---------- #why: the statement on the dark planning grid, its changing word in gold ---------- */
.statement.ai-why[data-tone] { --st-word: var(--c-gold-light); }
@media (max-width: 639px) { .ai-why .statement__l { display: inline; } } /* on a phone the sentence wraps by itself */
.ai-why { background-image: linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 64px 64px; }

/* ---------- #close: the words and the form at left on the ground, the team ending its day at right ---------- */
.ai-close { position: relative; overflow: hidden; isolation: isolate; padding-block: var(--section-y); }
.ai-close__media { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; z-index: 0; overflow: hidden; }
.ai-close__media > video { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; object-position: 50% 30%; }
.ai-close__grade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--c-navy-900) 0%, rgba(11,27,51,0.3) 8%, rgba(11,27,51,0) 18%); }
.ai-close__media > .stop { top: 16px; right: 16px; z-index: 2; }
.ai-close__inner { position: relative; z-index: 2; }
.ai-close__copy { max-width: min(560px, calc(54vw - var(--gutter) - 40px)); color: var(--c-on-ink); }
@media (max-width: 899px) {
  .ai-close { padding-top: 0; }
  .ai-close__media { position: relative; width: auto; height: 380px; margin-bottom: var(--space-5); }
  .ai-close__grade { background: linear-gradient(180deg, rgba(11,27,51,0) 58%, var(--c-navy-900) 100%); }
  .ai-close__copy { max-width: none; }
}
