/* 제주의빛 — 현무암의 검정 위에 새벽빛 한 줄 */
:root {
  --ink: #0A0B0D;
  --basalt: #121418;
  --stone: #1B1E23;
  --line: rgba(238, 234, 227, 0.12);
  --text: #EEEAE3;
  --dim: #9A968F;
  --gold: #F2B35E;
  --gold-soft: #F7D49A;
  --mist: #BFD6DA;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--ink); color: var(--text); font-family: var(--sans);
  font-size: 17px; line-height: 1.7; letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--ink); }
.gold { color: var(--gold); }
.muted { color: var(--dim); }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

/* film grain over everything */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='3'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* LOADER */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--ink); display: grid; place-items: center; }
.loader-inner { display: grid; justify-items: center; gap: 18px; }
.loader-mark { width: 96px; height: 96px; margin-bottom: 8px; filter: drop-shadow(0 0 18px rgba(242,179,94,.55)); }
.loader-word { font-size: clamp(34px, 5vw, 60px); font-weight: 750; letter-spacing: -0.04em; opacity: 0; }
.loader-line { width: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); box-shadow: 0 0 18px var(--gold); }
.loader-en { font-size: 12px; letter-spacing: .5em; color: var(--gold-soft); opacity: 0; padding-left: .5em; }
.no-js .loader { display: none; }

/* CURSOR */
.cursor { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; display: none; opacity: 0; transition: opacity .4s; }
.cursor.is-on { opacity: 1; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor-dot { width: 6px; height: 6px; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.cursor-ring { width: 38px; height: 38px; border: 1px solid rgba(242,179,94,.45); transition: width .35s var(--ease), height .35s var(--ease), background .35s, border-color .35s; }
.cursor.is-hover .cursor-ring { width: 72px; height: 72px; background: rgba(242,179,94,.08); border-color: rgba(242,179,94,.8); }
@media (pointer: fine) { .cursor { display: block; } body, a, button { cursor: none; } }

.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 120; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--gold-soft)); box-shadow: 0 0 12px var(--gold); }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; gap: 32px; padding: 22px var(--pad); transition: background .5s, padding .5s, border-color .5s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(10,11,13,.72); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); padding-top: 14px; padding-bottom: 14px; border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav { transition: transform .6s var(--ease), background .5s, padding .5s, border-color .5s, opacity .8s; }
.js .nav.is-intro { opacity: 0; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 750; font-size: 19px; letter-spacing: -0.03em; }
.mark { overflow: visible; }
.mark .mk-ring { stroke: var(--gold); stroke-opacity: .55; stroke-width: 1.6; }
.mark .mk-sun { fill: var(--gold); }
.mark .mk-horizon { stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; }
.mark .mk-w1, .mark .mk-w2, .mark .mk-w3 { stroke: var(--gold-soft); stroke-linecap: round; stroke-width: 1.4; }
.mark .mk-w1 { stroke-opacity: .8; } .mark .mk-w2 { stroke-opacity: .55; } .mark .mk-w3 { stroke-opacity: .35; }
.mark .mk-sun { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .7s var(--ease), filter .7s; }
.brand-mark { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(242,179,94,.45)); }
.brand:hover .mk-sun { transform: translateY(-3px) scale(1.08); filter: drop-shadow(0 0 6px var(--gold)); }
.brand-text { display: grid; line-height: 1.05; }
.brand-en { font-size: 9px; letter-spacing: .36em; color: var(--gold-soft); font-weight: 500; margin-top: 3px; }
.nav-links { display: flex; gap: 30px; margin-left: auto; font-size: 15px; color: var(--dim); }
.nav-links { position: relative; align-items: center; }
.nav-links a { position: relative; z-index: 1; padding: 6px 0; transition: color .4s, opacity .5s var(--ease); }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }
/* 메뉴 효과: 금빛 알약이 마우스를 따라 미끄러짐 · 글자가 굴러 금빛 글자로 바뀜 · 다른 메뉴 흐리기 · 글자가 커서 쪽으로 살짝 끌림 */
.nav-links:hover a:not(:hover) { opacity: .45; }
.nl-label { position: relative; display: inline-flex; overflow: hidden; line-height: 1.35; padding: .02em 0; vertical-align: top; }
.nav-links .rc::after { color: var(--gold-soft); text-shadow: 0 0 14px rgba(242,179,94,.55); }
.nav-links a:hover .rc, .nav-links a:focus-visible .rc { transform: translateY(-100%); }
.nav-pill { position: absolute; left: 0; top: 50%; height: 36px; margin-top: -18px; width: 0; z-index: 0; pointer-events: none; opacity: 0; border-radius: 999px;
  background: radial-gradient(120% 140% at var(--px, 50%) 0%, rgba(242,179,94,.16), rgba(242,179,94,.05) 60%, rgba(242,179,94,.02));
  border: 1px solid rgba(242,179,94,.3); box-shadow: inset 0 1px 0 rgba(255,241,216,.12), 0 0 22px rgba(242,179,94,.14); }
.nav-pill::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #FFF1D8; box-shadow: 0 0 10px 2px rgba(242,179,94,.9); }
.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none; opacity: 0; transition: opacity .7s;
  background: linear-gradient(90deg, transparent calc(var(--nx, 50%) - 240px), var(--gold) var(--nx, 50%), transparent calc(var(--nx, 50%) + 240px)); box-shadow: 0 0 14px rgba(242,179,94,.5); }
.nav:hover::after { opacity: 1; }
.brand-word { transition: letter-spacing .9s var(--ease), text-shadow .6s; }
.brand:hover .brand-word { letter-spacing: .02em; text-shadow: 0 0 16px rgba(242,179,94,.35); }
.brand:hover .brand-mark .mk-ring { stroke-opacity: .95; stroke-dasharray: 158; animation: mk-draw 1.4s var(--ease) both; }
.brand-mark .mk-w1, .brand-mark .mk-w2, .brand-mark .mk-w3 { transform-box: fill-box; transform-origin: center; }
.brand:hover .brand-mark .mk-w1 { animation: mk-wave 1.8s ease-in-out infinite alternate; }
.brand:hover .brand-mark .mk-w2 { animation: mk-wave 1.8s ease-in-out -.6s infinite alternate; }
.brand:hover .brand-mark .mk-w3 { animation: mk-wave 1.8s ease-in-out -1.2s infinite alternate; }
.nav-cta { margin-left: 4px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; padding: 12px 10px; }
.nav-toggle span { display: block; height: 1.5px; background: var(--text); margin: 6px 0; transition: transform .4s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 95; background: rgba(10,11,13,.96); display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 var(--pad); clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); }
.mobile-menu a { font-size: 40px; font-weight: 700; letter-spacing: -0.04em; padding: 6px 0; border-bottom: 1px solid var(--line); }
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }

