@charset "UTF-8";

/* ==================================================
   샘표 80년 역사관 (/about/history) — 스탠드얼론 풀스크린 페이지
   - 헤더/푸터 없음, 다크 테마, 데스크톱(64em~) 스크롤리텔링 + 모바일 롱스크롤
   - 1rem = 10px
   ================================================== */

html {
  font-size: 62.5%;
}
.h80,
.h80 * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body.h80-body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #1b1c1e;
  color: #fff;
  font-family: "NotoSansCJKkr", "NotoSans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* 고정 배경 레이어 (데스크톱 크로스페이드 전용) */
#h80-bg {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: #1b1c1e;
}
/* 컴포지팅 레이어 고정 — 슬로우 스크롤 시 레이어 재생성/깜빡임 방지 */
#h80-bg .bg,
#h80-bg > div {
  transform: translateZ(0);
  backface-visibility: hidden;
}
#h80-bg .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  will-change: opacity, filter;
}
/* 전체 블러 마스크 — 연대 컨텐츠 스크롤 시 (글자 등장 후) 씌워짐 */
#h80-bg .bg-dim-blur {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(18, 15, 12, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
/* 인트로 라디얼 비네트 — 중앙 우측 스포트라이트만 남기고 가장자리 블랙 (Figma Rectangle 3468301) */
#h80-bg .bg-dim-vignette {
  position: absolute;
  inset: 0;
  opacity: 0;
  /* visibility 도 함께 트랜지션 — JS 가 opacity 0 에서 hidden 처리해도 페이드 아웃이 끊기지 않음 */
  transition:
    opacity 0.6s,
    visibility 0.6s;
  background: radial-gradient(
    circle 75vmin at 60% 45%,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0.18) 65%,
    rgba(0, 0, 0, 0.5) 100%
  );
}
/* 마지막 인트로 씬 전용 풀 딤 (blur 15 + black 80%) */
#h80-bg .bg-dim-final {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition:
    opacity 0.6s,
    visibility 0.6s;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}
/* 인트로 고정 엠블럼 (씬 2~6 동안 좌상단 고정) */
#h80-emblem {
  position: fixed;
  left: 8rem;
  top: 8rem;
  z-index: 6;
  width: 9.6rem;
  height: auto;
  opacity: 0;
  transition:
    opacity 0.4s,
    visibility 0.4s;
  pointer-events: none;
}
@media (max-width: 63.99em) {
  #h80-emblem {
    left: 2rem;
    top: 2rem;
    width: 6rem;
  }
}
#h80-bg .bg-dim-page {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(
    270deg,
    rgba(32, 25, 20, 0.9) 0%,
    rgba(32, 25, 20, 0.5) 55%,
    rgba(32, 25, 20, 0) 100%
  );
}
#h80-bg .bg-dim-left {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 75%;
  opacity: 0;
  background: linear-gradient(
    90deg,
    #1b1c1e 0%,
    rgba(27, 28, 30, 0.6) 35%,
    rgba(27, 28, 30, 0) 100%
  );
}

/* 공통: 씬/섹션 */
.h80-scene,
.h80-sec {
  position: relative;
}
.h80-stage {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* 섹션 내 자체 배경 (모바일 및 데스크톱 인트로 타이틀씬) */
.sec-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.sec-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* ── 인트로 ── */
.h80-scene .scene-copy {
  position: absolute;
  left: 8rem;
  top: 50%;
  transform: translateY(-50%) translateY(var(--rise, 0px));
  max-width: 87rem;
  font-family: "Buri";
  font-weight: normal;
  font-size: 3rem;
  line-height: 1.67;
  letter-spacing: -0.03em;
  color: #fff;
  opacity: 0;
  will-change: opacity, transform;
}
/* 마지막 씬: 중앙 정렬 대형 카피 (Figma 2113) */
.h80-scene.scene-final .scene-copy {
  left: 50%;
  right: auto;
  width: 90%;
  max-width: 164rem;
  transform: translate(-50%, -50%) translateY(var(--rise, 0px));
  font-size: 4rem;
  line-height: 1.3;
  text-align: center;
}
.h80-scene .scene-emblem {
  position: absolute;
  left: 8rem;
  top: 8rem;
  width: 9.6rem;
  height: auto;
  opacity: 0;
}
.h80-scene.scene-title .title-box {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
  max-width: 70rem;
}
.h80-scene.scene-title .title-emblem {
  width: 20rem;
  max-width: 40vw;
  height: auto;
  margin: 0 auto 3rem;
  display: block;
}
.h80-scene.scene-title h1 {
  font-family: "Buri";
  font-weight: normal;
  font-size: 5.2rem;
  line-height: 1.4;
  letter-spacing: -0.04em;
}
.h80-scene.scene-title .title-desc {
  margin-top: 2.4rem;
  font-size: 1.7rem;
  line-height: 1.7;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.85);
  word-break: keep-all;
}
/* SCROLL 힌트 — 페이지 스크롤과 무관하게 고정 (마지막 인트로 씬에서만 노출) */
#h80-scrollhint {
  position: fixed;
  left: 50%;
  bottom: 4rem;
  transform: translateX(-50%);
  z-index: 6;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
