/* ===== Ambassadors page — add-on only, style.css is untouched ===== */

/* page hero */
.amb-hero{
  position:relative; overflow:hidden;
  background:var(--forest-dark); color:var(--cream);
  padding:110px 0 96px;
}
.amb-hero::before{
  content:''; position:absolute; right:-180px; top:-180px; width:520px; height:520px; border-radius:50%;
  background:radial-gradient(circle, rgba(212,162,76,0.22), transparent 68%);
  animation:floatSlow 9s ease-in-out infinite;
}
.amb-hero::after{
  content:''; position:absolute; left:0; right:0; bottom:0; height:4px;
  background:linear-gradient(90deg, var(--gold), var(--clay), var(--gold));
}
.amb-hero .wrap{position:relative; z-index:1;}
.amb-hero .eyebrow{color:var(--gold-light); font-size:0.85rem; letter-spacing:0.12em;
  opacity:0; animation:fadeInUp .8s cubic-bezier(.16,.84,.44,1) .1s forwards;}
.amb-hero h1{
  font-size:clamp(2.6rem, 6vw, 5rem); max-width:860px; margin:18px 0 24px; color:var(--cream);
  opacity:0; animation:fadeInUp .9s cubic-bezier(.16,.84,.44,1) .25s forwards;
}
.amb-hero p{
  max-width:600px; font-size:1.08rem; line-height:1.75; color:rgba(251,246,236,0.8);
  opacity:0; animation:fadeInUp .9s cubic-bezier(.16,.84,.44,1) .4s forwards;
}
.amb-meta{
  display:flex; gap:44px; flex-wrap:wrap; margin-top:44px;
  opacity:0; animation:fadeInUp .9s cubic-bezier(.16,.84,.44,1) .55s forwards;
}
.amb-meta div{border-left:2px solid var(--gold); padding-left:16px;}
.amb-meta strong{display:block; font-family:'Fraunces',serif; font-size:2rem; color:var(--gold-light); line-height:1;}
.amb-meta span{font-size:0.85rem; color:rgba(251,246,236,0.7);}

/* quick-jump chips */

/* profiles */
.amb-list{padding:40px 0 20px; background:var(--cream);}
.amb-profile{
  display:grid; grid-template-columns:5fr 7fr; gap:72px; align-items:center;
  padding:72px 0; border-bottom:1px solid var(--line);
  scroll-margin-top:90px;
}
.amb-profile:last-child{border-bottom:none;}
.amb-profile.flip{grid-template-columns:7fr 5fr;}
.amb-profile.flip .amb-photo{order:2;}

.amb-photo{
  position:relative; border-radius:var(--radius);
}
.amb-photo::before{
  content:''; position:absolute; inset:18px -18px -18px 18px; z-index:0;
  border:1px solid var(--gold); border-radius:var(--radius);
  transition:transform .5s cubic-bezier(.16,.84,.44,1);
}
.amb-profile.flip .amb-photo::before{inset:18px 18px -18px -18px;}
.amb-photo:hover::before{transform:translate(8px,8px);}
.amb-profile.flip .amb-photo:hover::before{transform:translate(-8px,8px);}
.amb-photo .frame{
  position:relative; z-index:1; overflow:hidden; border-radius:var(--radius);
  aspect-ratio:4/5; background:var(--forest);
  box-shadow:0 24px 50px -24px rgba(13,33,26,0.55);
}
.amb-photo img{
  width:100%; height:100%; object-fit:cover; object-position:center top;
  transition:transform .8s cubic-bezier(.16,.84,.44,1);
}
.amb-photo:hover img{transform:scale(1.05);}
.amb-photo .flag-badge{
  position:absolute; z-index:2; left:16px; bottom:16px;
  display:flex; align-items:center; gap:10px;
  background:rgba(13,33,26,0.82); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  color:var(--cream); padding:8px 14px; border-radius:999px; font-size:0.82rem; font-weight:500;
}
.amb-photo .flag-badge img{width:22px; height:15px; border-radius:2px; object-fit:cover; transform:none;}

.amb-text h2{font-size:clamp(1.7rem,3vw,2.5rem); color:var(--forest); margin-bottom:12px;}
.amb-role{
  display:inline-block; font-family:'Space Mono',monospace; font-size:0.78rem;
  color:var(--clay); letter-spacing:0.04em; margin-bottom:22px;
  padding-bottom:12px; position:relative;
}
.amb-role::after{content:''; position:absolute; left:0; bottom:0; width:44px; height:2px; background:var(--clay);}
.amb-text p{color:var(--ink-soft); line-height:1.8; font-size:1.02rem; margin-bottom:16px; max-width:62ch;}
.amb-tags{display:flex; flex-wrap:wrap; gap:8px; margin-top:22px;}
.amb-tags span{
  font-size:0.78rem; font-weight:500; color:var(--forest);
  background:var(--cream-dim); border:1px solid var(--line); padding:6px 12px; border-radius:999px;
}

/* photo reveal: wipe-in on top of the existing .reveal-scale from style.css */
.amb-photo.reveal-scale .frame{clip-path:inset(0 0 100% 0); transition:clip-path 1.1s cubic-bezier(.16,.84,.44,1) .1s;}
.amb-photo.reveal-scale.in-view .frame{clip-path:inset(0 0 0 0);}
.amb-text.reveal{transition-delay:.2s;}

/* call to action */

@media (max-width:900px){
  .amb-profile,.amb-profile.flip{grid-template-columns:1fr; gap:40px; padding:56px 0;}
  .amb-profile.flip .amb-photo{order:0;}
  .amb-photo{max-width:420px; margin:0 18px 0 0;}
  .amb-hero{padding:80px 0 72px;}
}
@media (prefers-reduced-motion: reduce){
  .amb-photo.reveal-scale .frame{clip-path:none;}
  .amb-hero::before{animation:none;}
}
