/* 인천교육자람체 - 디렉터 질문 문구 / Special Gift 필기체용 */
@font-face {
  font-family: 'IncheonEducation';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2307-2@1.0/iceJaram-Rg.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================
   2026 국제그린에너지엑스포 - SPECIAL DIRECTOR MATCHING
   style.css
   (jquery.fullpage.css 는 라이브러리 파일, 이 파일은 그 위에 얹는 커스텀 스타일)
   ========================================================== */

:root {
  --color-black: #0b0b0c;
  --color-hover-bg: #222222;
  --color-gold: #E6AD52;
  --color-white: #ffffff;

  --dir-1: #30438D;
  --dir-2: #64279C;
  --dir-3: #007257;
  --dir-4: #FA7627;
  --dir-5: #1474AF;

  /* Section 2~6 (상세) 공통
     아래 4개 값은 각 Section 이 자기 디렉터 컬러로 덮어쓴다.
     (기본값 = Section 2 / --dir-1 계열) */
  --gnb-h: 48px;
  --detail-point: #8FA2EA;   /* 제목 포인트 · 태그 글자 */
  --detail-tag-bd: #3C4D90;  /* 태그 테두리 */
  --detail-tag-bg: #161E3B;  /* 태그 배경 */
  --detail-cta: #2A3A7A;     /* 상담 CTA 배경 */
  --detail-cta-hover: #35489A;
  --detail-bigtext: rgba(255,255,255,0.1); /* 인물 뒤 대형 배경 텍스트 */

  /* 하단 영역(디렉터 카드 + 안내바) 높이
     - min(27vw, 48vh) : 가로/세로 중 더 빡빡한 쪽을 따라가 화면을 넘지 않게 함
     - 1920 기준 약 518px, 해상도가 줄면 비례 축소되되 320px 아래로는 안 내려감 */
  --directors-h: clamp(240px, min(27vw, 48vh), 540px);
  --guidebar-h: 44px;

  --font-body: 'Pretendard', 'Noto Sans KR', -apple-system, sans-serif;
  --font-display: 'Pretendard', Arial, Helvetica, sans-serif;
  --font-hand: 'IncheonEducation', cursive;
}

/* ==========================================================
   타이포 스케일 (9단계)
   - 크기 조정은 --fs-1 ~ --fs-9 값만 바꾸면 전체에 반영된다.
   - PC 는 화면 폭에 따라 유동(clamp), 괄호 안 최대값이 1920 기준 크기.
   - 모바일(768px 미만)은 PC 최대값의 100% 또는 50% 두 가지뿐.
   ========================================================== */
:root {
  --fs-1: 12px;                        /* 최소 라벨 · 직급 */
  --fs-2: clamp(12px, 0.8vw, 15px);   /* 보조 텍스트 · 태그 */
  --fs-3: clamp(14px, 0.95vw, 18px);   /* 메뉴 · 리스트 항목 */
  --fs-4: clamp(16px, 1.10vw, 21px);   /* 강조 배지 · CTA */
  --fs-5: clamp(18px, 1.30vw, 25px);   /* 이름(소) · 보조 설명 */
  --fs-6: clamp(19px, 1.55vw, 30px);   /* 카피 · 설명문 */
  --fs-7: clamp(22px, 2.2vw, 45px);   /* 디렉터 이름 */
  --fs-8: clamp(26px, 3.2vw, 54px);   /* 섹션 타이틀 */
  --fs-9: clamp(32px, 3.9vw, 68px);   /* 타이틀 */
  --fs-10: clamp(140px, 15vw, 288px);   /* 대형 배경 키워드 */

  /* 대형 배경 키워드는 섹션마다 글자 수가 달라 배율만 따로 준다 */
  --bigtext-scale: 1;
}


* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--color-black);
  font-family: var(--font-body);
  color: var(--color-white);
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ----------------------------------------------------------
   0. fullPage.js 섹션 공통
   verticalCentered:false 로 초기화하므로 .fp-tableCell 래퍼가
   생기지 않고, .section 이 곧바로 flex 컨테이너가 된다.
---------------------------------------------------------- */
#fullpage .section {
  position: relative;
  height: 100vh;
  padding: 0;
}

/* Section 1 : 상단(가변) + 하단(고정) 2분할 */
#section1 {
  display: flex;
  flex-direction: column;
  background: var(--color-black);
  overflow: hidden;
}

/* Section 2~6 : 상세 화면 공통 */
.detail {
  background: #000;
  overflow: hidden;
}

/* ----------------------------------------------------------
   섹션별 포인트 컬러
   Section 1 디렉터 카드 컬러(--dir-1~5)에서 파생시킨 값으로,
   각 Section 안의 태그 / 제목 포인트 / CTA / GNB active 에 일괄 적용된다.
   색을 바꾸려면 --dir-N 과 아래 4줄만 함께 수정하면 됨.
---------------------------------------------------------- */

/* Section 2 : 산업단지 태양광 (--dir-1 #30438D) */
#section2 {
  --detail-point:     #8FA2EA;
  --detail-tag-bd:    #3C4D90;
  --detail-tag-bg:    #161E3B;
  --detail-cta:       #2A3A7A;
  --detail-cta-hover: #35489A;
}

/* Section 3 : 정부지원사업 (--dir-2 #64279C) */
#section3 {
  --detail-point:     #BF85F4;
  --detail-tag-bd:    #6B349E;
  --detail-tag-bg:    #2A123F;
  --detail-cta:       #572288;
  --detail-cta-hover: #6C2CA9;
}

/* Section 4 : RE100·ESG (--dir-3 #007257) */
#section4 {
  --detail-point:     #7AFFE0;
  --detail-tag-bd:    #0A775D;
  --detail-tag-bg:    #034E3D;
  --detail-cta:       #008565;
  --detail-cta-hover: #00A67E;
}

/* Section 5 : AI O&M·안전 (--dir-4 #FA7627) */
#section5 {
  --detail-point:     #FFAC7A;
  --detail-tag-bd:    #D35E17;
  --detail-tag-bg:    #4D2005;
  --detail-cta:       #E05705;
  --detail-cta-hover: #FA7627;
}

