/* Naš tim — Hero.
   Same side-by-side light hero as zasto-rio / kontakt / prostor; the
   group photo keeps its true ratio (whole-team.webp ≈ 7:6). Below the
   intro sits a strip of member cards that jump to each person's row.
   .image-tag comes from assets/css/zasto-rio/hero.css (enqueued too). */

.page-hero--tim{
  padding:140px 0 52px;
}
.page-hero--tim .page-hero-grid{
  grid-template-columns:1fr .9fr;
  align-items:center;gap:56px;
}
.page-hero--tim .page-hero-frame{
  aspect-ratio:3337/2852;
  border-radius:24px;
}
.page-hero--tim .page-hero-frame img{
  object-position:center 30%;
  transition:transform .9s cubic-bezier(.2,.7,.2,1);
}
.page-hero--tim .hero-visual:hover .page-hero-frame img{transform:scale(1.035)}

/* --- Member jump cards ------------------------------------------------ */
.tim-jump{
  list-style:none;
  display:flex;flex-direction:column;gap:10px;
  margin:28px 0 0;padding:22px 0 0;
  border-top:1px dashed var(--line);
  max-width:34em;
}
.tim-jump-card{
  display:flex;align-items:center;gap:14px;
  padding:12px 16px 12px 12px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:16px;
  transition:background .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.tim-jump-card:hover{
  background:#fff;
  border-color:var(--mint);
  transform:translateX(4px);
  box-shadow:var(--sh-sm);
}
.tim-jump-ini{
  flex:none;
  display:inline-flex;align-items:center;justify-content:center;
  min-width:44px;height:44px;padding:0 8px;
  border-radius:999px;
  background:var(--mint-50);
  font-family:"Fraunces",serif;font-style:italic;font-size:.98rem;
  color:var(--teal);
  transition:background .22s ease, color .22s ease;
}
.tim-jump-card:hover .tim-jump-ini{background:var(--teal);color:#fff}
.tim-jump-text{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.tim-jump-text b{
  font-family:"Hanken Grotesk",sans-serif;
  font-size:.95rem;font-weight:600;
  color:var(--pine);line-height:1.3;
}
.tim-jump-text small{font-size:.8rem;color:var(--muted);line-height:1.4}
.tim-jump-arrow{
  flex:none;width:16px;height:16px;
  color:var(--sage);
  transition:transform .22s ease, color .22s ease;
}
.tim-jump-card:hover .tim-jump-arrow{color:var(--teal);transform:translateY(2px)}

/* Anchor targets land clear of the fixed header (global scroll-padding
   covers the header; this adds breathing room above the row). */
.ta-row[id]{scroll-margin-top:24px}

@media(max-width:980px){
  .page-hero--tim{padding:118px 0 56px}
  .page-hero--tim .page-hero-grid{grid-template-columns:1fr;gap:40px}
}
@media(max-width:680px){
  .page-hero--tim{padding:104px 0 48px}
  .tim-jump-card{padding:10px 14px 10px 10px}
  .tim-jump-ini{min-width:40px;height:40px}
}
