/*
==================================================================
필라테스 호두 · 8월 해피타임 「오후의 여백」 전용 스타일
- happytime.html 에서만 로드된다. 다른 페이지에 영향 없음.
- 모든 규칙은 body.hp-page 스코프 또는 .hp- 접두 클래스로 격리.
- 확정 SNS 배너 5종(A4 / 페이스북 / 인스타 피드 / 인스타 스토리 /
  네이버 플레이스)의 시각 언어를 웹으로 이식한 것이다.
==================================================================
*/

/* ==================================================================
   1. 색 토큰
   pilates-variables.css 의 기존 변수에 먼저 매핑하고,
   대응 변수가 없는 것만 신규 정의한다. (중복 정의 금지)
   ------------------------------------------------------------------
   배너 원색          기존 변수              판정
   #0F2540 navy    → --deep-navy   #001F3F  근접 → 기존 사용
   #0A2240 navy    → --deep-navy   #001F3F  근접 → 기존 사용
                                            (푸터와 톤이 이어진다)
   #C9A227 gold    → --accent-gold #D4AF37  근접 → 기존 사용
   #996515 brown   → --golden-brown #996515 완전 일치 → 기존 사용
   #2C2C2C ink     → --charcoal-gray #2C2C2C 완전 일치 → 기존 사용
   #FAF8F3 cream   → 근접 변수 없음          신규 정의
   #6B7A8C muted   → 근접 변수 없음          신규 정의
   ================================================================== */
:root {
    --hp-cream:      #FAF8F3;                  /* 신규 — A4 배너 크림 */
    --hp-navy:       var(--deep-navy);         /* 대제목 · 세리프 숫자 */
    --hp-navy-deep:  var(--deep-navy);         /* 다크 섹션 배경 */
    --hp-gold:       var(--accent-gold);       /* 헤어라인 · pill 테두리 */
    --hp-brown:      var(--golden-brown);      /* 아이브로우 · 워드마크 */
    --hp-ink:        var(--charcoal-gray);     /* 본문 */
    --hp-muted:      #6B7A8C;                  /* 신규 — 보조 텍스트 */
    --hp-muted-onDark: #8C9BAD;                /* 딥네이비 위 muted (대비 5.5:1) */
    --hp-line:       rgba(212, 175, 55, .55);  /* 헤어라인 — A4 배너 실측 (229,206,132) */
    --hp-line-strong: rgba(212, 175, 55, .85); /* 조건 블록 위 짧은 선 — 배너 실측 (216,183,74) */
    --hp-hairline-ink: rgba(0, 31, 63, .16);   /* 폼 밑줄 등 중성 라인 */

    --hp-serif: 'Cormorant Garamond', 'Times New Roman', serif;
}

/* ==================================================================
   2. 페이지 기본
   ================================================================== */
body.hp-page {
    background-color: var(--hp-cream);
    color: var(--hp-ink);
    font-family: var(--font-korean);
    -webkit-font-smoothing: antialiased;
}

/* 헤더가 없으므로 상단 보정도 없다. 히어로가 화면 최상단에서 시작한다. */
body.hp-page main {
    padding-top: 0;
}

body.hp-page section[id] {
    scroll-margin-top: 24px;
}

/* ==================================================================
   3. (헤더 관련 규칙 삭제됨)
   랜딩 착지 전용 페이지라 공용 헤더를 주입하지 않는다.
   헤더 색상 보정 · 햄버거 바 · nav-active 규칙도 함께 제거했다.
   ================================================================== */

/* ==================================================================
   4. 모션
   허용 범위: 진입 시 8~12px 상승 + 페이드 220~320ms. 그 이상 금지.
   공용 pilates-common.js 의 IntersectionObserver(.reveal/.fade-in)를
   그대로 재사용하고, 값만 이 페이지 톤으로 낮춘다.
   ================================================================== */
body.hp-page .reveal,
body.hp-page .fade-in {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .3s ease-out, transform .3s ease-out;
}

