/* site\assets\css\pages\about.css: About Us (src\pages\about.mjs). Places and sizes its parts; the bands, frames,
   footage, doors and picker are design\components.css's. */

/* ---------- hero: his words at the left; the agency's logo on a white panel (Eric, 11 Nov), the day's notifications
   stacking up under it, never over the logo ---------- */
.ah__in { position: relative; z-index: 1; display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.ah__words { display: grid; justify-items: start; gap: 1.3rem; }
.ah__title { font-size: var(--fs-h1); line-height: 1.04; }
.ah__quote { margin: 0; padding: .2rem 0 .2rem 1.25rem; border-left: 3px solid var(--c-brand-on-ink); }
.ah__quote p { font-size: var(--fs-lead); line-height: 1.55; color: var(--c-on-ink); }
.ah__quote footer { margin-top: .7rem; font-size: var(--fs-small); color: var(--c-on-ink-soft); }
.ah__doors { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1rem 1.5rem; }
.ah__pic { position: relative; width: min(100%, 440px); height: 560px; justify-self: center; overflow: visible; }
.ah__plate { position: absolute; inset: 0 0 auto; height: 390px; overflow: hidden; border-radius: var(--radius-l); background: var(--c-paper); box-shadow: var(--shadow-l); }
.ah__plate img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 47%; transform: scale(.9); }
.ah__stop { z-index: 6; }
/* the host ends 50 px above the box's foot: its two notifications (under 480 px wide only two show) sit 40 px under
   the panel, the second one hanging no lower than the box */
.ah .ah__wyw { inset: 0 0 50px; }
@media (min-width: 1000px) { .ah__in { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); } }
@media (max-width: 759px) {
  .ah__pic { height: 460px; }
  .ah__plate { height: min(300px, 74vw); }
}

/* ---------- story: the owner and her reports at the right; scan over the curtains at the left; his words beside ---------- */
.as__in { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.as__media { position: relative; height: 500px; }
.as__footage { inset: -1px; }
.as__footage > video { object-position: 50% 30%; }
.as__stop { z-index: 6; }
.as .as__stage { top: 6%; left: 3%; width: min(320px, 42%); }
.as__words { display: grid; justify-items: start; gap: 1.3rem; }
.as__words .head { margin-bottom: 0; }
.as__quote { display: grid; gap: .55rem; margin: 0; padding: 1.2rem 1.5rem; border-left: 3px solid var(--c-brand); border-radius: 0 16px 16px 0; background: var(--c-paper-alt); }
.as__quote p { font-family: var(--font-display); font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); font-weight: 700; line-height: 1.45; }
.as__quote footer { margin-top: .35rem; font-size: var(--fs-small); color: var(--c-ink-soft); }
@media (min-width: 1000px) { .as__in { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
@media (max-width: 759px) {
  /* the phone: her face in the strip, scan standing under it and half on it */
  .as__media { height: auto; padding-top: var(--peek); }
  .as__footage { inset: -1px -1px auto; height: calc(var(--peek) + var(--over) + 1px); }
  .as__footage > video { object-position: 62% 20%; }
  .as .as__stage { position: relative; inset: auto; width: auto; min-height: 300px; }
  .as__stop { top: calc(var(--peek) - 52px); right: 12px; }
}

/* ---------- principles: the route of five promises on the forest, the promises in words under it ---------- */
.apr__pic { position: relative; height: 460px; }
.apr__scene { height: 100%; }
.apr__stop { top: -10px; right: -6px; }
.apr__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; margin: clamp(1.75rem, 1rem + 2vw, 2.75rem) 0 0; padding: 0; list-style: none; }
.apr__list li { display: grid; gap: .35rem; padding-top: .9rem; border-top: 1px solid var(--c-line-ink); }
.apr__list b { font-family: var(--font-ui); color: var(--c-on-ink); }
.apr__list span { font-size: var(--fs-small); line-height: 1.45; color: var(--c-on-ink-soft); }
@media (max-width: 999px) { .apr__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 759px) {
  .apr__pic { height: 760px; }
  .apr__list { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- close: the words centered over the forest, then the meeting as a wide band with the plan's bars over the
   table between them ---------- */
.aclose { padding-bottom: 0; }
.aclose__head { display: grid; justify-items: center; gap: 1.1rem; text-align: center; }
.aclose__title { font-size: var(--fs-h2); line-height: 1.08; }
.aclose__line { font-size: var(--fs-lead); color: var(--c-on-ink-soft); }
.aclose__head .cta { align-items: center; }
.aclose__picker { width: min(100%, 560px); text-align: left; }
.aclose__band { position: relative; height: clamp(460px, 42vw, 620px); margin-top: clamp(2rem, 1rem + 3vw, 3.5rem); }
.aclose__footage { inset: 0 -1px -1px; }
.aclose__footage > video { object-position: 50% 38%; max-width: none; }
.aclose__stop { z-index: 6; }
.aclose .aclose__stage { left: 50%; bottom: 5%; width: min(420px, 44%); translate: -50% 0; }
@media (max-width: 759px) {
  /* the bars stand more than half on the meeting: the clip runs 300 px down behind them */
  .aclose__band { height: auto; padding-top: 220px; }
  .aclose__footage { inset: 0 -1px auto; height: 521px; }
  /* the phone's narrow crop keeps the strategist talking (the clip's middle is the window between them) */
  .aclose__footage > video { object-position: 86% 24%; }
  .aclose .aclose__stage { position: relative; left: auto; bottom: auto; translate: none; width: auto; margin: 0 var(--gutter); min-height: 320px; }
}

/* ---------- agencies (Eric, 11 Nov): a slim light band at the foot, the words at the left, the button at the right ---------- */
.aag { padding-block: clamp(2.5rem, 1.6rem + 2.6vw, 4rem); }
.aag__in { display: grid; gap: 1.4rem 3rem; align-items: center; }
.aag__words { display: grid; gap: .55rem; max-width: 700px; }
.aag__kicker { font-family: var(--font-ui); font-size: var(--fs-small); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c-brand-text); }
.aag__title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); line-height: 1.1; }
.aag__line { font-size: var(--fs-lead); color: var(--c-ink-soft); }
.aag__go { justify-self: start; }
@media (min-width: 900px) { .aag__in { grid-template-columns: minmax(0, 1fr) auto; } }