@media (max-width: 63.99em) {
  #h80-scrollhint {
    display: none;
  }
}
#h80-scrollhint::after {
  content: "";
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  margin: 1rem auto 0;
  border-right: 2px solid rgba(255, 255, 255, 0.8);
  border-bottom: 2px solid rgba(255, 255, 255, 0.8);
  transform: rotate(45deg);
  animation: h80-bounce 1.6s infinite;
}
@keyframes h80-bounce {
  0%,
  100% {
    transform: rotate(45deg) translate(0, 0);
    opacity: 0.5;
  }
  50% {
    transform: rotate(45deg) translate(0.4rem, 0.4rem);
    opacity: 1;
  }
}

/* ── 연대 섹션 ── */
.sec-title {
  position: absolute;
  left: 8rem;
  top: 18.5vh;
  width: 64rem;
  max-width: 40vw;
  z-index: 2;
  opacity: 0;
  will-change: opacity, transform;
}
.sec-title .chip {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem 1.2rem;
  border-radius: 1.6rem 0 1.6rem 0;
  background-color: #f22a2a;
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: -0.05em;
  color: #fff;
  font-family: "Buri";
}
.sec-title h2 {
  margin-top: 2rem;
  font-family: "Buri";
  font-weight: normal;
  font-size: 5.6rem;
  line-height: 1.3;
  letter-spacing: -0.05em;
  color: #fff;
}
.sec-title .sec-summary {
  margin-top: 4rem;
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: -0.03em;
  color: #fff;
}

/* 우측 타임라인 */
.sec-cards {
  position: absolute;
  right: 8rem;
  top: 0;
  width: 68.5rem;
  z-index: 2;
  will-change: transform;
}
.sec-cards .cards-inner {
  position: relative;
  padding: 100vh 0;
}
.h80-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 4rem;
}
/* 타임라인 세로선 — 각 항목의 점에서 다음 항목의 점까지만. 마지막 항목엔 선 없음 */
.h80-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 6.6rem;
  top: 1.5rem; /* 이 항목의 점 중심 */
  height: calc(100% + 10rem); /* 다음 점까지 (항목 높이 + 항목 간격 10rem) */
  width: 1px;
  background: rgba(255, 255, 255, 0.3);
}
.h80-item + .h80-item {
  margin-top: 10rem;
}
.h80-item .item-year {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
  padding-top: 0.4rem;
  font-family: "Buri";
  font-size: 1.8rem;
  letter-spacing: -0.05em;
  color: #fff;
}
/* 연도 숫자 고정폭 — 점 중심이 타임라인 선(left 6.6rem)과 정확히 맞도록
   (4rem 텍스트 + 2rem gap + 점 절반 0.6rem = 6.6rem) */
.h80-item .item-year .yr {
  display: inline-block;
  width: 4rem;
}
.h80-item .item-year::after {
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.25);
}
.h80-item .item-cards {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  width: 57.3rem;
}
.h80-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.h80-card .card-img {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 26rem;
  height: 18rem;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}