/* BUTTONS — 글자 굴림 · 커서에서 번지는 채움 · 도는 금빛 테두리 · 화살표 교체 · 누를 때 빛 */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.btn { position: relative; display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 28px; border-radius: 999px; font-weight: 650; font-size: 16px; letter-spacing: -0.01em; overflow: hidden; isolation: isolate; scale: 1; -webkit-tap-highlight-color: transparent; transition: scale .4s var(--ease), box-shadow .6s var(--ease), color .45s var(--ease), border-color .45s; }
.btn:active { scale: .955; transition-duration: .12s; }
.btn:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 4px; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; gap: 8px; }
/* 커서가 들어온 자리에서 번지는 원 */
.btn-fill { position: absolute; z-index: -1; left: var(--x, 50%); top: var(--y, 50%); width: var(--d, 320px); height: var(--d, 320px); border-radius: 50%; transform: translate(-50%, -50%) scale(0); transition: transform .7s var(--ease); pointer-events: none; }
.btn:hover .btn-fill, .btn:focus-visible .btn-fill { transform: translate(-50%, -50%) scale(1); }
/* 테두리를 따라 도는 빛 */
.btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.2px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 64%, rgba(255,226,170,.15) 72%, rgba(255,240,214,.95) 84%, transparent 94%);
  -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 exclude, linear-gradient(#000 0 0);
  animation: btn-spin 4.5s linear infinite; opacity: .75; transition: opacity .4s; }
