/* ============================================================
   ETHAN KIM — Portfolio
   Fusion: Miu Miu (high-contrast type) × London Bagel Museum
   (warm ecru archive) × Knotted (bouncy witty micro-interactions)
   ============================================================ */

:root {
  --ecru: #F9F6F0;
  --ecru-deep: #F1EBDD;
  --paper: #FFFFFF;
  --ink: #111111;
  --ink-soft: #3A3631;
  --line: #2A2722;

  /* pastel pops (from the reference stickers) */
  --butter: #F4D970;
  --apple:  #A6D86A;
  --sky:    #8FB8F2;
  --lilac:  #C7AEE8;
  --pink:   #F4A8D0;

  /* accent — driven by tweaks */
  --accent: #111111;
  --accent-soft: #DCD2BD;

  /* motion */
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --pastel-strength: 1;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ecru);
  color: var(--ink);
  font-family: "Inter", "Pretendard Variable", "Pretendard", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--ecru); }

/* ---------- type helpers ---------- */
.font-serif   { font-family: "Playfair Display", "Pretendard Variable", "Pretendard", serif; }
.font-sans    { font-family: "Inter", "Pretendard Variable", "Pretendard", sans-serif; }
.font-ko      { font-family: "Pretendard Variable", "Pretendard", sans-serif; }
.font-play    { font-family: "Fredoka", "Pretendard Variable", "Pretendard", sans-serif; }
.font-myeongjo { font-family: "Nanum Myeongjo", "Playfair Display", serif; }

.eyebrow {
  font-family: "Inter", "Pretendard Variable", "Pretendard", sans-serif;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-size: clamp(10px, 1vw, 13px);
}

/* ============================================================
   STICKERS / SPEECH BUBBLES (Knotted wit)
   ============================================================ */
.sticker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: "Fredoka", "Pretendard Variable", "Pretendard", sans-serif;
  font-weight: 600;
  color: var(--ink);
  padding: .62em 1.05em;
  border-radius: 999px;
  line-height: 1.15;
  box-shadow: 0 6px 0 rgba(17,17,17,.10), 0 10px 22px rgba(17,17,17,.10);
  white-space: nowrap;
}

.sticker--butter { background: var(--butter); }
.sticker--apple  { background: var(--apple); }
.sticker--sky    { background: var(--sky); }
.sticker--lilac  { background: var(--lilac); }

.marquee__track {
  display: flex;
  flex-shrink: 0;
  gap: 2.5rem;
  padding: .85rem 1.25rem;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 2.5rem; }

/* ============================================================
   BUTTONS (Knotted bouncy)
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: "Inter", "Pretendard Variable", "Pretendard", sans-serif;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  padding: .85em 1.4em;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--ecru);
  text-decoration: none;
  white-space: nowrap;
  transition: transform .35s var(--bounce), box-shadow .35s var(--bounce), background .25s ease;
  box-shadow: 0 5px 0 rgba(17,17,17,.18);
}

.btn--ghost { background: transparent; color: var(--ink); box-shadow: 0 5px 0 rgba(17,17,17,.10); }

.btn svg { transition: transform .35s var(--bounce); }

/* nav link bouncy underline */
.navlink {
  position: relative;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: .2em 0;
  transition: color .2s ease;
}
.navlink::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--bounce);
}

.tl-row { position: relative; padding-left: clamp(28px, 5vw, 64px); }

.tl-year {
  font-family: "Playfair Display", serif;
  font-weight: 800;
  line-height: 1;
}

/* ============================================================
   EDITION CARDS (THE ARTIFACTS) — Knotted hover
   ============================================================ */
.edition {
  position: relative;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 26px;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform .45s var(--bounce), box-shadow .45s var(--bounce);
  box-shadow: 0 2px 0 rgba(17,17,17,.10);
  overflow: hidden;
}

.edition__chip {
  position: absolute;
  top: 1.3rem; right: 1.3rem;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: .72rem;
  padding: .35em .8em;
  border-radius: 999px;
  background: var(--ecru-deep);
  color: var(--ink-soft);
  transition: transform .4s var(--bounce);
}

.edition__num {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: .9;
  color: var(--accent-fill, var(--ink));
  -webkit-text-stroke: 1px var(--ink);
}
.edition__index-band {
  height: 6px; width: 56px; border-radius: 999px;
  background: var(--accent-fill, var(--butter));
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s var(--bounce); }
.reveal.in { opacity: 1; transform: none; }

.motion-calm .marquee__track { animation-duration: 60s; }

@media (prefers-reduced-motion: reduce) {
  .float, .float-2, .float-3, .marquee__track { animation: none !important; }
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }

@media (max-width: 640px) {
  .sticker { font-size: .82rem; }
  .marquee__track { gap: 1.5rem; }
  .marquee__track span { gap: 1.5rem; }
}

@media (max-width: 760px) {
  .nav-desktop { display: none !important; }
}

/* ============================================================
   PRESS CARD — 연합뉴스TV 인터뷰 (법의 품격 × 미디어 아카이브)
   ============================================================ */
.press-card {
  position: relative;
  margin-top: 34px;
  max-width: 480px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  padding: 18px 22px 16px;
  transform: rotate(-1.2deg);
  box-shadow: 0 3px 0 rgba(17,17,17,.12), 0 18px 40px -20px rgba(17,17,17,.35);
  transition: transform .5s var(--bounce), box-shadow .5s var(--bounce);
}
.press-card:hover {
  transform: rotate(0deg) translateY(-5px);
  box-shadow: 0 6px 0 rgba(17,17,17,.10), 0 26px 50px -20px rgba(17,17,17,.4);
}
.press-card__head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .01em;
  color: var(--ink);
}
.press-card__live {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #D9382E;
  flex-shrink: 0;
  animation: onair 2.2s ease-in-out infinite;
}
@keyframes onair {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217,56,46,.45); }
  50%      { box-shadow: 0 0 0 6px rgba(217,56,46,0); }
}
.press-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 13px;
  border: 1px solid rgba(17,17,17,.14);
  margin-top: 13px;
}

.press-card__caption {
  margin: 9px 0 0;
  font-size: .78rem;
  color: var(--ink-soft);
  opacity: .85;
}
.motion-calm .press-card__live { animation: none; }
@media (prefers-reduced-motion: reduce) { .press-card__live { animation: none; } }

/* ============================================================
   SCROLL INK — 상단 진행 라인 (경국 네이비)
   ============================================================ */
.scroll-ink {
  position: fixed;
  top: 0; left: 0;
  z-index: 60;
  width: 100%;
  height: 3px;
  background: var(--accent, #1F2D6B);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.photo-card {
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  padding: 10px 10px 12px;
  box-shadow: 0 3px 0 rgba(17,17,17,.12), 0 20px 44px -24px rgba(17,17,17,.38);
  transform: rotate(var(--tilt, -1.1deg));
  transition: transform .5s var(--bounce), box-shadow .5s var(--bounce);
}

.photo-card img {
  display: block;
  width: 100%;
  height: auto;
  flex: none;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(17,17,17,.12);
}
.photo-card--tall img { aspect-ratio: 3 / 4; }
.photo-card:not(.photo-card--tall) img { aspect-ratio: 4 / 3; }
.photo-card figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 4px 2px;
  font-size: .76rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.photo-card figcaption > span:last-child,
.photo-card figcaption { min-width: 0; }
.photo-card__chip {
  font-family: "Fredoka", "Pretendard Variable", "Pretendard", sans-serif;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .08em;
  padding: .28em .7em;
  border-radius: 999px;
  background: var(--ecru-deep);
  border: 1px solid rgba(17,17,17,.2);
  color: var(--ink);
  flex-shrink: 0;
}
.photo-card__chip--red { background: #F6DDD9; border-color: rgba(217,56,46,.4); color: #A02B23; }

/* ============================================================
   SUB PAGES — 경력(career) · 갤러리(gallery) 공통
   ============================================================ */
.page-main { padding: 130px 0 clamp(70px, 10vw, 120px); position: relative; }
.page-head { margin-bottom: clamp(40px, 6vw, 72px); }
.page-head h1 {
  font-family: "Playfair Display", "Pretendard Variable", "Pretendard", serif;
  font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: .95;
  letter-spacing: -.03em;
  margin: 0;
}
.page-head .ko-sub {
  font-family: "Nanum Myeongjo", serif;
  font-weight: 700;
  font-size: clamp(1.02rem, 1.8vw, 1.3rem);
  color: var(--ink-soft);
  margin-top: 18px;
}

/* stat dashboard */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  margin: clamp(30px, 4vw, 48px) 0;
}
.stat-card {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  padding: 20px 20px 16px;
  box-shadow: 0 3px 0 rgba(17,17,17,.10);
  transition: transform .4s var(--bounce), box-shadow .4s var(--bounce);
}

.stat-card .num {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  color: var(--accent, #1F2D6B);
}
.stat-card .label { font-size: .82rem; font-weight: 600; color: var(--ink-soft); margin-top: 8px; letter-spacing: .02em; }

/* practice areas */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(14px, 2vw, 24px);
  margin-top: 34px;
}
.practice-card {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  padding: clamp(1.4rem, 2.4vw, 2rem);
  box-shadow: 0 2px 0 rgba(17,17,17,.10);
  transition: transform .45s var(--bounce), box-shadow .45s var(--bounce);
  position: relative;
  overflow: hidden;
}

.practice-card .band { height: 6px; width: 52px; border-radius: 999px; background: var(--accent-fill, var(--butter)); margin-bottom: 16px; }
.practice-card h3 { font-weight: 800; font-size: 1.12rem; margin: 0 0 8px; letter-spacing: -.01em; }
.practice-card p { margin: 0; color: var(--ink-soft); line-height: 1.7; font-size: .93rem; }

/* cv rows */
.cv-list { display: flex; flex-direction: column; margin-top: 30px; border-top: 1.5px solid var(--ink); }
.cv-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px 26px;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(17,17,17,.16);
  transition: background .25s ease;
}
.cv-row:hover { background: rgba(255,255,255,.55); }
.cv-row .yr { font-family: "Playfair Display", serif; font-weight: 800; font-size: 1.25rem; }
.cv-row h3 { margin: 0 0 6px; font-size: 1.02rem; font-weight: 800; letter-spacing: -.01em; }
.cv-row p { margin: 0; font-size: .9rem; color: var(--ink-soft); line-height: 1.7; max-width: 640px; }
@media (max-width: 560px) { .cv-row { grid-template-columns: 1fr; } }

/* gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
  margin-top: 40px;
}
.g-card {
  margin: 0;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  padding: 10px 10px 12px;
  box-shadow: 0 3px 0 rgba(17,17,17,.10);
  transition: transform .45s var(--bounce), box-shadow .45s var(--bounce);
}

.g-card a { display: block; overflow: hidden; border-radius: 12px; border: 1px solid rgba(17,17,17,.12); }
.g-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--bounce); }

.g-card--portrait img { aspect-ratio: 3 / 4; }
.g-card figcaption { display: flex; align-items: center; gap: 8px; padding: 11px 4px 2px; font-size: .8rem; font-weight: 600; color: var(--ink-soft); }

/* profile block on career */
.cv-hero { display: grid; grid-template-columns: 1fr minmax(200px, 260px); gap: clamp(30px, 5vw, 70px); align-items: center; }
@media (max-width: 760px) { .cv-hero { grid-template-columns: 1fr; } .cv-hero .photo-card { max-width: 300px; } }