/* 클릭 가능한 영상 카드 (button 리셋) */
.h80-card .card-video {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.h80-card .card-video .video-badge {
  transition: transform 0.2s;
}
.h80-card .card-video:hover .video-badge {
  transform: translate(-50%, -50%) scale(1.1);
}
.h80-card .card-video:hover img {
  transform: scale(1.03);
}
.h80-card .card-video img {
  transition: transform 0.3s;
}
.h80-card .card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.h80-card .card-copy {
  flex: 1 1 0;
  min-width: 0;
}
/* 이미지 전용 카드 (추가 사진) — 카드 이미지 크기로 좌측 정렬 */
.h80-card--imgonly {
  display: block;
}
.h80-card .card-title {
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.05em;
  color: #fff;
}
.h80-card .card-desc {
  margin-top: 0.8rem;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: -0.05em;
  color: #ccc;
}
.h80-card .card-sub {
  margin-top: 0.4rem;
  font-size: 1.5rem;
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: #ddd;
}
.h80-card .card-list {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}
.h80-card .card-list li {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: -0.03em;
  color: #ccc;
}
.h80-card .card-list li + li {
  margin-top: 1.2rem;
}
/* 크레딧 메타 (작사·작곡 | 값) — 얇은 세로 구분선 */
.h80-card .card-credits {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}
.h80-card .card-credits li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: -0.05em;
  color: #ccc;
}
.h80-card .card-credits .lbl {
  flex-shrink: 0;
  min-width: 5.6rem;
}
.h80-card .card-credits .bar {
  flex-shrink: 0;
  width: 1px;
  height: 1rem;
  background: #d9d9d9;
}
.h80-card .card-credits .val {
  flex: 1 1 0;
  min-width: 0;
}

/* 라벨 칩 — 반투명 흰 배경 (사훈 인화·신용·봉사 등) */
.h80-card .card-list em {
  display: block;
  width: fit-content;
  margin-bottom: 0.4rem;
  padding: 0 0.8rem 0.2rem;
  background: rgba(255, 255, 255, 0.16);
  font-style: normal;
  font-weight: 500;
  line-height: 1.7;
  color: #fff;
}
.h80-card .card-thumbs {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.2rem;
}
.h80-card .card-thumbs img {
  width: calc((100% - 1.6rem) / 3);
  height: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}
/* 비디오 카드 재생 배지 */
.h80-card .video-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background-color: rgba(179, 154, 120, 0.95);
  pointer-events: none;
}
.h80-card .video-badge::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-38%, -50%);
  border-style: solid;
  border-width: 1rem 0 1rem 1.7rem;
  border-color: transparent transparent transparent #fff;
}
.h80-card.is-video .card-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}
.h80-card .video-badge {
  z-index: 2;
}

/* 하단 연대 탭 */
#h80-tabs {
  position: fixed;
  left: 8rem;
  bottom: 8rem;
  z-index: 5;
  display: none;
  gap: 2rem;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
#h80-tabs.on {
  opacity: 1;
  pointer-events: auto;
}
#h80-tabs button {
  padding: 0.8rem 0;
  border: 0;
  border-top: 4px solid transparent;
  background: none;
  font-family: inherit;
  font-size: 2rem;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}
#h80-tabs button.is-active {
  border-top-color: #f22a2a;
  font-weight: 500;
  color: #fff;
}

/* 영상 모달 (라이트박스) — 페이지 내 전체화면 재생
-------------------------------------------------- */
/* 탭 전환용 디졸브 딤 — 긴 거리 스크롤 대신 살짝 어두워졌다 밝아지며 자연스럽게 전환 */
#h80-transition {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #100d0b;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.34s ease;
}
#h80-transition.on {
  opacity: 1;
}

#h80-video {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  /* 배경을 완전히 가리지 않고 희미하게(블러) 비치도록 딤을 낮춤 */
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s;
}
#h80-video.on {
  display: flex;
  opacity: 1;
}
#h80-video .h80-video-frame {
  position: relative;
  width: 100%;
  max-width: 100rem;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.6);
}
#h80-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
#h80-video-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 4.4rem;
  height: 4.4rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}
#h80-video-close::before,
#h80-video-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2rem;
  height: 2px;
  background: #fff;
}
#h80-video-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
#h80-video-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
@media (max-width: 63.99em) {
  #h80-video {
    padding: 2rem;
  }
  #h80-video-close {
    top: 1.2rem;
    right: 1.2rem;
  }
}

/* ==================================================
   데스크톱(64em~) — 스크롤리텔링 활성
   ================================================== */
@media (min-width: 64em) {
  #h80-bg {
    display: block;
  }
  #h80-tabs {
    display: flex;
  }
  .h80-scene .sec-bg,
  .h80-sec .sec-bg {
    display: none; /* 배경은 고정 레이어(#h80-bg)가 담당 */
  }
  .h80-scene.scene-title .sec-bg {
    display: none;
  }
  /* 씬 스테이지도 fixed — 카피가 씬 종료 후에도 남아 다음 배경 전환과 함께 사라지도록 */
  .h80-scene .h80-stage {
    position: fixed;
    inset: 0;
    height: 100vh;
    pointer-events: none;
  }
  /* 연대 스테이지: 고정 레이어 크로스페이드 — 스티키 해제 시 콘텐츠가 밀려 올라가는 현상 방지.
     z-index 1: 연대 후반부에서 다음 섹션(투명 스페이서, relative)이 뷰포트를 덮으며
     스테이지 위에 그려져 영상 카드 등의 클릭을 가로채는 문제 방지 */
  .h80-sec .h80-stage {
    position: fixed;
    inset: 0;
    height: 100vh;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    will-change: opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
  }
  .h80-sec .h80-stage.is-live {
    pointer-events: auto;
  }
  .h80-sec .sec-hero {
    position: static;
    height: auto;
  }
  .sec-cards .card-desc,
  .sec-cards .card-title {
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  }
}