/* Section 6 : 영업·파트너 (--dir-5 #1474AF) */
#section6 {
  --detail-point:     #7ACDFF;
  --detail-tag-bd:    #237AAF;
  --detail-tag-bg:    #0B3047;
  --detail-cta:       #116598;
  --detail-cta-hover: #1585C7;
}

/* 아직 내용을 채우지 않은 Section 3~6 자리 */
.detail.is-empty {
  background: #14181f;
}

/* ----------------------------------------------------------
   1. 상단 영역 (타이틀 + 선물 배너) - 남는 높이를 전부 차지
---------------------------------------------------------- */
.hero-upper {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__dim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,.9) 55%, rgba(0,0,0,.85) 100%);
}

.hero__top {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 64px 0;
}

.hero__logo {
  height: 42px;
  width: auto;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,.9);
  white-space: nowrap;
  margin-top: 8px;
}

.hero__meta-divider {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,.4);
}

/* 로고/날짜 아래 남는 공간을 채우고, 그 안에서 세로 중앙 정렬 */
.hero__body {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 64px;
  gap: 40px;
}

.hero__main {
  width: 65%;
  max-width: 820px;
}

/* 배지 + 첫 줄 카피 (PC : 가로 한 줄) */
.hero__lead {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 12px;
}

.hero__eyebrow {
  margin: 0;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: -0.5px;
}