@keyframes btn-spin { to { --ang: 360deg; } }
/* 글자마다 위로 굴러 올라감 */
.btn-label { position: relative; display: inline-flex; overflow: hidden; line-height: 1.35; padding: .02em 0; }
.rc { position: relative; display: inline-block; white-space: pre; transition: transform .6s var(--ease) calc(var(--i) * 16ms); }
.rc::after { content: attr(data-c); position: absolute; left: 0; top: 100%; }
.btn:hover .rc, .btn:focus-visible .rc { transform: translateY(-100%); }
/* 화살표가 빠져나가고 새 화살표가 들어온다 */
.btn-arrow { position: relative; display: inline-grid; width: 1.15em; height: 1.3em; overflow: hidden; font-style: normal; place-items: center; }
.btn-arrow b { grid-area: 1 / 1; font-weight: 500; transition: transform .6s var(--ease); }
.btn-arrow b + b { transform: translateX(-140%); }
.btn:hover .btn-arrow b:first-child { transform: translateX(140%); }
.btn:hover .btn-arrow b + b { transform: translateX(0); transition-delay: .06s; }
.btn-arrow.is-down b + b { transform: translateY(-140%); }
.btn:hover .btn-arrow.is-down b:first-child { transform: translateY(140%); }
.btn:hover .btn-arrow.is-down b + b { transform: translateY(0); }
.btn-arrow.is-out b + b { transform: translate(-140%, 140%); }
.btn:hover .btn-arrow.is-out b:first-child { transform: translate(140%, -140%); }
.btn:hover .btn-arrow.is-out b + b { transform: translate(0, 0); }
/* 누른 자리의 빛 고리 */
.btn-burst { position: absolute; z-index: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; pointer-events: none; border: 1.5px solid rgba(255,240,214,.9); box-shadow: 0 0 18px rgba(242,179,94,.9); }
.spark { position: fixed; z-index: 160; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: #FFE3B0; box-shadow: 0 0 10px #F2B35E, 0 0 2px #fff; pointer-events: none; }

.btn-gold { color: var(--ink); background: linear-gradient(180deg, #FAD08C 0%, #F2B35E 52%, #E39C43 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -3px 8px rgba(130,62,0,.22), 0 0 0 1px rgba(255,214,150,.35), 0 14px 40px -12px rgba(242,179,94,.75); }
.btn-gold:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -3px 8px rgba(130,62,0,.18), 0 0 0 1px rgba(255,230,190,.6), 0 18px 60px -10px rgba(242,179,94,.95), 0 0 80px -20px rgba(255,214,150,.8); }
.btn-gold .btn-fill { background: radial-gradient(circle, #FFF1D8 0%, #FFD99C 38%, #F6BE6A 100%); }
.btn-gold::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%); transform: translateX(-120%); }
.btn-gold:hover::before { transform: translateX(120%); transition: transform 1s var(--ease); }
.btn-gold::after { opacity: .9; }
.btn-ghost { color: var(--text); border: 1px solid rgba(238,234,227,.2); background: rgba(238,234,227,.03); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost .btn-fill { background: radial-gradient(circle, #FFE7BF 0%, #F2B35E 70%); }
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--ink); border-color: transparent; box-shadow: 0 14px 44px -14px rgba(242,179,94,.8); }
.btn-ghost:hover::after { opacity: 0; }
.cursor.is-btn .cursor-ring { width: 0; height: 0; opacity: 0; }
.cursor.is-nav .cursor-ring { width: 0; height: 0; opacity: 0; }
.cursor.is-btn .cursor-dot { background: var(--ink); box-shadow: 0 0 0 2px var(--gold-soft); }
.magnetic { will-change: transform; }

/* HERO */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 140px var(--pad) 48px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-gl { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.webgl .hero-video, .webgl .hero-canvas { display: none; }
.hero-hud { display: grid; justify-items: end; gap: 6px; text-align: right; }
.hud-hint { font-size: 11px; letter-spacing: .08em; color: rgba(238,234,227,.45); display: none; }
.webgl .hud-hint { display: block; }
.hero-coord { font-variant-numeric: tabular-nums; transition: color .3s; }
.hero-coord.is-live { color: var(--gold-soft); }
.hero-coord.is-live::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); vertical-align: middle; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hero-spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 40%), rgba(242,179,94,.13), transparent 60%); mix-blend-mode: screen; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10,11,13,.35), rgba(10,11,13,0) 30%, rgba(10,11,13,.15) 60%, var(--ink) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 1180px; pointer-events: none; }
.hero-content a { pointer-events: auto; }
.eyebrow { display: flex; align-items: center; gap: 16px; margin: 0 0 28px; font-size: 14px; color: var(--gold-soft); letter-spacing: .02em; }
.eyebrow em { font-size: 19px; }
.eyebrow-line { width: 56px; height: 1px; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.hero-title { margin: 0; font-size: clamp(48px, 10.2vw, 156px); line-height: 1.02; font-weight: 780; letter-spacing: -0.055em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .split { display: inline-block; }
.char { display: inline-block; }
.hero-title .gold { color: var(--gold); }
.hero-sub { margin: 34px 0 0; max-width: 560px; font-size: clamp(17px, 1.6vw, 21px); color: rgba(238,234,227,.82); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-foot { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: end; margin-top: 64px; font-size: 12px; color: var(--dim); letter-spacing: .14em; }
.scroll-cue { width: 1px; height: 64px; background: rgba(238,234,227,.15); position: relative; overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* MARQUEE */
.marquee { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: var(--basalt); }
.marquee-track { display: flex; gap: 40px; width: max-content; align-items: center; font-size: clamp(26px, 3.4vw, 48px); font-weight: 700; letter-spacing: -0.04em; white-space: nowrap; will-change: transform; }
.marquee-track b { color: var(--gold); font-size: .5em; font-weight: 400; }
.marquee-track span:nth-of-type(even) { -webkit-text-stroke: 1px rgba(238,234,227,.55); color: transparent; }

/* SECTIONS */
.section { position: relative; padding: clamp(110px, 16vw, 200px) var(--pad); }
.section-head { max-width: 1100px; margin-bottom: clamp(56px, 8vw, 100px); }
.label { display: flex; align-items: center; gap: 14px; margin: 0 0 26px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold-soft); }
.label span { font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .16em; padding: 4px 10px; border: 1px solid rgba(242,179,94,.4); border-radius: 999px; color: var(--gold); }
.label.small { font-size: 18px; margin: 0; }
.h2 { margin: 0; font-size: clamp(40px, 7vw, 104px); line-height: 1.06; font-weight: 760; letter-spacing: -0.05em; }
.h2.center, .lead.center { text-align: center; margin-left: auto; margin-right: auto; }
.mask > span { display: block; overflow: hidden; padding-bottom: .05em; }
.mask > span > i { display: inline-block; font-style: normal; }
.lead { max-width: 640px; margin: 34px 0 0; font-size: clamp(17px, 1.5vw, 20px); color: rgba(238,234,227,.78); }

/* WHAT cards */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.card { position: relative; border-radius: 28px; overflow: hidden; background: var(--basalt); border: 1px solid var(--line); }
.card::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; background: radial-gradient(420px circle at var(--x, 50%) var(--y, 50%), rgba(242,179,94,.16), transparent 55%); opacity: 0; transition: opacity .4s; }
.card:hover::before { opacity: 1; }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease), filter 1s; filter: brightness(.8) saturate(.9); }
.card:hover .card-media img { transform: scale(1.0); filter: brightness(1) saturate(1); }
.card-body { position: relative; z-index: 3; padding: clamp(26px, 3vw, 40px); }
.card-no { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 19px; }
.card h3 { margin: 10px 0 14px; font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -0.045em; line-height: 1.1; font-weight: 760; }
.card p { margin: 0; color: rgba(238,234,227,.76); max-width: 520px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; }
.tags li { font-size: 13px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--dim); }
/* 하는 일 효과: 옆 카드 어둡게 · 본문 밝아짐 · 태그가 차례로 금빛 · 태그 하나에 마우스를 올리면 떠오름 */
.card-body { transition: opacity .6s var(--ease); }
.card.is-dim .card-body { opacity: .38; }
.card.is-dim .card-media img { filter: brightness(.45) saturate(.7); }
.card p { transition: color .6s; }
.lux:hover .card-body p { color: rgba(238,234,227,.94); }
.tags li { transition: color .5s, border-color .5s, background .5s, box-shadow .5s, transform .6s var(--ease); }
.lux:hover .tags li { border-color: rgba(242,179,94,.38); color: var(--gold-soft); }
.lux:hover .tags li:nth-child(2) { transition-delay: .07s; }
.lux:hover .tags li:nth-child(3) { transition-delay: .14s; }
.tags li:hover, .lux:hover .tags li:hover { transition-delay: 0s; background: rgba(242,179,94,.13); border-color: var(--gold); color: #FFF1D8; transform: translateY(-3px); box-shadow: 0 8px 22px -8px rgba(242,179,94,.55); }
.what .lead { transition: color .6s; }
.what .section-head:hover .lead { color: rgba(238,234,227,.95); }

/* EDUCATION */
.education { background: linear-gradient(180deg, var(--ink), var(--basalt) 30%, var(--basalt) 70%, var(--ink)); }
.process { position: relative; }
.process-line { position: absolute; top: 9px; left: 0; width: 100%; height: 40px; overflow: visible; }
.process-line path { fill: none; stroke: var(--gold); stroke-width: 1.5; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(242,179,94,.8)); }
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 64px); }
.step { padding-top: 64px; }
.step-dot { position: absolute; margin-top: -52px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 1.5px solid var(--gold); box-shadow: 0 0 0 6px rgba(242,179,94,.08), 0 0 18px rgba(242,179,94,.6); }
.step-when { display: block; font-size: 13px; letter-spacing: .14em; color: var(--gold); margin-bottom: 12px; }
.step h3 { margin: 0 0 14px; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.04em; line-height: 1.2; font-weight: 720; }
.step p { margin: 0; color: rgba(238,234,227,.72); }
.note { margin: 64px 0 0; padding: 22px 26px; border: 1px solid var(--line); border-radius: 18px; color: rgba(238,234,227,.82); background: rgba(242,179,94,.04); max-width: 760px; }
.programs { margin-top: clamp(100px, 13vw, 170px); }
.programs-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.programs-head .muted { margin: 0; font-size: 15px; }
.program-list { list-style: none; margin: 0; padding: 0; }
.program { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1.4fr) 140px minmax(0, 1.6fr) 48px; gap: 20px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line); isolation: isolate; }
/* 마우스를 올린 줄만 또렷하게 */
.program-list:hover .program:not(:hover) > span:not(.p-arrow) { opacity: .28; }
/* 커서가 들어온 방향에서 차오르는 금빛 */
.program::before { content: ""; position: absolute; inset: 0 -24px; z-index: -1; border-radius: 4px; pointer-events: none;
  background: radial-gradient(600px 160px at var(--lx, 30%) 50%, rgba(242,179,94,.14), transparent 70%), linear-gradient(90deg, rgba(242,179,94,.07), rgba(242,179,94,.02) 70%, transparent);
  transform: scaleY(0); transform-origin: var(--fo, bottom); transition: transform .7s var(--ease); }
.program:hover::before { transform: scaleY(1); }
/* 커서 자리에서 양옆으로 퍼지는 금빛 밑줄 */
.program::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-soft) 50%, var(--gold) 80%, transparent);
  transform: scaleX(0); transform-origin: var(--lx, 50%) 50%; transition: transform .9s var(--ease); }