.seal {
  position: absolute;
  top: 11%;
  left: 6%;
  z-index: 3;
  width: clamp(92px, 10vw, 138px);
  color: var(--ecru);
  opacity: .9;
  pointer-events: auto;
  transition: transform .5s var(--bounce), opacity .3s ease;
}
.seal svg { display: block; width: 100%; height: auto; animation: sealspin 26s linear infinite; }

@media (max-width: 700px) { .seal { display: none; } }

.navlink.active { color: var(--accent, #1F2D6B); }
.navlink.active::after { transform: scaleX(1); background: var(--accent, #1F2D6B); }

.motion-calm .seal svg { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .seal svg { animation: none; }
  .sticker { translate: none !important; }
}

/* ============================================================
   OFFICE MONOCHROME — Dark · White · Navy (Bar Guilty mood)
   3색 절제 · 에디토리얼 헤어라인 · 콘덴스드 티커
   ============================================================ */
:root {
  --ecru: #F4F5F8;
  --ecru-deep: #E9EBF0;
  --paper: #FFFFFF;
  --ink: #10131C;
  --ink-soft: #3C4354;
  --line: #232A3C;
  --butter: #E9EBF3;
  --apple:  #E3ECE8;
  --sky:    #DCE6F2;
  --lilac:  #E9E6F0;
  --pink:   #F0E7EA;
  --accent: #1F2D6B;
  --accent-soft: #D7DCEA;
}

/* condensed display + diamond hairline utilities */
.font-cond { font-family: "Anton", "Pretendard Variable", "Pretendard", sans-serif; font-weight: 400; letter-spacing: .04em; }
.menu-rule { display: flex; align-items: center; width: 100%; color: var(--ink); opacity: .5; }
.menu-rule::before, .menu-rule::after {
  content: ""; width: 6px; height: 6px; background: currentColor;
  transform: rotate(45deg); flex: none;
}
.menu-rule i { flex: 1; height: 1px; background: currentColor; margin: 0 9px; }

/* stickers → refined monochrome outline (no candy) */
.sticker {
  background: var(--paper);
  color: var(--ink);
  border: 1.4px solid var(--ink);
  font-family: "Inter", "Pretendard Variable", "Pretendard", sans-serif;
  font-weight: 600;
  letter-spacing: .02em;
  box-shadow: 0 2px 12px rgba(16,19,28,.10);
}
.sticker--butter, .sticker--apple, .sticker--sky, .sticker--lilac, .sticker--pink { background: var(--paper); color: var(--ink); }

/* buttons → navy primary, refined shadow */
.btn { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 2px 12px rgba(16,19,28,.18); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }

/* cards → soft editorial shadow instead of chunky offset */
.edition { border-radius: 20px; box-shadow: 0 1px 0 rgba(16,19,28,.06), 0 14px 34px -22px rgba(16,19,28,.34); }

.edition__index-band { background: var(--accent); }
.edition__chip { background: var(--ecru-deep); color: var(--ink-soft); }
.edition__num { color: var(--accent-fill, var(--accent)); }
.photo-card, .press-card, .stat-card, .practice-card { box-shadow: 0 2px 16px rgba(16,19,28,.10); }

.photo-card__chip--red { background: var(--accent); color: #fff; border-color: var(--accent); }

/* nav active state = navy */
.navlink.active { color: var(--accent); }
.navlink.active::after { transform: scaleX(1); background: var(--accent); }

/* practice-card band + stat num = navy */
.practice-card .band { background: var(--accent-fill, var(--accent)); }
.stat-card .num { color: var(--accent); }

/* ============================================================
   PREMIUM LAYER — kinetic type · cursor · ledger · lightbox
   ============================================================ */
/* hero kinetic letters */
.h-ltr {
  display: inline-block;
  opacity: 0;
  transform: translateY(.38em) rotate(2.5deg);
  animation: hltr .75s var(--bounce) forwards;
  transition: transform .3s var(--bounce), color .3s ease;
}

@keyframes hltr { to { opacity: 1; transform: none; } }

/* custom cursor */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 200;
  border-radius: 50%;
}

.cursor-ring {
  width: 34px; height: 34px;
  border: 1.3px solid var(--accent);
  opacity: .55;
  transition: width .28s var(--bounce), height .28s var(--bounce), opacity .28s ease, background .28s ease;
  margin: 0;
}
.cursor-ring.is-hover { width: 58px; height: 58px; opacity: .3; background: rgba(31,45,107,.07); }
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* smart nav hide */
header.nav-hide { transform: translateY(-100%); }

/* reveal → blur-up */
.reveal { filter: blur(9px); }
.reveal.in { filter: blur(0); }

/* marquee dual line */
.marquee__line { display: flex; overflow: hidden; }
.marquee__line--rev { border-top: 1px solid rgba(244,245,248,.22); }
.marquee__track--rev { animation-direction: reverse; animation-duration: 38s; padding: .55rem 1.25rem; }

/* ledger band */
.ledger-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(18px, 3vw, 40px);
}
.ledger-item {
  padding: 6px 4px 2px;
  border-left: 1px solid rgba(244,245,248,.2);
  padding-left: clamp(14px, 1.6vw, 24px);
}
.ledger-num {
  font-weight: 900;
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  line-height: 1;
  color: var(--ecru);
}

/* edition shine sweep */

/* photos — monochrome discipline, color on hover */
.photo-card img, .g-card img {
  filter: grayscale(.5) contrast(1.03);
  transition: filter .55s ease, transform .6s var(--bounce);
}

/* gallery lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: rgba(16,19,28,.93);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  cursor: zoom-out;
}
.lightbox.on { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 10px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.8);
}
.lightbox__hint {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  color: rgba(244,245,248,.55);
  font-size: .8rem;
  letter-spacing: .06em;
  font-family: "Pretendard Variable", "Pretendard", sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  .h-ltr { animation: none; opacity: 1; transform: none; }
  .reveal { filter: none; }
  .cursor-dot, .cursor-ring { display: none; }

}

body { animation: pageIn .45s ease both; }
body.page-out { opacity: 0; transition: opacity .24s ease; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* section dot rail */
.rail {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.rail a {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(16,19,28,.3);
  box-shadow: 0 0 0 3px rgba(244,245,248,.55);
  position: relative;
  transition: transform .3s var(--bounce), background .25s ease;
}

.rail a::after {
  content: attr(data-label);
  position: absolute;
  right: 20px;
  top: 50%;
  translate: 0 -50%;
  background: var(--ink);
  color: var(--ecru);
  font-family: "Pretendard Variable", "Pretendard", sans-serif;
  font-size: .72rem;
  font-weight: 600;
  padding: .34em .8em;
  border-radius: 7px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, translate .25s var(--bounce);
}
.rail a:hover::after { opacity: 1; translate: -4px -50%; }
@media (max-width: 980px) { .rail { display: none; } }

/* scroll cue */
.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
}
.scroll-cue i {
  width: 1.5px;
  height: 46px;
  background: currentColor;
  display: block;
  animation: cueLine 2s cubic-bezier(.65,0,.35,1) infinite;
}
@keyframes cueLine {
  0% { transform: scaleY(0); transform-origin: top; }
  48% { transform: scaleY(1); transform-origin: top; }
  52% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* toast */
.toast {
  position: fixed;
  bottom: 36px;
  left: 50%;
  translate: -50% 18px;
  z-index: 350;
  background: var(--ink);
  color: var(--ecru);
  font-size: .88rem;
  font-weight: 600;
  padding: .85em 1.5em;
  border-radius: 999px;
  box-shadow: 0 18px 40px -14px rgba(16,19,28,.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease, translate .35s var(--bounce);
}
.toast.on { opacity: 1; translate: -50% 0; }

/* footer sitemap */
.f-links a {
  color: rgba(249,246,240,.6);
  text-decoration: none;
  font-size: .84rem;
  font-weight: 500;
  transition: color .25s ease;
}
.f-links a:hover { color: var(--ecru); }

/* a11y — keyboard focus ring */
:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  
  body { animation: none; }
  .scroll-cue i { animation: none; transform: scaleY(1); }
}

/* ============================================================
   WOW LAYER — constellation · aurora · ripple · clock
   ============================================================ */
.hero-net {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

#manifesto h1 { transition: transform .25s ease-out; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .aurora, .hero-net, .ripple { display: none; }
}

/* footer 3-col grid — © 완전 중앙 */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; justify-items: center; row-gap: 12px; }
  .footer-grid > * { justify-self: center !important; }
}

/* nav logo — 테두리 없는 투명 마크 */
header img[alt^="YK"] { border-radius: 0; }

/* footer 3-col grid — © 완전 중앙 */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; justify-items: center; row-gap: 12px; }
  .footer-grid > * { justify-self: center !important; }
}

/* nav logo — 테두리 없는 투명 마크 */
header img[alt^="YK"] { border-radius: 0; }

/* ============================================================
   THE COMPOSITE — 수렴 다이어그램 · 도메인 트랙
   ============================================================ */
.comp-thesis { margin: clamp(44px, 6vw, 66px) 0 clamp(50px, 6vw, 72px); max-width: 940px; }
.comp-thesis p:first-child {
  font-weight: 800;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  line-height: 1.42;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}
.comp-thesis__sub {
  margin: 20px 0 0;
  max-width: 720px;
  font-size: clamp(.98rem, 1.5vw, 1.1rem);
  line-height: 1.85;
  color: var(--ink-soft);
}

.comp-stage {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) 1.18fr;
  gap: clamp(30px, 5vw, 78px);
  align-items: start;
}
.comp-stage__sticky {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- convergence map --- */
.cmap { width: 100%; max-width: 420px; height: auto; overflow: visible; }
.cmap__ring { fill: none; stroke: rgba(16,19,28,.16); stroke-width: 1; }
.cmap__spoke {
  stroke: rgba(16,19,28,.16);
  stroke-width: 1;
  transition: stroke .45s ease, stroke-width .45s ease;
}
.cmap__spoke.on { stroke: var(--accent); stroke-width: 2.2; }
.cmap__halo { fill: rgba(31,45,107,.05); }
.cmap__core { fill: var(--ink); }
.cmap__coreT { fill: var(--ecru); font-size: 26px; font-weight: 900; letter-spacing: -.02em; }
.cmap__coreS {
  fill: rgba(244,245,248,.6);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: .22em;
  font-family: "Inter", sans-serif;
}
.cmap__node {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 1.6;
  cursor: pointer;
  transition: r .45s var(--bounce), fill .4s ease, stroke .4s ease;
}

.cmap__label {
  font-family: "Pretendard Variable", "Pretendard", sans-serif;
  font-size: 13px;
  font-weight: 700;
  fill: rgba(16,19,28,.4);
  cursor: pointer;
  transition: fill .4s ease;
}
.cmap__label.on { fill: var(--accent); }

.cmap__cap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1.5px solid var(--ink);
  width: 100%;
  max-width: 420px;
  flex-wrap: wrap;
}
.cmap__cap span { color: var(--accent); font-size: .9rem; letter-spacing: .2em; }
.cmap__cap strong { font-weight: 800; font-size: 1.06rem; letter-spacing: -.01em; }
.cmap__cap em {
  font-style: normal;
  margin-left: auto;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: .65;
}

