@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&display=swap');

/* ===== About page (prefix about-) ===== */
/* hero */
.about-hero{position:relative;width:min(1280px,100%);height:522px;margin-top:60px;border-radius:24px;overflow:hidden;flex-shrink:0;display:flex;align-items:center;justify-content:center}
.about-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.about-hero-c{position:relative;display:flex;flex-direction:column;align-items:center;gap:24px;text-align:center;padding:0 24px}
.about-hero h1{font-weight:800;font-size:64px;line-height:1.04;color:#172426}
.about-hero .med20{max-width:720px}

/* founder */
.about-founder{display:flex;gap:32px;align-items:flex-start;width:min(1200px,calc(100% - 48px));margin-top:120px;flex-shrink:0}
.about-founder-ph{width:584px;height:379px;border-radius:24px;overflow:hidden;flex-shrink:0}
.about-founder-ph img{width:100%;height:100%;object-fit:cover}
.about-founder-tx{width:584px;display:flex;flex-direction:column;align-items:flex-start}
.about-founder-tx h2{margin-top:1px}
.about-rioks{width:66px;height:28px;margin:24px 0 17px -3px}
.about-founder-p p{color:#546078;font-size:16px;line-height:1.5}

/* what we stand for + team */
.about-stand{display:flex;flex-direction:column;align-items:center;width:min(1200px,calc(100% - 48px));margin-top:120px;flex-shrink:0}
.about-stand-hd{display:flex;flex-direction:column;align-items:center;gap:24px;text-align:center}
.about-stand-hd .med20{max-width:920px}
.about-team{display:flex;gap:30px;width:100%;margin-top:71px}
.about-tc{width:277.5px;height:349px;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 0 0 1px rgba(18,21,58,.05);flex-shrink:0}
.about-tc-ph{height:248px;overflow:hidden}
.about-tc-ph img{width:100%;height:100%;object-fit:cover}
.about-tc-tx{padding:23px 20px 20px;display:flex;flex-direction:column;gap:9px;font-family:'Montserrat','Manrope',sans-serif}
.about-tc-tx p{line-height:24px;white-space:nowrap}
.about-tc-tx .n{font-weight:500;font-size:20px;color:#172426}
.about-tc-tx .r{font-weight:400;font-size:18px;color:#0171ff}

/* principles */
.about-prin{display:flex;flex-direction:column;width:min(1200px,calc(100% - 48px));margin-top:120px;flex-shrink:0}
.about-prin-hd{display:flex;justify-content:space-between;align-items:flex-start;gap:32px}
.about-prin-hd h2{width:584px;flex-shrink:0}
.about-prin-hd .med20{width:584px}
.about-pgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:184px 178px;gap:32px;margin-top:65px}
.about-pc{background:#fff;border-radius:16px;padding:32px;display:flex;flex-direction:column;gap:19px}
.about-pc-h{display:flex;align-items:center;gap:16px}
.about-ico{width:56px;height:56px;border-radius:16px;background:#edf3f8;flex-shrink:0;display:block}
.about-ico img{width:56px;height:56px}
.about-pc h3{font-weight:600;font-size:24px;line-height:1.5}
.about-pc p{color:#546078}

/* more than an agency */
.about-more{display:flex;flex-direction:column;align-items:center;width:min(1200px,calc(100% - 48px));margin-top:120px;text-align:center;flex-shrink:0}
.about-more>p{color:#546078;margin-top:24px;max-width:760px}
.about-more-ph{width:100%;height:564px;border-radius:24px;overflow:hidden;margin-top:56px}
.about-more-ph img{width:100%;height:100%;object-fit:cover;object-position:50% 41%}

/* ===== responsive ===== */
@media (max-width:1100px){
	.about-hero{height:auto;min-height:420px;padding:64px 0}
	.about-hero h1{font-size:clamp(40px,6vw,64px)}
	.about-br{display:none}
	.about-founder{flex-direction:column;margin-top:80px}
	.about-founder-ph,.about-founder-tx{width:100%}
	.about-founder-ph{height:auto;aspect-ratio:584/379}
	.about-stand,.about-prin,.about-more{margin-top:80px}
	.about-team{flex-wrap:wrap}
	.about-tc{width:calc((100% - 30px)/2)}
	.about-tc-ph{height:auto;aspect-ratio:277.5/248}
	.about-tc{height:auto}
	.about-prin-hd{flex-direction:column;gap:20px}
	.about-prin-hd h2,.about-prin-hd .med20{width:auto;max-width:584px}
	.about-pgrid{grid-template-rows:auto;margin-top:40px}
	.about-more-ph{height:auto;aspect-ratio:1200/564}
}
@media (max-width:767px){
	.about-hero{margin-top:16px;min-height:0;padding:56px 0;width:calc(100% - 32px)}
	.about-hero h1{font-size:clamp(32px,9vw,44px)}
	.about-hero h1 br{display:none}
	.about-founder{margin-top:64px}
	.about-founder-tx h2 br,.about-prin-hd h2 br{display:none}
	.about-stand,.about-prin,.about-more{margin-top:64px}
	.about-team{margin-top:40px;gap:16px}
	.about-tc{width:calc((100% - 16px)/2)}
	.about-tc-tx{padding:16px 14px 16px}
	.about-tc-tx p{white-space:normal;line-height:1.3}
	.about-tc-tx .n{font-size:16px}
	.about-tc-tx .r{font-size:14px}
	.about-pgrid{grid-template-columns:1fr;gap:16px}
	.about-pc{padding:24px}
	.about-pc h3{font-size:20px}
	.about-more-ph{margin-top:40px}
}