.program:hover::after { transform: scaleX(1); }
.program > span { transition: transform .7s var(--ease), color .5s, opacity .5s var(--ease); }
.program:hover .p-no { transform: translateX(10px); }
.program:hover .p-name { transform: translateX(16px); }
.program:hover .p-time { transform: translateX(12px); }
.program:hover .p-desc { transform: translateX(8px); color: rgba(238,234,227,.82); }
.p-no { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 22px; text-shadow: 0 0 0 transparent; transition: text-shadow .5s; }
.program:hover .p-no { text-shadow: 0 0 18px rgba(242,179,94,.7); }
/* 과정 이름 위로 빛이 지나간다 */
.p-name { font-size: clamp(21px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.25;
  background: linear-gradient(100deg, var(--text) 0 42%, #FFE7BF 48%, var(--gold) 50%, #FFE7BF 52%, var(--text) 58% 100%); background-size: 260% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.program:hover .p-name { background-position: 0% 0; transition: transform .7s var(--ease), background-position 1.1s var(--ease); }
.p-time { font-size: 14px; color: var(--gold-soft); letter-spacing: .04em; }
.p-desc { color: var(--dim); font-size: 15px; }
/* 둥근 화살표 단추 */
.p-arrow { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; color: var(--gold); font-size: 18px;
  border: 1px solid rgba(242,179,94,.0); transform: scale(.6); opacity: 0; transition: transform .6s var(--ease), opacity .4s, border-color .5s, background .5s, color .5s, box-shadow .6s; }
.p-arrow b { grid-area: 1 / 1; font-weight: 500; transition: transform .6s var(--ease); }
.p-arrow b + b { transform: translate(-150%, 150%); }
.program:hover .p-arrow { transform: none; opacity: 1; border-color: rgba(242,179,94,.6); background: var(--gold); color: var(--ink); box-shadow: 0 10px 30px -8px rgba(242,179,94,.8); }
.program:hover .p-arrow b:first-child { transform: translate(150%, -150%); }
.program:hover .p-arrow b + b { transform: none; transition-delay: .12s; }
/* 떠다니는 미리보기: 아래에서 위로 드러나는 사진 · 움직이는 속도만큼 기울기 · 시간 표시 */
.float-preview { position: fixed; left: 0; top: 0; z-index: 60; width: 340px; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.6);
  box-shadow: 0 40px 90px -20px rgba(0,0,0,.75), 0 20px 70px -30px rgba(242,179,94,.5); border: 1px solid rgba(242,179,94,.3); background: var(--basalt); }
.float-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.float-preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,11,13,.7)); pointer-events: none; }
.fp-tag { position: absolute; left: 14px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .06em; color: var(--gold-soft); }
.fp-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }

/* RECORD */
.record { padding-top: clamp(60px, 8vw, 100px); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(32px, 5vw, 64px) clamp(8px, 2vw, 32px); display: grid; gap: 14px; align-content: start; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num { font-size: clamp(64px, 10vw, 156px); line-height: .95; font-weight: 300; letter-spacing: -0.06em; background: linear-gradient(180deg, var(--gold-soft), var(--gold) 60%, #B97A2E); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 16px; color: rgba(238,234,227,.8); line-height: 1.5; }
.stat-label small { display: block; color: var(--dim); font-size: 13px; margin-top: 4px; }
/* 숫자 통계: 다른 칸 흐리기 · 커서 빛 · 위쪽 금빛 선 · 숫자 위로 지나가는 빛 · 라벨 떠오름 (.stat은 GSAP 등장 대상이라 효과는 자식·의사 요소에만) */
.stat { position: relative; isolation: isolate; overflow: hidden; }
.stat > .stat-num, .stat > .stat-label { position: relative; z-index: 1; }
.stat-num { justify-self: start; will-change: transform; transition: opacity .5s var(--ease), filter .6s var(--ease);
  background: linear-gradient(110deg, transparent 38%, rgba(255,250,238,.95) 50%, transparent 62%) 150% 0 / 250% 100% no-repeat, linear-gradient(180deg, var(--gold-soft), var(--gold) 60%, #B97A2E); -webkit-background-clip: text; background-clip: text; }
.stat-label { transition: opacity .5s var(--ease), transform .8s var(--ease), color .5s; }
.stat-label small { transition: color .5s; }
.stats:hover .stat:not(:hover) > .stat-num, .stats:hover .stat:not(:hover) > .stat-label { opacity: .28; }
.stat:hover .stat-num { filter: drop-shadow(0 0 22px rgba(242,179,94,.45)); animation: stat-shine 1.3s var(--ease) both; }
.stat:hover .stat-label { color: #FFF8EC; transform: translateY(-4px); }
.stat:hover .stat-label small { color: var(--gold-soft); }
@keyframes stat-shine { from { background-position: 150% 0, 0 0; } to { background-position: -50% 0, 0 0; } }
.stat::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .7s;
  background: radial-gradient(circle 280px at var(--x, 50%) var(--y, 50%), rgba(242,179,94,.13), rgba(242,179,94,.04) 45%, transparent 72%); }
.stat:hover::before { opacity: 1; }
.stat::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent); box-shadow: 0 0 14px rgba(242,179,94,.7);
  transform: scaleX(0); transform-origin: var(--lx, 50%) 0; transition: transform 1s var(--ease); }
.stat:hover::after { transform: scaleX(1); }
.timeline { position: relative; list-style: none; margin: clamp(60px, 8vw, 100px) 0 0; padding: 0 0 0 44px; max-width: 1100px; }
/* 왼쪽 세로 줄기: 스크롤만큼, 마우스를 올린 항목까지 금빛이 차오른다 */
.timeline::before { content: ""; position: absolute; left: 7px; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, transparent, var(--line) 8%, var(--line) 92%, transparent); }
.tl-fill { position: absolute; left: 7px; top: 0; width: 1px; height: 0; pointer-events: none; background: linear-gradient(180deg, rgba(242,179,94,0), var(--gold) 30%, var(--gold-soft)); box-shadow: 0 0 12px rgba(242,179,94,.7); }
.tl-fill::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: #FFF1D8; box-shadow: 0 0 12px 3px rgba(242,179,94,.9); }
.timeline li { position: relative; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.timeline time { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--gold-soft); }
.timeline p { margin: 0; font-size: 17px; }
.timeline li > time, .timeline li > p { position: relative; z-index: 1; transition: transform .7s var(--ease), color .5s, opacity .5s var(--ease), text-shadow .5s; }
.timeline:hover li:not(:hover) > time, .timeline:hover li:not(:hover) > p { opacity: .3; }
.timeline li:hover > time { transform: translateX(8px); color: var(--gold); text-shadow: 0 0 18px rgba(242,179,94,.6); }
.timeline li:hover > p { transform: translateX(14px); color: #FFF8EC; }
/* 항목 점: 지나온 항목은 금빛, 마우스를 올리면 커지며 파동 */
.tl-node { position: absolute; left: -41px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--ink); border: 1px solid rgba(242,179,94,.45); transition: background .5s, border-color .5s, box-shadow .6s, transform .6s var(--ease); }
.timeline li.is-lit .tl-node { background: var(--gold); border-color: var(--gold-soft); box-shadow: 0 0 10px rgba(242,179,94,.6); }
.timeline li:hover .tl-node { transform: scale(1.55); background: #FFF1D8; box-shadow: 0 0 0 5px rgba(242,179,94,.14), 0 0 18px rgba(242,179,94,.9); }
.tl-node::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--gold-soft); opacity: 0; }
.timeline li:hover .tl-node::after { animation: tl-pulse 1.6s var(--ease) infinite; }
@keyframes tl-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.6); opacity: 0; } }
/* 커서 쪽 은은한 빛과 왼쪽에서 그어지는 금빛 밑줄 */
.tl-glow { position: absolute; inset: 0 -20px 0 -20px; z-index: 0; pointer-events: none; border-radius: 6px; opacity: 0; transition: opacity .6s;
  background: radial-gradient(520px 120px at var(--lx, 30%) 50%, rgba(242,179,94,.12), transparent 70%); }