/* --- domain track --- */
.comp-track { display: flex; flex-direction: column; }
.comp-row {
  position: relative;
  padding: clamp(26px, 3vw, 38px) 0 clamp(26px, 3vw, 38px) clamp(20px, 2.4vw, 34px);
  border-top: 1px solid rgba(16,19,28,.16);
  transition: opacity .5s ease;
  opacity: .48;
}
.comp-row:last-child { border-bottom: 1px solid rgba(16,19,28,.16); }
.comp-row::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  width: 2.5px; height: calc(100% + 1px);
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .5s cubic-bezier(.77,0,.18,1);
}
.comp-row.on { opacity: 1; }
.comp-row.on::before { transform: scaleY(1); }
.comp-row__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.comp-row__n { font-size: 1rem; letter-spacing: .2em; color: var(--accent); }
.comp-row__rule { flex: 1; height: 1px; background: rgba(16,19,28,.2); }
.comp-row__en {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: .7;
}
.comp-row h3 {
  margin: 0 0 12px;
  font-weight: 800;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  letter-spacing: -.015em;
}
.comp-row p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.85;
  font-size: clamp(.94rem, 1.35vw, 1.02rem);
  max-width: 620px;
}
.comp-row__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.comp-row__tags span {
  font-size: .72rem;
  font-weight: 600;
  padding: .32em .8em;
  border-radius: 999px;
  border: 1px solid rgba(16,19,28,.25);
  color: var(--ink-soft);
  transition: border-color .3s ease, color .3s ease;
}

@media (max-width: 900px) {
  .comp-stage { grid-template-columns: 1fr; }
  .comp-stage__sticky { position: static; margin-bottom: 34px; }
  .cmap { max-width: 330px; }
  .comp-row { opacity: 1; }
  .comp-row::before { transform: scaleY(1); background: rgba(16,19,28,.14); }
  .comp-row.on::before { background: var(--accent); }
}

/* --- arsenal --- */
.arsenal { margin-top: clamp(60px, 8vw, 96px); }
.arsenal__row {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 18px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid rgba(16,19,28,.14);
}
.arsenal__row:last-child { border-bottom: 1px solid rgba(16,19,28,.14); }
.arsenal__label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink-soft);
  padding-top: .5em;
  letter-spacing: -.01em;
}
.arsenal__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.arsenal__chips span {
  font-size: .77rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding: .48em .95em;
  border-radius: 999px;
  border: 1.3px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  transition: background .25s ease, color .25s ease, transform .35s var(--bounce);
}

@media (max-width: 620px) { .arsenal__row { grid-template-columns: 1fr; gap: 10px; } }

/* ============================================================
   REVEAL GUARD — 활성 디밍 구역은 블러 페이드 제외
   ============================================================ */
.comp-row,
.comp-stage__sticky,
.comp-stage .reveal {
  filter: none !important;
}
.comp-stage__sticky { opacity: 1; transform: none; }

/* ============================================================
   WHY COMPOSITE — 다크 스테이트먼트 밴드
   ============================================================ */
.whyc {
  position: relative;
  background: var(--ink);
  color: var(--ecru);
  padding: clamp(78px, 10vw, 132px) 0 clamp(84px, 11vw, 140px);
  border-top: 1.5px solid var(--ink);
}
.whyc .menu-rule { color: rgba(244,245,248,.45); }
.whyc .eyebrow { color: rgba(244,245,248,.55); }

.whyc__lead {
  font-weight: 800;
  font-size: clamp(1.75rem, 4.2vw, 3.3rem);
  line-height: 1.36;
  letter-spacing: -.02em;
  margin: 30px 0 0;
  max-width: 940px;
  text-wrap: balance;
}
.whyc__lead em { font-style: normal; color: #9AA8D6; }

/* ============================================================
   WHY COMPOSITE — 실사례 3단 흐름
   ============================================================ */
.whyc__intro {
  margin: clamp(26px, 3.4vw, 38px) 0 clamp(44px, 5.5vw, 64px);
  max-width: 720px;
  font-size: clamp(.98rem, 1.45vw, 1.1rem);
  line-height: 1.85;
  color: rgba(244,245,248,.68);
}

.wcases { display: flex; flex-direction: column; }

.wcase {
  padding: clamp(30px, 3.8vw, 46px) 0;
  border-top: 1px solid rgba(244,245,248,.2);
}
.wcase:last-child { border-bottom: 1px solid rgba(244,245,248,.2); }

.wcase__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: clamp(22px, 2.6vw, 30px);
}
.wcase__n {
  font-weight: 900;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: #9AA8D6;
}
.wcase__t {
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.05rem, 1.75vw, 1.32rem);
  letter-spacing: -.01em;
}
.wcase__tag {
  margin-left: auto;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244,245,248,.68);
}

.wcase__flow {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: clamp(18px, 2.6vw, 40px);
  align-items: start;
}
.wcase__lbl {
  display: block;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 13px;
  color: rgba(244,245,248,.68);
}
.wcase__cell p {
  margin: 0;
  line-height: 1.75;
  font-size: clamp(.9rem, 1.3vw, .97rem);
  color: rgba(244,245,248,.72);
}
.wcase__cell--auto p { color: rgba(244,245,248,.84); }
.wcase__cell--judge {
  padding-left: clamp(18px, 2.2vw, 28px);
  border-left: 2.5px solid #9AA8D6;
}
.wcase__cell--judge .wcase__lbl { color: #9AA8D6; }
.wcase__cell--judge p {
  color: var(--ecru);
  font-weight: 600;
  font-size: clamp(.97rem, 1.45vw, 1.08rem);
  line-height: 1.72;
}

.whyc__close {
  margin: clamp(50px, 6.5vw, 78px) 0 0;
  font-weight: 800;
  font-size: clamp(1.45rem, 3.2vw, 2.5rem);
  line-height: 1.42;
  letter-spacing: -.02em;
  max-width: 900px;
  text-wrap: balance;
}
.whyc__close em { font-style: normal; color: #9AA8D6; }
.whyc__closesub {
  margin: 20px 0 0;
  max-width: 640px;
  font-size: clamp(.95rem, 1.4vw, 1.05rem);
  line-height: 1.85;
  color: rgba(244,245,248,.6);
}

@media (max-width: 860px) {
  .wcase__flow { grid-template-columns: 1fr; gap: 24px; }
  .wcase__tag { margin-left: 0; width: 100%; }
  .wcase__cell--judge { padding-left: 18px; }
}

/* ============================================================
   THE CREDENTIALS — 보유 자격
   ============================================================ */
.creds { margin-top: clamp(46px, 6vw, 70px); }
.creds__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.cred {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  padding: clamp(1.15rem, 2vw, 1.5rem) clamp(1.2rem, 2.2vw, 1.6rem);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(16,19,28,.07);
  transition: transform .4s var(--bounce), box-shadow .4s var(--bounce);
}
.cred::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 100%;
  background: var(--accent);
}

.cred__name {
  font-weight: 900;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -.01em;
  line-height: 1.1;
  color: var(--ink);
}
.cred__ko { font-weight: 700; font-size: .95rem; color: var(--ink); margin-top: 3px; }
.cred__by {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-soft);
  opacity: .8;
  margin-top: 4px;
}

/* ============================================================
   GALLERY SECTIONS — 상훈 / 인터뷰 / 기록 + 문서(상장) 크롭 방지
   ============================================================ */
.g-sec { margin-top: clamp(50px, 6.5vw, 84px); }
.g-sec:first-of-type { margin-top: clamp(30px, 4vw, 50px); }
.g-sec__label {
  color: var(--ink-soft);
  margin: 18px 0 clamp(22px, 3vw, 32px);
}

/* 상장·표창: 전체가 보이도록 contain + 종이 배경 (절대 크롭 안 함) */
.gallery-grid--doc {
  grid-template-columns: repeat(auto-fit, minmax(300px, 420px));
  justify-content: start;
}
.g-card--doc a {
  background: var(--ecru-deep);
  display: grid;
  place-items: center;
  padding: clamp(10px, 1.6vw, 18px);
}
.g-card--doc img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
  filter: none;
  transform: none;
}

/* ============================================================
   v30 — 품격 리파인먼트 레이어 (Seoul skyline · 타이포 · 심도 · 인터랙션)
   김앤장 무드: 절제된 네이비, 여백, 하이라인, 정제된 모션
   ============================================================ */

/* ---- Hero: 강남 전경 사진 배경 (법 × 부동산 × 서울) ---- */
.hero-photo {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: min(66vh, 660px);
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 15%, #000 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 15%, #000 100%);
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center bottom;
  display: block; opacity: .92;
}
.hero-photo__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    var(--ecru) 0%, var(--ecru) 20%,
    rgba(249,246,240,.55) 36%,
    rgba(249,246,240,.2) 58%,
    rgba(249,246,240,.5) 86%,
    var(--ecru) 100%);
}
@media (max-width: 700px) {
  .hero-photo { height: 52vh; }
  .hero-photo__scrim { background: linear-gradient(180deg, var(--ecru) 0%, var(--ecru) 26%, rgba(249,246,240,.5) 44%, rgba(249,246,240,.24) 66%, var(--ecru) 100%); }
}

/* ---- Korean typography 품격: 어절 보존 · 정제된 리듬 ---- */
.font-ko, .font-myeongjo { word-break: keep-all; overflow-wrap: break-word; }
body { text-underline-offset: .18em; }

/* ---- 정제된 디스플레이 세리프 ---- */
.font-serif { font-feature-settings: "kern" 1, "liga" 1; }
.eyebrow { font-variant: all-small-caps; letter-spacing: .2em; }

/* ---- Focus-visible: 접근성 + 폴리시 ---- */
:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
:where(a, button):focus:not(:focus-visible) { outline: none; }

/* ---- 정제된 스크롤바 (모던 · 절제) ---- */
* { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--accent) 55%, transparent) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 999px;
  border: 3px solid var(--ecru);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ---- 심도: 카드 그림자 정제 (부드럽고 품격 있게) ---- */
.edition {
  box-shadow: 0 1px 0 rgba(16,19,28,.05),
              0 2px 6px -3px rgba(16,19,28,.14),
              0 22px 44px -28px rgba(16,19,28,.4);
  transition: transform .5s var(--bounce), box-shadow .5s var(--bounce);
}

/* ---- 버튼: 정제된 트래킹 · 은은한 모션 ---- */
.btn { letter-spacing: .01em; transition: transform .4s var(--bounce), box-shadow .4s var(--bounce), background .3s ease, color .3s ease; }

/* ---- 스티커: 그림자 부드럽게 (경박함 완화) ---- */
.sticker { box-shadow: 0 2px 10px -4px rgba(17,17,17,.22) !important; }

/* ---- 자격 카드: 하이라인 정제 ---- */
.cred { transition: transform .4s var(--bounce), border-color .3s ease; }