body.hp-page .reveal.visible,
body.hp-page .fade-in.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    body.hp-page .reveal,
    body.hp-page .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==================================================================
   5. 레이아웃 — 8pt 그리드, 여백이 주인공
   ================================================================== */
.hp-section {
    padding: clamp(64px, 10vw, 120px) 24px;
}

.hp-section--tight {
    padding: clamp(48px, 7vw, 80px) 24px;
}

/* ①히어로 ↔ ②할인3단 은 배너에서 이어지는 한 덩어리다. 사이 여백을 좁힌다. */
.hp-section--joinBelow { padding-bottom: clamp(32px, 4vw, 56px); }
.hp-section--joinAbove { padding-top: clamp(32px, 4vw, 56px); }

.hp-wrap {
    max-width: 720px;
    margin: 0 auto;
}

.hp-wrap--wide {
    max-width: 860px;   /* 법정 고지 표 전용 */
    margin: 0 auto;
}

.hp-cream { background-color: var(--hp-cream); }
.hp-white { background-color: #FFFFFF; }

.hp-dark {
    background-color: var(--hp-navy-deep);
    color: #FFFFFF;
}

.hp-dark .hp-eyebrow  { color: var(--hp-gold); }
.hp-dark .hp-serif-sub,
.hp-dark .hp-display   { color: #FFFFFF; }
.hp-dark .hp-body      { color: rgba(255, 255, 255, .78); }
.hp-dark .hp-date      { color: rgba(255, 255, 255, .62); }
.hp-dark .hp-label     { color: var(--hp-gold); }

/* ==================================================================
   6. 골드 헤어라인 — 면으로 칠하지 않는다. 선으로만.
   ================================================================== */
.hp-rule {
    height: 1px;
    border: 0;
    background: var(--hp-line);
    max-width: min(720px, 84%);
    margin: 0 auto;
}

.hp-rule--short { max-width: 120px; background: var(--hp-line-strong); }
.hp-rule--full  { max-width: 100%; }

/* ==================================================================
   7. 타이포그래피
   ================================================================== */

/* ② 영문 아이브로우 */
.hp-eyebrow {
    font-family: var(--font-english);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .28em;
    font-size: clamp(11px, 1.1vw, 13px);
    color: var(--hp-brown);
    /* 자간 때문에 우측으로 밀리는 것을 보정 */
    text-indent: .28em;
}

/* ③ 영문 세리프 부제 */
.hp-serif-sub {
    font-family: var(--hp-serif);
    font-weight: 300;
    letter-spacing: .12em;
    font-size: clamp(19px, 3.4vw, 34px);
    line-height: 1.25;
    color: var(--hp-navy);
    text-indent: .12em;
}

/* ④ 한글 대제목 */
.hp-display {
    font-family: var(--font-korean);
    font-weight: 800;
    letter-spacing: -.02em;
    font-size: clamp(38px, 7.4vw, 84px);
    line-height: 1.14;
    color: var(--hp-navy);
}

.hp-display--sm {
    font-size: clamp(26px, 4.4vw, 38px);
    font-weight: 700;
}

/* 섹션 소제목 */
.hp-heading {
    font-family: var(--font-korean);
    font-weight: 700;
    letter-spacing: -.015em;
    font-size: clamp(20px, 3vw, 27px);
    line-height: 1.35;
    color: var(--hp-navy);
}

/* 영문 라벨 (HOURS / VALIDITY 등) */
.hp-label {
    font-family: var(--font-english);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .24em;
    font-size: 11px;
    color: var(--hp-brown);
    text-indent: .24em;
}

/* 본문 */
.hp-body {
    font-family: var(--font-korean);
    font-weight: 300;
    font-size: clamp(15px, 1.7vw, 17px);
    line-height: 1.85;
    color: var(--hp-ink);
}

.hp-body strong { font-weight: 500; }

.hp-note {
    font-family: var(--font-korean);
    font-weight: 300;
    font-size: clamp(12px, 1.4vw, 13px);
    line-height: 1.8;
    color: var(--hp-muted);
}

/* ⑥ 세리프 날짜 — em dash(—) 고정. 하이픈이나 물결로 바꾸지 않는다. */
.hp-date {
    font-family: var(--hp-serif);
    font-weight: 400;
    letter-spacing: .14em;
    font-size: clamp(14px, 2vw, 18px);
    color: var(--hp-muted);
    text-indent: .14em;
}

/* ==================================================================
   8. ⑤ 회차 pill + 세리프 숫자 — 이번 캠페인의 핵심 자산
   모바일에서도 3단을 가로로 유지한다. 세로로 쌓지 않는다.
   ================================================================== */
.hp-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(6px, 2.4vw, 32px);
    align-items: start;
}

.hp-tier {
    text-align: center;
}

.hp-pill {
    display: inline-block;
    border: 1px solid var(--hp-gold);
    border-radius: 9999px;
    padding: clamp(6px, 1.6vw, 9px) clamp(12px, 3.6vw, 22px);
    font-family: var(--font-korean);
    font-size: clamp(12px, 3.2vw, 14px);
    font-weight: 700;
    line-height: 1.4;
    color: var(--hp-brown);   /* A4 배너 실측 #996515 */
    white-space: nowrap;
}

/*
   A4 배너 실측값을 그대로 옮긴다.
   Cormorant Garamond 는 올드스타일 숫자(1=x-height, 5=디센더)이고
   % 글리프가 숫자보다 크므로, bbox 가 아니라 폰트 크기 비로 맞춰야 한다.
     · % 폰트 = 숫자 폰트 × 0.363   (배너 295px ↔ 107px)
     · % baseline 이 숫자 baseline 보다 1.03em(% 자체 기준) 위
     · 숫자 우측 ~ % 좌측 간격 0.5em(% 자체 기준)
   em 기준을 통일하기 위해 font-size 를 .hp-figure 에 둔다.
*/
.hp-figure {
    /* pill 아래 → 숫자 상단 = 배너 비율 0.59 × 숫자 폰트 */
    margin-top: clamp(10px, 1.8vw, 18px);
    font-family: var(--hp-serif);
    font-weight: 300;
    font-size: clamp(58px, 13vw, 120px);
    line-height: 1;
    color: var(--hp-navy);
    white-space: nowrap;
}

.hp-num {
    font-size: 1em;
    line-height: 1;
    color: var(--hp-navy);
}

.hp-pct {
    font-size: .36em;
    vertical-align: baseline;
    position: relative;
    top: -1.03em;
    margin-left: .33em;   /* 사이드베어링 보정 후 배너 비율 0.18 × 숫자 폰트 */
    color: var(--hp-navy);
}

.hp-tier__caption {
    margin-top: clamp(6px, 1vw, 10px);
    font-family: var(--font-korean);
    font-weight: 300;
    font-size: clamp(11px, 2.6vw, 13px);
    color: var(--hp-muted);
}

/* ==================================================================
   9. 2열 정보 블록 (HOURS / VALIDITY)
   가운데 세로 골드 1px. 모바일에서는 세로 스택 + 가로 헤어라인.
   ================================================================== */
.hp-duo {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: clamp(24px, 5vw, 56px);
    align-items: stretch;
}

.hp-duo__divider {
    width: 1px;
    background: var(--hp-line);
}

.hp-duo__col {
    text-align: center;
}

.hp-duo__col .hp-label { margin-bottom: 16px; display: block; }

@media (max-width: 719px) {
    .hp-duo {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hp-duo__divider {
        width: 120px;
        height: 1px;
        justify-self: center;
    }
}

/* ==================================================================
   10. ④ 레슨비 — 배경 채움 없이 가로 헤어라인만.
   정가는 취소선 없이 회색 소자. 판매가는 deep-navy 굵게.
   ================================================================== */
.hp-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.hp-table {
    width: 100%;
    /* 컬럼 폭을 명시해 금액 컬럼의 과도한 여백을 없앤다.
       실측(375px): 정가 텍스트 47px·판매가 53px 인데 자동 배분에서
       각각 73px·81px 를 차지해 26~28px 이 낭비되고 있었다. */
    table-layout: fixed;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
    font-family: var(--font-korean);
    font-size: clamp(11px, 2.9vw, 15px);
}

.hp-table thead th {
    font-family: var(--font-english);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: clamp(9px, 2.1vw, 11px);
    color: var(--hp-brown);
    padding: 0 clamp(2px, 1vw, 10px) 12px;
    border-bottom: 1px solid var(--hp-line);
    white-space: nowrap;
}

.hp-table tbody td {
    padding: clamp(12px, 2vw, 16px) clamp(2px, 1vw, 10px);
    border-bottom: 1px solid var(--hp-line);
    white-space: nowrap;
}

.hp-table th.hp-t-left,
.hp-table td.hp-t-left  { text-align: left;  padding-left: 0; }
.hp-table th.hp-t-right,
.hp-table td.hp-t-right { text-align: right; padding-right: 0; }

/* Product · 할인 컬럼은 헤더·본문 모두 중앙 정렬
   (정가 · 판매가 · 회당은 금액이므로 우측 정렬을 유지한다) */
.hp-table th.hp-t-center,
.hp-table td.hp-t-center { text-align: center; }
.hp-table th.hp-t-center:first-child,
.hp-table td.hp-t-center:first-child { padding-left: 0; }

/* 헤더셀 텍스트는 모두 중앙 정렬 (본문 셀의 좌/우 정렬은 그대로 유지) */
.hp-table thead th,
.hp-table thead th.hp-t-left,
.hp-table thead th.hp-t-right { text-align: center; }

/* 싱글 / 듀엣 그룹 헤더
   상품 성격이 다르므로 표 안에서 시각적으로 갈라 준다.
   듀엣은 2인 동반 등록이 조건이라 그 사실을 표 안에 함께 명시한다. */
.hp-t-grouphead {
    text-align: left;
    padding: clamp(22px, 3.4vw, 30px) 0 clamp(8px, 1.4vw, 12px);
    border-bottom: 1px solid var(--hp-line);
    white-space: normal;
}

.hp-table tbody:first-of-type .hp-t-grouphead {
    padding-top: clamp(14px, 2.2vw, 20px);
}

.hp-t-group__label {
    display: inline-block;
    font-family: var(--font-english);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: clamp(10px, 2.4vw, 12px);
    line-height: 1.4;
    color: var(--hp-brown);
    text-indent: .2em;
    margin-right: 12px;
}

.hp-t-group__note {
    display: inline-block;
    font-family: var(--font-korean);
    font-weight: 300;
    font-size: clamp(11px, 2.5vw, 12px);
    line-height: 1.6;
    color: var(--hp-muted);
}

/* 모바일에서는 라벨과 조건 문구를 세로로 쌓는다 */
@media (max-width: 559px) {
    .hp-t-group__label { display: block; margin-right: 0; margin-bottom: 4px; }
    .hp-t-group__note  { display: block; }
}

.hp-t-product { font-weight: 500; color: var(--hp-navy); }
.hp-t-list    { color: var(--hp-muted); font-weight: 300; }   /* 정가 — 취소선 없음 */
.hp-t-off     { color: var(--hp-brown); font-weight: 500; }
.hp-t-sale    { color: var(--hp-navy);  font-weight: 700; }
.hp-t-unit    { font-family: var(--hp-serif); font-weight: 400; font-size: 1.12em; color: var(--hp-muted); }

/* ==================================================================
   11. 정의형 목록 (환불 기준 · 오시는 길)
   ================================================================== */
.hp-deflist { display: grid; gap: 20px; }

.hp-defitem {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 16px;
    align-items: baseline;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--hp-line);
}

/* 환불 기준처럼 항목명이 긴 목록 */
.hp-deflist--wide .hp-defitem { grid-template-columns: 184px 1fr; }

.hp-defitem:last-child { border-bottom: 0; padding-bottom: 0; }

.hp-defitem dt {
    font-family: var(--font-korean);
    font-weight: 500;
    font-size: clamp(13px, 1.5vw, 14px);
    color: var(--hp-navy);
    line-height: 1.7;
}

.hp-dark .hp-defitem dt { color: #FFFFFF; }
.hp-dark .hp-defitem    { border-bottom-color: rgba(212, 175, 55, .3); }

.hp-defitem dd {
    font-family: var(--font-korean);
    font-weight: 300;
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 1.8;
    color: var(--hp-ink);
    margin: 0;
}

.hp-dark .hp-defitem dd { color: rgba(255, 255, 255, .88); }

@media (max-width: 559px) {
    .hp-defitem,
    .hp-deflist--wide .hp-defitem { grid-template-columns: 1fr; gap: 6px; }
}

/* 중앙 정렬 정의목록 — ⑩ 하단 Email 항목 */
.hp-deflist--center .hp-defitem {
    grid-template-columns: 1fr;
    gap: 6px;
    text-align: center;
    border-bottom: 0;
    padding-bottom: 0;
}

.hp-deflist--center dt {
    font-family: var(--font-english);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .24em;
    font-size: 11px;
    text-indent: .24em;
}

.hp-dark .hp-deflist--center dt { color: var(--hp-gold); }

.hp-link-onDark {
    color: rgba(255, 255, 255, .88);
    text-decoration: none;
    transition: color .2s ease;
}
.hp-link-onDark:hover,
.hp-link-onDark:focus-visible { color: var(--hp-gold); }

/* ==================================================================
   11-B. 하단 저작권 — 공용 푸터를 대신하는 법정 표시
   딥네이비 배경 · 중앙 정렬 · 12~13px · muted 계열
   ================================================================== */
.hp-legal {
    margin-top: 32px;      /* 헤어라인과의 간격 */
    text-align: center;
}

.hp-legal p {
    margin: 0;
    font-family: var(--font-korean);
    font-weight: 300;
    font-size: clamp(12px, 1.3vw, 13px);
    line-height: 1.7;
    color: var(--hp-muted-onDark);
}

.hp-legal p + p { margin-top: 8px; }   /* 줄 간격 8px */

/* 사업자 정보 — 좁은 화면에서는 구분자 앞뒤로 줄이 나뉜다 */
.hp-legal-biz span { white-space: nowrap; }
.hp-legal-sep { margin: 0 8px; color: rgba(140, 155, 173, .5); }

.hp-legal-links a {
    color: var(--hp-muted-onDark);
    text-decoration: none;
    cursor: pointer;
    transition: color .2s ease;
}
.hp-legal-links a:hover,
.hp-legal-links a:focus-visible { color: #FFFFFF; }

.hp-legal-links span { color: rgba(140, 155, 173, .5); }

/* ==================================================================
   12. 버튼
   카카오 옐로우를 면으로 깔지 않는다. 딥네이비 + 골드 1px 테두리.
   ================================================================== */
.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-korean);
    font-weight: 600;
    font-size: clamp(14px, 1.6vw, 16px);
    letter-spacing: .01em;
    padding: 16px 32px;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color .22s ease, color .22s ease, border-color .22s ease;
}

/* 밝은 섹션: 딥네이비 채움 + 흰 텍스트 */
.hp-btn--primary {
    background-color: var(--hp-navy);
    border-color: var(--hp-navy);
    color: #FFFFFF;
}
.hp-btn--primary:hover { background-color: #001122; border-color: #001122; color: #FFFFFF; }

/* 어두운 섹션: 딥네이비 바탕 + 골드 1px 테두리 + 흰 텍스트 */
.hp-btn--onDark {
    background-color: var(--hp-navy-deep);
    border-color: var(--hp-gold);
    color: #FFFFFF;
}
.hp-btn--onDark:hover { background-color: rgba(212, 175, 55, .14); color: #FFFFFF; }

/* 보조 — 밝은 섹션의 아웃라인 */
.hp-btn--ghost {
    background-color: transparent;
    border-color: var(--hp-hairline-ink);
    color: var(--hp-navy);
}
.hp-btn--ghost:hover { border-color: var(--hp-gold); color: var(--hp-navy); }

.hp-btn i { font-size: 1.05em; }

/*
   카카오톡 말풍선 아이콘.
   Font Awesome 6.5.2 에는 kakao-talk 브랜드 아이콘이 없어 인라인 SVG 를 쓴다.
   카카오 옐로우를 면으로 깔지 않고, 버튼 글자색을 그대로 따라간다.
*/
.hp-kakao-ico {
    width: 1.15em;
    height: 1.15em;
    flex: 0 0 auto;
    display: block;
}

/* 공용 플로팅 버튼의 카카오 아이콘도 이 페이지에서는 SVG 로 대체된다 */
body.hp-page [data-component="floating-button"] .hp-kakao-ico {
    width: 26px;
    height: 26px;
    color: var(--kakao-brown);
}

.hp-btn--block { display: flex; width: 100%; }

/* 전화 — 3차 CTA. 작게, 조용히. 밑줄 없이 hover 시 골드로만 반응한다. */
.hp-tel {
    font-family: var(--hp-serif);
    letter-spacing: .1em;
    font-size: clamp(20px, 3vw, 26px);
    color: #FFFFFF;
    text-decoration: none;
    transition: color .2s ease;
}
.hp-tel:hover,
.hp-tel:focus-visible { color: var(--hp-gold); }

/* ==================================================================
   13. ⑤ 문의 폼 — 밑줄형 필드, 골드 강조
   ================================================================== */
.hp-card {
    background: #FFFFFF;
    border-radius: 8px;
    padding: clamp(28px, 5vw, 56px);
    box-shadow: 0 1px 3px rgba(0, 31, 63, .04), 0 8px 28px rgba(0, 31, 63, .05);
}

.hp-formgroup { margin-bottom: clamp(28px, 4vw, 40px); }

.hp-formgroup > .hp-label { display: block; margin-bottom: 14px; }

.hp-req {
    color: var(--hp-brown);
    font-size: .9em;
    margin-left: .4em;
    letter-spacing: 0;
}

.hp-field {
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--hp-hairline-ink);
    border-radius: 0;
    background: transparent;
    padding: 10px 2px;
    font-family: var(--font-korean);
    font-weight: 300;
    font-size: 16px;           /* iOS 자동 확대 방지 */
    line-height: 1.6;
    color: var(--hp-ink);
    transition: border-color .2s ease, box-shadow .2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.hp-field::placeholder { color: #B4BCC6; font-weight: 300; }

.hp-field:focus {
    outline: none;
    border-bottom-color: var(--hp-gold);
    box-shadow: 0 1px 0 0 var(--hp-gold);
}

textarea.hp-field { resize: vertical; min-height: 92px; }

.hp-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hp-choice {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--hp-hairline-ink);
    border-radius: 4px;
    padding: 11px 15px;
    cursor: pointer;
    font-family: var(--font-korean);
    font-weight: 300;
    font-size: 14px;
    line-height: 1.4;
    color: var(--hp-ink);
    transition: border-color .2s ease, background-color .2s ease;
    -webkit-tap-highlight-color: transparent;
}

.hp-choice input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--hp-gold);
    flex: 0 0 auto;
}

.hp-choice:hover { border-color: rgba(212, 175, 55, .55); }

/* :has() 미지원 브라우저 대비로 JS가 .is-checked 를 함께 토글한다 */
.hp-choice.is-checked,
.hp-choice:has(input:checked) {
    border-color: var(--hp-gold);
    background-color: rgba(212, 175, 55, .07);
    color: var(--hp-navy);
    font-weight: 500;
}

.hp-choice input:focus-visible { outline: 2px solid var(--hp-gold); outline-offset: 2px; }

.hp-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-top: 8px;
}

