/* yoon — 랜딩 시안 v2 (2026-11-26) · 글꼴은 Pretendard 하나, 굵기 대비로 위계를 만듦 */
:root {
  --night: #1C1814;      /* 밤 갈색: 첫 화면·로드맵·마지막 배너 */
  --night-2: #241F1A;
  --paper: #F3EDE4;      /* 종이색 (포장 카드의 크림) */
  --porcelain: #FBF8F3;  /* 자기색 */
  --ink: #2B241F;        /* 먹갈색 글씨 */
  --umber: #6A5A4E;      /* 보조 글씨 — 종이색 위 대비 5.6:1 */
  --brass: #B4935E;      /* 놋쇠색: 선·장식 */
  --brass-light: #D9BF8E;/* 어두운 바탕 위 강조 글씨 */
  --ivory: #F4ECE0;      /* 어두운 바탕 위 글씨 */
  --line: rgba(43, 36, 31, .14);
  --line-dark: rgba(244, 236, 224, .16);
  --font: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --header-h: 88px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.gsap-on { scroll-behavior: auto; } /* 효과 위치 계산이 틀어지지 않게 (유니언홀딩스에서 확인한 문제) */
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.75; color: var(--ink); background: var(--paper); word-break: keep-all; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
/* 일본어판: Pretendard JP(같은 Pretendard 계열)로, 띄어쓰기가 없는 문장이 넘치지 않게 일본어 줄바꿈 규칙 사용 */
html[lang="ja"] body { font-family: "Pretendard JP Variable", "Pretendard JP", "Pretendard Variable", Pretendard, "Hiragino Sans", "Yu Gothic", sans-serif; word-break: normal; line-break: strict; overflow-wrap: anywhere; }
html[lang="ja"] .h2, html[lang="ja"] .member-card h1 { letter-spacing: -.02em; line-height: 1.3; }
.nw { white-space: nowrap; } /* 단어 중간에서 줄이 끊기지 않게 */
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip:focus { top: 16px; }
.container { width: min(1320px, 100% - 64px); margin-inline: auto; }
@media (max-width: 767px) { .container { width: calc(100% - 40px); } .br-wide { display: none; } }

/* 글자 체계: 아주 가는 제목 ↔ 보통 본문 */
.kicker { display: block; font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--umber); }
.h2 { font-weight: 200; font-size: clamp(2.2rem, 4.6vw, 3.9rem); line-height: 1.16; letter-spacing: -.035em; }
.kicker + .h2 { margin-top: 18px; }
.lead { font-size: clamp(1.02rem, 1.25vw, 1.12rem); color: var(--umber); line-height: 1.9; max-width: 34em; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; border-radius: 999px; border: 1px solid currentColor; font-size: 14.5px; font-weight: 500; letter-spacing: .02em; cursor: pointer; transition: background-color .35s, color .35s, border-color .35s, transform .35s var(--ease-out); }
.btn:active { transform: scale(.98); }
.btn-solid { background: var(--ink); color: var(--porcelain); border-color: var(--ink); }
.btn-solid:hover { background: #46392f; border-color: #46392f; }
.btn-line { color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--porcelain); border-color: var(--ink); }
.on-dark .btn-solid { background: var(--ivory); color: var(--night); border-color: var(--ivory); }
.on-dark .btn-solid:hover { background: #fff; border-color: #fff; }
.on-dark .btn-line { color: var(--ivory); border-color: rgba(244,236,224,.45); }
.on-dark .btn-line:hover { background: var(--ivory); color: var(--night); border-color: var(--ivory); }

/* 머리글: 밝은 첫 화면 위에서도 먹갈색 글씨 + 갈색 로고, 내리면 종이색 바탕 */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); color: var(--ink); transition: background-color .5s, box-shadow .5s, height .5s, color .5s; }
/* 내리면 머리글이 좁아지며 떠 있는 유리 알약 모양이 됨 (Summit Teams 템플릿) */
.site-header.is-scrolled, .site-header.is-solid { height: 76px; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: 999px; transition: max-width .6s var(--ease-out), height .5s, padding .5s, background-color .5s, box-shadow .5s, margin-top .5s; }
.is-scrolled .header-inner, .is-solid .header-inner { max-width: 1080px; height: 58px; margin-top: 12px; padding: 0 10px 0 18px; background: rgba(243, 237, 228, .72); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 0 0 1px rgba(255,255,255,.55) inset, 0 18px 40px -20px rgba(43,36,31,.35); }
.nav a[aria-current]::before { content: ""; position: absolute; left: 50%; bottom: -4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--brass); }
.logo { position: relative; display: block; width: 44px; height: 51px; transition: width .5s, height .5s; }
.logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .5s; }
.logo .on-dark-img { opacity: 0; }
.is-scrolled .logo, .is-solid .logo { width: 36px; height: 42px; }
.nav { display: none; gap: 40px; font-size: 13.5px; font-weight: 400; letter-spacing: .04em; }
.nav a { position: relative; padding: 8px 0; }
/* 메뉴 이름: 첫 화면 제목과 같은 색, 조금 더 굵게 (회장님 지시) */
.nav-item > a, .nav-drop a, .member-link, .lang a { color: #5C4F46; font-weight: 600; }
/* 첫 화면 영상 위에 있을 때만 글자 아래쪽 반에만 옅은 구름빛을 살며시 깔아 읽기 쉽게 (전체에 깔면 떠 보임) */
.site-header:not(.is-scrolled):not(.is-solid) .nav-item > a { background: radial-gradient(ellipse 58% 26% at 50% 66%, rgba(236,228,216,.16), rgba(236,228,216,0)); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-tools { display: flex; align-items: center; gap: 6px; }
.lang { display: flex; font-size: 12.5px; font-weight: 500; letter-spacing: .08em; }
.lang a { padding: 10px 8px; opacity: .6; }
.lang a[aria-current="true"] { opacity: 1; }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
@media (min-width: 1024px) { .nav { display: flex; } .menu-btn { display: none; } }
.mobile-menu { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; padding: 24px; background: var(--night); color: var(--ivory); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu .menu-btn { align-self: flex-end; }
.mobile-menu nav { display: grid; margin-top: 48px; }
.mobile-menu nav a { padding: 16px 0; font-size: 1.9rem; font-weight: 200; letter-spacing: -.02em; border-bottom: 1px solid var(--line-dark); }
body.menu-open { overflow: hidden; }

/* 처음 열 때 한 번: 어두운 화면에 모노그램 → 영상이 열림 */
.intro { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: var(--night); pointer-events: none; }
.intro img { width: min(150px, 34vw); height: auto; }
.no-js .intro, .intro[hidden] { display: none; }

/* 첫 화면 */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; background: #CFC0AE; color: var(--ink); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
/* 톤다운한 베이지 영상 위 먹갈색 글씨가 또렷하도록, 영상보다 살짝 밝은 토프 베이지로만 얇게 감쌈 */
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(226,215,201,.45) 0%, rgba(226,215,201,0) 20%),
    linear-gradient(90deg, rgba(226,215,201,.42) 0%, rgba(226,215,201,.1) 46%, rgba(226,215,201,0) 70%),
    linear-gradient(0deg, rgba(226,215,201,.78) 0%, rgba(226,215,201,.32) 34%, rgba(226,215,201,0) 58%); }
.hero-content { display: grid; gap: 36px; padding-bottom: 40px; }
/* 배경 영상과 어우러지도록 크기를 줄이고 색을 한 톤 연하게 (회장님 지시 2026-11-26) */
.hero-title { font-weight: 200; font-size: clamp(3rem, 7.4vw, 8.2rem); line-height: .96; letter-spacing: -.045em; color: #5C4F46; }
.hero-title .line { display: block; }
/* 둘째 줄을 깊게 들여 첫 줄 끝에서 이어지듯 사선으로 흐르게 */
.hero-title .line + .line { padding-left: 1.7em; }
.hero-side { position: relative; isolation: isolate; display: grid; gap: 28px; max-width: 27em; }
/* 상자 없이 글 뒤만 안개처럼 흐리고 밝게: 가장자리가 투명하게 사라져 경계선이 보이지 않음 */
.hero-side::before { content: ""; position: absolute; inset: -56px -64px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(228,217,203,.78), rgba(228,217,203,.45) 62%, rgba(228,217,203,0));
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  -webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent); mask-image: radial-gradient(closest-side, #000 50%, transparent); }
.hero-side p { font-size: clamp(1rem, 1.2vw, 1.1rem); font-weight: 500; line-height: 1.85; color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 1024px) {
  .hero-content { grid-template-columns: 1fr auto; align-items: end; gap: 64px; padding-bottom: 48px; }
  .hero-side { padding-bottom: 1.6rem; }
}
.hero-bar { border-top: 1px solid rgba(43,36,31,.18); }
.hero-scene { display: flex; align-items: center; gap: 20px; padding: 18px 0 22px; font-size: 12.5px; color: var(--umber); }
.scene-progress { display: grid; grid-template-columns: repeat(3, 34px); gap: 6px; }
.scene-progress i { position: relative; height: 1px; background: rgba(43,36,31,.2); overflow: hidden; }
.scene-progress i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.scene-progress i.is-done::after, .scene-progress i.is-active::after { transform: scaleX(1); }
.scene-label { flex: 1; min-width: 0; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scene-label b { font-weight: 500; color: #8A6B3A; margin-right: 12px; }
.hero-origin { display: none; letter-spacing: .04em; }
@media (min-width: 1024px) { .hero-origin { display: block; } }
.video-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border: 1px solid rgba(43,36,31,.25); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: border-color .3s; }
.video-toggle:hover { border-color: var(--ink); }
.video-toggle svg { width: 14px; height: 14px; }
.video-toggle .i-play { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }
.video-toggle[aria-pressed="true"] .i-pause { display: none; }
@media (max-width: 767px) {
  .hero-title .line + .line { padding-left: 1.1em; }
  .hero-shade { background: linear-gradient(0deg, rgba(226,215,201,.92) 0%, rgba(226,215,201,.55) 48%, rgba(226,215,201,.05) 72%, rgba(226,215,201,.45) 100%); }
}

/* 끝없이 흐르는 꽃차 이름 띠 (마우스를 올리면 멈춤) */
.marquee { position: relative; overflow: hidden; padding: 20px 0; background: var(--paper); border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
/* 작고 잔잔하게 (회장님 지적 "뜬금없이 확 눈에 띈다") */
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; gap: clamp(28px, 3vw, 44px); padding-right: clamp(28px, 3vw, 44px); }
.marquee li { display: inline-flex; align-items: center; gap: clamp(28px, 3vw, 44px); white-space: nowrap; font-size: clamp(.92rem, 1.15vw, 1.08rem); font-weight: 300; letter-spacing: .06em; color: rgba(106, 90, 78, .78); transition: color .3s; }
.marquee li:hover { color: var(--ink); }
.mq-mark { width: 9px; height: 9px; color: var(--brass); opacity: .7; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 사진이 두 줄로 엇갈려 흐르는 띠 */
/* 사진을 작게, 간격은 넓게 (회장님 지적 "너무 빽빽하다") */
.wall { display: grid; gap: 18px; padding: clamp(72px, 9vw, 120px) 0; overflow: hidden; background: var(--paper);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.wall-row { overflow: hidden; }
/* 간격은 gap 대신 사진마다 오른쪽 여백 → 두 묶음 길이가 정확히 같아 -50% 지점에서 이음새 없이 반복 */
.wall-track { display: flex; width: max-content; animation: wall-left 120s linear infinite; }
.wall-row.to-right .wall-track { animation-duration: 140s; }
.wall figure { margin-right: clamp(14px, 1.6vw, 22px); }
.wall-row.to-right .wall-track { animation-name: wall-right; animation-duration: 140s; }
.wall:hover .wall-track { animation-play-state: paused; }
.wall figure { flex: none; height: clamp(120px, 13vw, 190px); aspect-ratio: 3 / 4; overflow: hidden; border-radius: 12px; background: var(--sand); }
.wall-row.to-right figure { aspect-ratio: 4 / 3; }
.wall img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.wall figure:hover img { transform: scale(1.05); }
@keyframes wall-left { to { transform: translateX(-50%); } }
@keyframes wall-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* 공통 구역 */
.section { padding: clamp(104px, 13vw, 184px) 0; }
.section-porcelain { background: var(--porcelain); }

/* 브랜드 이야기: 시그니처 로고를 또렷하게 */
.story { display: grid; gap: 64px; align-items: center; }
.story-mark { justify-self: center; width: min(340px, 70vw); }
.story-text .lead { margin-top: 32px; }
.story-text .lead + .lead { margin-top: 16px; }
@media (min-width: 1024px) { .story { grid-template-columns: .85fr 1.15fr; gap: 120px; } }
.moments { display: grid; gap: 40px; margin-top: clamp(88px, 10vw, 136px); }
.moment { padding-top: 26px; border-top: 1px solid var(--brass); }
.moment h3 { font-size: 1.3rem; font-weight: 400; letter-spacing: -.01em; }
.moment p { margin-top: 10px; color: var(--umber); font-size: 15.5px; }
@media (min-width: 768px) { .moments { grid-template-columns: repeat(3, 1fr); gap: 48px; } }

/* 컬렉션: 대표 제품 하나를 크게, 나머지는 2×2 */
.collection-head { display: grid; gap: 28px; margin-bottom: clamp(52px, 6vw, 84px); }
@media (min-width: 1024px) { .collection-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 64px; } }
/* 사진이 너무 크지 않게 폭을 줄여 여백을 둠 (회장님 지시) */
.collection { display: grid; gap: 40px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; margin-inline: auto; }
.tea { position: relative; }
.tea-img { position: relative; overflow: hidden; border-radius: 14px; background: var(--paper); aspect-ratio: 330 / 460; }
.tea-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.tea-img { transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.tea:hover .tea-img { transform: translateY(-6px); box-shadow: 0 24px 40px -26px rgba(43,36,31,.45); }
.tea:hover .tea-img img { transform: scale(1.035); }
.tea-body { padding-top: 18px; }
.tea h3 { font-size: 1.02rem; font-weight: 500; letter-spacing: .01em; }
.tea p { margin-top: 4px; font-size: 14.5px; color: var(--umber); line-height: 1.65; }
.tea-feature { grid-column: 1 / -1; }
.tea-feature .tea-img { aspect-ratio: 4 / 3; }
.tea-feature .tea-img img { object-position: 50% 30%; }
.tea-feature h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 200; letter-spacing: -.02em; }
.tea-feature p { font-size: 16px; }
.tea-tag { display: inline-block; margin-bottom: 10px; font-size: 12.5px; font-weight: 500; color: var(--brass); letter-spacing: .04em; }
@media (min-width: 1024px) {
  .collection { grid-template-columns: 1.25fr 1fr 1fr; gap: 44px 28px; }
  .tea-feature { grid-column: 1; grid-row: 1 / span 2; }
  .tea-feature .tea-img { aspect-ratio: 330 / 460; }
}
/* 카드 위 마우스를 따라오는 은은한 금빛 */
.spot { --mx: 50%; --my: 0px; }
.spot .tea-img::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(300px circle at var(--mx) var(--my), rgba(217,191,142,.28), transparent 60%); opacity: 0; transition: opacity .4s; }
.spot:hover .tea-img::after { opacity: 1; }

/* 원료 이야기 */
.origin { display: grid; gap: 56px; align-items: center; }
.origin-photo { overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 5; }
.origin-photo img { width: 100%; height: 116%; object-fit: cover; }
.origin-list { display: grid; margin-top: 44px; border-top: 1px solid var(--line); }
.origin-list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.origin-list strong { display: block; font-weight: 500; font-size: 1.05rem; }
.origin-list span { display: block; color: var(--umber); font-size: 15px; margin-top: 4px; }
.origin .lead { margin-top: 28px; }
@media (min-width: 1024px) { .origin { grid-template-columns: 1fr 1fr; gap: 120px; } }

/* 확장 로드맵 (첫 화면과 같은 밤 갈색) */
.section-night { background: var(--night); color: var(--ivory); }
.section-night .kicker { color: var(--brass-light); }
.section-night .lead { color: rgba(244,236,224,.75); }
.journey-head { display: grid; gap: 28px; margin-bottom: clamp(64px, 7vw, 96px); }
@media (min-width: 1024px) { .journey-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 64px; } }
.process { display: grid; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding-bottom: 40px; }
.step:last-child { padding-bottom: 0; }
/* 휴대폰·태블릿: 번호는 왼쪽 칸(선이 지나는 자리), 글은 모두 오른쪽 칸에 모아 선과 겹치지 않게 */
@media (max-width: 1023px) {
  .step { row-gap: 0; }
  .step-num { grid-row: 1 / span 3; align-self: start; }
  .step > :not(.step-num) { grid-column: 2; }
  .step-tag { margin-top: 0; padding-top: 18px; }
  .step ul { gap: 6px; }
}
.step::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 1px; background: var(--line-dark); }
.step:last-child::before { display: none; }
.step-num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(244,236,224,.3); font-size: 13px; letter-spacing: .06em; background: var(--night); transition: background-color .45s, color .45s, border-color .45s, box-shadow .45s; }
.step-tag { display: block; margin-top: 14px; font-size: 12.5px; font-weight: 500; letter-spacing: .04em; color: var(--brass-light); }
.step h3 { margin: 6px 0 12px; font-size: 1.35rem; font-weight: 300; }
.step ul { display: grid; gap: 4px; font-size: 14.5px; color: rgba(244,236,224,.78); }
.process-foot { margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line-dark); color: rgba(244,236,224,.6); font-size: 14px; }
@media (min-width: 1024px) {
  .process { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .step { grid-template-columns: 1fr; gap: 0; padding-bottom: 0; }
  .step::before { left: 72px; right: -24px; top: 27px; bottom: auto; width: auto; height: 1px; }
}
.process[data-auto] .step { cursor: pointer; }
.process[data-auto] .step[data-active] .step-num { background: var(--ivory); color: var(--night); border-color: var(--ivory); box-shadow: 0 0 0 7px rgba(217,191,142,.16); }
.process[data-auto] .step[data-done] .step-num { border-color: rgba(217,191,142,.7); }
.process[data-auto] .step h3, .process[data-auto] .step ul { transition: opacity .45s; }
.process[data-auto] .step:not([data-active]) h3, .process[data-auto] .step:not([data-active]) ul { opacity: .72; }
.process[data-auto] .step:hover h3, .process[data-auto] .step:hover ul { opacity: 1; }
.process[data-auto] .step::after { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 1px; background: var(--brass-light); transform: scaleY(0); transform-origin: 50% 0; }
.process[data-auto] .step:last-child::after { display: none; }
.process[data-auto] .step[data-done]::after { transform: none; }
.process[data-auto] .step.run[data-active]::after { animation: fill-y var(--step-ms, 3000ms) linear forwards; }
.process[data-paused] .step::after { animation-play-state: paused !important; }
@keyframes fill-y { to { transform: scaleY(1); } }
@keyframes fill-x { to { transform: scaleX(1); } }
@media (min-width: 1024px) {
  .process[data-auto] .step::after { left: 72px; right: -24px; top: 27px; bottom: auto; width: auto; height: 1px; transform: scaleX(0); transform-origin: 0 50%; }
  .process[data-auto] .step.run[data-active]::after { animation-name: fill-x; }
}

/* 팝업 */
.popup { display: grid; gap: 56px; align-items: center; }
.popup-photo { position: relative; }
.popup-photo .main { overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 5; }
.popup-photo .main img { width: 100%; height: 116%; object-fit: cover; }
.popup-photo .sub { position: absolute; right: -6%; bottom: -8%; width: 38%; overflow: hidden; border-radius: 12px; aspect-ratio: 3 / 4; box-shadow: 0 30px 60px -28px rgba(28,24,20,.45); border: 6px solid var(--paper); }
.popup-photo .sub img { width: 100%; height: 100%; object-fit: cover; }
.popup .lead { margin-top: 28px; }
.popup-meta { margin: 36px 0 40px; border-top: 1px solid var(--line); }
.popup-meta div { display: grid; grid-template-columns: 88px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.popup-meta dt { color: var(--umber); }
.popup-meta dd { margin: 0; }
@media (min-width: 1024px) { .popup { grid-template-columns: 1fr 1fr; gap: 140px; } }
@media (max-width: 767px) { .popup-photo .sub { right: 0; } }

/* 마지막 배너 */
.final-cta { position: relative; isolation: isolate; overflow: hidden; padding: clamp(150px, 17vw, 240px) 0; color: var(--ivory); background: var(--night); text-align: center; }
.final-cta .bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.final-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(28,24,20,.5) 0%, rgba(28,24,20,.72) 100%); }
/* 영상 가장자리(양옆·위아래)만 부드럽게 흐리고 따뜻한 빛을 얹어 포근하게 — 가운데는 또렷하게 둠 */
.final-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 70% 65% at center, rgba(214,200,182,0) 40%, rgba(214,200,182,.28) 100%);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  -webkit-mask-image: radial-gradient(ellipse 72% 68% at center, transparent 48%, #000 100%); mask-image: radial-gradient(ellipse 72% 68% at center, transparent 48%, #000 100%); }
.final-cta .sig { width: min(320px, 64vw); margin: 0 auto 40px; }
.final-cta .lead { color: rgba(244,236,224,.8); margin: 0 auto 44px; }
.final-cta .hero-ctas { justify-content: center; }

/* 바닥글 */
.site-footer { padding: 80px 0 40px; background: var(--paper); border-top: 1px solid var(--line); font-size: 14px; color: var(--umber); }
.footer-grid { display: grid; gap: 40px; }
.footer-mark { width: 56px; }
.footer-grid h4 { margin-bottom: 14px; font-size: 13px; font-weight: 500; color: var(--ink); }
.footer-grid li { padding: 3px 0; }
.footer-grid a:hover { color: var(--ink); }
/* 사업자 정보: 구분선은 글자보다 흐리게, 휴대폰은 항목마다 한 줄 */
/* 순서: 메뉴 → 긴 선 → 사업자 정보 → 저작권 줄 (회장님 지시) */
.footer-biz { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.9; }
.footer-biz strong { display: block; margin-bottom: 4px; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.footer-biz .sep { margin: 0 12px; font-style: normal; color: rgba(106,90,78,.35); }
@media (max-width: 767px) { .footer-biz span { display: block; } .footer-biz .sep { display: none; } }
.footer-biz + .footer-bottom { margin-top: 18px; padding-top: 0; border-top: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* 등장 효과 (효과 스크립트를 못 쓸 때의 기본) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.gsap-on .reveal { transition: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.w > span { display: inline-block; will-change: transform; }
/* 단어 틀이 글자 양옆(A의 왼쪽 끝 등)을 자르지 않도록 좌우 여유 */
.hero-title .w { padding: 0 .08em .1em; margin: 0 -.08em -.1em; }
.hero, .final-cta { will-change: clip-path; }
.hero-media { will-change: transform; }

/* ---------- 메인 메뉴 펼침(하위 메뉴) ---------- */
.nav { gap: 34px; }
.nav-item { position: relative; }
.nav-item > a[aria-current]::before { content: ""; position: absolute; left: 50%; bottom: -4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--brass); }
.nav-drop { position: absolute; top: 100%; left: 50%; min-width: 190px; padding: 10px; transform: translate(-50%, 6px); opacity: 0; visibility: hidden;
  /* 반투명한 따뜻한 베이지 유리 (회장님 지시: 새하얀 상자 대신 고급스럽게) */
  background: rgba(241,234,224,.97); /* 영상 없는 화면: 뒤 글씨가 비치지 않게 진하게 */ -webkit-backdrop-filter: blur(20px) saturate(1.25); backdrop-filter: blur(20px) saturate(1.25); border-radius: 14px; box-shadow: 0 0 0 1px rgba(255,255,255,.4) inset, 0 0 0 1px rgba(106,90,78,.1), 0 22px 44px -22px rgba(43,36,31,.4); transition: opacity .25s, transform .25s var(--ease-out), visibility .25s; }
.over-video .nav-drop { background: rgba(232,221,206,.18); } /* 영상 위: 뒤 영상이 비쳐 보이게 */
.nav-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* 메뉴에서 펼침으로 마우스를 옮길 때 끊기지 않게 */
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop { opacity: 1; visibility: visible; transform: translate(-50%, 12px); }
.nav-drop a { display: block; padding: 9px 12px; border-radius: 9px; font-size: 13.5px; letter-spacing: 0; white-space: nowrap; }
.nav-drop a:hover, .nav-drop a[aria-current] { background: rgba(180,147,94,.14); }
.nav-drop a::after, .nav-drop a::before { display: none; }
.mobile-menu { overflow-y: auto; }
.mobile-menu nav.m-sections { gap: 6px; margin-top: 28px; }
.m-sec { padding: 10px 0 14px; border-bottom: 1px solid var(--line-dark); }
.m-sec > a { display: block; padding: 6px 0 !important; font-size: 1.5rem !important; border: 0 !important; }
.m-sec { overflow: hidden; } /* 줄 첫머리에 오는 구획선을 왼쪽 밖으로 숨김 */
.m-sec ul { display: flex; flex-wrap: wrap; row-gap: 4px; margin: 4px 0 0 -15px; }
/* 하위 메뉴 사이 가는 세로 구획선: 글자보다 흐리고 짧게 */
.m-sec li { position: relative; padding: 0 14px 0 15px; }
.m-sec li::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 10px; margin-top: -5px; background: rgba(244,236,224,.2); }
.mobile-menu .m-sec li a { padding: 4px 0; border: 0; font-size: 14px; font-weight: 400; letter-spacing: 0; color: rgba(244,236,224,.75); }

/* ---------- 하위 페이지 ---------- */
.sub-hero { padding: calc(var(--header-h) + 72px) 0 56px; }
.sub-hero .kicker a:hover { color: var(--ink); }
.sub-hero h1 { margin-top: 18px; font-weight: 200; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.12; letter-spacing: -.04em; text-wrap: balance; }
.sub-hero .lead { margin-top: 22px; }
.sub-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.sub-tabs a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; color: var(--umber); transition: border-color .3s, color .3s, background-color .3s; }
.sub-tabs a:hover { border-color: var(--ink); color: var(--ink); }
.sub-tabs a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--porcelain); }
.sub-body { padding: 24px 0 clamp(96px, 12vw, 160px); }
.block { margin-top: clamp(56px, 7vw, 96px); }
.block:first-child { margin-top: 0; }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 96px; } .split.flip > :first-child { order: 2; } }
.split figure { overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 5; }
.split figure img { width: 100%; height: 100%; object-fit: cover; }
.prose p { color: var(--umber); line-height: 1.95; font-size: clamp(1rem, 1.2vw, 1.08rem); }
.prose p + p { margin-top: 16px; }
.prose h2 { font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.03em; line-height: 1.3; margin-bottom: 22px; }
.prose blockquote { margin: 28px 0 0; padding-left: 20px; border-left: 2px solid var(--brass); font-size: 1.15rem; font-weight: 300; color: var(--ink); }
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card { padding: 28px 26px 30px; border-radius: 16px; background: var(--porcelain); border: 1px solid var(--line); }
.card h3 { font-size: 1.12rem; font-weight: 500; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--umber); line-height: 1.75; }
.card .tag { display: block; margin-bottom: 12px; font-size: 12.5px; font-weight: 500; color: var(--brass); }
a.card { display: block; transition: border-color .3s, transform .4s var(--ease-out); }
a.card:hover { border-color: rgba(180,147,94,.6); transform: translateY(-3px); }
.products { display: grid; gap: 36px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1080px; }
@media (min-width: 900px) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.product .ph { overflow: hidden; border-radius: 14px; aspect-ratio: 330 / 460; background: var(--paper); }
.product .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.product:hover .ph img { transform: scale(1.035); }
.product h3 { margin-top: 16px; font-size: 1.02rem; font-weight: 500; }
.product p { margin-top: 4px; font-size: 14.5px; color: var(--umber); }
.steps-list { display: grid; gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.steps-list li::before { content: counter(s, decimal-leading-zero); font-size: 13px; letter-spacing: .06em; color: var(--brass); padding-top: 4px; }
.steps-list h3 { font-size: 1.1rem; font-weight: 500; }
.steps-list p { margin-top: 6px; color: var(--umber); font-size: 15px; }
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 1.05rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 200; font-size: 1.4rem; line-height: 1; color: var(--brass); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--umber); line-height: 1.85; }
.faq details a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.note-box { max-width: 860px; padding: 26px 28px; border-radius: 16px; background: var(--porcelain); border: 1px dashed rgba(180,147,94,.55); color: var(--umber); line-height: 1.85; }
.note-box strong { display: block; margin-bottom: 6px; color: var(--ink); font-weight: 500; }
.timeline { border-left: 1px solid var(--brass); margin-left: 6px; max-width: 760px; }
.timeline li { position: relative; padding: 0 0 36px 30px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 1px solid var(--brass); }
.timeline .when { font-size: 13px; color: var(--brass); letter-spacing: .04em; }
.timeline h3 { margin-top: 4px; font-size: 1.15rem; font-weight: 500; }
.timeline p { margin-top: 6px; color: var(--umber); }
.inquiry { max-width: 640px; }
.inquiry .field textarea { width: 100%; min-height: 160px; padding: 14px 16px; border: 1px solid rgba(43,36,31,.22); border-radius: 12px; background: var(--porcelain); font: inherit; font-size: 16px; color: var(--ink); resize: vertical; }
.inquiry .field textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(180,147,94,.18); }
.inquiry .row2 { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .inquiry .row2 { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cta-band { margin-top: clamp(64px, 8vw, 112px); padding: clamp(40px, 6vw, 64px); border-radius: 20px; background: var(--night); color: var(--ivory); display: grid; gap: 24px; align-items: center; }
.cta-band p { color: rgba(244,236,224,.8); }
.cta-band h2 { font-weight: 200; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.03em; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; } }

/* ---------- 회원 화면 (가입·로그인·내 정보) ---------- */
.member-link { padding: 10px 6px; font-size: 13px; letter-spacing: .02em; }
.member-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.member-body { min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); }
.member-head { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.member-logo img { width: 40px; height: auto; }
.member-tools { display: flex; gap: 18px; font-size: 13.5px; }
/* 홈페이지 머리글과 같은 글자 색·굵기, 지금 언어가 아닌 것만 살짝 흐리게 */
.member-tools a { color: #5C4F46; font-weight: 600; }
.member-tools a[lang]:not([aria-current]) { opacity: .6; }
.member-tools a:hover { opacity: 1; }
.member-main { flex: 1; display: flex; justify-content: center; padding: 24px 0 96px; }
.member-card { width: 100%; max-width: 460px; }
.member-card h1 { font-weight: 200; font-size: clamp(2.2rem, 5vw, 3rem); letter-spacing: -.03em; line-height: 1.15; }
.member-lead { margin: 14px 0 32px; color: var(--umber); line-height: 1.75; }
.member-lead .as { display: inline-block; margin-top: 8px; font-size: 14px; }
.member-card h2 { margin: 0 0 18px; font-size: 1.1rem; font-weight: 500; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.field input { width: 100%; min-height: 50px; padding: 0 16px; border: 1px solid rgba(43,36,31,.22); border-radius: 12px; background: var(--porcelain); font: inherit; font-size: 16px; color: var(--ink); transition: border-color .25s, box-shadow .25s; }
.field input:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(180,147,94,.18); }
.field input[aria-invalid="true"] { border-color: #A2473A; }
.hint { display: block; margin-top: 6px; font-size: 12.5px; color: var(--umber); }
.err { min-height: 0; margin-top: 6px; font-size: 13px; color: #A2473A; }
.err:empty { display: none; }
.btn-block { width: 100%; }
.btn-google { width: 100%; gap: 10px; background: var(--porcelain); color: var(--ink); border-color: rgba(43,36,31,.22); }
.btn-google:hover { border-color: var(--ink); }
.btn-google svg { width: 18px; height: 18px; }
.divider { display: flex; align-items: center; gap: 14px; margin: 24px 0; font-size: 12.5px; color: var(--umber); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.link-btn { display: inline-block; margin-top: 14px; padding: 4px 0; border: 0; background: none; font: inherit; font-size: 13.5px; color: var(--umber); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.link-btn:hover { color: var(--ink); }
.form-state { margin-top: 14px; font-size: 14px; color: var(--umber); }
.form-state:empty { display: none; }
.form-state.is-error { color: #A2473A; }
.member-switch { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--umber); }
.member-switch a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.consents { margin: 8px 0 24px; padding: 18px 0 0; border: 0; border-top: 1px solid var(--line); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin-bottom: 14px; font-size: 14.5px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); }
.check em { font-style: normal; color: var(--umber); font-size: 13px; }
.check .err { grid-column: 2; margin-top: 0; }
.policy { margin: 0 0 16px 32px; font-size: 13px; color: var(--umber); }
.policy summary { cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.policy dl { margin: 12px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--porcelain); line-height: 1.7; }
.policy dt { font-weight: 600; color: var(--ink); }
.policy dd { margin: 0 0 8px; }
.policy .draft { margin-top: 8px; font-size: 12px; }
.policy .draft a, .pv-link { text-decoration: underline; text-underline-offset: 3px; }
/* 개인정보처리방침 페이지 */
.privacy { max-width: 760px; }
.pv-sec { padding: 28px 0; border-top: 1px solid var(--line); }
.pv-sec h2 { font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.pv-sec ul { display: grid; gap: 8px; margin-top: 12px; padding-left: 1.1em; list-style: disc; color: var(--umber); font-size: 15px; line-height: 1.8; }
.foot-privacy { font-weight: 700; } /* 법에 따라 다른 링크보다 눈에 띄게 */
.member-signup .only-complete, .member-signup.is-complete .only-new { display: none; }
.member-signup.is-complete .only-complete { display: block; }
.member-signup.is-complete button.only-complete { display: inline-flex; }
.notice { margin-bottom: 20px; padding: 14px 16px; border-radius: 12px; background: var(--porcelain); border: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
.notice .link-btn { margin-top: 0; }
.member-account .acc-body { display: none; }
.member-account.is-ready .acc-body { display: grid; gap: 40px; }
.member-account.is-ready .acc-loading { display: none; }
.acc-loading { height: 160px; border-radius: 16px; background: linear-gradient(90deg, var(--sand), var(--porcelain), var(--sand)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.acc-email { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14.5px; }
.acc-email span { color: var(--umber); }
.member-account.is-google .only-email { display: none; }
.member-account:not(.is-google) .only-google { display: none; }
/* 회원 탈퇴: 작은 글자 버튼을 눌러야 펼쳐짐 */
.danger-wrap { text-align: center; }
.danger-wrap > summary { list-style: none; margin-top: 4px; font-size: 12.5px; opacity: .75; }
.danger-wrap > summary::-webkit-details-marker { display: none; }
.danger-wrap[open] > summary { opacity: 1; }
.danger-wrap .danger { margin-top: 20px; text-align: left; }
.danger { padding-top: 32px; border-top: 1px solid var(--line); }
.danger p { margin-bottom: 14px; font-size: 14px; color: var(--umber); }
.btn-danger { color: #A2473A; border-color: rgba(162,71,58,.45); background: transparent; }
.btn-danger:hover { background: #A2473A; color: #fff; border-color: #A2473A; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .intro { display: none; }
}