/* ==================================================
   모바일/태블릿(~64em) — 롱스크롤
   ================================================== */
@media (max-width: 63.99em) {
  /* 인트로 씬: 모바일도 데스크톱처럼 sticky 스크롤 크로스페이드 (배경은 고정 #h80-bg 담당) */
  .h80-scene .h80-stage {
    position: sticky;
    top: 0;
    height: 100vh;
  }
  .h80-scene .sec-bg {
    display: none;
  }
  .h80-scene .scene-copy {
    left: 2.4rem;
    right: 2.4rem;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) translateY(var(--rise, 0px));
    font-size: 2.4rem;
    line-height: 1.5;
    max-width: none;
    word-break: keep-all;
    text-shadow: 0 0.2rem 1.6rem rgba(0, 0, 0, 0.6);
  }
  .h80-scene .scene-emblem {
    left: 2.4rem;
    top: 2.4rem;
    width: 6rem;
    opacity: 1;
  }
  /* 타이틀 씬: 중앙 정렬 */
  .h80-scene.scene-title .title-box {
    width: 88%;
    max-width: 42rem;
  }
  .h80-scene.scene-title .title-emblem {
    width: 12rem;
    margin-bottom: 2.4rem;
  }
  .h80-scene.scene-title h1 {
    font-size: 2.4rem;
    line-height: 1.45;
    word-break: keep-all;
  }
  .h80-scene.scene-title .title-desc {
    margin-top: 1.6rem;
    font-size: 1.4rem;
    line-height: 1.7;
    word-break: keep-all;
  }
  /* 마지막 씬: 중앙 대형 카피 */
  .h80-scene.scene-final .scene-copy {
    left: 2.4rem;
    right: 2.4rem;
    width: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) translateY(var(--rise, 0px));
    font-size: 2.6rem;
    text-align: center;
  }
  .h80-sec {
    background-color: #1b1c1e;
  }
  /* 스테이지: 세로 클립 해제 (롱스크롤) */
  .h80-sec .h80-stage {
    min-height: 0;
    height: auto;
    overflow: visible;
  }
  /* 헤더: 상단 이미지 밴드 + 그라데이션 카피 오버랩 */
  .h80-sec .sec-hero {
    position: relative;
    height: auto;
  }
  /* 모바일 전용 배경(393×480) — 비율 유지, 하단은 섹션 배경색으로 페이드 */
  .h80-sec .sec-hero .sec-bg {
    position: relative;
    inset: auto;
    width: 100%;
    height: 122vw;
  }
  .h80-sec .sec-hero .sec-bg::after {
    display: block;
    top: auto;
    height: 42%;
    background: linear-gradient(
      180deg,
      rgba(27, 28, 30, 0) 0%,
      rgba(27, 28, 30, 0.6) 55%,
      #1b1c1e 100%
    );
  }
  .sec-title {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: auto;
    max-width: none;
    /* 칩·타이틀이 이미지 하단 페이드 구간에 겹침 (시안: 이미지 끝 위 ~18vw 지점부터) */
    margin-top: -18vw;
    padding: 0 2.4rem;
    opacity: 1;
    z-index: 2;
    background: none;
  }
  .sec-title .chip {
    padding: 0.8rem 1.4rem;
    font-size: 1.4rem;
    border-radius: 1rem 0 1rem 0;
  }
  .sec-title h2 {
    margin-top: 1.2rem;
    font-size: 2.8rem;
  }
  .sec-title .sec-summary {
    margin-top: 2rem;
    font-size: 1.5rem;
    line-height: 1.7;
    color: #fff;
  }
  /* 카드 타임라인이 없는 히어로 전용 섹션(1946 등): 본문 아래 여백 확보
     (일반 연대는 .sec-cards 하단 패딩이 담당하지만 이 섹션엔 .sec-cards 가 없음) */
  .h80-sec-hero-only .sec-title {
    padding-bottom: 12rem;
  }
  /* 타임라인: [연도+점 | 카드] 행 */
  .sec-cards {
    position: relative;
    right: auto;
    width: auto;
    padding: 4rem 2rem 12rem;
  }
  .sec-cards .cards-inner {
    padding: 0;
  }
  .h80-item {
    display: flex;
    align-items: flex-start;
    gap: 2.4rem;
  }
  .h80-item + .h80-item {
    margin-top: 8rem;
  }
  /* 연도 점을 잇는 세로선 (점 중심 5.1rem, 다음 점까지) */
  .h80-item:not(:last-child)::before {
    display: block;
    left: 5.1rem;
    top: 1rem;
    height: calc(100% + 8rem);
  }
  .h80-item .item-year {
    padding-top: 0;
    gap: 1.4rem;
    font-size: 1.4rem;
  }
  .h80-item .item-year .yr {
    width: 3.2rem;
  }
  .h80-item .item-year::after {
    width: 1rem;
    height: 1rem;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25);
  }
  .h80-item .item-cards {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    margin-top: 0;
    gap: 4rem;
  }
  .h80-card {
    display: block;
  }
  .h80-card .card-img {
    width: 100%;
    max-width: none;
    height: 18.8rem;
    aspect-ratio: auto;
  }
  .h80-card .card-copy {
    margin-top: 2rem;
  }
  .h80-card .card-title {
    margin-top: 0;
    font-size: 1.8rem;
  }
  .h80-card .card-desc {
    margin-top: 0.6rem;
    font-size: 1.4rem;
  }
  /* 모바일 섹션 인디케이터 — 이전/다음 연대 네비게이터 (‹ 2000 | 2020 ›) */
  #h80-indicator {
    position: fixed;
    left: 50%;
    bottom: 2rem;
    transform: translateX(-50%);
    z-index: 5;
    display: none;
    align-items: center;
    gap: 2.4rem;
    height: 5rem;
    padding: 0 1.2rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
  #h80-indicator.on {
    display: flex;
  }
  #h80-indicator button {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border: 0;
    padding: 0;
    background: none;
    font-family: inherit;
    font-size: 1.6rem;
    letter-spacing: -0.05em;
    color: #ccc;
    cursor: pointer;
  }
  /* 앞/뒤 연대가 없을 땐 자리는 유지하고 내용만 숨김 (인디케이터 폭 고정) */
  #h80-indicator button.is-empty {
    visibility: hidden;
  }
  #h80-indicator .ind-yr {
    min-width: 3.6rem;
    padding-bottom: 0.2rem;
    text-align: center;
  }
  #h80-indicator .ind-chev {
    position: relative;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
  }
  #h80-indicator .ind-chev::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0.7rem;
    height: 0.7rem;
    border-left: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
  }
  #h80-indicator .ind-prev .ind-chev::before {
    transform: translate(-30%, -50%) rotate(45deg);
  }
  #h80-indicator .ind-next .ind-chev::before {
    transform: translate(-70%, -50%) rotate(-135deg);
  }
}
@media (min-width: 64em) {
  #h80-indicator {
    display: none !important;
  }
}