.hero__title {
  margin: 0 0 26px;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.hero__title-gold,
.hero__title-white {
  display: block;
}

.hero__title-gold { color: var(--color-gold); }
.hero__title-white { color: var(--color-white); }

.hero__sub {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- 사전예약 한정 배지 ----
   PC / 모바일 공통 : 골드 채움(A) + 빛 스윕(C)
   모바일은 여기에 말풍선 꼬리만 추가된다 (하단 미디어쿼리)
   - 반짝임은 ::before, 말풍선 꼬리는 ::after 로 분리해
     overflow 충돌 없이 둘을 동시에 쓸 수 있게 했다. */
.hero__badge {
  position: relative;
  flex-shrink: 0;
  overflow: visible;
  padding: 5px 12px;
  border: 1px solid var(--color-gold);
  border-radius: 4px;
  background: var(--color-gold);
  color: #16171A;
  font-weight: 700;
  letter-spacing: -0.3px;
  box-shadow: 0 4px 14px rgba(230,173,82,.28);
}

/* 빛이 좌 → 우로 스윽 지나가는 효과
   (요소를 움직이지 않고 배경만 이동시키므로 배지 밖으로 새지 않는다) */
.hero__badge::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: linear-gradient(
    100deg,
    rgba(255,255,255,0) 38%,
    rgba(255,255,255,.8) 50%,
    rgba(255,255,255,0) 62%
  );
  background-size: 300% 100%;
  background-repeat: no-repeat;
  background-position: 150% 0;
  animation: badgeShine 2.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes badgeShine {
  0%   { background-position: 150% 0; }
  40%  { background-position: -50% 0; }
  100% { background-position: -50% 0; }
}
.hero__sub-text {
  font-weight: 600;
  color: var(--color-white);
}

/* 날짜 / 장소 사이 얇은 세로 구분선 */
.hero__sub-divider {
  display: inline-block;
  width: 1px;
  height: 0.85em;
  margin: 0 0.7em;
  vertical-align: -0.08em;
  background: rgba(255,255,255,.35);
}

/* ---- Special Gift 카드 ---- */
.gift-card {
  flex-shrink: 0;
  width: 430px;
  min-height: 190px;
  background: #17181C;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 10px 26px 30px;

  /* 다크 배경 + 골드 테두리 (테두리 위를 빛이 훑고 지나간다) */
  position: relative;
  border: 2px solid rgba(230,173,82,1);
  box-shadow: 0 20px 40px rgba(0,0,0,.45),
              0 0 24px rgba(230,173,82,.10);
}

/* 테두리를 따라 흐르는 골드 반짝임
   inset 사각형에서 안쪽을 mask 로 파내 '테두리 모양'만 남긴다 */
.gift-card::after {
  content: "";
  position: absolute;
  /* 절대배치 기준은 padding box 이므로, 테두리 두께만큼 밖으로 넓혀
     border box 에 정확히 겹치게 한다 (안쪽에 이중선이 생기지 않도록) */
  inset: -2px;
  border-radius: inherit;
  padding: 2px;                       /* = 테두리 두께 */
  background-image: linear-gradient(
    100deg,
    rgba(255,214,130,0)   40%,
    rgba(255,236,190,1)   47%,
    rgba(255,255,255,1)   50%,
    rgba(255,236,190,1)   53%,
    rgba(255,214,130,0)   60%
  );
  background-size: 300% 100%;
  background-repeat: no-repeat;
  background-position: 150% 0;
  animation: badgeShine 3.2s ease-in-out infinite;

  -webkit-mask: linear-gradient(#000 0 0) content-box,
                linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box,
                linear-gradient(#000 0 0);
          mask-composite: exclude;

  pointer-events: none;
}

/* mask 미지원 브라우저에서는 사각형이 그대로 덮이므로 효과를 끈다 */
@supports not ((-webkit-mask-composite: xor) or (mask-composite: exclude)) {
  .gift-card::after { display: none; }
}

.gift-card__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gift-card__eyebrow {
  margin: 0;
  font-family: var(--font-hand);
  color: var(--color-gold);
  line-height: 1.15;
}

.gift-card__main {
  margin: 0;
  line-height: 1.2;
  color: var(--color-white);
  font-weight: 500;
}

.gift-card__main strong {
  font-weight: 700;
}

.gift-card__badge {
  margin-top: 10px;
  display: inline-block;
  width: fit-content;
  padding: 5px 12px;
  border: 1px solid rgba(230,173,82,.5);
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(230,173,82,.9);
}

.gift-card__image {
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gift-card__image img {
  width: 100%;
  max-width: 150px;
  height: auto;
  object-fit: contain;
}

/* ----------------------------------------------------------
   2. 하단 영역 (디렉터 카드 + 안내바) - 화면 맨 아래에 고정
---------------------------------------------------------- */
.hero-lower {
  flex: 0 0 auto;
  width: 100%;
}

.directors {
  display: flex;
  width: 100%;
  height: var(--directors-h);
}

.director-card {
  position: relative;
  flex: 1 1 0;
  height: 100%;
  overflow: hidden;
  display: block;
  cursor: pointer;
  transition: background-color .35s ease;
}

.director-card:focus { outline: none; }

/* 각 카드 컬러는 --card-color 로도 노출해 모바일 레이아웃(컬러바·아바타 링·
   카테고리 텍스트·셰브론)에서 그대로 재사용한다 */
.director-1 { --card-color: var(--dir-1); background-color: var(--card-color); }
.director-2 { --card-color: var(--dir-2); background-color: var(--card-color); }
.director-3 { --card-color: var(--dir-3); background-color: var(--card-color); }
.director-4 { --card-color: var(--dir-4); background-color: var(--card-color); }
.director-5 { --card-color: var(--dir-5); background-color: var(--card-color); }

/* 모바일 전용 블록 : PC 에서는 숨김 */
.director-card__mobile { display: none; }

.director-card__question {
  position: relative;
  z-index: 3;
  margin: 26px 0 0;
  padding: 0 12px;
  font-family: var(--font-hand);
  line-height: 1.35;
  letter-spacing: -0.3px;
  color: var(--color-white);
  text-align: center;
  transition: opacity .25s ease;
}
.director-card__figure {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 78%;
  height: 84%;
}

.director-card__figure img {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 90%;
  height: 90%;
  object-fit: contain;
  object-position: bottom;
  transition: opacity .35s ease;
}

/* 2번 카드만 인물 사진이 2인(1258x991)이라 가로가 1.5배 넓다.
   object-fit:contain 은 가로 기준으로 맞춰지므로 그대로 두면 인물이 34% 작아진다.
   이미지 비율만큼 figure 를 넓혀 인물 크기를 나머지 카드와 동일하게 맞춘다.
   (넘치는 폭은 .director-card 의 overflow:hidden 이 잘라냄)
   ※ 사진을 교체해 가로 비율이 달라지면 아래 1258 / 834 만 바꾸면 됨 */
.director-2 .director-card__figure {
  width: calc(78% * 1258 / 834);   /* ≈ 117.7% */
}

.director-card__figure .is-default { opacity: 1; z-index: 1; }
.director-card__figure .is-hover   { opacity: 0; z-index: 2; }

.director-card__gradient {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 45%;
  z-index: 3;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.85) 0%,
    rgba(0,0,0,.4) 55%,
    rgba(0,0,0,0) 100%
  );
  transition: opacity .25s ease;
  pointer-events: none;
}

.director-card__info {
  position: absolute;
  left: 0; right: 0; bottom: 22px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: opacity .2s ease;
}

.director-card__role {
  margin: 0;
  font-weight: 500;
  color: rgba(255,255,255,.9);
}

.director-card__divider {
  width: 22px;
  height: 1px;
  background: rgba(255,255,255,.6);
}

.director-card__name {
  margin: 0;
  font-weight: 600;
  color: var(--color-white);
}

/* CTA (hover 시에만 노출) */
.director-card__cta {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 78%;
  max-width: 200px;
  opacity: 0;
  pointer-events: none;
}

.director-card__btn {
  display: block;
  width: 100%;
  padding: 13px 0;
  text-align: center;
  font-weight: 700;
  border-radius: 4px;
  color: var(--color-white);
  opacity: 0;
  transform: translateY(15px);
  transition: opacity .35s ease, transform .35s ease;
}

.director-card__btn--dark { background: rgba(0,0,0,.75); }
.director-card__btn--gold {
  background: var(--color-gold);
  color: #16171A;              /* 골드 배경 위 가독성 */
}

/* ---- Hover / Active(터치) 상태 ---- */
.director-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0,0,0,0);
  transition: background-color .35s ease;
  pointer-events: none;
}

.director-card:hover,
.director-card:focus-visible,
.director-card.is-active {
  background-color: var(--color-hover-bg);
}

.director-card:hover::before,
.director-card:focus-visible::before,
.director-card.is-active::before {
  background: rgba(0,0,0,.65);
}

.director-card:hover .director-card__figure .is-default,
.director-card:focus-visible .director-card__figure .is-default,
.director-card.is-active .director-card__figure .is-default {
  opacity: 0;
}

.director-card:hover .director-card__figure .is-hover,
.director-card:focus-visible .director-card__figure .is-hover,
.director-card.is-active .director-card__figure .is-hover {
  opacity: 1;
}

.director-card:hover .director-card__question,
.director-card:hover .director-card__gradient,
.director-card:hover .director-card__info,
.director-card:focus-visible .director-card__question,
.director-card:focus-visible .director-card__gradient,
.director-card:focus-visible .director-card__info,
.director-card.is-active .director-card__question,
.director-card.is-active .director-card__gradient,
.director-card.is-active .director-card__info {
  opacity: 0;
  pointer-events: none;
}

.director-card:hover .director-card__cta,
.director-card:focus-visible .director-card__cta,
.director-card.is-active .director-card__cta {
  opacity: 1;
  pointer-events: auto;
}

.director-card:hover .director-card__btn,
.director-card:focus-visible .director-card__btn,
.director-card.is-active .director-card__btn {
  opacity: 1;
  transform: translateY(0);
}

.director-card:hover .director-card__btn--gold,
.director-card:focus-visible .director-card__btn--gold,
.director-card.is-active .director-card__btn--gold {
  transition-delay: .06s;
}

/* ---- 안내 바 ---- */
.guide-bar {
  width: 100%;
  height: var(--guidebar-h);
  background: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.guide-bar__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-bar__icon img {
  width: 100%;
  height: 100%;
}

.guide-bar__text {
  margin: 0;
  color: rgba(255,255,255,.85);
}

.guide-bar__text strong {
  color: var(--color-gold);
  font-weight: 700;
}

/* ==========================================================
   SECTION 2~6 : 상세 화면 (공통 틀)
   ========================================================== */

/* ----------------------------------------------------------
   A. 상단 고정 메뉴바 (GNB)
   Section 1 에서는 숨기고, Section 2 진입부터 노출된다.
---------------------------------------------------------- */
.gnb {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--gnb-h);
  display: flex;
  align-items: stretch;
  background: #0A0A0C;

  /* 기본은 숨김 → app.js 가 .is-visible 을 붙여 노출 */
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}

.gnb.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.gnb__home {
  flex: 0 0 auto;
  width: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease;
}

.gnb__home:hover { background: #17171B; }

.gnb__home img {
  width: 22px;
  height: 22px;
}

.gnb__list {
  flex: 1 1 auto;
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gnb__list > li {
  flex: 1 1 0;
  display: flex;
}

.gnb__item {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  white-space: nowrap;
  transition: background-color .25s ease;
}

.gnb__item:hover { background: #17171B; }

.gnb__field {
  font-weight: 700;
  color: var(--color-white);
}

.gnb__name {
  font-weight: 400;
  color: rgba(255,255,255,.72);
}

/* 현재 보고 있는 Section 에 해당하는 메뉴
   GNB 는 .section 바깥에 있어 섹션 변수를 상속받지 못하므로,
   app.js 가 붙여주는 data-active 값으로 컬러를 매칭한다. */
.gnb__item.is-active,
.gnb__item.is-active:hover {
  background: var(--dir-1);
}

.gnb[data-active="director-industrial"] .gnb__item.is-active { background: var(--dir-1); }
.gnb[data-active="director-support"]    .gnb__item.is-active { background: var(--dir-2); }
.gnb[data-active="director-esg"]        .gnb__item.is-active { background: var(--dir-3); }
.gnb[data-active="director-om"]         .gnb__item.is-active { background: var(--dir-4); }
.gnb[data-active="director-partner"]    .gnb__item.is-active { background: var(--dir-5); }

/* ----------------------------------------------------------
   B. 레이어 순서
   1 배경 → 2 그라디언트 → 3 대형 배경텍스트 → 4 인물
   → 5 우측 하단 디렉터 정보 → 6 좌측 콘텐츠
---------------------------------------------------------- */
.detail__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.detail__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to right,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 50%,
    rgba(0,0,0,.5) 100%
  );
}

/* ---- 3. 인물 뒤 대형 배경 텍스트 ----
   .detail__bigtext      : 위치를 잡는 컨테이너
   .detail__bigtext-key  : 실제 키워드 1개
   Section 3 은 두 사람의 키워드가 각각 존재하므로 key 를 2개 둔다
   (<br> 로 줄만 나눈 게 아니라 서로 독립된 요소) */
.detail__bigtext {
  position: absolute;
  z-index: 3;
  left: 28%;
  top: 34%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--detail-bigtext);
  user-select: none;
  pointer-events: none;
}

.detail__bigtext-key {
  display: block;
  white-space: nowrap;
}

/* 키워드가 2개인 Section : 각 인물이 선 쪽으로 좌/우로 벌려 배치한다
   (1번째 = 왼쪽 사람 / 2번째 = 오른쪽 사람) */
.detail__bigtext--duo {
  left: 42%;
  right: 3%;
  line-height: .86;
}

.detail__bigtext--duo .detail__bigtext-key:nth-child(1) { align-self: flex-start; }
.detail__bigtext--duo .detail__bigtext-key:nth-child(2) { align-self: flex-end; }

/* ---- 4. 인물 이미지 ---- */
.detail__person {
  position: absolute;
  z-index: 4;
  bottom: 0;
  left: 45%;
  height: 90%;
}

.detail__person img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: bottom;
}

