/* ============================================================================
   The trade pages (for-<slug>.html) — loaded with fx-found.css, whose hero
   card and street band they reuse. Also loaded by found.html and the home page
   for the row of trade cards ({{trades.cards}}).

   Shapes vary on purpose: an asymmetric numbered list beside a photo, one
   paragraph set large on its own, the street band, three plain columns, then
   a row of photo cards. No motion of its own.
   ========================================================================== */

/* ------------------------------------------------------------- the jobs ---- */
.tr-jobs{ display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:clamp(36px,6vw,96px); align-items:start; }
.tr-jobs-head{ position:sticky; top:110px; }
.tr-jobs-head .t-h2{ max-width:16ch; }
.tr-photo{ margin:30px 0 0; }
.tr-photo img{ display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; border-radius:14px; }
.tr-list{ list-style:none; margin:0; padding:0; border-top:1px solid var(--border); }
.tr-list li{ display:grid; grid-template-columns:56px minmax(0,1fr); gap:18px; padding:26px 0; border-bottom:1px solid var(--border); }
.tr-num{ font-family:var(--font-display); font-weight:800; font-size:22px; line-height:1.2; color:var(--primary); font-variant-numeric:tabular-nums; }
.tr-list .t-h3{ color:var(--text); }
.tr-list .copy{ margin-top:8px; }

/* ---------------------------------------------------------------- trust ---- */
.tr-trust{ max-width:880px; }
.tr-trust-t{
  margin:22px 0 18px; font-family:var(--font-display); font-weight:700;
  font-size:clamp(1.3rem,2.2vw,1.75rem); line-height:1.35; letter-spacing:-.012em; color:var(--text);
}
.tr-trust .copy a, .tr-three ~ .copy a{ color:var(--primary); }

/* ------------------------------------------------- the street, two cards -- */
.tr-cards{ display:grid; gap:16px; justify-items:end; }
.tr-cards .gf-card{ justify-self:end; }

/* ------------------------------------------------- when they get in touch -- */
.tr-three{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(24px,3vw,44px); margin-top:40px; }
.tr-three > div{ padding-top:20px; border-top:2px solid var(--primary); }
.tr-k{ margin:0 0 10px; font-size:12px; font-weight:700; letter-spacing:.13em; text-transform:uppercase; color:var(--primary); }
.tr-three .t-h3{ color:var(--text); }
.tr-three .copy{ margin-top:10px; }

/* ------------------------------------------------- a card for each trade -- */
.tr-cards-row{ display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:16px; margin-top:22px; }
.tr-card{
  position:relative; display:block; border-radius:12px; overflow:hidden; aspect-ratio:4/3;
  background:var(--abyss); color:#fff; text-decoration:none;
}
.tr-card img{ display:block; width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.tr-card::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, transparent 40%, rgba(4,18,28,.85)); }
.tr-card span{ position:absolute; left:14px; right:14px; bottom:12px; z-index:1; font-weight:700; font-size:16px; }
.tr-card:hover img, .tr-card:focus-visible img{ transform:scale(1.04); }

/* ------------------------------------------------------------ responsive -- */
@media (max-width:900px){
  .tr-jobs{ grid-template-columns:1fr; }
  .tr-jobs-head{ position:static; }
  .tr-cards, .tr-cards .gf-card{ justify-items:stretch; justify-self:stretch; }
  .tr-three{ grid-template-columns:1fr; gap:28px; }
}
@media (max-width:560px){
  .tr-cards-row{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .tr-card span{ font-size:14.5px; left:12px; bottom:10px; }
}
@media (prefers-reduced-motion: reduce){
  .tr-card img{ transition:none; }
}