/* PC(≥1600px): sec-title 은 의도한 <br> 로만 줄바꿈 — 자동 줄바꿈(예: '문화'가 '문/화'로 끊김) 방지.
   1600px 미만에선 타이틀이 컨테이너(타임라인 겹침 방지용 40vw)를 넘쳐 겹치므로 이 폭 이상에서만 적용 */
@media (min-width: 100em) {
  .sec-title h2 {
    white-space: nowrap;
  }
}

/* ==================================================
   태블릿~소형 데스크톱(64em~87.99em) — 축소 스케일
   좌측 타이틀(40vw)+우측 타임라인(68.5rem)이 1408px 미만에서 겹치는 문제 보정:
   여백·타이틀 폭·카드 컬럼을 줄여 두 컬럼이 항상 분리되도록
   ================================================== */
@media (min-width: 64em) and (max-width: 87.99em) {
  .sec-title {
    left: 4rem;
    max-width: 32vw;
  }
  .sec-title h2 {
    font-size: 4.4rem;
  }
  .sec-title .sec-summary {
    margin-top: 2.8rem;
    font-size: 1.6rem;
  }
  .sec-cards {
    right: 4rem;
    width: 52rem;
  }
  .h80-item {
    gap: 2.4rem;
  }
  .h80-item .item-cards {
    width: 42rem;
    gap: 3.6rem;
  }
  .h80-card {
    gap: 1.6rem;
  }
  .h80-card .card-img {
    width: 20rem;
    height: 14rem;
  }
  .h80-card .video-badge {
    width: 5rem;
    height: 5rem;
  }
  #h80-emblem {
    left: 4rem;
    top: 4rem;
    width: 7.2rem;
  }
  #h80-tabs {
    left: 4rem;
    bottom: 4rem;
  }
  .h80-scene .scene-copy {
    left: 4rem;
    font-size: 2.6rem;
  }
}

