/* Full-width photographic opening: left-aligned headline over the slideshow, facts bar at the foot. */
.hero,html:not([lang=ko]) .hero{
  position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;
  min-height:680px;height:calc(100svh - var(--masthead-height,124px));max-height:920px;
  overflow:hidden;background:#1c1a18;color:#fff;
}
.hero .hero-photo{position:absolute;inset:0;width:100%;height:100%;min-height:0;background:#1c1a18;overflow:hidden;z-index:0}
.hero .photo-slides{position:absolute;inset:0}
.hero .photo-slide{width:100%;height:100%;object-fit:cover;object-position:50% 40%;filter:saturate(.85);transition:none}
.hero .photo-slide:nth-child(2){object-position:50% 46%}
.hero .photo-slide:nth-child(3){object-position:50% 43%}
.hero .hero-photo::after{
  content:'';position:absolute;inset:0;pointer-events:none;z-index:1;
  background:linear-gradient(90deg,rgba(20,17,14,.82) 0%,rgba(20,17,14,.5) 50%,rgba(20,17,14,.22) 100%),linear-gradient(180deg,rgba(20,17,14,.08) 0%,rgba(20,17,14,0) 40%,rgba(20,17,14,.78) 100%);
}
.hero .hero-copy{
  position:relative;z-index:2;width:min(1280px,88%);margin:0 auto;padding:80px 0 48px;
  display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:none;overflow:visible;pointer-events:none;
}
.hero .hero-copy .eyebrow{color:#ffe2a0;margin:0 0 26px;letter-spacing:.16em}
.hero h1,html:not([lang=ko]) .hero h1{
  font-size:clamp(46px,5.8vw,84px);line-height:1.08;letter-spacing:-.055em;
  margin:0 0 26px;color:#fff;max-width:900px;text-shadow:0 3px 25px rgba(0,0,0,.3);
}
.hero h1 .period{color:var(--yellow)}
.hero .hero-copy>p{font-size:21px;line-height:1.6;color:#f6f1e6;margin:0 0 34px;max-width:560px;text-shadow:0 2px 12px rgba(0,0,0,.5)}
.hero .hero-focus{
  display:flex;align-items:center;gap:12px;margin:0 0 30px;max-width:560px;
  font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;
  color:var(--ink);overflow-wrap:anywhere;
}
.hero .hero-focus::before{content:'';flex:0 0 26px;height:3px;background:var(--yellow)}
.hero .hero-actions{display:flex;align-items:center;gap:28px;margin:0;pointer-events:auto}
.hero .hero-actions .button{background:var(--yellow);color:var(--ink);padding:17px 28px;min-height:58px;font-size:15px}
.hero .hero-actions .button:hover{background:#ffcf61}
.hero .hero-actions .text-link{color:#fff;font-size:15px;border-color:#fff}
.hero-facts{
  position:relative;z-index:2;width:min(1280px,88%);margin:0 auto;pointer-events:none;
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid rgba(255,255,255,.22);padding:22px 0 30px;
}
.hero-facts>div{display:flex;flex-direction:column;gap:4px;padding-right:32px}
.hero-facts>div+div{padding-left:32px;border-left:1px solid rgba(255,255,255,.22)}
.hero-facts small{font-size:11px;font-weight:700;letter-spacing:.14em;color:#ffe2a0}
.hero-facts strong{font-size:16px;font-weight:600;line-height:1.5}
.hero .photo-label{position:absolute;z-index:2;top:28px;right:6%;left:auto;bottom:auto;background:none;border-left:2px solid var(--yellow);padding:0 0 0 13px;font-size:11px;letter-spacing:.07em;color:#fff}
.hero .carousel-controls{left:auto;right:6%;bottom:30px;width:auto;gap:12px;z-index:3}
.hero .carousel-controls .slide-pause{margin-left:8px}
.hero .hero-photo:focus-visible{outline-offset:-5px}
@media(max-width:1100px){
  .hero-facts>div{padding-right:20px}.hero-facts>div+div{padding-left:20px}
  .hero-facts>div:last-child{padding-right:200px}
}
@media(max-width:760px){
  .hero,html:not([lang=ko]) .hero{height:auto;min-height:calc(100svh - var(--masthead-height,112px));max-height:none}
  .hero .hero-photo::after{background:linear-gradient(180deg,rgba(17,27,34,.3) 0%,rgba(17,27,34,.55) 45%,rgba(17,27,34,.86) 100%)}
  .hero .hero-copy{width:88%;padding:150px 0 24px}
  .hero .hero-copy .eyebrow,html:not([lang=ko]) .hero .hero-copy .eyebrow{font-size:9px;letter-spacing:.1em;margin-bottom:22px}
  .hero .hero-focus{font-size:10px;letter-spacing:.1em;gap:9px;margin-bottom:24px}
  .hero .hero-focus::before{flex:0 0 18px;height:2px}
  .hero h1,html:not([lang=ko]) .hero h1{font-size:clamp(36px,9.6vw,52px);line-height:1.14;margin-bottom:20px}
  .hero .hero-copy>p{font-size:16px;margin-bottom:26px;line-height:1.65}
  .hero .hero-actions{flex-direction:column;align-items:flex-start;gap:18px;width:100%}
  .hero .hero-actions .button{width:100%;font-size:14px;min-height:54px;padding:14px 22px}
  .hero .hero-actions .text-link,html:not([lang=ko]) .hero .hero-actions .text-link{font-size:13px}
  .hero .photo-slide{object-position:50% 40%}
  .hero .photo-slide:nth-child(2){object-position:28% 45%}
  .hero .photo-slide:nth-child(3){object-position:52% 40%}
  .hero-facts{width:88%;display:flex;flex-direction:column;gap:10px;padding:16px 0 26px}
  .hero-facts>div,.hero-facts>div+div{flex-direction:row;align-items:baseline;gap:12px;padding:0;border:0}
  .hero-facts>div:last-child{padding-right:0}
  .hero-facts small{flex:none;min-width:120px}
  .hero-facts strong{font-size:14px}
  .hero .photo-label{top:20px;left:6%;right:auto;font-size:9px}
  .hero .carousel-controls{top:16px;right:6%;bottom:auto;left:auto;gap:8px}
  .hero .carousel-controls button{width:40px;height:40px}
  .hero .carousel-controls .slide-pause{margin-left:4px}
}

/* Visual language from banner_main.pdf. */
.hero,html:not([lang=ko]) .hero{min-height:690px;height:auto;max-height:none;background:#fff;color:var(--ink);justify-content:center}
.hero .hero-copy{width:min(1280px,88%);padding:100px 0 100px}
.hero .hero-copy .eyebrow{color:var(--ink);margin-bottom:24px}
.hero h1,html:not([lang=ko]) .hero h1{max-width:660px;width:52%;color:var(--ink);font-size:clamp(48px,5.4vw,76px);text-shadow:none}
.hero .hero-copy>p{color:var(--ink);text-shadow:none;max-width:470px}
.hero .hero-actions .text-link{color:var(--ink);border-color:var(--ink)}
.hero .hero-photo{inset:84px var(--gutter) auto auto;width:min(38%,500px);height:calc(100% - 268px);min-height:368px;background:var(--line)}
.hero .photo-slide{filter:saturate(.86)}
.hero .hero-photo::after{background:linear-gradient(180deg,transparent 55%,rgba(30,27,26,.58) 100%)}
.hero .photo-label{top:22px;right:20px;color:#fff;text-shadow:0 1px 6px #222}
.hero .carousel-controls{right:20px;bottom:20px}
.hero-facts{border-top:1px solid var(--ink);padding:22px 0 30px;gap:0}
.hero-facts>div+div{border-left-color:#bfb7ab}
.hero-facts small{color:#765700}
.hero-facts strong{color:var(--ink)}
@media(max-width:1100px){
  .hero h1,html:not([lang=ko]) .hero h1{width:50%;font-size:clamp(44px,5.2vw,62px)}
  .hero .hero-copy>p{max-width:40%}
}
@media(max-width:760px){
  .hero,html:not([lang=ko]) .hero{min-height:0;height:auto}
  .hero .hero-photo{position:relative;inset:auto;order:3;width:88%;margin:10px auto 0;height:auto;min-height:0}
  .hero .hero-copy{width:88%;padding:44px 0 34px;order:1}
  .hero h1,html:not([lang=ko]) .hero h1{width:100%;max-width:none;font-size:clamp(38px,9vw,54px)}
  .hero .hero-copy>p{max-width:none}
  .hero .photo-label{top:12px;left:12px;right:auto;border-left:0;padding:6px 11px;border-radius:999px;background:rgba(20,17,14,.55)}
  .hero .carousel-controls{top:auto;right:12px;bottom:10px;left:auto}
  .hero-facts{border-top-color:var(--ink)}
  .hero-facts>div,.hero-facts>div+div{border:0}
  .hero-facts small{color:#765700}
}

/* 로고는 히어로의 맨 뒤 레이어 */
.hero .hero-copy{z-index:auto}
.hero #hero-title{position:relative;z-index:0}
.hero .hero-photo{z-index:2}
.hero .hero-copy .eyebrow,
.hero .hero-copy>p,
.hero .hero-fields,
.hero .hero-actions,
.hero-facts{position:relative;z-index:3}

/* 좁은 폭에서도 문장이 한 줄에 들어가도록 */
@media(min-width:761px) and (max-width:1100px){.hero .hero-copy>p,html:not([lang=ko]) .hero .hero-copy>p{font-size:18px;max-width:52%}}

/* 모바일: 사진은 히어로 맨 아래, 보조 링크와 요약 바 정리 */
@media(max-width:760px){
  .hero,html:not([lang=ko]) .hero{display:flex;flex-direction:column;justify-content:flex-start;padding-bottom:0}
  .hero-facts{order:2;padding:16px 0 26px}
  .hero-facts>div,.hero-facts>div+div{flex-direction:column;align-items:flex-start;gap:4px;padding:0;border:0}
  .hero-facts small{min-width:0}
  .hero .hero-actions .text-link,html:not([lang=ko]) .hero .hero-actions .text-link{
    display:inline-flex;align-items:center;width:auto;padding:0 0 9px;border-bottom:1px solid var(--ink)}
  .hero .hero-actions .text-link>span{margin-left:10px}
}

@media(max-width:760px){.hero .hero-fields{margin:22px 0 24px}}

/* 사진은 1000x640 원본 비율 그대로 — 어느 폭에서도 잘리지 않는다 */
.hero .hero-photo{aspect-ratio:1000/640}

/* 1101px 이상: 글자 오른쪽 전체를 사진이 쓴다 (로고 오른쪽 끝에서 56px 띄움) */
@media(min-width:1101px){
  .hero .hero-photo{left:calc(var(--gutter) + 496px);right:var(--gutter);top:50%;bottom:auto;
    transform:translateY(-50%);width:auto;height:auto;min-height:0}
}

/* 761~1100px: 옆에 두기엔 좁다 — 글 아래로 내리고 폭을 가득 쓴다 */
@media(min-width:761px) and (max-width:1100px){
  .hero,html:not([lang=ko]) .hero{display:flex;flex-direction:column;justify-content:flex-start;
    min-height:0;height:auto;max-height:none;padding-bottom:0}
  .hero .hero-copy{order:1;padding:60px 0 40px}
  .hero-facts{order:2}
  .hero .hero-photo{position:relative;inset:auto;order:3;transform:none;
    width:min(1280px,88%);margin:14px auto 0;height:auto;min-height:0}
  .hero h1,html:not([lang=ko]) .hero h1{width:100%;max-width:none}
  .hero .hero-copy>p,html:not([lang=ko]) .hero .hero-copy>p{max-width:none;font-size:19px}
  .hero .photo-label{top:14px;left:14px;right:auto;border-left:0;padding:6px 11px;border-radius:999px;background:rgba(20,17,14,.55)}
  .hero .carousel-controls{right:14px;bottom:14px;top:auto;left:auto}
  .hero-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero-facts>div:last-child{padding-right:0}
}

/* 모바일: '프로그램 소개' 밑줄과 요약 바 윗선이 붙어 두 줄처럼 보이지 않게 */
@media(max-width:760px){
  .hero .hero-actions .text-link,html:not([lang=ko]) .hero .hero-actions .text-link{padding-bottom:4px;align-self:flex-start}
  .hero-facts{margin-top:34px;border-top-color:#d8cfbd}
}
@media(max-width:760px){.hero-facts{gap:14px}}
