/**
 * EMA Team — front-end styles.
 * Matches .team from about.html.
 */
.ema-team{
    padding: 120px 32px;
    background: #12110F;
    color: #F5EFD9;
    position: relative;
}
.ema-team-head{
    max-width: 1280px;
    margin: 0 auto 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: end;
}
.ema-team-head .eyebrow{
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: #C2A862;
    margin-bottom: 20px;
}
.ema-team-head .eyebrow::before{
    content: "";
    width: 32px;
    height: 2px;
    background: #C2A862;
}
.ema-team-head h2{
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-weight: 700;
    font-size: clamp(44px, 5vw, 80px);
    line-height: .95;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    color: #F5EFD9;
    margin: 0;
}
.ema-team-head h2 em{
    font-style: normal;
    color: #C2A862;
}
.ema-team-head .intro{
    font-size: 16.5px;
    line-height: 1.65;
    color: rgba(245,239,217,.78);
    max-width: 420px;
    padding-bottom: 8px;
    margin: 0;
	font-family: 'Oswald', 'Arial Narrow', sans-serif;
}
.ema-team-grid{
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.ema-team-card{
    background: #F5EFD9;
    color: #12110F;
    border: 3px solid #F5EFD9;
    transition: transform .4s cubic-bezier(.6,.05,.2,.95), border-color .25s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.ema-team-card:nth-child(odd){ transform: rotate(-0.6deg); }
.ema-team-card:nth-child(even){ transform: rotate(0.6deg); }
.ema-team-card:hover{
    transform: rotate(0) translateY(-6px);
    border-color: #C2A862;
}
.ema-team-photo{
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center top;
    border-bottom: 3px solid #12110F;
    position: relative;
}
.ema-team-photo .badge{
    position: absolute;
    top: 14px;
    left: 14px;
    background: #A01428;
    color: #F5EFD9;
    padding: 5px 10px;
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.ema-team-info{ padding: 28px 28px 32px; }
.ema-team-name{
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -0.005em;
    text-transform: uppercase;
    color: #12110F;
    margin: 0 0 6px;
}
.ema-team-role{
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: #A01428;
    margin-bottom: 18px;
}
.ema-team-bio{
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(18,17,15,.7);
    margin: 0;
	font-family: 'Oswald', 'Arial Narrow', sans-serif;
}

@media (max-width: 1100px){
    .ema-team-head{ grid-template-columns: 1fr; gap: 24px; }
    .ema-team-grid{ grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 780px){
    .ema-team{ padding: 64px 16px; }
    .ema-team-head h2{ font-size: 42px; }
    .ema-team-card:nth-child(odd),
    .ema-team-card:nth-child(even){ transform: rotate(0); }
    .ema-team-info{ padding: 22px 22px 26px; }
    .ema-team-name{ font-size: 26px; }
}