/* ── 맨 위로 가기 버튼 (다른 페이지와 동일 톤: 우측하단 어두운 라운드 버튼) ── */
.h80-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(34, 34, 34, 0.6);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.3s,
    visibility 0.3s,
    transform 0.3s;
  z-index: 200;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.h80-top:hover {
  background: rgba(34, 34, 34, 0.8);
}
.h80-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.h80-top svg {
  display: block;
  width: 22px;
  height: 22px;
}
@media (max-width: 47.99em) {
  .h80-top {
    right: 14px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
  .h80-top svg {
    width: 20px;
    height: 20px;
  }
}

/* ── 인트로 전체화면 영상 + 스크롤 버튼 (모바일 숨김) ── */
.h80-intro-video {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
  z-index: 2;
}
.h80-intro-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.h80-intro-scroll {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  padding: 6px 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 3;
  opacity: 0.9;
  transition: opacity 0.25s ease;
}
.h80-intro-scroll:hover {
  opacity: 1;
}
.h80-intro-scroll .s-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}
.h80-intro-scroll .s-chevs {
  position: relative;
  display: block;
  width: 22px;
  height: 26px;
}
.h80-intro-scroll .s-chevs i {
  position: absolute;
  left: 50%;
  width: 13px;
  height: 13px;
  margin-left: -6.5px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  border-radius: 1px;
  transform: rotate(45deg);
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.4));
  animation: h80-chev 1.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}
.h80-intro-scroll .s-chevs i:nth-child(1) {
  top: 0;
}
.h80-intro-scroll .s-chevs i:nth-child(2) {
  top: 9px;
  animation-delay: 0.18s;
}
@keyframes h80-chev {
  0% {
    opacity: 0;
    transform: translateY(-5px) rotate(45deg);
  }
  40% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(6px) rotate(45deg);
  }
}
@media (max-width: 47.99em) {
  .h80-intro-video {
    display: none;
  }
}

/* ── 인트로 랜딩(엠블럼 시퀀스) — 데스크톱/모바일 공통 (모바일은 배경만 별도) ── */
.h80-cover {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #1b1c1e;
  z-index: 2;
}
.h80-cover-bg {
  position: fixed;
  inset: 0;
  background: #1b1c1e url(/static/images/about/history80/bg_1946.png) center /
    cover no-repeat;
}
/* 창립신념 화면(.h80-creed)과 완전히 같은 딤·블러 — 두 화면이 같은 배경이라
   값이 조금이라도 다르면 커버가 걷히는 순간 배경이 한 번 밝아졌다 어두워진다. */
.h80-cover-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
/* 엠블럼도 뷰포트 고정 — 스크롤로 '밀려 올라가는' 것이 아니라 제자리에서 옅어진다.
   투명도는 JS 가 스크롤 진행도로 직접 준다(트랜지션을 걸면 프레임마다 지연돼 끌린다). */