/* ---- 5. 우측 하단 Director 정보 ---- */
.detail__director {
  position: absolute;
  z-index: 5;
  right: 5%;
  bottom: 5%;
}

.detail__copy {
  display: block;
  margin: 0 0 14px;
  width: clamp(220px, 21vw, 400px);
  height: auto;
}

/* 직책 + 이름 : 하나의 텍스트 블록으로 묶어 필기체 이미지보다 안쪽으로 들여쓴다
   (들여쓰기 양은 이 padding-left 하나만 조정하면 됨) */
.detail__director-text {
  padding-left: 40px;
}

.detail__director-role {
  margin: 0 0 clamp(3px, .6vh, 6px);
  font-weight: 700;
  color: rgba(255,255,255,.92);
}

.detail__director-name {
  margin: 0;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-white);
}

.detail__director-rank {
  margin-left: 8px;
  font-weight: 600;
}

/* 2인이 함께 표기되는 경우 (Section 3) */

.detail__director-sep {
  margin: 0 10px;
  font-weight: 500;
  color: rgba(255,255,255,.6);
}

/* ---- 5-b. 디렉터가 2명인 Section(3) : 인물 좌/우로 정보 분리 ---- */
.detail__director--pair {
  left: 45%;
  right: 5%;
  width: auto;
  bottom: 4%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2%;
  text-align: center;
}

.detail__director-unit {
  flex: 0 1 auto;
  width: 47%;
  max-width: 360px;
}

.detail__director--pair .detail__copy {
  width: 100%;
  margin: 0 auto clamp(8px, .8vw, 14px);
}

.detail__director--pair .detail__director-text { padding-left: 0; }




/* ---- 5-c. QR 코드 : PC 우측 상단 ---- */
.detail__qr {
  position: absolute;
  z-index: 6;
  top: calc(var(--gnb-h) + clamp(16px, 2.2vw, 40px));
  right: clamp(20px, 3.3vw, 64px);
  padding: clamp(6px, 0.55vw, 11px);
  background: #fff;
  border-radius: 5px;                 /* 아주 살짝만 */
  box-shadow: 0 6px 18px rgba(0,0,0,.38);
  line-height: 0;
}

.detail__qr img {
  display: block;
  width: clamp(100px, 5.4vw, 128px);   /* 스캔 가능한 최소 크기 확보 */
  height: auto;
}

