/* K-OGAM 소개 전용 스타일 */
.k-ogam { --ogam-cream: #EED6B3; --ogam-sand: #CAA278; --ogam-coral: #C86756; --ogam-brown: #4E1F11; --ogam-ink: #2c2c2c; --ogam-muted: #2c2c2c; --ogam-surface: #fff; --ogam-line: #e5e5e5; --ogam-title: 48px; --ogam-subtitle: 21px; --ogam-body: 16px; --ogam-caption: 16px; background: var(--ogam-surface); color: var(--ogam-ink); font-family: 'Pretendard', sans-serif; font-weight: 400; word-break: keep-all; overflow-wrap: break-word; }
.k-ogam, .k-ogam * { line-height: 1.5; }
.k-ogam { font-size: 16px; }
.k-ogam *, .k-ogam *::before, .k-ogam *::after { box-sizing: border-box; }
.k-ogam h1, .k-ogam h2, .k-ogam h3, .k-ogam p, .k-ogam figure { margin: 0; }
.k-ogam .A2Z { font-family: 'A2Z', 'Pretendard', sans-serif; font-weight: 600; font-synthesis: none; }
.k-ogam .k-ogam__inner { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.k-ogam .k-ogam__eyebrow { font-size: 12px; font-weight: 400; letter-spacing: .04em; color: var(--ogam-muted); }
.k-ogam .k-ogam__senses { position: relative; width: min(600px, 100%); aspect-ratio: 600 / 420; margin: 52px auto 0; container-type: inline-size; }
.k-ogam .k-ogam__arrows { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ogam-coral); }
.k-ogam .k-ogam__sense { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 21%; height: 30%; border: 1px solid var(--ogam-sand); border-radius: 50%; background: transparent; }
.k-ogam .k-ogam__sense i { font-size: 30px; color: var(--ogam-muted); }
.k-ogam .k-ogam__sense strong { font-size: var(--ogam-body); font-weight: 400; }
.k-ogam .k-ogam__sense small { font-size: 10px; letter-spacing: .04em; color: var(--ogam-muted); }
.k-ogam .k-ogam__sense--sight { left: 39.5%; top: 0; }
.k-ogam .k-ogam__sense--sound { right: 0; top: 35%; }
.k-ogam .k-ogam__sense--tea { left: 39.5%; bottom: 0; }
.k-ogam .k-ogam__sense--touch { left: 0; top: 35%; }
.k-ogam .k-ogam__rest { position: absolute; left: 39%; top: 34%; width: 22%; height: 31.4286%; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-direction: column; background: var(--ogam-cream); color: var(--ogam-brown); }
.k-ogam .k-ogam__rest > span { font-family: serif; font-size: clamp(38px, 11cqw, 66px); line-height: 1; margin-bottom: 2px; }
.k-ogam .k-ogam__rest small { font-size: clamp(9px, 2cqw, 12px); letter-spacing: .1em; }
/* 패키지, 키트, 인피니티풀 안내 */
.k-ogam .k-ogam__feature { padding: 80px 0; border-top: 1px solid var(--ogam-line); background: var(--ogam-surface); }
.k-ogam .k-ogam__feature-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: start; gap: 64px; }
.k-ogam .k-ogam__feature-content { min-width: 0; }
.k-ogam .k-ogam__section-heading { text-align: left; }
.k-ogam .k-ogam__section-heading h2 { position: relative; padding-top: 0; margin-top: 24px; font-size: var(--ogam-title); font-weight: 500; color: #C86756; }
.k-ogam .k-ogam__section-heading h2::before { content: none; }
.k-ogam .k-ogam__price { display: block; margin: 12px 0 0; color: var(--ogam-muted); font-size: var(--ogam-subtitle); white-space: nowrap; }
.k-ogam .k-ogam__lead { margin-top: 18px; font-size: var(--ogam-body); font-weight: bold; }
.k-ogam .k-ogam__description { margin-top: 18px; color: var(--ogam-muted); font-size: 14px; }
.k-ogam .k-ogam__package-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.k-ogam .k-ogam__package { padding: 32px; text-align: left; background: var(--ogam-surface); border: 1px solid var(--ogam-line); border-top: 2px solid var(--ogam-sand); }
.k-ogam .k-ogam__package h3 { margin: 12px 0 8px; font-size: var(--ogam-subtitle); }
.k-ogam .k-ogam__inclusion { margin-top: 28px; font-size: var(--ogam-body); }
.k-ogam .k-ogam__contents { margin-top: 8px; font-size: var(--ogam-caption); color: var(--ogam-muted); }
.k-ogam strong { font-weight: inherit; }
.k-ogam .k-ogam__experience { display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; gap: 12px 28px; padding-top: 24px; font-size: var(--ogam-caption); }
.k-ogam .k-ogam__experience > span { font-size: var(--ogam-caption); letter-spacing: .04em; color: var(--ogam-muted); }
.k-ogam .k-ogam__kit-photo { width: 100%; margin: 0; }
.k-ogam .k-ogam__kit-photo img { display: block; width: 100%; height: auto; border-radius: 6px; }
.k-ogam .k-ogam__kit-details { margin-top: 24px; text-align: left; }
.k-ogam .k-ogam__kit-details > .A2Z { font-size: var(--ogam-body); letter-spacing: .04em; }
.k-ogam .k-ogam__coming { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin-top: 24px; padding: 12px 20px; border-radius: 999px; background: var(--ogam-brown); border: 1px solid var(--ogam-sand); color: #fff; font-size: var(--ogam-body); letter-spacing: .04em; box-shadow: 0 4px 12px rgba(78, 31, 17, .08); }
.k-ogam .k-ogam__coming::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ogam-cream); box-shadow: 0 0 0 4px rgba(238, 214, 179, .14); flex: 0 0 auto; animation: ogam-coming-pulse 1.6s ease-in-out infinite; }
/* 인피니티풀: 브랜드는 서명처럼, 상품명과 구성을 중심으로 배치합니다. */
.sub .k-ogam__signature { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin: 0; font-family: "A2Z", "Pretendard", sans-serif; font-weight: 600; font-size: 13px; line-height: 1.3; color: #666; }
.sub .k-ogam__signature--center { justify-content: center; }
.sub .k-ogam__signature span + span { padding-left: 14px; border-left: 1px solid #d8d3c8; }
.k-ogam .k-ogam__pool-copy h2 { margin-top: 16px; padding-top: 0; letter-spacing: -.03em; }
.k-ogam .k-ogam__pool-copy h2::before { content: none; }
.k-ogam .k-ogam__pool-inclusions { display: flex; flex-wrap: wrap; gap: 12px 0; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--ogam-line); list-style: none; font-size: var(--ogam-body); color: var(--ogam-muted); }
.k-ogam .k-ogam__pool-inclusions li { display: flex; align-items: baseline; gap: 6px; }
.k-ogam .k-ogam__pool-inclusions li:not(:last-child)::after { content: "+"; margin: 0 10px; color: var(--ogam-muted); }
.k-ogam .k-ogam__reel { position: relative; width: 100%; max-width: 340px; justify-self: end; aspect-ratio: 9 / 16; overflow: hidden; border: 1px solid var(--ogam-line); border-radius: 6px; background: var(--ogam-cream); text-align: center; }
.k-ogam .k-ogam__reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
@media (max-width: 900px) {
    .k-ogam .k-ogam__feature-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 700px) {
    .k-ogam { --ogam-title: 32px; }
    .k-ogam .k-ogam__feature { padding: 56px 0; }
    .k-ogam .k-ogam__package { padding: 26px 22px; }
    .k-ogam .k-ogam__price { margin-top: 8px; }
    .k-ogam .k-ogam__senses { margin-top: 36px; }
    .k-ogam .k-ogam__sense { gap: 2px; }
    .k-ogam .k-ogam__sense i { font-size: 22px; }
    .k-ogam .k-ogam__sense strong { font-size: 12px; }
    .k-ogam .k-ogam__sense small { font-size: 8px; letter-spacing: .03em; }
}

.k-ogam--addition { padding-top: 1px; }
.k-ogam--addition .k-ogam__senses { margin-bottom: 60px; }

/* 오감 카드만 넓게 펼치고 나머지 콘텐츠 너비는 유지합니다. */
.k-ogam .k-ogam__inner--steps { width: min(1480px, calc(100% - 64px)); }
.k-ogam .k-ogam__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 36px; margin: 0; padding: 0 0 72px; list-style: none; text-align: left; }
.k-ogam .k-ogam__step { position: relative; min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--ogam-line); border-radius: 8px; background: var(--ogam-surface); }
.k-ogam .k-ogam__step:not(:last-child)::after { content: '→'; position: absolute; top: 50%; left: calc(100% + 19px); transform: translate(-50%, -50%); width: 32px; text-align: center; color: var(--ogam-ink); font-size: 30px; pointer-events: none; }
.k-ogam .k-ogam__step-copy { flex: 1; padding: 22px 14px 20px; }
.k-ogam .k-ogam__step-heading { display: flex; align-items: baseline; gap: 7px; margin-bottom: 10px; }
.k-ogam .k-ogam__step-copy h3 { color: var(--ogam-ink); font-size: var(--ogam-subtitle); letter-spacing: -.02em; white-space: nowrap; }
.k-ogam .k-ogam__step-copy .k-ogam__step-sense { margin: 0; color: var(--ogam-ink); font-size: var(--ogam-caption); font-weight: 400; white-space: nowrap; }
.k-ogam .k-ogam__step-copy > p { color: var(--ogam-muted); font-size: var(--ogam-caption); font-weight: 400; }
.k-ogam .k-ogam__step-photo { position: relative; margin: 0; overflow: hidden; border-radius: 0 0 7px 7px; }
.k-ogam .k-ogam__step-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.k-ogam .k-ogam__step-photo figcaption { position: absolute; z-index: 1; bottom: 18px; left: 12px; right: 12px; padding: 0; background: none; color: #fff; text-align: center; font-size: var(--ogam-caption); font-weight: 400; text-shadow: 0 1px 5px rgba(0, 0, 0, .8); }
@media (min-width: 901px) and (max-width: 1250px) {
    .k-ogam .k-ogam__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .k-ogam .k-ogam__step:not(:last-child)::after { content: none; }
}
@media (max-width: 900px) {
    .k-ogam .k-ogam__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 680px; margin: 0 auto; }
    .k-ogam .k-ogam__step-copy { padding: 24px 20px 20px; }
    .k-ogam .k-ogam__step:not(:last-child)::after { content: none; }
}
@media (max-width: 520px) {
    .k-ogam .k-ogam__inner--steps { width: calc(100% - 48px); }
    .k-ogam .k-ogam__steps { grid-template-columns: 1fr; max-width: 380px; }
    .k-ogam .k-ogam__step-photo figcaption { bottom: 22px; }
}