.h80-cover-emblem {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 34rem;
  max-width: 42vw;
  aspect-ratio: 681 / 640;
}
.h80-cover-emblem .hce {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.h80-cover-emblem .hce.is-on {
  opacity: 1;
}
.h80-cover-hint {
  position: fixed;
  left: 50%;
  bottom: 4rem;
  transform: translateX(-50%);
  padding: 0.6rem 1.2rem;
  border: 0;
  background: none;
  opacity: 0.85; /* 처음부터 노출 */
  transition: opacity 0.3s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.h80-cover-hint:hover {
  opacity: 1;
}
/* 스크롤 힌트 셰브론 — 커버와 창립신념 화면이 함께 쓴다 */
.s-chevs {
  position: relative;
  display: block;
  width: 2.4rem;
  height: 2.8rem;
}
.s-chevs i {
  position: absolute;
  left: 50%;
  width: 1.4rem;
  height: 1.4rem;
  margin-left: -0.7rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  animation: h80-chev 1.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}
.s-chevs i:nth-child(2) {
  top: 0.9rem;
  animation-delay: 0.18s;
}
/* 모바일: 배경은 세로형 크롭(intro_mobile), 엠블럼은 조금 크게 */
@media (max-width: 47.99em) {
  .h80-cover-bg {
    background-image: url(/static/images/about/history80/bg_1946_mobile.png);
  }
  .h80-cover-emblem {
    width: 20rem;
    max-width: 52vw;
  }
}

/* ── 1946 확장 인트로 오버레이 (데스크톱, position:fixed) — 커지는 사진(bg_1946) + 창립 신념,
   페이드아웃되며 아래 1946 연대(엔진 크로스페이드)로 이어짐. JS 가 opacity·사진크기 제어. Figma 8439:4290 ── */
.h80-creed {
  position: fixed;
  inset: 0;
  z-index: 7;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}
/* 커버(z-index:2)와 엔진 고정배경(#h80-bg, z-index:0) 사이 — 커버가 스크롤로 빠지며
   드러나는 바닥을 bg_1946 대신 창립신념 배경으로. JS 가 인트로 끝에서 페이드아웃. */
.h80-creed-bg {
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  background: #1b1c1e url(/static/images/about/history80/bg_1946.png) center /
    cover no-repeat;
}
/* 모바일 전용 — 실제 규칙은 아래 (max-width: 63.99em) 블록 */
.h80-mcreed-bg {
  display: none;
}
/* 배경은 커버(.h80-cover-bg)와 같은 1946 사진 + 같은 딤/블러.
   커버가 걷히고 이 화면이 드러날 때 배경이 그대로 이어져 전환이 안 보인다. */
.creed-bg {
  position: absolute;
  inset: 0;
  background: #1b1c1e url(/static/images/about/history80/bg_1946.png) center /
    cover no-repeat;
}
.creed-dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.creed-badge {
  position: absolute;
  left: 8rem;
  top: 8rem;
  width: 7.7rem;
}
.creed-badge img {
  display: block;
  width: 100%;
  height: auto;
}
.creed-copy {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  /* 하단 스크롤 힌트와 시각적 무게를 맞추기 위한 광학 보정 */
  padding-bottom: 4rem;
  width: 90%;
  text-align: center;
}
.creed-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
}
/* 세 줄 모두 opacity 0 에서 시작 — JS 가 시간차를 두고 순서대로 띄운다.
   (스크롤이 아니라 커버 인트로가 끝나는 시점 기준) */
.creed-date {
  font-family: "Buri";
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.03em;
  color: #fff;
  opacity: 0;
}
.creed-title {
  font-family: "Buri";
  font-size: 5.6rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: #fff;
  opacity: 0;
}
.creed-caption {
  max-width: 60rem;
  font-size: 2.2rem;
  line-height: 1.6;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0;
}
/* 하단 스크롤 힌트 — 커버와 같은 위치·모양이라 두 화면이 이어져 보인다 */
.creed-hint {
  position: absolute;
  left: 50%;
  bottom: 4rem;
  transform: translateX(-50%);
  opacity: 0;
}
@media (max-width: 63.99em) {
  .h80-creed,
  .h80-creed-bg {
    display: none;
  }
}

/* ===== 모바일 창립신념 화면 — Figma 8439:19073. 데스크톱 .h80-creed 와 같은 구조의 고정 오버레이 =====
   밝은 텍스처 배경 + 날짜 + 창립신념 + 가운데 사진(bg_1946_mobile) + 캡션.
   스크롤에 따라 사진이 1946 연대 히어로 밴드(100vw × 122vw, 화면 상단)까지 커지고,
   밝은 배경이 연대 배경색(#1b1c1e)으로 바뀐 뒤 오버레이가 사라지며 1946 컨텐츠로 이어진다.
   스크롤 여유는 아래 .h80-sec[data-intro] 의 padding-top 이 담당. JS: history80.js 모바일 인트로 블록. */
.h80-mcreed {
  display: none;
}
@media (max-width: 63.99em) {
  .h80-mcreed {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 7;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    background: #1b1c1e;
  }
  /* 커버(z-index:2) 아래 배경판 — 엠블럼 커버가 스크롤로 걷힐 때 드러나는 바닥을
     연대 배경색(검정)이 아니라 창립신념 배경으로. 데스크톱 .h80-creed-bg 와 같은 역할. */
  .h80-mcreed-bg {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    background: #1b1c1e url(/static/images/about/history80/bg_1946_mobile.png)
      center / cover no-repeat;
  }
  /* 데스크톱 .creed-bg 와 같은 역할 — 커버와 동일한 1946 배경 */
  .mcreed-bg {
    position: absolute;
    inset: 0;
    background: #1b1c1e url(/static/images/about/history80/bg_1946_mobile.png)
      center / cover no-repeat;
  }
  .mcreed-dim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
  }
  .mcreed-badge {
    position: absolute;
    left: 2.4rem;
    top: 2.4rem;
    width: 5.6rem;
  }
  .mcreed-badge img {
    display: block;
    width: 100%;
    height: auto;
  }
  .mcreed-copy {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.2rem;
    padding-bottom: 3.2rem;
    width: calc(100% - 4.8rem);
    text-align: center;
  }
  .mcreed-lines {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
  }
  .mcreed-date {
    font-family: "Buri";
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.03em;
    color: #fff;
    opacity: 0;
  }
  .mcreed-title {
    font-family: "Buri";
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.03em;
    color: #fff;
    word-break: keep-all;
    opacity: 0;
  }
  .mcreed-caption {
    font-size: 1.5rem;
    line-height: 1.6;
    letter-spacing: -0.03em;
    color: rgba(255, 255, 255, 0.6);
    word-break: keep-all;
    opacity: 0;
  }
  .h80-mcreed .creed-hint {
    bottom: 3rem;
  }
  /* 모바일 인트로(오버레이)가 흐름에서 빠진 만큼의 스크롤 여유 — 데스크톱의 height:1.8vh 대응.
     이 구간을 다 내려오면 아래 .sec-bg 가 화면 상단에 오고, 그 시점에 오버레이가 사라진다. */
  /* 오버레이가 흐름에서 빠진 만큼의 스크롤 여유 — 창립신념 배경이 완전히 걷히는
     지점(스크롤 1.55vh = 커버 100vh + 55vh)에서 1946 히어로 밴드가 화면 상단에 오도록 */
  .h80-sec[data-intro] {
    padding-top: 65vh;
  }
}

