*{margin:0;padding:0;box-sizing:border-box}

:root{
  --ted-red:#e62b1e;
  --ink:rgba(0,0,0,.92);
  --muted:rgba(255,255,255,.78);
  --card:#fff4f4;
  --card2:#fff8f8;
  --border:rgba(230,43,30,.45);
  --shadow:0 18px 55px rgba(0,0,0,.35);
}

body{
  font-family:"Helvetica Neue","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  background:#f5f9ff;
  color:#1f2a44;
  min-height:100vh;
}

.container{
  width:90%;
  max-width:1200px;
  margin:0 auto;
}

.bg{
  position:fixed;
  inset:0;
  z-index:-1;
  background-image:
    radial-gradient(circle at 28% 22%, rgba(230,43,30,.22), transparent 58%),
    radial-gradient(circle at 72% 78%, rgba(230,43,30,.16), transparent 62%),
    linear-gradient(to bottom, rgba(0,0,0,.32), rgba(0,0,0,.60)),
    url("images/background.png");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  filter:saturate(.95) contrast(1.05);
}

.wrap{
  width:90%;
  max-width:1200px;
  margin:0 auto;
}

.header{
  position:sticky;
  top:0;
  z-index:50;
  height:70px;             
  background:#ffffff;
  border-bottom:1px solid rgba(0,0,0,.1);
  display:flex;            
  align-items:center;   
}


.header-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
}

.logo img{
  height: 72px;
  width:auto;
  display:block;
}

.nav{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.nav a{
  text-decoration:none;
  color:rgba(0,0,0,.78);
  font-size:13px;
  letter-spacing:.12em;
  padding:10px 10px;
  border-radius:999px;
  transition:transform .15s ease,background .15s ease,color .15s ease;
}

.nav a:hover{
  background:rgba(0,0,0,.06);
  color:rgba(0,0,0,.95);
  transform:translateY(-1px);
}

.page{
  padding:72px 0 120px;
}

.title{
  text-align:center;
  font-size:clamp(44px, 6vw, 78px);
  font-weight:950;
  letter-spacing:.02em;
  color:#fff;
  text-shadow:0 20px 60px rgba(0,0,0,.45);
  margin-bottom:52px;
}

.team-section{
  margin-top:70px;
}

.section-head{
  text-align:center;
  margin-bottom:34px;
}

.section-head h2{
  font-size:26px;
  font-weight:950;
  color:rgba(255,255,255,.94);
  margin-bottom:10px;
}

.section-head p{
  max-width:980px;
  margin:0 auto;
  color:rgba(255,255,255,.78);
  line-height:1.7;
}

.grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:34px;
  align-items:stretch;
}

.card{
  position:relative;
  background:linear-gradient(180deg, var(--card2), var(--card));
  border-radius:26px;
  border:2px solid rgba(230,43,30,.38);
  box-shadow:var(--shadow);
  padding:38px 20px 24px;
  text-align:center;
  color:var(--ink);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  min-height:210px;
}

.card:hover{
  transform:translateY(-10px);
  border-color:rgba(230,43,30,.68);
  box-shadow:
    0 26px 70px rgba(0,0,0,.42),
    0 0 32px rgba(230,43,30,.38);
}

.badge{
  position:absolute;
  top:14px;
  left:50%;
  transform:translateX(-50%);
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(230,43,30,.22);
  color:rgba(0,0,0,.72);
}

.avatar{
   width:150px;
  height:150px;
  margin:6px auto 18px;
  border-radius:999px;
  overflow:hidden;
  border:3px solid rgba(230,43,30,.28);
  background:#ffffff;
  box-shadow:
    0 16px 34px rgba(0,0,0,.16),
    0 0 22px rgba(230,43,30,.22);
  display:grid;
  place-items:center;
}

.avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.avatar.placeholder{
  background:radial-gradient(circle at 30% 20%, rgba(230,43,30,.18), transparent 60%), #fff;
  font-size:26px;
}

.avatar.placeholder span{
  font-weight:950;
  letter-spacing:.02em;
  font-size:22px;
  color:rgba(0,0,0,.78);
}

.name{
  font-weight:950;
  font-size:22px;
  margin-top:6px;
}

.badge{
  display:none;
}

.sub{
  margin-top:8px;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(0,0,0,.55);
}

.section-head p{
  font-size:17px;
  line-height:1.85;
}


.site-footer{
  width:100%;
  margin-top:-30px;
  display:flex;
  justify-content:center;
  align-items:center;
  overflow:hidden;
}

.site-footer img{
  width:120%;        
  max-width:none;   
  height:auto;
}

@media (max-width: 980px){
  .grid{grid-template-columns:repeat(2, minmax(0, 1fr))}
}

@media (max-width: 620px){
  .page{padding:54px 0 100px}
  .grid{grid-template-columns:1fr}
  .card{min-height:220px}
}


.hamburger{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:28px;
  height:22px;
  background:none;
  border:none;
  cursor:pointer;
  padding:0;
}

.hamburger span{
  width:100%;
  height:3px;
  background:#000;
  border-radius:3px;
  transition:0.3s ease;
}

@media (max-width:600px){

  .header{
    position:relative;
  }

  .nav{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:rgba(255,255,255,0.98);
    backdrop-filter:blur(10px);
    flex-direction:column;
    align-items:center;
    gap:18px;
    padding:22px 0;
    box-shadow:0 10px 25px rgba(0,0,0,0.1);
  }

  .nav.open{
    display:flex;
  }

  .nav a{
    font-size:14px;
  }

  .hamburger{
    display:flex;
  }
}