/* ---- 6. 좌측 콘텐츠 ---- */
.detail__contents {
  position: absolute;
  z-index: 6;
  left: 4.2%;
  top: 50%;
  transform: translateY(-50%);
  /* 1920 기준 좌측 80px ~ 802px = 722px 폭. CTA 버튼이 이 폭을 그대로 채운다 */
  width: 37.6%;
  max-width: 820px;
  padding-top: var(--gnb-h);
}

/* 카테고리 태그 */
.detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.detail__tag {
  padding: 7px 14px;
  border: 1px solid var(--detail-tag-bd);
  border-radius: 4px;
  background: var(--detail-tag-bg);
  color: var(--detail-point);
  font-weight: 600;
}

/* 메인 제목 */
.detail__title {
  margin: 0 0 26px;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.03em;
  color: var(--color-white);
}

.detail__title-point { color: var(--detail-point); }

/* 설명문 */
.detail__desc {
  margin: 0 0 40px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255,255,255,.92);
}

/* 체크 리스트 */
.detail__checklist {
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.14);
}

.detail__checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: clamp(7px, 1.5vh, 14px) 4px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.detail__checklist li img {
  flex: 0 0 auto;
  width: clamp(14px, 1vw, 19px);
  height: auto;
}

.detail__checklist li span {
  font-weight: 500;
  color: rgba(255,255,255,.9);
}

/* 상담 CTA
   1920 기준 실측 : 폭 722px / 높이 96px / 내용 정중앙 정렬
   배경색은 섹션별 --detail-cta 변수를 따른다 */
.detail__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.05vw, 20px);

  width: 100%;                        /* .detail__contents 폭에 꽉 채움 */
  height: clamp(44px, 5vw, 96px);     /* 1920 → 96px */
  min-height: 44px;
  max-height: 96px;

  border-radius: 4px;
  background: var(--detail-cta);

  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-white);
  transition: background-color .25s ease;
}

.detail__cta img {
  flex: 0 0 auto;
  width: clamp(22px, 2.8vw, 54px);    /* 1920 → 54px 원형 아이콘 */
  height: auto;
  transition: transform .25s ease;
}

.detail__cta:hover {
  background: var(--detail-cta-hover);
}

.detail__cta:hover img { transform: translateX(4px); }

/* ----------------------------------------------------------
   3. RESPONSIVE
---------------------------------------------------------- */
@media (max-width: 1400px) {
  .hero__top { padding: 20px 40px 0; }
  .hero__body { padding: 0 40px; gap: 28px; }
  .gift-card { width: 380px; min-height: 170px; padding: 22px 8px 22px 24px; }

  /* 상세: 인물이 좌측 텍스트를 덮지 않도록 살짝 우측으로 */
  .detail__person { left: 48%; height: 86%; }
  .detail__contents { width: 42%; }
  .detail__checklist li { padding: 11px 4px; }
}

@media (max-width: 1200px) {
  /* --directors-h / question 폰트는 상단 clamp 가 이미 비례 축소를 처리하므로
     여기서 고정값으로 덮어쓰지 않는다 */
  .gift-card { width: 320px; min-height: 155px; }
  .director-card__question { margin-top: 18px; }
  .director-card__role { }

  /* 상세 */
  :root { --gnb-h: 46px; }
  .gnb__item { flex-direction: column; gap: 1px; justify-content: center; }
  .detail__person { left: 52%; height: 78%; }
  .detail__contents { width: 48%; }
  .detail__director-text { padding-left: 26px; }
  .detail__bigtext { left: 24%; }
  .detail__copy { width: clamp(180px, 24vw, 300px); }
  .detail__checklist { margin-bottom: 26px; }
  .detail__desc { margin-bottom: 28px; }
}