.timeline li:hover .tl-glow { opacity: 1; }
.timeline li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none; background: linear-gradient(90deg, var(--gold), rgba(242,179,94,.2) 70%, transparent); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.timeline li:hover::after { transform: scaleX(1); }

/* WORK — horizontal */
.work { position: relative; background: var(--ink); }
.work-pin { position: relative; height: 100svh; display: flex; align-items: center; overflow: hidden; padding-left: var(--pad); }
.work-intro { flex: 0 0 min(440px, 34vw); padding-right: 40px; }
.work-intro .h2 { font-size: clamp(40px, 5.4vw, 84px); }
.work-hint { margin-top: 40px; font-size: 13px; color: var(--dim); letter-spacing: .08em; }
.work-track { display: flex; gap: 28px; padding-right: var(--pad); will-change: transform; }
.work-card { position: relative; flex: 0 0 clamp(300px, 34vw, 500px); border-radius: 26px; overflow: hidden; background: var(--basalt); border: 1px solid var(--line); }
.work-art { aspect-ratio: 4 / 3; position: relative; overflow: hidden; background: var(--stone); }
.work-art::before, .work-art::after { content: ""; position: absolute; inset: 0; }
.art-1 { background: radial-gradient(circle at 70% 30%, rgba(242,179,94,.5), transparent 45%), repeating-linear-gradient(90deg, rgba(238,234,227,.07) 0 1px, transparent 1px 48px), linear-gradient(160deg, #1d1a16, #0d0e10); }
.art-1::after { inset: 22% 18%; border: 1px solid rgba(242,179,94,.55); box-shadow: inset 0 0 0 14px rgba(10,11,13,.6), 0 0 40px rgba(242,179,94,.2); }
.art-2 { background: radial-gradient(circle at 50% 50%, #0d0e10 0 18%, rgba(242,179,94,.85) 19%, rgba(242,179,94,.15) 24%, transparent 25%), repeating-radial-gradient(circle at 50% 50%, rgba(191,214,218,.18) 0 1px, transparent 1px 22px), linear-gradient(180deg, #111419, #0b0c0e); }
.art-3 { background: repeating-linear-gradient(0deg, rgba(238,234,227,.06) 0 1px, transparent 1px 34px), linear-gradient(135deg, #12161b, #0b0c0e); }
.art-3::after { left: 34%; right: 34%; top: 14%; bottom: 14%; border-radius: 28px; border: 1.5px solid rgba(242,179,94,.7); box-shadow: 0 0 50px rgba(242,179,94,.25); background: linear-gradient(180deg, rgba(242,179,94,.12), transparent); }
.art-4 { background: radial-gradient(circle at 30% 70%, rgba(191,214,218,.35), transparent 40%), radial-gradient(circle at 75% 35%, rgba(242,179,94,.35), transparent 35%), linear-gradient(180deg, #10141a, #0b0c0e); filter: saturate(.9); }
.art-4::after { background: repeating-radial-gradient(ellipse at 50% 120%, transparent 0 26px, rgba(238,234,227,.08) 27px 28px); }
.art-5 { background: linear-gradient(110deg, transparent 40%, rgba(242,179,94,.4) 50%, transparent 60%), repeating-linear-gradient(90deg, rgba(238,234,227,.06) 0 2px, transparent 2px 14px), linear-gradient(180deg, #15130f, #0b0c0e); }
.art-6 { background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(242,179,94,.55), transparent 70%), linear-gradient(180deg, #0e1116, #0b0c0e); }
.art-6::after { left: 50%; top: 22%; width: 2px; height: 46%; background: var(--gold-soft); box-shadow: 0 0 24px var(--gold); transform: translateX(-50%); }
.work-meta { position: relative; z-index: 3; padding: 28px 30px 32px; }
/* CARDS — 3D 기울기 · 빛 반사 · 커서를 따라가는 테두리 빛 · 금빛 그림자 */
.lux { will-change: transform; transition: border-color .6s, box-shadow .8s var(--ease); }
.lux:hover { border-color: rgba(242,179,94,.18); box-shadow: 0 60px 100px -50px rgba(0,0,0,.95), 0 34px 100px -56px rgba(242,179,94,.55); }
.lux::after { content: ""; position: absolute; inset: 0; z-index: 5; border-radius: inherit; padding: 1.2px; pointer-events: none;
  background: radial-gradient(300px circle at var(--x, 50%) var(--y, 50%), rgba(255,236,200,1), rgba(242,179,94,.45) 35%, transparent 70%);
  -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 exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .6s; }
.lux:hover::after { opacity: 1; }
.lux-glare { position: absolute; inset: 0; z-index: 4; border-radius: inherit; pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity .6s;
  background: radial-gradient(700px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,240,214,.10), transparent 45%),
              linear-gradient(115deg, transparent calc(var(--gx, 50%) - 26%), rgba(255,246,230,.06) calc(var(--gx, 50%) - 6%), rgba(255,246,230,.10) var(--gx, 50%), transparent calc(var(--gx, 50%) + 24%)); }
.lux:hover .lux-glare { opacity: 1; }
/* 본문 위에 금빛 선이 그어진다 */
.card-body::before, .work-meta::before { content: ""; position: absolute; top: 0; left: clamp(26px, 3vw, 40px); right: clamp(26px, 3vw, 40px); height: 1px; background: linear-gradient(90deg, var(--gold), rgba(242,179,94,.15) 70%, transparent); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); }
.work-meta::before { left: 30px; right: 30px; }
.lux:hover .card-body::before, .lux:hover .work-meta::before { transform: scaleX(1); }
.card-body h3, .work-meta h3 { transition: color .6s; }
.lux:hover .card-body h3, .lux:hover .work-meta h3 { color: #FFF8EC; }
/* 작업 그림: 커서 쪽 빛 + 무늬가 반대로 움직이는 깊이 */
.work-art { transition: filter .8s var(--ease); }
.work-art::before { z-index: 1; background: radial-gradient(260px circle at var(--ax, 50%) var(--ay, 50%), rgba(255,214,150,.38), transparent 62%); mix-blend-mode: screen; opacity: 0; transition: opacity .6s; }
.work-art::after { translate: var(--tx, 0px) var(--ty, 0px); transition: translate 1s var(--ease), box-shadow .8s; }
.work-card:hover .work-art { filter: brightness(1.18) saturate(1.12); }
.work-card:hover .work-art::before { opacity: 1; }
.work-meta span { font-size: 13px; color: var(--gold-soft); letter-spacing: .04em; }
.work-meta h3 { margin: 10px 0 8px; font-size: clamp(22px, 2.1vw, 30px); letter-spacing: -0.04em; line-height: 1.25; font-weight: 720; }
.work-meta p { margin: 0; color: var(--dim); font-size: 15px; }
.work-link { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--gold); }

/* FILM */
.film { padding: clamp(60px, 8vw, 120px) var(--pad); }
.film-frame { position: relative; border-radius: 30px; overflow: hidden; aspect-ratio: 16 / 9; clip-path: inset(8% 10% 8% 10% round 30px); border: 1px solid var(--line); background: var(--basalt); }
.film-video { width: 100%; height: 100%; object-fit: cover; }

/* ABOUT */
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.about-media { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--line); }
.about-media img { width: 100%; height: 118%; object-fit: cover; }
.about-body p { max-width: 560px; color: rgba(238,234,227,.8); }
.role { color: var(--gold-soft) !important; margin: 16px 0 28px; font-size: 15px; letter-spacing: .04em; }
.about-links { display: flex; gap: 28px; margin-top: 36px; }
/* 대표 소개 효과: 사진 3D 기울기(WebGL 사진도 함께) · 금빛 그림자 · 이름 위로 지나가는 빛 · 문단 강조 · 링크 화살표 굴림 */
.about-media { will-change: transform; transition: border-color .6s, box-shadow .9s var(--ease); }
.about-media:hover { border-color: rgba(242,179,94,.25); box-shadow: 0 70px 110px -55px rgba(0,0,0,.95), 0 40px 120px -60px rgba(242,179,94,.6); }
.about .h2 i { background: linear-gradient(100deg, var(--text) 0%, var(--text) 40%, #FFE3B0 50%, var(--text) 60%, var(--text) 100%) 100% 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; transition: background-position 1.6s var(--ease); }
.about:hover .h2 i { background-position: 0 0; }
.about .role { position: relative; display: inline-block; }
.about .role::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(242,179,94,.1)); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); }
.about:hover .role::after { transform: scaleX(1); }
.about-body > p.reveal-up { position: relative; transition: color .5s; }
.about-body:hover > p.reveal-up:not(:hover) { color: rgba(238,234,227,.42); }
.about-body > p.reveal-up:hover { color: #FFF8EC; }
.about-body > p.reveal-up::before { content: ""; position: absolute; left: -22px; top: .3em; bottom: .3em; width: 1px; background: linear-gradient(180deg, var(--gold-soft), rgba(242,179,94,.1)); box-shadow: 0 0 10px rgba(242,179,94,.6); transform: scaleY(0); transform-origin: top; transition: transform .8s var(--ease); }
.about-body > p.reveal-up:hover::before { transform: scaleY(1); }
.about-links .text-link { display: inline-flex; align-items: center; gap: 6px; transition: color .4s, text-shadow .5s; }
.about-links .text-link::after, .about-links .text-link:hover::after { opacity: .35; transform: none; }
.about-links .text-link::before { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; z-index: 1; background: linear-gradient(90deg, #FFF1D8, var(--gold)); box-shadow: 0 0 10px rgba(242,179,94,.7); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.about-links .text-link:hover { color: var(--gold-soft); text-shadow: 0 0 16px rgba(242,179,94,.35); }
.about-links .text-link:hover::before { transform: scaleX(1); transform-origin: left; }
.ta-arr { position: relative; display: inline-block; width: 1em; height: 1.2em; overflow: hidden; vertical-align: middle; }
.ta-arr b { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 600; transition: transform .55s var(--ease); }
.ta-arr b + b { transform: translate(-100%, 100%); }
.text-link:hover .ta-arr b:first-child { transform: translate(100%, -100%); }
.text-link:hover .ta-arr b + b { transform: translate(0, 0); }
.text-link { position: relative; font-weight: 600; color: var(--text); }
.text-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--gold); transform-origin: left; transition: transform .5s var(--ease); }
.text-link:hover::after { transform: scaleX(.4); }

/* CONTACT */
.contact { text-align: center; overflow: hidden; display: flex; flex-direction: column; align-items: center; }
.contact .label { justify-content: center; }
.contact-glow { position: absolute; left: 50%; top: 60%; width: 1100px; height: 700px; transform: translate(-50%, -50%); background: radial-gradient(ellipse at center, rgba(242,179,94,.16), transparent 62%); pointer-events: none; }
.mail { position: relative; margin-top: 64px; font-size: clamp(30px, 6.2vw, 96px); font-weight: 300; letter-spacing: -0.05em; line-height: 1.1; display: inline-block; }
/* 메일 주소: 글자를 나누기 전(스크립트 없음)에는 빛이 한 번 지나가고, 나눈 뒤에는 커서 근처 글자만 금빛으로 떠오른다 */
.mail > span:not(.mail-t) { background: linear-gradient(90deg, var(--text) 0%, var(--text) 40%, var(--gold) 50%, var(--text) 60%, var(--text) 100%); background-size: 250% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent; transition: background-position 1.2s var(--ease); }
.mail:hover > span:not(.mail-t) { background-position: 0 0; }
.mail-t { display: inline-block; white-space: nowrap; }
.mc { display: inline-block; will-change: transform; color: color-mix(in srgb, var(--gold-soft) calc(var(--f, 0) * 100%), var(--text));
  text-shadow: 0 0 calc(var(--f, 0) * 28px) rgba(242,179,94, calc(var(--f, 0) * .55)); }
.mail::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.mail::before { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: linear-gradient(90deg, transparent calc(var(--mx, 50%) - 200px), #FFF1D8 var(--mx, 50%), transparent calc(var(--mx, 50%) + 200px)); box-shadow: 0 0 16px rgba(242,179,94,.8); }
.mail:hover::before { opacity: 1; }
/* 문의 섹션: 커서 자리 빛 · 제목 글자가 커서 근처부터 금빛으로 */
.contact::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .9s;
  background: radial-gradient(circle 360px at var(--cx, 50%) var(--cy, 50%), rgba(242,179,94,.1), rgba(242,179,94,.03) 50%, transparent 74%); }
.contact:hover::before { opacity: 1; }
.cc { color: color-mix(in srgb, var(--gold-soft) calc(var(--f, 0) * 100%), currentColor); text-shadow: 0 0 calc(var(--f, 0) * 30px) rgba(242,179,94, calc(var(--f, 0) * .5)); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 52px; }

/* FOOTER */
.footer { padding: 40px var(--pad) 48px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.footer-mark { width: 52px; height: 52px; }
.footer-brand strong { display: block; font-size: 22px; letter-spacing: -0.03em; }
.footer-brand span { font-size: 10px; letter-spacing: .38em; color: var(--gold-soft); }
.footer-word { font-family: var(--serif); font-style: italic; font-size: clamp(64px, 17vw, 260px); line-height: .9; letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1px rgba(242,179,94,.35); white-space: nowrap; }
.footer-info { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 32px; font-size: 14px; color: rgba(238,234,227,.7); }
.footer-info p { margin: 0; }
/* 푸터 효과: 커서를 따라가는 위쪽 금빛 선과 은은한 빛 · 로고 다시 그리기 · 큰 글자가 커서 근처부터 금빛으로 차오르며 떠오름 · 정보 줄 흐리기와 밑줄 */
.footer { position: relative; isolation: isolate; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none; opacity: 0; transition: opacity .7s;
  background: linear-gradient(90deg, transparent calc(var(--fx, 50%) - 260px), var(--gold) var(--fx, 50%), transparent calc(var(--fx, 50%) + 260px)); box-shadow: 0 0 16px rgba(242,179,94,.5); }
.footer::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .9s;
  background: radial-gradient(circle 460px at var(--fx, 50%) var(--fy, 50%), rgba(242,179,94,.09), rgba(242,179,94,.03) 45%, transparent 72%); }
.footer:hover::before, .footer:hover::after { opacity: 1; }
.footer-brand { width: max-content; max-width: 100%; }
.footer-brand strong { transition: letter-spacing .9s var(--ease), color .5s, text-shadow .6s; }
.footer-brand:hover strong { letter-spacing: .01em; color: #FFF8EC; text-shadow: 0 0 18px rgba(242,179,94,.35); }
.footer-mark { transition: filter .7s var(--ease); }
.footer-brand:hover .footer-mark { filter: drop-shadow(0 0 10px rgba(242,179,94,.45)); }
.footer-brand:hover .footer-mark .mk-ring { stroke-opacity: .95; stroke-dasharray: 158; animation: mk-draw 1.4s var(--ease) both; }
.footer-brand:hover .footer-mark .mk-sun { transform: translateY(-3px) scale(1.08); filter: drop-shadow(0 0 6px var(--gold)); }
.footer-mark .mk-w1, .footer-mark .mk-w2, .footer-mark .mk-w3 { transform-box: fill-box; transform-origin: center; }
.footer-brand:hover .footer-mark .mk-w1 { animation: mk-wave 1.8s ease-in-out infinite alternate; }
.footer-brand:hover .footer-mark .mk-w2 { animation: mk-wave 1.8s ease-in-out -.6s infinite alternate; }
.footer-brand:hover .footer-mark .mk-w3 { animation: mk-wave 1.8s ease-in-out -1.2s infinite alternate; }
@keyframes mk-draw { from { stroke-dashoffset: 158; } to { stroke-dashoffset: 0; } }
@keyframes mk-wave { from { transform: translateX(-2.5px) scaleX(.85); } to { transform: translateX(2.5px) scaleX(1.12); } }
.fw-ch { display: inline-block; will-change: transform; transform-origin: 50% 80%;
  color: color-mix(in srgb, var(--gold) calc(var(--f, 0) * 92%), transparent);
  -webkit-text-stroke: 1px color-mix(in srgb, var(--gold-soft) calc(35% + var(--f, 0) * 65%), transparent);
  text-shadow: 0 0 calc(var(--f, 0) * 34px) rgba(242,179,94, calc(var(--f, 0) * .5)); }
.footer-info p { position: relative; transition: opacity .5s var(--ease), color .5s, transform .7s var(--ease); }
.footer-info:hover p:not(:hover) { opacity: .35; }
.footer-info p:hover { color: #FFF8EC; transform: translateY(-2px); }
.footer-info p::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, var(--gold), rgba(242,179,94,.15)); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.footer-info p:hover::after { transform: scaleX(1); }

/* initial states (JS reveals) */
.js .reveal-up { opacity: 0; transform: translateY(36px); }

/* RESPONSIVE */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none !important; }
  .nav-toggle { display: block; }
  .cards, .steps, .about { grid-template-columns: 1fr; }
  .step { padding-top: 0; padding-left: 34px; position: relative; }
  .step-dot { margin-top: 6px; left: 0; }
  .process-line { display: none; }
  .steps { border-left: 1px solid rgba(242,179,94,.35); margin-left: 6px; gap: 44px; }
  .steps .step-dot { left: -8px; }
  .program { grid-template-columns: 48px minmax(0, 1fr); gap: 4px 12px; padding: 26px 0; }
  .p-time, .p-desc { grid-column: 2; }
  .p-arrow { display: none; }
  .float-preview { display: none; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .timeline { padding-left: 30px; }
  .tl-node { left: -27px; }
  .work-pin { height: auto; display: block; padding: 110px var(--pad); }
  .work-intro { padding: 0 0 48px; }
  .work-hint { display: none; }
  .work-track { flex-direction: column; padding: 0; }
  .work-card { flex: auto; }
  .film-frame { clip-path: none; }
  .hero-foot .hero-hud { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .btn { height: 52px; padding: 0 22px; font-size: 15px; }
  .btn-sm { height: 42px; padding: 0 16px; font-size: 14px; }
  .mail { font-size: 9vw; }
  .footer-info { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .btn-fill { display: none; }
  .js .reveal-up { opacity: 1; transform: none; }
  .film-frame { clip-path: none; }
}

/* WebGL 사진 (gl-images.js) */
.gl-images { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
[data-gl].gl-on img { opacity: 0; }
.gl-images-on .about-media { clip-path: none !important; }
/* 글자 해독 효과 */
.scramble-char { color: var(--gold); opacity: .7; }

/* ---------- 자주 묻는 질문 (홈·과정 페이지 공용) ---------- */
.faq-list { max-width: 1100px; border-top: 1px solid var(--line); }
.faq-item { position: relative; border-bottom: 1px solid var(--line); isolation: isolate; }
.faq-item::before { content: ""; position: absolute; inset: 0 -24px; z-index: -1; pointer-events: none; border-radius: 6px; opacity: 0; transition: opacity .6s;
  background: radial-gradient(420px circle at var(--x, 30%) var(--y, 50%), rgba(242,179,94,.09), transparent 70%); }
.faq-item:hover::before, .faq-item.is-open::before, .faq-item[open]::before { opacity: 1; }
.faq-item::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none; background: linear-gradient(90deg, var(--gold), rgba(242,179,94,.15) 70%, transparent); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.faq-item:hover::after, .faq-item[open]::after { transform: scaleX(1); }
.faq-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px minmax(0, 1fr) 44px; gap: 16px; align-items: center; padding: 28px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q-no { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold); transition: text-shadow .5s, transform .7s var(--ease); }
.faq-q { font-size: clamp(18px, 1.8vw, 24px); font-weight: 680; letter-spacing: -0.035em; line-height: 1.4; transition: transform .7s var(--ease), color .5s; }
.faq-item:hover .faq-q-no { transform: translateX(6px); text-shadow: 0 0 16px rgba(242,179,94,.7); }
.faq-item:hover .faq-q { transform: translateX(10px); color: #FFF8EC; }
.faq-plus { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(242,179,94,.35); transition: background .5s, border-color .5s, transform .7s var(--ease), box-shadow .5s; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: var(--gold-soft); border-radius: 2px; transition: transform .6s var(--ease), background .5s; }
.faq-plus::after { transform: rotate(90deg); }
.faq-item:hover .faq-plus { border-color: var(--gold); box-shadow: 0 0 18px rgba(242,179,94,.3); }
.faq-item[open] .faq-plus { background: var(--gold); border-color: var(--gold); transform: rotate(180deg); }
.faq-item[open] .faq-plus::before, .faq-item[open] .faq-plus::after { background: var(--ink); }
.faq-item[open] .faq-plus::after { transform: rotate(0deg); }
.faq-a { overflow: hidden; transition: height .6s var(--ease); }
.faq-a > div { padding: 0 60px 30px 72px; color: rgba(238,234,227,.8); max-width: 900px; }
.faq-a p { margin: 0 0 10px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(242,179,94,.4); }
.faq-more { margin-top: 28px; color: var(--dim); font-size: 15px; }

/* 과정 목록 → 상세 페이지 링크(줄 전체가 눌림) */
.p-link { position: absolute; inset: 0; z-index: 2; }
.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; }

/* ---------- 교육 과정 상세 페이지 ---------- */
.sub-js .rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.sub-js .rv.is-in { opacity: 1; transform: none; }
.cp-hero { position: relative; padding: clamp(150px, 18vw, 220px) var(--pad) clamp(60px, 8vw, 100px); overflow: hidden; }
.cp-hero::before { content: ""; position: absolute; right: -10%; top: -20%; width: 900px; height: 700px; pointer-events: none; background: radial-gradient(ellipse at center, rgba(242,179,94,.14), transparent 62%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 30px; padding: 0; list-style: none; font-size: 14px; color: var(--dim); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: rgba(242,179,94,.5); }
.crumbs a { transition: color .4s; }
.crumbs a:hover { color: var(--gold-soft); }
.cp-title { margin: 0; font-size: clamp(42px, 7vw, 104px); line-height: 1.06; font-weight: 760; letter-spacing: -0.05em; max-width: 1100px; }
.cp-lead { max-width: 720px; margin: 30px 0 0; font-size: clamp(18px, 1.6vw, 22px); color: rgba(238,234,227,.82); }
.cp-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 0; padding: 0; list-style: none; }
.cp-meta li { padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(242,179,94,.32); color: var(--gold-soft); font-size: 14px; background: rgba(242,179,94,.05); }
.cp-meta b { color: var(--text); font-weight: 650; margin-left: 6px; }
.cp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.cp-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 6vw, 96px); padding: 0 var(--pad) clamp(90px, 12vw, 160px); align-items: start; }
.cp-main > section + section { margin-top: clamp(64px, 8vw, 100px); }
.cp-h2 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 28px; font-size: clamp(26px, 2.6vw, 38px); font-weight: 740; letter-spacing: -0.045em; line-height: 1.2; }
.cp-h2 span { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: .62em; color: var(--gold); letter-spacing: 0; }
.cp-main p { color: rgba(238,234,227,.8); max-width: 760px; }
.cp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 760px; }
.cp-list li { position: relative; padding-left: 26px; color: rgba(238,234,227,.84); }
.cp-list li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(242,179,94,.7); }
.cp-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.cp-step { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 18px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.015); isolation: isolate; overflow: hidden; transition: border-color .6s, transform .8s var(--ease), box-shadow .8s var(--ease); }
.cp-step::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .6s; background: radial-gradient(380px circle at var(--x, 20%) var(--y, 50%), rgba(242,179,94,.12), transparent 65%); }
.cp-step:hover { border-color: rgba(242,179,94,.32); transform: translateX(6px); box-shadow: 0 30px 60px -40px rgba(242,179,94,.45); }
.cp-step:hover::before { opacity: 1; }
.cp-step-no { grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1; color: var(--gold); transition: text-shadow .5s; }
.cp-step:hover .cp-step-no { text-shadow: 0 0 18px rgba(242,179,94,.7); }
.cp-step h3 { margin: 0; font-size: clamp(19px, 1.7vw, 23px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.35; }
.cp-step p { margin: 6px 0 0; color: rgba(238,234,227,.72); font-size: 16px; }
.cp-step small { display: inline-block; margin-left: 8px; font-size: 13px; font-weight: 500; color: var(--gold-soft); letter-spacing: .02em; }
.cp-side { position: sticky; top: 110px; }
.cp-card { position: relative; padding: 30px 28px; border-radius: 26px; border: 1px solid rgba(242,179,94,.22); background: linear-gradient(180deg, rgba(242,179,94,.07), rgba(255,255,255,.01)); overflow: hidden; isolation: isolate; }
.cp-card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(300px circle at var(--x, 80%) var(--y, 0%), rgba(242,179,94,.14), transparent 65%); }
.cp-card h2 { margin: 0 0 20px; font-size: 15px; letter-spacing: .14em; color: var(--gold); font-weight: 600; }
.cp-card dl { margin: 0; display: grid; gap: 16px; }
.cp-card dt { font-size: 13px; color: var(--dim); margin-bottom: 4px; }
.cp-card dd { margin: 0; font-size: 16px; color: var(--text); line-height: 1.55; }
.cp-card .btn { width: 100%; justify-content: center; margin-top: 26px; }
.cp-card .cp-alt { display: block; margin-top: 14px; text-align: center; font-size: 14px; color: var(--dim); transition: color .4s; }
.cp-card .cp-alt:hover { color: var(--gold-soft); }
.cp-proof { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 760px; }
.cp-proof li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cp-proof time { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--gold-soft); }
.cp-others { padding: 0 var(--pad) clamp(90px, 12vw, 150px); }
.cp-others .program-list { max-width: none; }
@media (max-width: 960px) {
  .cp-body { grid-template-columns: 1fr; }
  .cp-side { position: static; order: -1; }
  .faq-item summary { grid-template-columns: 36px minmax(0, 1fr) 40px; gap: 10px; }
  .faq-a > div { padding: 0 0 26px 46px; }
  .cp-proof li { grid-template-columns: 1fr; gap: 4px; }
  .cp-step { grid-template-columns: 44px minmax(0, 1fr); padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) { .sub-js .rv { opacity: 1; transform: none; } }