/* ===== 모바일 인트로 온보딩 (Figma 8228:3115) — 데스크톱은 영상 인트로 ===== */
.h80-mintro {
  display: none;
}
@media (max-width: 47.99em) {
  .h80-mintro {
    display: block;
    /* 흐름 안 100vh 섹션 — 종료 후에도 남겨둬 스크롤로 위로 돌아갈 수 있게 (데스크톱 영상 인트로처럼).
       종료 시 제거하지 않고 1950년대로 스크롤만 함 */
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 2;
    background: #000;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
  }
  .mintro-slides {
    position: absolute;
    inset: 0;
  }
  /* 배경사진(프레임별 딤 이미 구워짐) 크로스페이드 */
  .mintro-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.7s ease,
      visibility 0s linear 0.7s;
  }
  .mintro-slide.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.7s ease;
  }
  /* 중앙 엠블럼 (seq-01) */
  .mintro-emblem {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 54vw;
    max-width: 240px;
    height: auto;
  }
  /* 좌상단 로고 (seq-02~) — 프레임이 넘어가도 같은 위치라 고정처럼 보임 */
  .mintro-logo {
    position: absolute;
    left: 24px;
    top: 24px;
    width: 60px;
    height: auto;
  }
  /* 내레이션 텍스트 */
  .mintro-text {
    position: absolute;
    left: 0;
    right: 0;
    padding: 0 24px;
    color: #fff;
    word-break: keep-all;
  }
  .mintro-text-center {
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
  }
  .mintro-text-upper {
    top: 41%;
    text-align: center;
  }
  .mintro-text-bottom {
    bottom: 8rem;
    text-align: left;
  }
  .mintro-eyebrow {
    display: block;
    font-family: "Buri", serif;
    font-size: 2rem;
    line-height: 1.4;
    letter-spacing: -0.03em;
  }
  .mintro-title {
    display: block;
    margin-top: 0.8rem;
    font-family: "Buri", serif;
    font-weight: 600;
    font-size: 3.2rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
  }
  .mintro-desc {
    margin-top: 2.8rem;
    font-family: "NotoSansCJKkr", sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
  }
  .mintro-text-bottom,
  .mintro-text-upper {
    font-family: "Buri", serif;
    font-weight: 600;
    font-size: 1.8rem;
    line-height: 1.5;
    letter-spacing: -0.03em;
  }
}

/* 스크린리더 전용 (독립 페이지라 공통 .blind 가 없어 여기 정의) */
.h80 .blind,
.h80-intro-scroll .blind {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