.hp-consent input {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    accent-color: var(--hp-gold);
    flex: 0 0 auto;
}

.hp-consent label {
    font-family: var(--font-korean);
    font-weight: 300;
    font-size: 13px;
    line-height: 1.75;
    color: var(--hp-ink);
    cursor: pointer;
}

.hp-link-inline {
    color: var(--hp-brown);
    text-decoration: none;
    border-bottom: 1px solid rgba(153, 101, 21, .4);
    cursor: pointer;
}
.hp-link-inline:hover { border-bottom-color: var(--hp-brown); }

.hp-form-error {
    margin-top: 16px;
    font-family: var(--font-korean);
    font-size: 13px;
    line-height: 1.7;
    color: #9B2C2C;
}

.hp-form-error:empty { display: none; }

button.hp-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* 제출 완료 화면 */
.hp-done { text-align: center; }
.hp-done[hidden] { display: none; }

/* ==================================================================
   14. ⑥⑩ 사진 섹션
   딥네이비 오버레이를 얹고, 인물 얼굴이 크게 나오지 않게 한다.
   ================================================================== */
.hp-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 480px;
}

@media (max-width: 899px) {
    .hp-split { grid-template-columns: 1fr; min-height: 0; }
}

.hp-split__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(56px, 8vw, 96px) clamp(24px, 6vw, 72px);
}