/* ---- 이미지: 품격 있는 채도·명암 ---- */
.photo-card img, .press-cite__thumb img { filter: saturate(.94) contrast(1.02); }

/* ---- 섹션 리듬: 문단 최대폭 정제 (가독성) ---- */
.comp-row p, .wcase__cell p { text-wrap: pretty; }

/* ---- reduced-motion 존중 ---- */
@media (prefers-reduced-motion: reduce) {
  .edition, .btn, .cred, .hero-skyline svg { transition: none !important; }
}

/* ============================================================
   v33 — 푸터 야경 배경 + 고급 마감 (premium designer polish)
   ============================================================ */
.contact-photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; display: block; opacity: .95; }
.contact-photo__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(17,17,17,.62) 0%,
    rgba(17,17,17,.3) 28%,
    rgba(17,17,17,.28) 60%,
    rgba(17,17,17,.66) 100%);
}
#contact .wrap, #contact footer { position: relative; z-index: 2; }
#contact .seal { z-index: 1; opacity: .5; }

/* 고급 타이포 마감 */
#contact h2 { text-shadow: 0 2px 40px rgba(0,0,0,.6), 0 1px 3px rgba(0,0,0,.5); letter-spacing: -.035em; }
#contact .wrap > p { text-shadow: 0 1px 14px rgba(0,0,0,.55); }
#contact .btn { backdrop-filter: saturate(140%) blur(2px); }
.font-serif, .font-myeongjo { font-feature-settings: "kern" 1, "liga" 1, "calt" 1; }
h1, h2, h3 { text-rendering: optimizeLegibility; }

/* 이미지 공통: 은은한 톤·부드러운 로드 */
.photo-card img, .press-cite__thumb img, .g-mason img { image-rendering: auto; }

/* 링크 언더라인 오프셋(정교함) */
a { text-underline-offset: .2em; }

/* v34 — Contact 풀-뷰포트(하단 흰색 제거) */
#contact { min-height: 100svh; display: flex; flex-direction: column; }
#contact > .wrap { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
#contact > footer { flex: 0 0 auto; }

/* ============================================================
   v35 — 영상 라이트박스 플레이어 (톤앤매너: 다크·네이비·격조)
   ============================================================ */
.vlightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: clamp(16px, 4vw, 56px);
  background: rgba(10,11,15,.88);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
          backdrop-filter: blur(12px) saturate(120%);
  animation: vlb-fade .32s ease both;
}
.vlightbox__frame {
  position: relative;
  width: min(1040px, 100%);
  background: #0c0d11;
  border: 1px solid rgba(249,246,240,.14);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 50px 120px -34px rgba(0,0,0,.75);
  animation: vlb-rise .42s var(--bounce) both;
}
.vlightbox__meta {
  display: flex; align-items: baseline; gap: 12px;
  padding: 15px 20px;
  color: var(--ecru);
  border-bottom: 1px solid rgba(249,246,240,.1);
}
.vlightbox__meta .font-play {
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent, #8FB8F2); opacity: .9;
}
.vlightbox__meta h4 { margin: 0; font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
.vlightbox__video {
  display: block; width: 100%; height: auto;
  max-height: 74vh; background: #000;
}
.vlightbox__close {
  position: absolute; top: 12px; right: 14px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(12,13,17,.7); color: var(--ecru);
  border: 1px solid rgba(249,246,240,.28);
  font-size: 15px; cursor: pointer;
  transition: transform .35s var(--bounce), background .3s ease;
}
.vlightbox__close:hover { transform: rotate(90deg) scale(1.08); background: rgba(12,13,17,.95); }
.vlightbox__fallback {
  display: block; text-align: center;
  padding: 12px 16px 16px;
  font-size: .8rem; color: rgba(249,246,240,.6);
  text-decoration: none;
}
.vlightbox__fallback:hover { color: var(--ecru); }
@keyframes vlb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes vlb-rise { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .vlightbox, .vlightbox__frame { animation: none; } }

/* ============================================================
   THE LECTURES — 강의 프로그램
   ============================================================ */
.lec-intro { max-width: 760px; margin: clamp(38px, 5vw, 60px) 0 clamp(34px, 4.5vw, 52px); }
.lec-intro p:first-child {
  font-weight: 800;
  font-size: clamp(1.35rem, 2.9vw, 2.1rem);
  line-height: 1.45;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.lec-intro__sub {
  margin: 16px 0 0;
  font-size: clamp(.96rem, 1.4vw, 1.05rem);
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 620px;
}
.lec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.8vw, 30px);
}
@media (min-width: 720px) { .lec-grid { grid-template-columns: repeat(2, 1fr); } }
.lec-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  overflow: hidden;
  box-shadow: 0 2px 0 rgba(17,17,17,.10);
  transition: transform .45s var(--bounce), box-shadow .45s var(--bounce);
}
.lec-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: var(--accent-fill, var(--sky));
}

.lec-card__head { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 16px; }
.lec-card__n { font-size: 2.2rem; font-weight: 700; color: var(--ink); opacity: .22; line-height: 1; }
.lec-card__icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: var(--ink); flex: none; }
.lec-card h3 { margin: 0 0 10px; font-weight: 800; font-size: clamp(1.14rem, 1.9vw, 1.34rem); line-height: 1.34; letter-spacing: -.01em; }
.lec-card__lead { margin: 0 0 16px; font-size: .94rem; line-height: 1.72; color: var(--ink-soft); }
.lec-card__meta { margin: 0 0 15px; display: flex; flex-direction: column; gap: 6px; }
.lec-card__meta > div { display: flex; gap: 10px; align-items: baseline; }
.lec-card__meta dt {
  flex: none;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ink);
  background: var(--ecru-deep);
  border-radius: 999px;
  padding: .28em .7em;
}
.lec-card__meta dd { margin: 0; font-size: .87rem; color: var(--ink-soft); line-height: 1.6; }
.lec-card__mods { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; flex-grow: 1; }
.lec-card__mods li { position: relative; padding-left: 17px; font-size: .9rem; line-height: 1.62; color: var(--ink); }
.lec-card__mods li::before {
  content: "";
  position: absolute;
  left: 2px; top: .58em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-fill, var(--sky));
  box-shadow: 0 0 0 1px rgba(17,17,17,.3);
}
.lec-card__proof {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
  transition: gap .3s var(--bounce);
}
.lec-card__proof:hover { gap: 9px; }
.lec-basis { margin-top: clamp(46px, 6vw, 72px); }
.lec-basis__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(16px, 2.2vw, 26px);
}
.lec-basis__item {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
}
.lec-basis__item strong { font-weight: 800; font-size: 1rem; letter-spacing: -.01em; }
.lec-basis__item span { font-size: .89rem; line-height: 1.7; color: var(--ink-soft); }
@media (max-width: 560px) {
  .lec-card__meta > div { flex-direction: column; gap: 3px; }
}

/* 강의 — 트랙 헤더 · 근거 라인 */
.lec-track { margin-bottom: clamp(44px, 6vw, 70px); }
.lec-track__head { margin-bottom: clamp(22px, 3vw, 32px); }
.lec-track__label {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: .4em .9em;
  margin-bottom: 14px;
}
.lec-track__head h3 {
  margin: 0 0 8px;
  font-weight: 800;
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
  letter-spacing: -.01em;
}
.lec-track__head p {
  margin: 0;
  max-width: 660px;
  font-size: .92rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.lec-card__basis {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0 0 14px;
  font-size: .78rem;
  line-height: 1.55;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--ecru);
  border-radius: 10px;
  padding: 8px 10px;
}
.lec-card__basis svg { flex: none; margin-top: 2px; color: var(--accent); }

/* 스크린리더 · 검색엔진 전용 텍스트 (시각적으로는 숨김) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   IMG width/height 속성과 CSS aspect-ratio 공존
   ------------------------------------------------------------
   <img width height> 는 presentational hint 로 height 를 픽셀 고정해
   aspect-ratio 로 잡은 비율을 덮어쓴다. height:auto 로 무력화하되
   속성 자체는 남겨 브라우저가 로드 전 공간을 예약(CLS 방지)하도록 한다.
   ============================================================ */
.g-card img,
.photo-card img,
.press-card img { height: auto; }

/* 강의 카드 하단 링크 — 사례 증빙과 과정 상세를 나란히 */
.lec-card__links { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }

/* 라이트박스 닫기 버튼 — 마우스·키보드 모두를 위한 명시적 컨트롤 */
.lightbox__close {
  position: absolute; top: max(16px, env(safe-area-inset-top)); right: 16px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(249, 246, 240, .35);
  background: rgba(17, 17, 17, .55); color: #F9F6F0; font-size: 26px; line-height: 1;
  display: grid; place-items: center; cursor: pointer;
}
.lightbox__close:hover { background: rgba(17, 17, 17, .78); }
.lightbox__close:focus-visible, .lightbox:focus-visible { outline: 3px solid #8FB8F2; outline-offset: 3px; }

/* ===== 인쇄 · PDF (강의 제안서로 내보낼 때) ===== */
@media print {
  header, footer, .yk-chat, .rail, .cursor-dot, .cursor-ring, .scroll-ink, .speckle, .toast { display: none !important; }
  html, body { background: #fff !important; }
  .page-main { padding: 0 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .lec-track { break-inside: avoid; }
  .lec-card { break-inside: avoid; box-shadow: none !important; border: 1px solid #C9CEDB !important; }
  .lec-grid { gap: 12px !important; }
  .page-head h1 { font-size: 40pt !important; }
  .lec-basis { break-before: page; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #555; }
  .lec-card__proof::after, .navlink::after { content: "" !important; }
  .print-only { display: block !important; }
}
.print-only { display: none; }

/* ============================================================
   v32 — HERITAGE LAYER (Ralph Lauren reference)
   네이비 · 아이보리 · 앤틱 골드 헤어라인 · 클래식 세리프 · 절제된 모션
   기존 틀 위에 얹어 톤앤매너만 정돈한다. 모든 페이지 공통.
   ============================================================ */
:root {
  --ecru: #F7F4EE;
  --ecru-deep: #EFE9DE;
  --paper: #FFFDF9;
  --ink: #0E1A2E;
  --ink-soft: #4A5365;
  --line: #1B2A45;
  --navy: #13284B;
  --navy-deep: #0B1A33;
  --gold: #9C7E48;
  --gold-light: #C9AE7A;
  --hair: rgba(14, 26, 46, .14);
  --hair-strong: rgba(14, 26, 46, .3);
  --accent-soft: #DCD6C8;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --bounce: var(--ease);
}
body { background: var(--ecru); color: var(--ink); }
::selection { background: var(--navy); color: var(--ecru); }

/* ---- type: 클래식 세리프 + 트래킹 라벨 ---- */
.font-serif { font-family: "Cormorant Garamond", "Nanum Myeongjo", Georgia, serif; font-feature-settings: "kern" 1, "liga" 1, "lnum" 1; }
.font-play, .font-cond { font-family: "Inter", "Pretendard Variable", "Pretendard", sans-serif; font-weight: 500; letter-spacing: .14em; }
.eyebrow {
  font-family: "Inter", "Pretendard Variable", sans-serif; font-variant: normal;
  font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold) !important;
}
.menu-rule { color: var(--gold); opacity: .75; }
.menu-rule::before, .menu-rule::after { width: 5px; height: 5px; }

/* ---- motion: 블러·바운스 제거, 조용한 페이드 ---- */
.reveal { filter: none !important; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { transform: none; }

#manifesto h1 { transform: none !important; }
.scroll-ink { height: 2px; background: var(--gold); }
.seal svg { animation: none; }
.seal:hover { transform: none; }

/* ---- buttons: 각진 테일러드 ---- */
.btn {
  border-radius: 0; border: 1px solid var(--navy); background: var(--navy); color: #FBF8F2;
  font-family: "Inter", "Pretendard Variable", sans-serif; font-size: .74rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; padding: 1.05em 1.8em; box-shadow: none; gap: .75em;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover, .btn:active { transform: none; translate: none; }
.btn svg, .btn:hover svg { transform: none; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--hair-strong); box-shadow: none; }

/* ---- stickers → 얇은 테두리 라벨 ---- */
.sticker {
  border-radius: 0 !important; border: 1px solid var(--hair-strong) !important; background: var(--paper) !important;
  box-shadow: none !important; color: var(--navy) !important; font-family: "Inter", "Pretendard Variable", sans-serif;
  font-size: .66rem !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: .55em 1em !important;
}

/* ---- NAV ---- */
header.hnav { background: transparent; border-bottom: 1px solid transparent; transition: background .4s ease, border-color .4s ease, transform .45s var(--ease); }
header.hnav.is-solid { background: rgba(247, 244, 238, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom-color: var(--hair); }
.hnav__name { display: flex; flex-direction: column; line-height: 1.05; }
.hnav__name b { font-weight: 600; font-size: 1.3rem; letter-spacing: .01em; color: var(--navy); }
.hnav__name small { font-family: "Inter", sans-serif; font-size: .56rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.navlink { font-size: .86rem; font-weight: 500; letter-spacing: .02em; }
.navlink::after { height: 1px; bottom: -3px; background: var(--gold); border-radius: 0; transition: transform .45s var(--ease); }
.navlink.active { color: var(--navy); }
.navlink.active::after, .navlink:hover::after { background: var(--gold); }
header .btn { padding: .8em 1.3em; font-size: .68rem; }

/* ---- HERO ---- */

.hero-kicker { margin: 0 0 12px; font-size: .66rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--ink-soft); }
.hero-eyebrow { margin-bottom: 26px; font-size: .78rem !important; letter-spacing: .3em !important; }
#manifesto h1.font-serif { font-weight: 500 !important; letter-spacing: -.01em !important; line-height: .88 !important; color: var(--navy); }
.hero-proof { max-width: 560px; margin: 16px auto 0; font-size: .95rem; line-height: 1.8; color: var(--ink-soft); }

/* ---- LEDGER → 한눈에 보는 기록 (아이보리 띠) ---- */
.ledger { position: relative; background: var(--paper); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: clamp(40px, 5vw, 60px) 0; }
.ledger__eyebrow { margin: 0 0 26px; }
.ledger-grid { grid-template-columns: repeat(5, 1fr); gap: 0; }
.ledger-item { border-left: 1px solid var(--hair); padding: 4px clamp(14px, 2vw, 26px); }
.ledger-item:first-child { border-left: 0; padding-left: 0; }
.ledger-num { font-weight: 500 !important; font-size: clamp(2.6rem, 4.6vw, 3.8rem); color: var(--navy); }
.ledger-item:hover .ledger-num { color: var(--navy); }
.ledger-ko { font-weight: 700; font-size: .9rem; margin-top: 10px; color: var(--ink); }
.ledger-en { font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
@media (max-width: 820px) {
  .ledger-grid { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .ledger-item:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* ---- 섹션 헤드: 세리프 타이틀 + 골드 괘선 ---- */
h2.font-serif { font-weight: 500 !important; letter-spacing: -.01em !important; color: var(--navy); }

/* ---- 접이식(details) 공통 ---- */
details.fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; }
details.fold > summary::-webkit-details-marker { display: none; }
.fold__t { flex: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; min-width: 0; }
.fold__t strong { font-size: clamp(1rem, 1.5vw, 1.12rem); font-weight: 700; color: var(--ink); }
.fold__t strong em { font-style: normal; color: var(--gold); }
.fold__t em.font-sans { font-style: normal; font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.fold__t .eyebrow { width: 100%; margin: 0; }
.fold__line { font-size: .86rem; color: var(--ink-soft); }
.fold__icon {
  position: relative; flex: none; width: 34px; height: 34px; border: 1px solid var(--hair-strong); border-radius: 50%;
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.fold__icon::before, .fold__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1px; background: var(--navy);
  translate: -50% -50%; transition: transform .45s var(--ease), background .3s ease;
}
.fold__icon::after { transform: rotate(90deg); }
details[open] > summary .fold__icon::after { transform: rotate(0deg); }
details.fold > summary:hover .fold__icon { background: var(--navy); border-color: var(--navy); }
details.fold > summary:hover .fold__icon::before, details.fold > summary:hover .fold__icon::after { background: #FBF8F2; }
details.fold[open] > :not(summary) { animation: foldIn .5s var(--ease) both; }
@keyframes foldIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---- COMPOSITE: 핵심/보조 위계 ---- */
.comp-thesis__sub strong { color: var(--navy); font-weight: 700; }
.comp-group { margin: 0 0 4px; font-size: .64rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.comp-group--sub { margin-top: clamp(34px, 4vw, 48px); padding-bottom: 10px; }
.comp-row--core h3 { color: var(--navy); }
.comp-row--sub { opacity: 1 !important; padding: 0 !important; border-top: 1px solid var(--hair); }
.comp-row--sub::before { display: none; }
.comp-row--sub > summary { padding: 18px 0; }
.comp-row--sub .comp-row__n { font-size: .82rem; color: var(--gold); min-width: 28px; }
.comp-row--sub .fold__body { padding: 0 0 22px 46px; }
.comp-row__tags span { border-radius: 0; }
.comp-row::before { width: 1.5px; background: var(--gold); }
.comp-row__n { color: var(--gold); }
.cmap__node { stroke-width: 1.2; }
.cmap__node.core { fill: var(--navy); stroke: var(--navy); }
.cmap__node.on { fill: var(--gold); stroke: var(--gold); }
.cmap__spoke.core { stroke: rgba(19, 40, 75, .4); stroke-width: 1.4; }
.cmap__spoke.on { stroke: var(--gold); }
.cmap__label.core { fill: var(--navy); font-weight: 800; }
.cmap__label.on { fill: var(--gold); }
.cmap__core { fill: var(--navy); }
.cmap__coreT { font-weight: 600; font-size: 28px; }
.cmap__cap span { color: var(--gold); }

.folds { margin-top: clamp(50px, 6vw, 76px); display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(20px, 3vw, 44px); }
.folds > details.fold { margin: 0; border-top: 1px solid var(--hair-strong); border-bottom: 1px solid var(--hair); align-self: start; }
.folds > details.fold > summary { padding: 22px 0; }
.folds .fold__body { padding: 0 0 26px; }
.folds .fold__t { flex-direction: column; gap: 6px; }
@media (max-width: 860px) { .folds { grid-template-columns: 1fr; } .folds > details.fold + details.fold { border-top: 0; } }
.arsenal__chips span { border-radius: 0; border: 1px solid var(--hair); background: var(--paper); color: var(--ink-soft); }
.arsenal__chips span:hover { background: var(--navy); border-color: var(--navy); color: #FBF8F2; transform: none; }
.cred { border-radius: 0; border: 1px solid var(--hair); box-shadow: none; }
.cred::before { width: 2px; background: var(--gold); }
.cred:hover { transform: none; box-shadow: none; border-color: var(--hair-strong); }
.cred__name { font-weight: 600; color: var(--navy); }

/* ---- STRATEGY CASES (네이비 밴드) ---- */
.whyc { background: var(--navy); }
.whyc__lead em, .whyc__close em { color: var(--gold-light); }
.whyc .eyebrow { color: var(--gold-light) !important; }
.wcase__n { font-size: 1.15rem; font-style: italic; font-weight: 500; color: var(--gold-light); }
.wcase__cell--judge { border-left: 1px solid var(--gold-light); }
.wcase__cell--judge .wcase__lbl { color: var(--gold-light); }

/* ---- ARTIFACTS ---- */
.works-lead { max-width: 720px; margin: clamp(28px, 3.4vw, 40px) 0 0; font-size: 1rem; line-height: 1.85; color: var(--ink-soft); }
.works-lead strong { color: var(--navy); }
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 28px); margin-top: clamp(34px, 4vw, 50px); }
.works-grid--sub { margin-top: 6px; padding-bottom: 30px; }
@media (max-width: 760px) { .works-grid { grid-template-columns: 1fr; } }
.edition {
  border-radius: 0; border: 1px solid var(--hair); background: var(--paper); box-shadow: none;
}
.edition { transition: border-color .4s var(--ease); }
.edition:hover { border-color: var(--hair-strong); }
.edition::before { display: none; }
.edition--core { border-top: 2px solid var(--navy); }
.edition__num { font-family: "Cormorant Garamond", serif; font-weight: 500; font-style: italic; -webkit-text-stroke: 0; color: var(--gold) !important; }
.edition__index-band { height: 1px; width: 44px; border-radius: 0; background: var(--gold) !important; }
.edition__chip { border-radius: 0; background: transparent; border: 1px solid var(--hair); font-family: "Inter", sans-serif; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.edition:hover .edition__chip { transform: none; }
.edition > div > span[style*="height: 52px"] { display: none !important; }
.edition span.font-sans[style*="border-radius"] { border-radius: 0 !important; border: 1px solid var(--hair) !important; color: var(--ink-soft) !important; }
.edition__point { margin: 14px 0 0; padding: 12px 14px; background: var(--ecru); border-left: 2px solid var(--gold); font-size: .9rem; line-height: 1.72; color: var(--ink); }
.edition__point b { color: var(--gold); font-weight: 700; font-size: .78rem; margin-right: 8px; letter-spacing: .04em; }
.works-more { margin-top: clamp(34px, 4vw, 50px); border-top: 1px solid var(--hair-strong); border-bottom: 1px solid var(--hair); }
.works-more > summary { padding: 24px 0; }

/* ---- TRAJECTORY: 그룹형 이력 ---- */
.tl-groups { margin-top: clamp(34px, 4vw, 50px); }
.tl-group { display: grid; grid-template-columns: 230px 1fr; gap: clamp(20px, 4vw, 60px); padding: clamp(24px, 3vw, 34px) 0; border-top: 1px solid var(--hair); }
.tl-group:first-child { border-top: 1px solid var(--hair-strong); }
.tl-group__label h3 { margin: 8px 0 0; font-size: 1.08rem; font-weight: 800; color: var(--navy); }
.tl-list { display: flex; flex-direction: column; }
.tl-group .tl-row { display: grid; grid-template-columns: 70px 1fr; gap: 16px; padding: 0 0 20px; }
.tl-group .tl-row + .tl-row { padding-top: 20px; border-top: 1px solid var(--hair); }
.tl-group .tl-year { font-size: 1.3rem; font-weight: 500; font-style: italic; color: var(--gold); line-height: 1.3; }
.tl-body h3 { margin: 0 0 6px; font-size: clamp(1rem, 1.5vw, 1.1rem); font-weight: 700; line-height: 1.5; color: var(--ink); }
.tl-body p { margin: 0; max-width: 700px; font-size: .92rem; line-height: 1.8; color: var(--ink-soft); }
.tl-tag { display: inline-block; margin-left: 10px; padding: .25em .7em; border: 1px solid var(--gold); color: var(--gold); font-size: .56rem; font-weight: 600; letter-spacing: .18em; vertical-align: .2em; }
.tl-fold > summary { padding: 2px 0; }
.tl-fold[open] > summary { margin-bottom: 18px; }
@media (max-width: 800px) { .tl-group { grid-template-columns: 1fr; gap: 14px; } }
@media (max-width: 480px) { .tl-group .tl-row { grid-template-columns: 52px 1fr; gap: 10px; } }

/* ---- LECTURES: 과정 카드는 접기 ---- */
.lec-fold { margin-top: 18px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.lec-fold > summary { padding: 18px 0; }
.lec-fold .lec-grid { padding-bottom: 26px; }
.lec-card { border-radius: 0; box-shadow: none; border: 1px solid var(--hair); background: var(--paper); }
.lec-card::before { background: var(--gold); }
.lec-card__icon { border-radius: 0; background: transparent !important; border: 1px solid var(--hair); color: var(--navy); }
.lec-card__n { font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 500; color: var(--gold); opacity: 1; }
.lec-track__label { color: var(--gold) !important; }

/* ---- ABOUT · PHOTO ---- */
.photo-card { border-radius: 0; border: 1px solid var(--hair); box-shadow: none; transform: none; padding: 10px; }
.photo-card img { border-radius: 0; border: 0; filter: saturate(.85); }
.photo-card__chip { border-radius: 0; background: transparent; border: 1px solid var(--hair-strong); color: var(--gold); font-family: "Inter", sans-serif; letter-spacing: .14em; }
.photo-card__chip--red { background: var(--navy); color: #FBF8F2; border-color: var(--navy); }

/* ---- CONTACT ---- */
#contact { background: var(--navy-deep); }
.contact-eyebrow { color: var(--gold-light) !important; margin: 0 0 18px; }
.contact-title { margin: 0; font-weight: 500 !important; font-size: clamp(2.8rem, 7.6vw, 6.2rem); line-height: 1; letter-spacing: -.01em; color: #FBF8F2 !important; }
.contact-title em { font-style: italic; color: var(--gold-light); }
.seal { color: var(--gold-light); }
.f-links a:hover { color: var(--gold-light); }

/* ---- RAIL · TOAST · LIGHTBOX ---- */
.rail a { width: 6px; height: 6px; background: rgba(19, 40, 75, .28); }
.rail a.on { background: var(--gold); transform: none; }
.rail a:hover { transform: none; background: var(--navy); }
.rail a::after { border-radius: 0; background: var(--navy); }
.toast { border-radius: 0; background: var(--navy); border: 1px solid var(--gold-light); }
.vlightbox__frame { border-radius: 0; }
.vlightbox__close { border-radius: 0; }
.vlightbox__close:hover { transform: none; }
:where(a, button, summary, [tabindex]):focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; border-radius: 0; }

/* ---- SUB PAGES (경력 · 갤러리 · 강의) ---- */
.page-head h1 { font-family: "Cormorant Garamond", "Nanum Myeongjo", serif; font-weight: 500; letter-spacing: -.01em; color: var(--navy); }
.stat-card, .practice-card, .g-card, .press-card, .press-cite { border-radius: 0 !important; box-shadow: none !important; transform: none !important; border: 1px solid var(--hair) !important; }
.stat-card .num { font-family: "Cormorant Garamond", serif; font-weight: 500; color: var(--navy); }
.practice-card .band { height: 2px; width: 40px; border-radius: 0; background: var(--gold) !important; }
.g-card img, .g-card a { border-radius: 0 !important; }
.cv-row .yr { font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 500; color: var(--gold); }
.cv-list { border-top: 1px solid var(--navy); }

@media print {
  details > :not(summary) { display: block !important; }
}
@media (max-width: 480px) { .hnav__name small { display: none; } }

/* ---- 강의 = 부업 · 준비 중 (본업 섹션과 구분) ---- */
.side-practice { background: var(--ecru-deep); border-top: 1px solid var(--hair-strong); }
.side-note {
  display: flex; gap: 22px; align-items: center; max-width: none;
  margin: clamp(30px, 3.6vw, 44px) 0 0; padding: 20px 24px;
  background: var(--paper); border: 1px solid var(--hair); border-left: 2px solid var(--gold);
}
.side-note__badge {
  flex: none; margin-top: 3px; padding: .45em .9em; border: 1px solid var(--gold); color: var(--gold);
  font-size: .6rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
}
.side-note p { margin: 0; font-size: .95rem; line-height: 1.85; color: var(--ink-soft); }
.side-note strong { color: var(--navy); }
@media (max-width: 560px) { .side-note { flex-direction: column; gap: 12px; } }
.ledger-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 820px) { .ledger-grid { grid-template-columns: repeat(2, 1fr); } }
.navlink { white-space: nowrap; }
@media (max-width: 960px) { header .nav-desktop { display: none !important; } }
.lec-track__label { border-radius: 0 !important; }

/* ============================================================
   v33 — REFINEMENT LAYER
   타이포 위계 정돈 · 요소별 마이크로 인터랙션 · 랜딩(이전 버전의 힘 + 헤리티지 톤)
   ============================================================ */
:root {
  --shadow-soft: 0 1px 0 rgba(14, 26, 46, .04), 0 22px 44px -30px rgba(14, 26, 46, .38);
  --shadow-lift: 0 1px 0 rgba(14, 26, 46, .05), 0 30px 60px -32px rgba(14, 26, 46, .5);
}

/* ---------- 타이포 위계 ---------- */
body { font-size: 16px; letter-spacing: -.003em; font-feature-settings: "ss06" 1; }
.font-ko { letter-spacing: -.012em; }
h3.font-ko, .comp-row h3, .tl-body h3, .lec-card h3, .edition h3 { font-weight: 700 !important; letter-spacing: -.022em !important; }
.comp-row p, .fold__body > p, .wcase__cell p, .tl-body p, .lec-card__lead, .works-lead, .comp-thesis__sub, .lec-intro__sub, .side-note p {
  font-size: clamp(.98rem, 1.15vw, 1.04rem) !important; line-height: 1.86 !important;
}
.edition p.font-ko[style] { font-size: clamp(.95rem, 1.1vw, 1rem) !important; line-height: 1.82 !important; }
.comp-thesis p:first-child, .lec-intro p:first-child { font-weight: 700; letter-spacing: -.03em; }
.whyc__lead, .whyc__close { font-weight: 700 !important; letter-spacing: -.035em !important; }
.eyebrow { font-size: .7rem; letter-spacing: .26em; }
.navlink { font-size: .9rem; font-weight: 500; color: var(--ink); }
.navlink:hover { color: var(--navy); }
h2.font-serif { font-size: clamp(2.8rem, 6.2vw, 5.4rem) !important; line-height: .96 !important; }
.hnav__name b { font-size: 1.36rem; }

/* 섹션 헤드 괘선 — 등장할 때 좌→우로 그려진다 */
.menu-rule i { transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease) .15s; }
.reveal.in .menu-rule i, .menu-rule.in i, .reveal.in.menu-rule i { transform: scaleX(1); }
.menu-rule::before, .menu-rule::after { transition: opacity .8s ease .2s; }
.reveal:not(.in) .menu-rule::before, .reveal:not(.in) .menu-rule::after { opacity: 0; }

/* ---------- 랜딩 — 이전 버전의 무게감 + 헤리티지 ---------- */
#manifesto h1.font-serif {
  font-family: "Playfair Display", "Cormorant Garamond", serif !important;
  font-weight: 800 !important; letter-spacing: -.03em !important; line-height: .86 !important;
  color: var(--ink);
}
.h-ltr {
  display: inline-block; opacity: 0; transform: translateY(.34em);
  animation: hltr 1s var(--ease) forwards; transition: color .45s var(--ease);
}
.h-ltr:hover { transform: none; color: var(--navy); }
#manifesto h1 .h-ltr:nth-child(odd):hover { color: var(--gold); }
@keyframes hltr { to { opacity: 1; transform: none; } }
.hero-kicker { color: var(--ink-soft); opacity: .85; }
.hero-eyebrow { color: var(--gold) !important; }
.hero-proof { color: var(--ink); opacity: .78; }
.hero-net { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.scroll-cue { color: var(--gold); }
.scroll-cue span { opacity: .9; }

/* ---------- 버튼 — 좌→우 채움 스윕 + 화살표 이동 ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  background-image: linear-gradient(var(--sweep, var(--navy-deep)), var(--sweep, var(--navy-deep)));
  background-repeat: no-repeat; background-size: 0% 100%; background-position: left;
  transition: background-size .55s var(--ease), color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.btn:hover { background-color: var(--navy); background-size: 100% 100%; box-shadow: inset 0 -2px 0 var(--gold-light); }
.btn svg { transition: transform .45s var(--ease) !important; }
.btn:hover svg { transform: translateX(4px) !important; }
.btn--ghost { --sweep: var(--navy); background-color: transparent; }
.btn--ghost:hover { background-color: transparent; color: #FBF8F2; border-color: var(--navy); box-shadow: none; }
#contact .btn--ghost { --sweep: #FBF8F2; }
#contact .btn--ghost:hover { color: var(--navy) !important; border-color: #FBF8F2 !important; }
#contact .btn:not(.btn--ghost) { --sweep: var(--gold-light); }
.btn:active { transform: translateY(1px); }

/* ---------- 내비 — 골드 밑줄 + 활성 점 ---------- */
.navlink::after { transform-origin: right; }
.navlink:hover::after { transform-origin: left; }
header .btn { --sweep: var(--gold); }

/* ---------- 한눈에 보기 ---------- */
.ledger-item { position: relative; transition: background .45s var(--ease); }
.ledger-item::after {
  content: ""; position: absolute; left: clamp(14px, 2vw, 26px); bottom: -6px; width: 28px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.ledger-item:first-child::after { left: 0; }
.ledger-item:hover::after { transform: scaleX(1.8); }
.ledger-num { transition: color .45s var(--ease), transform .6s var(--ease); display: inline-block; }
.ledger-item:hover .ledger-num { color: var(--gold) !important; transform: translateY(-3px); }
.ledger-ko { font-size: .95rem; }

/* ---------- 역량 ---------- */
.comp-row--core { transition: background .5s var(--ease), padding-left .5s var(--ease); }
.comp-row--core:hover { background: linear-gradient(90deg, rgba(156, 126, 72, .07), transparent 72%); }
.comp-row__tags span { transition: border-color .35s ease, color .35s ease, background .35s ease; }
.comp-row__tags span:hover { border-color: var(--navy); background: var(--navy); color: #FBF8F2; }
.cmap__node { transition: r .5s var(--ease), fill .4s ease, stroke .4s ease; }
.cmap__halo { fill: rgba(156, 126, 72, .08); animation: haloPulse 4.5s var(--ease) infinite; transform-origin: 200px 200px; }
@keyframes haloPulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.12); opacity: .45; } }

/* ---------- 접이식 요소 — 호버 시 은은한 하이라이트 · 제목 이동 ---------- */
details.fold > summary { transition: background .45s var(--ease); }
details.fold > summary .fold__t { transition: transform .45s var(--ease); }
details.fold > summary:hover .fold__t { transform: translateX(6px); }
details.fold > summary:hover .fold__t strong { color: var(--navy); }
details.fold > summary:hover { background: linear-gradient(90deg, rgba(156, 126, 72, .06), transparent 60%); }
.fold__icon { transition: background .4s var(--ease), border-color .4s var(--ease), transform .55s var(--ease); }
details[open] > summary .fold__icon { transform: rotate(180deg); background: var(--navy); border-color: var(--navy); }
details[open] > summary .fold__icon::before, details[open] > summary .fold__icon::after { background: #FBF8F2; }

/* ---------- 카드 — 살짝 떠오르며 골드 상단선이 그려진다 ---------- */
.edition, .lec-card, .cred, .photo-card, .stat-card, .practice-card, .g-card {
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .45s var(--ease) !important;
}
.edition::after, .lec-card::after {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); z-index: 2;
}
.edition:hover, .lec-card:hover { transform: translateY(-5px) !important; box-shadow: var(--shadow-lift) !important; border-color: var(--hair-strong); }
.edition:hover::after, .lec-card:hover::after { transform: scaleX(1); }
.edition__num { transition: transform .6s var(--ease), letter-spacing .6s var(--ease); display: inline-block; }
.edition:hover .edition__num { transform: translateX(4px); }
.edition__index-band { transition: width .6s var(--ease); }
.edition:hover .edition__index-band { width: 88px; }
.cred:hover, .stat-card:hover, .practice-card:hover { transform: translateY(-3px) !important; box-shadow: var(--shadow-soft) !important; }
.edition__point { transition: background .45s var(--ease); }
.edition:hover .edition__point { background: #F3EDE1; }

/* 사진 — 프레임 안에서 천천히 확대 */
.photo-card, .g-card a, .plate { overflow: hidden; }
.photo-card img, .g-card img { transition: transform 1.1s var(--ease), filter .6s ease !important; }
.photo-card:hover img, .g-card:hover img { transform: scale(1.04); filter: saturate(1) !important; }
.photo-card:hover, .g-card:hover { box-shadow: var(--shadow-soft) !important; }

/* ---------- 이력 ---------- */
.tl-group .tl-row { transition: background .45s var(--ease); }
.tl-group .tl-row:hover { background: linear-gradient(90deg, rgba(156, 126, 72, .06), transparent 65%); }
.tl-group .tl-year { transition: transform .5s var(--ease); display: inline-block; }
.tl-group .tl-row:hover .tl-year { transform: translateX(4px); }

/* ---------- 전략 사례 (네이비) ---------- */
.wcase { transition: background .5s var(--ease); }
.wcase:hover { background: linear-gradient(90deg, rgba(201, 174, 122, .07), transparent 70%); }
.wcase__cell--judge { transition: border-color .5s ease, padding-left .5s var(--ease); }
.wcase:hover .wcase__cell--judge { border-left-color: #E3CFA3; }

/* ---------- 준비 중 안내 — 한 줄 폭 전체 ---------- */
.side-note { width: 100%; padding: 24px clamp(20px, 3vw, 34px); }
.side-note p { max-width: none; }
.side-note__badge { margin-top: 0; }

.cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
  width: 30px; height: 30px; margin: 0; border-radius: 50%;
  border: 1px solid rgba(156, 126, 72, .85); background: transparent; opacity: 0;
  transition: width .35s var(--ease), height .35s var(--ease), opacity .3s ease, background .35s ease, border-color .35s ease;
}
.cursor-ring.is-on { opacity: 1; }
.cursor-ring.is-hover { width: 54px; height: 54px; background: rgba(156, 126, 72, .1); border-color: rgba(156, 126, 72, .55); }
.cursor-ring.is-down { width: 22px; height: 22px; background: rgba(19, 40, 75, .12); }
#contact .cursor-ring, .whyc ~ .cursor-ring { border-color: var(--gold-light); }
@media (pointer: coarse) { .cursor-ring { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  .h-ltr { opacity: 1; transform: none; animation: none; }
  .menu-rule i { transform: none; transition: none; }
  .cmap__halo { animation: none; }
  .edition:hover, .lec-card:hover, .cred:hover { transform: none !important; }
}
#manifesto .wrap > p.font-ko { color: rgba(14, 26, 46, .86) !important; font-weight: 500; }
#manifesto .wrap > p.font-ko:first-of-type { color: var(--ink) !important; font-weight: 600; }

/* ============================================================
   v35 — 시인성 · 버튼 채움 · 단락 폭 · 랜딩 · 프로필 스크롤 스토리
   ============================================================ */
:root { --ink-soft: #384152; --gold-text: #82653A; }

/* ---------- 시인성: 본문 대비 · 작은 골드 글자 진하게 ---------- */
.eyebrow, .comp-group, .ledger-en, .fold__t em.font-sans, .hnav__name small, .edition__point b,
.cmap__cap em, .tl-tag, .side-note__badge, .work__cat span { color: var(--gold-text) !important; }
.comp-row p, .fold__body > p, .tl-body p, .lec-card__lead, .works-lead, .comp-thesis__sub, .lec-intro__sub,
.side-note p, .lec-track__head p, .edition p.font-ko[style], .fold__line, .lec-basis__item span { color: var(--ink-soft) !important; }
.whyc__intro, .wcase__cell p { color: rgba(251, 248, 242, .82) !important; }
.wcase__cell--judge p { color: #FFFFFF !important; }
.wcase__lbl { color: rgba(251, 248, 242, .62) !important; }

/* ---------- 단락이 일찍 끊기지 않게 — 본문 폭 전체 사용 ---------- */
.lec-intro, .comp-thesis, .whyc__intro, .whyc__lead, .whyc__close, .whyc__closesub,
.works-lead, .tl-body p, .comp-row p, .lec-track__head p, .fold__body, .side-note p, .comp-thesis__sub, .lec-intro__sub { max-width: none !important; }
.comp-row p, .tl-body p, .lec-track__head p, .fold__body > p, .works-lead, .lec-intro__sub, .comp-thesis__sub, .whyc__intro { text-wrap: pretty; }
.lec-intro p:first-child, .comp-thesis p:first-child { text-wrap: balance; }

/* ---------- 버튼: 왼쪽→오른쪽 채움이 보이도록 반전색 · 글자는 채움과 함께 전환 ---------- */
.btn {
  --sweep: #FBF8F2;
  background-color: var(--navy);
  transition: background-size .5s var(--ease), color .22s ease .1s, border-color .3s ease, box-shadow .3s ease !important;
}
.btn:hover { background-color: var(--navy); color: var(--navy) !important; border-color: var(--navy); box-shadow: inset 0 -2px 0 var(--gold); }
.btn--ghost { --sweep: var(--navy); background-color: transparent !important; color: var(--navy); border-color: var(--hair-strong); }
.btn--ghost:hover { color: #FFFFFF !important; border-color: var(--navy); box-shadow: none; }
header .btn { --sweep: #FBF8F2; }
#contact .btn:not(.btn--ghost) { --sweep: var(--navy); background-color: #FBF8F2 !important; color: var(--navy) !important; border-color: #FBF8F2; }
#contact .btn:not(.btn--ghost):hover { color: #FFFFFF !important; border-color: #FBF8F2; box-shadow: inset 0 -2px 0 var(--gold-light); }
#contact .btn--ghost { --sweep: #FBF8F2; color: #FBF8F2 !important; border-color: rgba(251, 248, 242, .55) !important; }
#contact .btn--ghost:hover { color: var(--navy) !important; border-color: #FBF8F2 !important; }
.btn svg { stroke: currentColor; }

/* 커서 링 — 글자를 가리지 않도록 채움 없이 테두리만 */
.cursor-ring.is-hover { background: transparent !important; border-color: var(--gold); border-width: 1.5px; }
.cursor-ring.is-down { background: transparent !important; }

/* 호버 하이라이트 — 글자 대비 유지 */
details.fold > summary:hover { background: linear-gradient(90deg, rgba(19, 40, 75, .045), transparent 70%); }
details.fold > summary:hover .fold__t strong { color: var(--navy); }
.comp-row__tags span { color: var(--ink) !important; border-color: var(--hair-strong) !important; }
.comp-row__tags span:hover, .arsenal__chips span:hover { color: #FFFFFF !important; }
.h-ltr:hover, #manifesto h1 .h-ltr:nth-child(odd):hover { color: var(--navy); }

/* ---------- 랜딩: 흰 배경 · 내용을 위로 · 윗부분 산이 또렷하게 ---------- */
#manifesto { background: #FFFFFF; align-items: flex-start !important; padding-top: clamp(112px, 14vh, 150px) !important; }
#manifesto .hero-photo__scrim { background: linear-gradient(180deg, #FFF 0%, #FFF 20%, rgba(255,255,255,.55) 36%, rgba(255,255,255,.2) 58%, rgba(255,255,255,.5) 86%, #FFF 100%); }
#manifesto p.font-ko { text-shadow: 0 0 16px #FFF, 0 0 4px #FFF; }
#manifesto .scroll-cue { color: var(--navy); }
.ledger { background: #FFFFFF; }

/* ---------- 프로필 스크롤 스토리 (애플식 고정 스크롤) ---------- */
.story { --p: 0; position: relative; height: 280vh; background: var(--ecru); }
.story__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.story__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(36px, 6vw, 96px); align-items: center; width: 100%; }
.story__copy .eyebrow { margin: 0 0 22px; }
.story__lead { margin: 0; font-weight: 800; font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.28; letter-spacing: -.04em; }
.story__line { display: block; color: rgba(14, 26, 46, .16); transition: color .7s var(--ease); }
.story__line.on { color: var(--navy); }
.story__body { margin-top: clamp(26px, 3vw, 38px); opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.story__body.on { opacity: 1; transform: none; }
.story__body > p.font-ko { margin: 0; font-size: clamp(1rem, 1.25vw, 1.08rem); line-height: 1.9; color: var(--ink-soft); }
.story__addr { display: flex; align-items: center; gap: 8px; margin: 18px 0 0 !important; font-size: .92rem !important; color: var(--ink-soft); }
.story__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.story__media { position: relative; }
.story__frame { position: relative; aspect-ratio: 4 / 5; background: var(--paper); border: 1px solid var(--hair); padding: 12px; box-shadow: var(--shadow-soft); }
.story__img {
  position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: cover;
  opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease), transform 1.4s var(--ease);
}
.story__img.on { opacity: 1; transform: scale(1); }
.story__caps { position: relative; height: 52px; margin-top: 16px; }
.story__cap { position: absolute; inset: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.story__cap.on { opacity: 1; transform: none; }
.story__cap span { font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }
.story__cap em { font-style: normal; font-size: .95rem; font-weight: 600; color: var(--ink); }
.story__prog { height: 1px; background: var(--hair); margin-top: 6px; }
.story__prog i { display: block; height: 100%; background: var(--gold); transform-origin: left; }

@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .story { height: auto; padding: clamp(80px, 12vw, 120px) 0; }
  .story__sticky { position: static; height: auto; display: block; overflow: visible; }
  .story__grid { grid-template-columns: 1fr; }
  .story__line { color: var(--navy); }
  .story__body { opacity: 1; transform: none; }
  .story__media { max-width: 420px; }
  .story__img { opacity: 0; }
  .story__img:first-child { opacity: 1; transform: none; }
  .story__cap { position: static; opacity: 0; display: none; }
  .story__cap:first-child { display: flex; opacity: 1; transform: none; }
  .story__caps { height: auto; }
  .story__prog { display: none; }
}
@media (max-height: 640px) and (min-width: 901px) {
  .story__lead { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
  .story__frame { aspect-ratio: 5 / 5; }
}

/* 이력 하이라이트 — 2026 청년의날 */
.tl-feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin: clamp(34px, 4vw, 50px) 0 0; padding: clamp(18px, 2.4vw, 28px); background: var(--paper); border: 1px solid var(--hair); }
.tl-feature__main { display: block; overflow: hidden; }
.tl-feature__main img, .tl-feature__thumbs img { display: block; width: 100%; height: auto; object-fit: cover; transition: transform 1.1s var(--ease); }
.tl-feature__main:hover img, .tl-feature__thumbs a:hover img { transform: scale(1.04); }
.tl-feature__body h3 { margin: 10px 0 12px; font-size: clamp(1.15rem, 1.9vw, 1.45rem); color: var(--navy); }
.tl-feature__body > p.font-ko { margin: 0; font-size: 1rem; line-height: 1.85; color: var(--ink-soft); }
.tl-feature__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 10px; }
.tl-feature__thumbs a { display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.tl-feature__thumbs img { height: 100%; }
.tl-feature__credit, .g-credit { margin: 0 0 20px; font-size: .68rem; letter-spacing: .06em; color: var(--ink-soft); opacity: .8; }
.g-sec__lead { margin: 0 0 24px; font-size: 1rem; line-height: 1.8; color: var(--ink-soft); }
.g-credit { margin-top: 16px; }
@media (max-width: 900px) { .tl-feature { grid-template-columns: 1fr; } }
.g-src { margin-left: auto; padding-left: 8px; font-size: .64rem; font-weight: 500; color: var(--ink-soft); opacity: .75; white-space: nowrap; }

/* ---- v41 — 서체 정교화 · 청년의날 구분 ---- */
.font-script { font-family: "Pinyon Script", "Cormorant Garamond", cursive; font-weight: 400; letter-spacing: 0; }
.signature { margin: 22px 0 0; font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1; color: var(--navy); transform: rotate(-3deg); transform-origin: left; }
.signature--light { margin: 0 0 18px; color: var(--gold-light); transform: rotate(-3deg); transform-origin: center; }
h2.font-serif .sh-art { font-style: italic; font-weight: 400; font-size: .56em; color: var(--gold-text); margin-right: .16em; vertical-align: .34em; letter-spacing: 0; }
.font-myeongjo { letter-spacing: -.035em; word-spacing: .02em; }
p.font-ko { font-weight: 430; }
.story__lead, .whyc__lead, .whyc__close, .comp-thesis p:first-child { font-feature-settings: "palt" 1; }
.eyebrow { font-weight: 700; }
/* 청년의날 — 테두리 패널 + 전용 배치로 다른 기록과 확실히 분리 */
.g-sec--feature { padding: clamp(22px, 3vw, 40px); background: var(--paper); border: 1px solid var(--hair-strong); border-top: 2px solid var(--gold); }
/* 청년의날 — 4열로 한 단 작게. 대표 사진 2×2, 전경은 가로 2칸, 빈칸은 dense 로 메운다 */
.yd-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: clamp(10px, 1.3vw, 16px); }
.yd-grid .g-card { margin: 0; display: flex; flex-direction: column; }
.yd-grid .g-card a { display: block; overflow: hidden; aspect-ratio: 16 / 10; }
.yd-grid .g-card img { width: 100%; height: 100%; object-fit: cover; }
.yd-grid .g-card:first-child { grid-column: span 2; grid-row: span 2; }
.yd-grid .g-card:first-child a { aspect-ratio: auto; flex: 1; }
.yd-grid .g-card--wide { grid-column: span 2; }
.yd-grid .g-card--wide a { aspect-ratio: 32 / 10; }
.yd-grid #g-youth-day-dialogue img { object-position: 50% 42%; }
.yd-grid figcaption { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 2px 2px; font-size: .8rem; font-weight: 600; color: var(--ink); }
@media (max-width: 760px) { .yd-grid { grid-template-columns: 1fr 1fr; } .yd-grid .g-card:first-child { grid-column: span 2; grid-row: auto; } .yd-grid .g-card:first-child a { aspect-ratio: 860 / 592; } .yd-grid .g-card--wide a { aspect-ratio: 16 / 7; } }
@media (max-width: 480px) { .yd-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .yd-grid figcaption { font-size: .74rem; } }

/* 국민 대토론회 — 세로 2장 + 가로 1장을 같은 높이로 */
.nd-grid { display: grid; grid-template-columns: 1fr 1fr 1.7fr; gap: clamp(10px, 1.3vw, 16px); }
.nd-grid .g-card { margin: 0; display: flex; flex-direction: column; }
.nd-grid .g-card a { display: block; overflow: hidden; height: clamp(260px, 28vw, 420px); }
.nd-grid .g-card img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.nd-grid #g-debate-interview img { object-position: 50% 62%; }
.nd-grid figcaption { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 2px 2px; font-size: .8rem; font-weight: 600; color: var(--ink); }
@media (max-width: 760px) {
  .nd-grid { grid-template-columns: 1fr 1fr; }
  .nd-grid .g-card a { height: auto; aspect-ratio: 3 / 4; }
  .nd-grid #g-debate-cho { grid-column: span 2; }
  .nd-grid #g-debate-cho a { aspect-ratio: 4 / 3; }
}

/* ===== 필드워크 체험 스트립 — 활자 구간 사이의 쉼표 ===== */
/* 대표 사례(Case 01 · 감정평가) — 금색 레일과 배지로 나머지 사례보다 한 단 위에 */
.wcase--feature { position: relative; padding-left: clamp(18px, 2.4vw, 30px); }
.wcase--feature::before {
  content: ""; position: absolute; left: 0; top: clamp(30px, 3.8vw, 46px); bottom: clamp(30px, 3.8vw, 46px);
  width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--gold-light), rgba(201, 174, 122, .15));
}
.wcase--feature .wcase__t { font-size: clamp(1.2rem, 2.1vw, 1.6rem); }
.wcase__badge {
  font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: .42em .9em; border-radius: 999px; color: #10131C; background: var(--gold-light);
}
.wcase--feature .fw { margin-bottom: 0; }
@media (max-width: 560px) {
  .wcase--feature { padding-left: 14px; }
  .wcase--feature .fw { padding: 20px 16px; }
  .wcase--feature .fw__eyebrow { letter-spacing: .1em; }
}
.fw {
  margin: clamp(46px, 6vw, 76px) 0 clamp(40px, 5vw, 64px);
  padding: clamp(24px, 3vw, 34px);
  border-radius: 22px;
  background: rgba(249, 246, 240, .05);
  border: 1px solid rgba(244, 245, 248, .14);
}
.fw__head { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; justify-content: space-between; }
.fw__eyebrow { color: rgba(244, 245, 248, .55) !important; margin: 0 0 10px; }
.fw__title {
  margin: 0; font-weight: 800; letter-spacing: -.015em; color: #F4F5F8;
  font-size: clamp(1.18rem, 2.1vw, 1.6rem); line-height: 1.34; text-wrap: balance;
}
.fw__sub { margin: 10px 0 0; max-width: 46ch; color: rgba(244, 245, 248, .72); line-height: 1.75; font-size: .95rem; }
.fw__cta {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: .72em 1.25em; border-radius: 999px; text-decoration: none;
  background: #F4F5F8; color: #10131C; font-weight: 700; font-size: .88rem;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease;
}
.fw__cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .28); }
.fw__cta:focus-visible { outline: 3px solid #9AA8D6; outline-offset: 3px; }

.fw__items { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 20px; }
.fw__items span {
  font-size: .78rem; letter-spacing: .02em; padding: .45em .85em; border-radius: 999px;
  background: rgba(154, 168, 214, .16); color: #CBD3EC; border: 1px solid rgba(154, 168, 214, .28);
}

.fw__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fw__shot {
  display: block; text-decoration: none; border-radius: 14px; overflow: hidden;
  background: rgba(16, 19, 28, .5); border: 1px solid rgba(244, 245, 248, .12);
  transition: transform .25s ease, border-color .25s ease;
}
.fw__shot:hover { transform: translateY(-3px); border-color: rgba(154, 168, 214, .5); }
.fw__shot:focus-visible { outline: 3px solid #9AA8D6; outline-offset: 3px; }
.fw__shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.fw__label {
  display: block; margin: 12px 14px 0; font-size: .86rem; font-weight: 700; color: #F4F5F8;
}
.fw__cap {
  display: block; margin: 4px 14px 14px; font-size: .78rem; line-height: 1.55;
  color: rgba(244, 245, 248, .62);
}

@media (max-width: 980px) { .fw__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .fw__grid { grid-template-columns: 1fr; }
  .fw__head { align-items: flex-start; }
  .fw__cta { width: 100%; justify-content: center; }
}

/* ============================================================
   모바일 시연 — 끊김 없이, 손가락 크기로
   ============================================================ */
/* <Pic> 의 <picture> 는 레이아웃에 끼지 않는다 — img 가 예전처럼 직접 자식으로 배치 */
.pic { display: contents; }

@media (pointer: coarse) {
  /* 터치 대상 44px (WCAG 2.5.5 · Apple HIG) */
  .btn { min-height: 44px; }
  header .wrap > a { min-height: 44px; display: inline-flex; align-items: center; }
  .lec-card__proof { min-height: 44px; display: inline-flex; align-items: center; }
  .lec-basis__item a { position: relative; }
  .lec-basis__item a::before { content: ""; position: absolute; inset: -14px -8px; }
  .fw__cta { min-height: 44px; }
  footer .f-links { row-gap: 0 !important; }
  footer .f-links a, footer a[href="#top"] { min-height: 44px; display: inline-flex; align-items: center; }

  /* 고정 헤더의 배경 블러는 스크롤 한 프레임마다 뒤 화면을 다시 흐리게 계산한다.
     터치 기기에선 거의 불투명한 단색으로 대체 — 보이는 차이는 없고 스크롤 비용은 사라진다 */
  header, header.hnav.is-solid, #contact .btn {
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  }
  header[style*="backdrop-filter"] { background: rgba(249, 246, 240, .98) !important; }
  header.hnav.is-solid { background: rgba(247, 244, 238, .985); }
}