/* 태블릿/모바일 : fullPage 자동스크롤을 끄고 일반 문서 흐름으로 전환 */
@media (max-width: 768px) {
  /* [SNAP] 모바일 스냅 ON : 섹션을 100vh 로 고정
     롤백하려면 이 블록을 { height: auto; } 로 되돌리고
     app.js 의 responsiveWidth 주석을 해제하면 됨 */
  #fullpage .section { height: 100vh; }

  #section1 {                      /* [SNAP] */
    display: flex;
    flex-direction: column;
  }

  /* ==========================================================
     [Mobile] Section 1 : 히어로
     뱃지 → 타이틀 → 서브카피 순으로 중앙 정렬,
     선물 배너는 타이틀 아래 풀블리드로 이동
     ========================================================== */
  .hero-upper {                    /* [SNAP] */
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .hero__top {
    padding: clamp(8px, 1.8vh, 15px) 17px 0;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
  }

  .hero__logo { height: 31px; }

  .hero__meta {
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin-top: 0;
    line-height: 1.45;
  }

  .hero__meta-divider { display: none; }

  /* [SNAP] hero__body 래퍼를 레이아웃에서 빼내
     .hero__main 과 .gift-card 를 .hero-upper 의 직계 flex 항목으로 만든다.
     → 카피는 남는 공간에서 세로 중앙, 배너는 하단 고정 */
  .hero__body { display: contents; }

  /* 순서 재배치 : 뱃지(=.hero__sub) → 타이틀 → 서브카피 */
  .hero__main {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    /* 남는 높이를 전부 차지하고 그 안에서 세로 중앙 정렬 */
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 14px;
  }

  /* 래퍼를 풀어 배지·카피를 각각 독립 배치 */
  .hero__lead { display: contents; }

  .hero__badge {
    order: 1;
    align-self: center;
    margin-bottom: clamp(4px, 1.1vh, 12px);
  }

  /* 모바일에서는 .hero__sub 안의 보조 문구를 쓰지 않으므로 숨김 */
  .hero__sub { display: none; }

  .hero__title {
    order: 2;
    margin: 0 0 clamp(6px, 1.6vh, 18px);
    line-height: 1.08;
  }

  /* 모바일에서는 타이틀 아래 문구로 .hero__sub-text 를 쓴다 */
  .hero__eyebrow { display: none; }

  .hero__sub {
    display: flex;
    order: 3;
    justify-content: center;
    margin: 0;
  }

  .hero__sub-text {
    display: inline;
    font-weight: 700;
    letter-spacing: -0.4px;
  }

  /* 모바일 배지 : 말풍선 + 반짝임(PC 와 동일) */
  .hero__badge {
    padding: 4px 12px;
  }

  /* ::after 는 말풍선 꼬리 전용 (반짝임은 ::before 가 담당) */
  .hero__badge::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 0;
    height: 0;
    margin-top: -1px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 9px solid var(--color-gold);
    transform: translateX(-50%);
    pointer-events: none;
  }

  /* ---- 선물 배너 : 풀블리드 다크 바 ---- */
  .gift-card {
    position: relative;
    z-index: 2;
    order: 2;
    flex: 0 0 auto;
    width: 100%;                /* 래퍼가 없으므로 그대로 풀블리드 */
    height: clamp(48px, 8.3vh,80px);
    min-height: 48px;
    margin: 0;                  /* 카드 목록에 여백 없이 붙음 */
    padding: 0 18px;
    border-radius: 0;
    background: #0C1C3D;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    overflow: visible;
    border: 0;
    border-bottom: 2px solid rgba(230,173,82,1);
  }
  /* 반짝임도 하단 라인만 훑도록 */
  .gift-card::after {
    inset: auto 0 -2px 0;   /* 하단에만 붙임 */
    height: 2px;
    padding: 0;             /* 링이 아니라 단일 라인 */
    border-radius: 0;
    -webkit-mask: none;
            mask: none;     /* 도려낼 안쪽이 없으므로 해제 */
  }
  .gift-card__image {
    order: -1;          /* 이미지를 텍스트 왼쪽으로 */
    width: auto;
    flex: 0 0 auto;
  }

  .gift-card__image img {
    width: clamp(76px, 23vw, 96px);
    max-width: none;
    margin-top: 20px;
  }

  .gift-card__text { gap: 2px; }

  .gift-card__eyebrow {
    color: var(--color-gold);
  }

  .gift-card__main {
    line-height: 1.3;
    color: var(--color-white);
  }

  .gift-card__main br { display: none; }
  .gift-card__main strong { margin-left: .3em; font-size: inherit; }
  .gift-card__badge { display: none; }

  /* ---- 모바일 GNB : 가로 스크롤 단일 행 (44px) ----
     세로 2~3행으로 쌓이던 구조를 한 줄로 눕히고,
     넘치는 메뉴는 좌우 스와이프로 접근한다. */
  :root { --gnb-h: 44px; }

  .gnb {
    height: var(--gnb-h);
    flex-direction: row;
    align-items: stretch;
  }

  .gnb__home {
    flex: 0 0 44px;
    width: 44px;
    border-right: 1px solid rgba(255,255,255,.1);
  }

  .gnb__home img { width: 19px; height: 19px; }

  .gnb__list {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .gnb__list::-webkit-scrollbar { display: none; }

  .gnb__list > li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  /* 끝까지 스크롤했을 때 마지막 메뉴가 우측 페이드에 가리지 않도록 여유 */
  .gnb__list > li:last-child { margin-right: 28px; }

  .gnb__item {
    gap: 0;
    padding: 0 15px;
  }

  /* 좁은 폭에서는 분야명만 남긴다 */
  .gnb__name { display: none; }

  /* 우측 끝 페이드 : 더 있다는 신호 */
  .gnb::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 26px;
    height: 100%;
    background: linear-gradient(to right, rgba(10,10,12,0), #0A0A0C 80%);
    pointer-events: none;
    z-index: 3;
  }

  #fullpage .section.detail {
    position: relative;
    height: 100vh;                 /* [SNAP] */
    padding: calc(var(--gnb-h) + 32px) 20px 0 20px;
    display: flex;
    flex-direction: column;
  }

  #fullpage .section.detail.is-empty { height: 100vh; padding: 0; }

  /* ==========================================================
     [Mobile] Section 2~6 : 상세 화면
     PC 의 좌/우 분할을 상/하 분할로 전환.
       상단 : 태그 · 타이틀 · 설명 · 체크리스트 · CTA (문서 흐름)
       하단 : 대형 배경텍스트 + 인물(좌) + 디렉터 정보(우) 합성
     .detail 을 flex column 으로 두고 인물이 남는 높이를 먹게 해서,
     화면이 짧아지면 체크리스트가 아니라 인물이 먼저 줄어든다.
     ========================================================== */
  :root { --detail-pad-b: clamp(12px, 2.2vh, 22px); }

  /* 위→아래 그라디언트 (PC 는 좌→우) */
  .detail__overlay {
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,1)   0%,
      rgba(0,0,0,.97) 42%,
      rgba(0,0,0,.82) 62%,
      rgba(0,0,0,.55) 82%,
      rgba(0,0,0,.32) 100%
    );
  }

  /* ---- 상단 콘텐츠 ---- */
  .detail__contents {
    order: -1;                 /* DOM 상 마지막이지만 화면에서는 맨 위 */
    flex: 0 0 auto;
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: none;
    padding-top: 0;
  }

  .detail__tags { margin-bottom: clamp(2px, 0.5vh, 6px); gap: 7px; }
  .detail__tag  { padding: 5px 11px; }

  .detail__title {
    line-height: 1.24;
    margin-bottom: clamp(10px, 2.2vh, 18px);
  }

  .detail__desc {
    line-height: 1.5;
    margin-bottom: clamp(10px, 2.4vh, 20px);
    word-break: keep-all;
  }

  /* PC 기준으로 넣은 줄바꿈은 모바일 폭에서 어색하게 끊기므로 해제하고
     단어 단위로 자연스럽게 흐르게 한다 */
  .detail__desc br { display: none; }

  /* 체크리스트는 본문보다 한 단계 안쪽으로 */
  .detail__checklist {
    margin-left: 8px;
    margin-bottom: clamp(12px, 2.7vh, 22px);
  }

  .detail__checklist li {
    padding: clamp(3px, 0.75vh, 7px) 0 clamp(3px, 0.75vh, 7px) 12px;
    gap: 10px;
  }

  .detail__cta {
    height: clamp(40px, 6.1vh, 50px);
    min-height: 40px;
    gap: 10px;
  }

  .detail__cta img { width: clamp(20px, 6vw, 25px); }

  /* ---- 하단 : 인물 (남는 높이를 모두 차지 → 화면이 짧으면 인물이 먼저 줄어듦) ---- */
  .detail__person {
    order: 1;
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
    left: auto;
    width: 68%;
    height: auto;
    margin: -0.8vh 0 calc(-1 * var(--detail-pad-b));
    align-self: flex-start;
  }

  .detail__person img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left bottom;
  }

  /* ---- 하단 : 디렉터 정보 (우측 하단 고정) ---- */
  .detail__director {
    position: absolute;
    right: 7.4%;
    bottom: clamp(8px, 1.8vh, 18px);
    left: auto;
    width: 66%;
    margin-top: 0;
    text-align: right;
  }

  .detail__copy {
    width: 100%;
    max-width: 210px;
    margin: 0 0 clamp(4px, 1vh, 9px) auto;
  }

  .detail__director-text { padding-left: 0; }

  .detail__director-role { margin-bottom: 2px; }
  .detail__director-rank { }

  /* 디렉터 2명 Section(3) : 인물을 가운데 두고 정보를 좌/우로 */
  #section3 .detail__person {
    width: 76%;
    align-self: center;
  }

  #section3 .detail__person img { object-position: center bottom; }

  .detail__director--pair {
    left: 4%;
    right: 4%;
    width: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 4%;
    text-align: center;
  }

  .detail__director--pair .detail__director-unit { width: 48%; }

  .detail__director--pair .detail__copy {
    width: 100%;
    max-width: none;
    margin: 0 auto clamp(3px, .8vh, 7px);
  }

  .detail__director--pair .detail__director-role {
    margin-bottom: 1px;
  }

  .detail__director--pair .detail__director-rank {
    margin-left: 3px;
  }

  /* ==========================================================
     [Mobile] Section 1 : 디렉터 리스트
     PC 의 가로 5분할 → 세로 리스트. 카드 내부는
     [컬러바][아바타][카테고리/질문/이름][셰브론] 4존 구성
     ========================================================== */
  .directors {
    flex-direction: column;
    height: auto;
    background: #fff;
  }

  /* PC 전용 요소는 모두 숨김 */
  .director-card__question,
  .director-card__figure,
  .director-card__gradient,
  .director-card__info,
  .director-card__cta {
    display: none;
  }

  .director-card,
  .director-card:hover,
  .director-card:focus-visible,
  .director-card.is-active {
    flex: none;
    width: 100%;
    height: auto;
    min-height: clamp(62px, 10.2vh, 88px);
    background: #fff;
  }

  .director-card + .director-card { border-top: 1px solid #EDEFF2; }

  .director-card:active { background: #F5F6F8; }

  /* ::before 를 좌측 컬러바로 전환 (PC 의 hover 딤 오버레이 역할 해제) */
  .director-card::before,
  .director-card:hover::before,
  .director-card:focus-visible::before,
  .director-card.is-active::before {
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--card-color);
  }

  /* ---- 카드 내부 ---- */
  .director-card__mobile {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: clamp(62px, 10.2vh, 88px);
    padding: clamp(8px, 1.4vh, 12px) 12px clamp(8px, 1.4vh, 12px) 18px;
  }

  /* 아바타 */
  .director-card__avatar {
    position: relative;
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
  }

  .director-card__avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    background: #EDEFF2;
    border: 2px solid var(--card-color);
  }

  /* 2인 카드 : 살짝 겹친 원 2개 (합쳐서 58px 폭 유지) */
  .director-card__avatar--duo img {
    position: absolute;
    top: 50%;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
  }

  .director-card__avatar--duo img:nth-of-type(1) { left: 0;    z-index: 2; }
  .director-card__avatar--duo img:nth-of-type(2) { left: 18px; z-index: 1; }

  /* 텍스트 3단 */
  .director-card__m-text {
    flex: 1 1 auto;
    min-width: 0;
  }

  .director-card__m-cat {
    margin: 0;
    font-weight: 500;
    letter-spacing: -0.2px;
    color: var(--card-color);
  }

  .director-card__m-title {
    margin: 0 0 2px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.5px;
    word-break: keep-all;
    color: #16171A;
  }

  .director-card__m-name {
    margin: 0;
    font-weight: 400;
    letter-spacing: -0.2px;
    color: #8C919A;
  }

  .director-card__m-rank { margin-left: 4px; font-weight: 400; }
  .director-card__m-sep  { margin: 0 5px; color: #C3C7CD; }

  /* 셰브론 */
  .director-card__m-arrow {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--card-color);
  }

  .director-card__m-arrow svg {
    width: 20px;
    height: 20px;
  }

  /* QR : 영업직원 화면을 고객이 자기 폰으로 스캔하는 용도.
     인물 우측, CTA 버튼 아래 ~ 디렉터 정보 위의 빈 공간에 배치한다.
     (디렉터 정보 높이가 화면마다 달라 bottom 기준으로 고정) */
  .detail__qr {
    display: block;
    top: auto;
    bottom: clamp(126px, 18.5vh, 158px);
    right: clamp(12px, 4vw, 20px);
    padding: 8px;
    box-shadow: 0 4px 14px rgba(0,0,0,.45);
  }

  .detail__qr img {
    /* 스캔 가능한 최소선(약 1.5~2cm ≈ 56~76px)까지 축소.
       실기기 스캔 테스트 후 필요하면 min값 재조정 권장 */
    width: clamp(56px, min(15vw, 8vh), 76px);
  }

  /* 인물 뒤 대형 배경 키워드는 모바일에서 노출하지 않음 */
  .detail__bigtext { display: none; }

  .director-card__m-name { display: none; }

  /* 모바일 시안에는 하단 안내바가 없음 */
  .guide-bar { display: none; }
}