.hp-split__photo {
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.hp-split__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hp-split__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 31, 63, .55);
}

/* 3분할 사진 스트립 */
.hp-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(212, 175, 55, .25);
}

.hp-strip figure {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--hp-navy-deep);
}

.hp-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hp-strip figure::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 31, 63, .62);
}

.hp-strip figcaption {
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: clamp(12px, 2vw, 20px);
    z-index: 1;
    text-align: center;
    font-family: var(--font-english);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: clamp(9px, 1.6vw, 11px);
    color: rgba(255, 255, 255, .88);
    text-indent: .2em;
}

/* 모바일에서는 3분할 셀이 좁아지므로 세로로 길게 잡고 캡션 자간을 줄인다 */
@media (max-width: 639px) {
    .hp-strip figure { aspect-ratio: 3 / 4; }
    .hp-strip figcaption { letter-spacing: .1em; text-indent: .1em; font-size: 9px; }
}

/* 배경 사진 위 딥네이비 마무리 섹션 */
.hp-closing {
    position: relative;
    overflow: hidden;
    background-color: var(--hp-navy-deep);
    /* 문서의 마지막 블록이다.
       우하단 플로팅 스택 높이 = 하단여백 24 + 버튼 56×3 + 간격 12×2 = 216px.
       최하단까지 스크롤했을 때 저작권 블록이 가리지 않도록 그만큼 비워 둔다. */
    padding-bottom: clamp(240px, 22vw, 264px);
}

.hp-closing__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .10;
}

.hp-closing__inner { position: relative; z-index: 1; }

/* ==================================================================
   15. 유틸
   ================================================================== */
.hp-center { text-align: center; }

.hp-stack-8   { margin-top: 8px; }
.hp-stack-16  { margin-top: 16px; }
.hp-stack-24  { margin-top: 24px; }
.hp-stack-32  { margin-top: 32px; }
.hp-stack-48  { margin-top: 48px; }
.hp-stack-64  { margin-top: 64px; }

.hp-logo-mark {
    width: clamp(40px, 6vw, 52px);
    height: auto;
    display: block;
    margin: 0 auto;
}

.hp-wordmark {
    font-family: var(--font-english);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .34em;
    font-size: clamp(10px, 1.2vw, 12px);
    color: var(--hp-brown);
    text-indent: .34em;
}

.hp-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
