/* COMPANY PAGE ONLY — 기존 style.css 뒤에 추가 로드 */

html{scroll-behavior:smooth}
#header{position:sticky;top:0;z-index:9999;background:#fff}

.companyPage{overflow:hidden;background:#fff}

/* 1. COMPANY HERO */
.companyHero{
  height:calc(100vh - 114px);
  position:relative;
  overflow:hidden;
  background-image:url('assets/company_hero.jpg');
  background-size:cover;
  background-position:center 48%;
  opacity:0;
  transform:scale(1.025);
  animation:companyHeroIn 1.15s cubic-bezier(.22,.61,.36,1) .08s forwards;
}
.companyHeroShade{position:absolute;inset:0;background:rgba(0,0,0,.28)}
.companyHeroText{
  position:absolute;inset:0;
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;padding-bottom:500px;box-sizing:border-box;
  color:#fff;text-align:center;
  opacity:0;transform:translateY(24px);
  animation:companyTitleIn .9s ease .55s forwards
}
.companyHeroText h1{
  margin:0 0 8px;
  font-size:48px;
  line-height:1;
  font-weight:800;
  font-style:italic;
  letter-spacing:-2px
}
.companyHeroText p{margin:0;font-size:15px}

@keyframes companyHeroIn{
  to{opacity:1;transform:scale(1)}
}
@keyframes companyTitleIn{
  to{opacity:1;transform:translateY(0)}
}

/* 2. OVERVIEW — 스크롤 없이 페이지 로딩 후 자동으로 아래→위 등장 */
.companyOverview{position:relative;z-index:20;margin-top:-550px;padding:88px 24px 140px;background:#fff;transform:translateY(550px);opacity:0.15;transition:transform 1.2s cubic-bezier(.22,.61,.36,1),opacity 1.2s ease;}.companyOverview.start{transform:translateY(0)}
.companyOverview.start{transform:translateY(0);opacity:1;}

.overviewInner{
  width:min(1180px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1.28fr;
  gap:95px;
  align-items:start
}
.overviewLeft h2{
  margin:0;
  color:#555c62;
  font-size:46px;
  line-height:1;
  font-weight:800;
  font-style:italic;
  letter-spacing:-2px
}
.overviewLine{
  display:block;
  width:92px;
  border-top:1px solid #8a168e;
  margin:22px 0 24px
}
.overviewLeft p{
  margin:0;
  color:#696969;
  font-size:14px;
  line-height:1.22
}
.overviewRight h3{
  margin:0;
  color:#8a168e;
  font-size:22px;
  line-height:1.15;
  font-weight:700
}
.overviewRight h4{
  margin:2px 0 20px;
  color:#8a168e;
  font-size:20px;
  line-height:1.15;
  font-weight:400
}
.overviewRight>p{
  max-width:620px;
  margin:0 0 16px;
  color:#6e6e6e;
  font-size:14px;
  line-height:1.55
}
.overviewRight .overviewHope{
  margin-top:27px;
  color:#8a168e;
  font-size:18px;
  text-decoration:underline
}
.ceoText{
  margin-top:34px;
  margin-left:auto;
  width:max-content;
  min-width:280px;
  text-align:center;
  color:#777
}
.ceoText span{display:block;font-size:20px}
.ceoText strong{
  display:block;
  margin-top:8px;
  font-family:"Brush Script MT","Segoe Script",cursive;
  font-size:34px;
  line-height:1;
  font-weight:400;
  font-style:italic
}

/* 3. 아래 섹션 — 다음 단계에서 실제 디자인/내용 교체 */
.companySection{min-height:620px;padding:100px 24px;box-sizing:border-box}
.companySection.alt{background:#f7f7f7}
.companySectionInner{max-width:1180px;margin:auto}
.companySection .eyebrow{color:#8a168e;letter-spacing:3px;font-size:12px}
.companySection h2{font-size:44px;margin:10px 0 30px;color:#555}
.placeholderText{color:#aaa}

.reveal{opacity:0;transform:translateY(80px);transition:opacity .9s ease,transform .9s ease}
.reveal.show{opacity:1;transform:translateY(0)}

/* footer 링크 색 통일 */
.privacyLink,.sitemapLink,.careerLink,.locationLink{
  color:#555;text-decoration:none;transition:.25s
}
.privacyLink:visited,.sitemapLink:visited,.careerLink:visited,.locationLink:visited{color:#555}
.privacyLink:hover,.sitemapLink:hover,.careerLink:hover,.locationLink:hover{color:#aaa}

/* anchors: 고정 메뉴 아래에서 멈추게 */
#overview,#history,#vision,#certificate{scroll-margin-top:76px}

@media(max-width:800px){
  .companyHero{height:360px}
  .companyHeroText h1{font-size:36px}
  .overviewInner{grid-template-columns:1fr;gap:45px}
  .companyOverview{padding:65px 24px}
  .overviewLeft h2{font-size:38px}
  .ceoText{margin-left:0}
}
#history .companySectionInner{text-align:center}
#history{background:#fff;padding:90px 24px 100px}.historyInner{width:min(1180px,100%);margin:0 auto}.historyTitle{text-align:center}.historyTitle span{display:block;font-size:12px;letter-spacing:8px;color:#aaa;margin-bottom:14px}.historyTitle h2{margin:0;font-size:48px;line-height:1;font-weight:800;font-style:italic;color:#555}.historyTitle i{display:block;width:58px;height:1px;background:#76158d;margin:14px auto 32px}.historyTitle p{margin:0;font-size:14px;color:#999}
.historyList{width:min(1050px,100%);margin:42px auto 0;transform:translateX(140px);}.historyRow{display:grid;grid-template-columns:110px 1fr;column-gap:26px;align-items:start;padding:10px 0}.historyYear{color:#76158d;font-size:24px;font-weight:700;text-align:right;padding-right:26px;border-right:1px solid #ccc;min-height:100%}.historyContent{padding-left:0}.historyContent p{margin:0 0 4px;color:#777;font-size:14px;line-height:1.45}.historyContent b{color:#777}.historyContent strong{color:#666;font-weight:700}
#vision{background:#7b168b;padding:62px 24px 72px;color:#fff}.visionInner{width:min(1120px,100%);margin:0 auto}.visionLabel{font-size:20px;margin-bottom:22px}.visionText{font-size:29px;line-height:1.55;font-weight:300}
#vision{min-height:0!important;height:auto!important;background:#7b168b;padding:62px 24px 72px!important;color:#fff}
#vision .visionLabel,#vision .visionText{font-family:"Segoe UI Light","Segoe UI",sans-serif!important;font-weight:300!important}
#vision .visionText{font-weight:500!important;text-shadow:0 0 0.95px #fff}
#vision .visionLabel{font-size:22px!important}
.ceoSignature{display:block;width:190px;height:auto;margin:-50px auto 0;opacity:.75}