/* 초소형 단말(320px 등) : 질문 문구가 1줄로 유지되도록 여백·아바타 축소 */

/* 모션 최소화를 선호하는 사용자에게는 애니메이션 해제 */
@media (prefers-reduced-motion: reduce) {
  .hero__badge::before,
  .gift-card::after {
    animation: none !important;
  }
}

/* [SNAP] 세로가 짧은 단말 : 인물은 flex 로 자동 축소되므로 숨기지 않고,
   상단 콘텐츠의 세로 리듬만 한 단계 더 조인다 */


/* [SNAP] 초소형 단말(320x568 등) : 상세 섹션 텍스트까지 한 단계 더 압축 */


/* [SNAP] 세로가 짧은 단말 : 아바타 60px + 카드 5장 + 히어로가 100vh 에
   물리적으로 들어가지 않으므로, 이 구간에서만 카드 요소를 축소한다.
   (일반 스마트폰 세로 720px 이상에서는 적용되지 않음) */
@media (max-width: 767px) and (max-height: 720px) {
  .director-card__mobile { padding: 6px 12px 6px 16px; gap: 10px; }
  .director-card__avatar { flex: 0 0 52px; width: 52px; height: 52px; }
  .director-card__avatar--duo img { width: 42px; height: 42px; }
  .director-card__avatar--duo img:nth-of-type(2) { left: 15px; }
  .director-card__m-arrow { flex: 0 0 28px; width: 28px; height: 28px; }
  .director-card__m-arrow svg { width: 16px; height: 16px; }
  .director-card__m-cat { margin-bottom: 1px; }

  .gift-card { height: clamp(44px, 7.2vh, 70px); min-height: 44px; }

  /* 세로가 짧으면 CTA~디렉터 사이 여유가 100px 아래로 줄어든다 */
  .detail__qr { bottom: clamp(112px, 17.5vh, 126px); padding: 6px; }
  .detail__qr img { width: clamp(56px, 9vh, 76px); }
  .gift-card__image img { width: clamp(66px, 20vw, 96px); margin-top: 12px; }
  .hero__logo { height: 27px; }

  .hero__sub { margin-bottom: 2px; }
  .hero__title { margin-bottom: 4px; }
  .gift-card { }

  /* 상세 섹션도 함께 압축 */
  #fullpage .section.detail { padding-top: calc(var(--gnb-h) + 14px); }
  .detail__title  { margin-bottom: 8px; }
  .detail__desc   { margin-bottom: 10px; }
  .detail__checklist li { padding: 5px 0 5px 12px; }
  .detail__checklist { margin-bottom: 10px; }
  .detail__bigtext { bottom: clamp(96px, 18vh, 150px); }
  .detail__copy { max-width: 170px; }
}