.k-ogam .k-ogam__eyebrow, .k-ogam .k-ogam__sense small { font-family: 'A2Z', 'Pretendard', sans-serif; font-weight: 600; font-synthesis: none; }
/* 메인과 동일한 fadeup / visible 방식. JS 초기화 후에만 클래스를 추가합니다. */
body .ogam-reveal.fadeup { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
body .ogam-reveal.fadeup.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .k-ogam .k-ogam__coming::before { animation: none; }
    body .ogam-reveal.fadeup { opacity: 1; transform: none; transition: none; }
}

@keyframes ogam-coming-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 4px rgba(238, 214, 179, .14); }
    50% { opacity: .35; box-shadow: 0 0 0 7px rgba(238, 214, 179, 0); }
}

/* 청수당 옵션 비교와 키트·인피니티풀의 나란한 안내 */
.k-ogam .k-ogam__packages--center .k-ogam__section-heading { text-align: center; margin-bottom: 40px; }
.k-ogam .k-ogam__packages--center .k-ogam__signature,
.k-ogam .k-ogam__packages--center .k-ogam__experience { justify-content: center; }
.k-ogam .k-ogam__packages--center h2::before { left: 50%; transform: translateX(-50%); }
.k-ogam .k-ogam__packages--center .k-ogam__package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.k-ogam .k-ogam__packages--center .k-ogam__package { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.k-ogam .k-ogam__option-copy { padding: 32px; flex: 1; }
.k-ogam .k-ogam__option-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.k-ogam .k-ogam__pair-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 64px; align-items: start; }
.k-ogam .k-ogam__paired-section { display: grid; grid-template-rows: subgrid; grid-row: span 2; min-width: 0; text-align: center; }
.k-ogam .k-ogam__paired-content { display: contents; }
.k-ogam .k-ogam__pair .k-ogam__section-heading,
.k-ogam .k-ogam__pair .k-ogam__kit-details { text-align: center; }
.k-ogam .k-ogam__pair .k-ogam__signature { justify-content: center; }
.k-ogam .k-ogam__pair h2::before { left: 50%; transform: translateX(-50%); }
.k-ogam .k-ogam__pair .k-ogam__reel { max-width: none; justify-self: stretch; }
.k-ogam .k-ogam__pair .k-ogam__kit-photo img { aspect-ratio: 9 / 16; object-fit: cover; object-position: center; }

