@import url("../arsenal/motif-window.css");
/* Who we help: places and sizes its parts, with the tokens of system.css and the components of components.css. */

/* ---------- hero: the pictures through the ridge ---------- */
.motif-window { --mw-bg: var(--c-brand); --mw-ink: var(--c-on-brand); --mw-shade: var(--c-brand-dark); }
.motif-window__h { font-family: var(--font-display); font-weight: 560; }
.motif-window__act { margin-top: var(--space-4); }
.motif-window__act .btn--main { --btn-bg: var(--c-brand-light); --btn-fg: var(--c-brand-dark); }
.motif-window__act .cta__line { color: var(--c-on-dark-soft); }
.hero__stop { top: 92px; right: 18px; z-index: 8; }

/* ---------- trades: the range itself is the ground ---------- */
.trades { background: var(--c-brand-dark); color: var(--c-on-brand); padding-top: var(--section-y); position: relative; overflow: hidden; }
.trades__head { text-align: center; margin-bottom: var(--space-4); }
.trades__stage { position: relative; }
.trades__stage .scene { width: 100%; }
.trades__stop { top: 8px; right: 18px; }
@media (max-width: 760px) { .trades__stage [data-scene="trade-ridge"] { height: 112.8vw; } }

/* ---------- the wall ---------- */
.wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.wall__tile { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--c-ink); background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-m); transition: transform var(--dur-fast) var(--ease-out); }
.wall__tile:hover { transform: translateY(-3px); }
.wall__photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-paper-alt); }
.wall__photo img { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }
.wall__name { display: block; padding: 18px 20px 0; font: 520 var(--fs-h3)/1.18 var(--font-display); }
.wall__line { display: block; padding: 6px 20px 0; font: 600 1rem/1.4 var(--font-ui); color: var(--c-brand-text); }
.wall__fields { display: block; padding: 8px 20px 20px; font: 500 0.92rem/1.45 var(--font-ui); color: var(--c-ink-soft); }
.wall__wide { grid-column: 1 / -1; }
.wall__tile--more { flex-direction: row; background: var(--c-brand); color: var(--c-on-brand); border-color: var(--c-brand); }
.wall__tile--more .wall__photo { flex: 1 1 60%; aspect-ratio: auto; min-height: 300px; }
.wall__more { flex: 1 1 40%; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 26px 22px; --btn-bg: var(--c-brand-light); --btn-fg: var(--c-brand-dark); }
.wall__more .wall__name, .wall__more .wall__line { padding: 0; color: inherit; }
.wall__btn { align-self: flex-start; margin-top: 10px; }
@media (max-width: 960px) { .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .wall { grid-template-columns: minmax(0, 1fr); }
  .wall__tile--more { flex-direction: column; }
  .wall__tile--more .wall__photo { aspect-ratio: 4 / 3; min-height: 0; }
}

/* ---------- buyers ---------- */
.buyers__stage { position: relative; padding-bottom: clamp(3rem, 6vw, 5rem); }
.buyers__stage .scene { width: 100%; min-height: 460px; }
.buyers__stop { top: -50px; right: 0; }
/* on the phone the cards open in turn: the box holds its tallest from the start, and the line under them stays at its foot */
@media (max-width: 760px) {
  .buyers__stage [data-scene="three-buyers"] { height: 810px; }
  .buyers__stage [data-scene="three-buyers"] .tb { align-self: stretch; height: 810px; grid-template-rows: minmax(0, 1fr) auto; }
  .buyers__stage [data-scene="three-buyers"] .tb-cards { align-self: start; }
}

/* ---------- the plan ---------- */
.frame--clip { aspect-ratio: 760 / 560; }
.frame--clip video { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-fit: cover; }
.framed__stage--estimate { left: -40px; bottom: 22px; width: 480px; }
.framed__stage > .framed__stop { top: -14px; right: 40px; }

/* ---------- anyway ---------- */
.anyway { position: relative; }
.anyway__frame { aspect-ratio: 1180 / 620; }
.anyway__frame img { object-position: 30% 30%; }
.anyway__device { position: absolute; z-index: 2; right: clamp(16px, 6vw, 90px); top: -40px; width: 320px; }
.anyway__device .phone__screen { height: 620px; }
.anyway__stop { top: -6px; right: -44px; }
.anyway__note { margin-top: clamp(4.4rem, 7vw, 6rem); text-align: center; font: 500 1rem/1.5 var(--font-ui); color: var(--c-ink-soft); }
.anyway__note .link { color: var(--c-brand-text); margin-left: 6px; }

/* ---------- close ---------- */
.band--shop .footage video { inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; object-position: 60% 30%; }
.band--shop .footage { --shade: linear-gradient(90deg, rgba(23, 20, 62, 0.9) 0%, rgba(23, 20, 62, 0.74) 40%, rgba(23, 20, 62, 0.05) 68%); }

@media (max-width: 860px) {
  .frame--clip { aspect-ratio: auto; height: 520px; }
  .framed__stage--estimate { position: relative; inset: auto; width: calc(100% - 16px); margin: -400px 8px 0; }
  .framed__stage > .framed__stop { top: -22px; right: 6px; }
  .anyway__frame { aspect-ratio: auto; height: 700px; }
  .anyway__frame img { object-position: 42% 20%; }
  .anyway__device { position: relative; right: auto; top: auto; width: min(264px, 100%); margin: -476px 10px 0 auto; }
  .anyway__device .phone__screen { height: 430px; }
  .anyway__stop { top: 8px; right: auto; left: -44px; }
  .anyway__note { margin-top: 2rem; }
  /* the picture stands clear above the words: her face above the headline, the shade below it */
  .band--shop { padding-top: 250px; }
  .band--shop .footage video { object-position: 62% 0%; }
  .band--shop .footage { --shade: linear-gradient(180deg, rgba(23, 20, 62, 0) 0%, rgba(23, 20, 62, 0) 26%, rgba(23, 20, 62, 0.86) 44%, rgba(23, 20, 62, 0.86) 100%); }
}
#hero .motif-window__stage{height:calc(100svh - 76px)}
#hero .motif-window__copy{z-index:3}
@media (max-width:1060px){#hero .motif-window__stage{height:calc(100svh - 66px)}}