@media (max-width: 360px) and (max-height: 640px) {
  #fullpage .section.detail { padding-left: 16px; padding-right: 16px; }
  .detail__tag { padding: 4px 9px; }
  .detail__title { line-height: 1.2; margin-bottom: 8px; }
  .detail__desc { line-height: 1.4; margin-bottom: 10px; }
  .detail__checklist li { padding: 5px 0 5px 10px; gap: 8px; }
  .detail__checklist { margin-bottom: 10px; }
  .detail__cta { height: 40px; min-height: 40px; }
  .detail__copy { max-width: 140px; margin-bottom: 5px; }
  .detail__director-name { }

  /* 히어로도 함께 압축 */
  .hero__top { padding: 6px 12px 0; }
  .hero__logo { height: 24px; }

  .hero__badge { padding: 4px 12px; }
  .hero__sub { margin-bottom: 3px; }
  .hero__title { margin-bottom: 5px; }
  .gift-card { height: 42px; min-height: 42px; }
  .gift-card__main { }
  .gift-card__image img { width: 58px; margin-top: 8px; }
}

/* [SNAP] 초소형(320x568 등) : 히어로를 한 단계 더 압축 */


/* ==========================================================
   타이포 스케일 적용
   요소별 크기는 여기 한 곳에서만 지정한다.
   ========================================================== */

/* --fs-2 : 최소 라벨 · 직급 */
.gnb__name,
.gift-card__badge,
.director-card__m-name,
.director-card__m-rank            { font-size: var(--fs-2); }

/* --fs-3 : 메뉴 · 리스트 항목 */
.gnb__field,
.director-card__btn,
.director-card__role,
.detail__checklist li span,
.director-card__m-cat,
.guide-bar__text,
.detail__director-rank,
.detail__director--pair .detail__director-rank,
.detail__tag            { font-size: var(--fs-3); }

/* --fs-4 : 강조 배지 · CTA */
.hero__meta,
.detail__director-role,
.director-card__m-title              { font-size: var(--fs-4); }

/* --fs-5 : 이름(소) · 보조 설명 */
.director-card__name,
.gift-card__main,
.hero__sub-text,
.detail__cta                   { font-size: var(--fs-5); }

/* --fs-6 : 카피 · 설명문 (모바일 50%) */
.hero__eyebrow,
.gift-card__eyebrow,
.director-card__question,
.detail__desc,
.detail__director-name,
.hero__badge                     { font-size: var(--fs-6); }

/* --fs-7 : 디렉터 이름 (모바일 50%) */
.director-card__question .big,
.detail__director--pair .detail__director-name   { font-size: var(--fs-7); }

/* --fs-7 : sec2~6 타이틀 */
.detail__title{ font-size: var(--fs-8); }

/* --fs-9 : 섹션 타이틀 (모바일 50%) */
.hero__title                    { font-size: var(--fs-9); }

/* --fs-10: 대형 배경 키워드 (모바일 50%) */
.detail__bigtext-key              { font-size: calc(var(--fs-10) * var(--bigtext-scale)); }

/* 글자 수가 많은 섹션은 배율만 낮춘다 */
#section3 { --bigtext-scale: .64; }   /* 10,000+ / 99% 2줄 */
#section4 { --bigtext-scale: 1.07; }  /* RE100 5자 */
#section5,
#section6 { --bigtext-scale: .78; }   /* 20 YEARS / PARTNERS 8자 */



/* ---- 모바일 전용 타이포 오버라이드 ----
    PC 비율은 그대로 두고 모바일에서만 조정한다 */
@media (max-width: 768px) {
.hero__meta { font-size: var(--fs-2); }
.gift-card__main { font-size: var(--fs-4); }   /* 모바일만 한 단계 작게 */
.detail__desc { font-size: var(--fs-5); }
}