@media (max-width: 700px) {
    .k-ogam .k-ogam__packages--center .k-ogam__package-grid,
    .k-ogam .k-ogam__pair-grid { grid-template-columns: 1fr; gap: 40px; }
    .k-ogam .k-ogam__option-copy { padding: 26px 22px; }
    /* 모바일에서는 키트와 인피니티풀을 별도 배경의 섹션으로 구분합니다. */
    .k-ogam .k-ogam__pair { padding-bottom: 0; }
    .k-ogam .k-ogam__pair-grid { gap: 56px; }
    .k-ogam .k-ogam__pair .k-ogam__pool { margin: 0 -24px; padding: 56px 24px; border-top: 1px solid var(--ogam-sand); background: #f9f5eb; }
    .k-ogam .k-ogam__paired-section { display: block; grid-row: auto; }
    .k-ogam .k-ogam__paired-content { display: flex; flex-direction: column; gap: 32px; }
}

/* 청수당(옵션 A·B)과 인피니티풀 / 별도의 키트·프로그램 안내 */
.k-ogam .k-ogam__offers { background: #f9f5eb; }
.k-ogam .k-ogam__heading-center { text-align: center; margin-bottom: 40px; }
.k-ogam .k-ogam__heading-center h2 { margin-top: 0; }
.k-ogam .k-ogam__heading-center h2::before { left: 50%; transform: translateX(-50%); }
.k-ogam .k-ogam__offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.k-ogam .k-ogam__offer { min-width: 0; display: flex; flex-direction: column; text-align: left; background: #fff; border: 1px solid #e4d8c8; border-radius: 16px; overflow: hidden; }
.k-ogam .k-ogam__offer .k-ogam__section-heading h2 { margin: 0; padding: 0; font-size: 36px; color: var(--ogam-coral); letter-spacing: -.04em; }
.k-ogam .k-ogam__offer .k-ogam__section-heading h2::before { content: none; }
.k-ogam .k-ogam__offer .k-ogam__heading-center { margin: 0; padding: 32px 28px 26px; text-align: center; background: #fcf8f2; border-bottom: 1px solid #eee6dc; }
.k-ogam .k-ogam__offer-media { width: 100%; margin-top: auto; overflow: hidden; background: #f3eee7; }
.k-ogam .k-ogam__offer-media img, .k-ogam .k-ogam__offer-media video { display: block; width: 100%; height: auto; }
.k-ogam .k-ogam__offer-media img { object-fit: cover; }
.k-ogam .k-ogam__offer-media video { object-fit: contain; }
/* 청수당 사진은 같은 높이의 카드 안에서 남는 공간까지 채웁니다. */
@media (min-width: 901px) {
    .k-ogam figure.k-ogam__offer-media { position: relative; flex: 1 0 auto; aspect-ratio: 1453 / 956; margin-top: 0; }
    .k-ogam figure.k-ogam__offer-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
}
.k-ogam .k-ogam__offer-copy { padding: 28px; }
.k-ogam .k-ogam__options { display: flex; flex-direction: column; gap: 24px; }
.k-ogam .k-ogam__offer-option { min-width: 0; }
.k-ogam .k-ogam__offer-option + .k-ogam__offer-option { padding-top: 24px; border-top: 1px solid var(--ogam-line); }
.k-ogam .k-ogam__option-label { display: inline-block; margin-bottom: 12px; padding: 5px 9px; border-radius: 4px; background: #f9f5eb; font-size: 12px; color: #c86756; letter-spacing: .04em; }
.k-ogam .k-ogam__offer-option h3 { margin: 0 0 12px; font-size: var(--ogam-subtitle); font-weight: 500; }
.k-ogam .k-ogam__offer-summary { font-size: var(--ogam-body); color: var(--ogam-muted); }
.k-ogam .k-ogam__purchase-pending { margin: 28px 0 0; }
.k-ogam .k-ogam__purchase-pending button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 60px; padding: 16px 20px; border: 1px solid var(--ogam-sand); border-radius: 6px; background: #f9f5eb; color: var(--ogam-brown); font: inherit; opacity: 1; -webkit-text-fill-color: currentColor; cursor: not-allowed; }
.k-ogam .k-ogam__sale-status { display: inline-flex; align-items: center; gap: 7px; font-size: var(--ogam-body); letter-spacing: .03em; white-space: nowrap; color: var(--ogam-brown); }
.k-ogam .k-ogam__sale-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ogam-coral); }
.k-ogam .k-ogam__kit-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
.k-ogam .k-ogam__guide .k-ogam__kit-photo img { width: 100%; height: auto; aspect-ratio: auto; }
.k-ogam .k-ogam__guide .k-ogam__kit-details { width: 100%; max-width: 800px; margin: 0 auto; text-align: center; }
.k-ogam .k-ogam__guide h3 { font-size: var(--ogam-subtitle); font-weight: 500; color: #C86756;}
.k-ogam .k-ogam__kit-components { margin-top: 24px; padding: 16px 0; border-top: 1px solid var(--ogam-sand); border-bottom: 1px solid var(--ogam-sand); font-size: var(--ogam-body); color: var(--ogam-brown); }
.k-ogam .k-ogam__program { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 48px; padding: 32px; background: #f9f5eb; text-align: left; }
.k-ogam .k-ogam__program h3 { margin-top: 12px; }
.k-ogam .k-ogam__program-schedule { font-size: var(--ogam-body); }
.k-ogam .k-ogam__program-schedule p + p { margin-top: 8px; color: var(--ogam-muted); font-size: var(--ogam-caption); }
.k-ogam .k-ogam__notices { padding-top: 32px; text-align: left; }
.k-ogam .k-ogam__notices ul { display: grid; margin: 20px 0 0; padding-left: 18px; font-size: var(--ogam-caption); color: var(--ogam-muted); }
.k-ogam__notices ul li {font-size: 14px;}
@media (max-width: 900px) {
    .k-ogam .k-ogam__offer-grid { grid-template-columns: 1fr; gap: 56px; }
    .k-ogam .k-ogam__offer { grid-row: auto; grid-template-rows: auto; }
    .k-ogam .k-ogam__offer h3 { min-height: 0; }
    .k-ogam .k-ogam__kit-layout { grid-template-columns: 1fr; gap: 32px; }
    .k-ogam .k-ogam__program { flex-direction: column; align-items: flex-start; padding: 24px; }
}

@media (max-width: 520px) {
    .k-ogam .k-ogam__offer .k-ogam__heading-center { padding: 26px 20px 22px; }
    .k-ogam .k-ogam__offer-copy { padding: 24px 20px; }
    .k-ogam .k-ogam__options { grid-template-rows: auto auto; }
    .k-ogam .k-ogam__purchase-pending { margin: 24px 0 0; }
    .k-ogam .k-ogam__offer .k-ogam__section-heading h2 { font-size: 28px; }
    .k-ogam .k-ogam__purchase-pending button { flex-wrap: wrap; padding: 14px; }
}

.k-ogam .k-ogam__guide .k-ogam__kit-details > h3.A2Z {
    margin: 0;
    padding: 0;
    font-size: 36px;
    color: var(--ogam-coral);
}
.k-ogam .k-ogam__sense strong, .k-ogam .k-ogam__rest small { font-size: var(--ogam-body); }
.k-ogam .k-ogam__step-heading { flex-wrap: wrap; }
