@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Song+Myung&family=Gowun+Batang:wght@400;700&family=EB+Garamond:ital,wght@0,400;0,500;1,400&family=Special+Elite&family=Shippori+Mincho:wght@400;500;600;700&display=swap');

:root{
  --night: #14172B;
  --night-2: #1D2242;
  --night-3: #262C52;
  --gold: #D4AF6A;
  --gold-soft: #E9D3A3;
  --parchment: #F4EEE1;
  --parchment-dim: #C9C0AC;
  --plum: #6B5B95;
  --plum-deep: #4A3B6B;
  --sage: #8AA07E;
  --ink: #14121C;

  --font-display-en: 'Playfair Display', 'Noto Serif KR', serif;
  --font-display-kr: 'Song Myung', 'Playfair Display', serif;
  --font-body-kr: 'Gowun Batang', 'Noto Serif KR', serif;
  --font-body-en: 'EB Garamond', Georgia, serif;
  /* 영문은 타자기체, 한글·일본어 글자는 고운바탕·시포리 명조로 이어서 표시 (2026-11-07) */
  --font-mono: 'Special Elite', 'Gowun Batang', 'Shippori Mincho', 'Noto Serif KR', 'Courier New', serif;

  /* Japanese pairing — antique mincho serif, matches the herbarium/gothic mood
     of Song Myung + Gowun Batang. Applied automatically on any <html lang="ja">
     page via the override below, so jp/ pages can reuse .kr-title, .name,
     .author h3, etc. as-is without new classes. */
  --font-display-jp: 'Shippori Mincho', 'Song Myung', serif;
  --font-body-jp: 'Shippori Mincho', 'Gowun Batang', serif;

  --max: 1180px;
  --edge: clamp(20px, 6vw, 72px);
}

html[lang="ja"]{
  --font-display-kr: var(--font-display-jp);
  --font-body-kr: var(--font-body-jp);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin: 0;
  background: var(--night);
  color: var(--parchment);
  font-family: var(--font-body-kr);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img, svg{ display: block; max-width: 100%; }

a{ color: inherit; }
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--edge);
  padding-right: var(--edge);
}

/* ---------- starfield backdrop ---------- */
.stars{
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.stars span{
  position: absolute;
  width: 2px; height: 2px;
  background: var(--gold-soft);
  border-radius: 50%;
  opacity: .55;
}

/* ---------- header / nav ---------- */
.site-header{
  position: relative;
  z-index: 20;
  padding: 28px var(--edge) 0;
}
.site-header .wrap{
  padding-left:0; padding-right:0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(212,175,106,.22);
  padding-bottom: 20px;
}
.brand-mark{
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}
.brand-mark .en{
  font-family: var(--font-display-en);
  font-weight: 600;
  font-size: 1.28rem;
  letter-spacing: .02em;
  color: var(--gold-soft);
}
.brand-mark .kr{
  font-family: var(--font-display-kr);
  font-size: .92rem;
  color: var(--parchment-dim);
}
.site-nav{
  display: flex;
  font-family: var(--font-mono);
  font-size: .88rem;
  letter-spacing: .05em;
}
/* 한글 페이지: 메뉴·버튼의 한글 자간을 조금 좁게 (2026-11-07) */
html[lang="ko"] .site-nav,
html[lang="ko"] .btn,
html[lang="ko"] .tb-popup-cta{ letter-spacing: .02em; }
.site-nav a{
  text-decoration: none;
  color: var(--parchment-dim);
  padding-bottom: 3px;
  margin-right: clamp(14px, 3vw, 34px);
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.site-nav a:last-child{ margin-right: 0; }
.site-nav a:hover, .site-nav a[aria-current="page"]{
  color: var(--gold);
  border-color: var(--gold);
}
.site-nav a.lang-switch{
  margin-left: clamp(4px, 1.5vw, 14px);
  padding-left: clamp(14px, 3vw, 20px);
  border-left: 1px solid rgba(212,175,106,.3);
  border-bottom: 1px solid transparent;
  opacity: .8;
}
.site-nav a.lang-switch:hover{ opacity: 1; }
.site-nav a.lang-switch + a.lang-switch{
  border-left: none;
  padding-left: 0;
  margin-left: 10px;
}

/* language dropdown (icon + <details>/<summary>, no JS needed) */
.lang-switch-wrap{
  display: flex;
  align-items: center;
  position: relative;
  margin-left: clamp(4px, 1.5vw, 14px);
  padding-left: clamp(14px, 3vw, 20px);
  border-left: 1px solid rgba(212,175,106,.3);
}
.lang-switch-wrap summary{
  display: flex;
  align-items: center;
  width: 19px;
  height: 19px;
  color: var(--parchment-dim);
  cursor: pointer;
  list-style: none;
  transition: color .2s ease;
}
.lang-switch-wrap summary::-webkit-details-marker{ display: none; }
.lang-switch-wrap summary svg{ width: 100%; height: 100%; display: block; }
.lang-switch-wrap:hover summary,
.lang-switch-wrap[open] summary{ color: var(--gold); }
.lang-menu{
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: flex;
  flex-direction: column;
  min-width: 108px;
  padding: 6px;
  background: var(--night-2);
  border: 1px solid rgba(212,175,106,.28);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(0,0,0,.4);
  z-index: 30;
}
.lang-menu a{
  padding: 8px 10px;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .05em;
  color: var(--parchment-dim);
  text-decoration: none;
  white-space: nowrap;
  border: none;
  margin: 0;
}
.lang-menu a:hover{
  color: var(--gold);
  background: rgba(212,175,106,.12);
  border: none;
}

/* ---------- hero ---------- */
.hero{
  position: relative;
  padding: 88px var(--edge) 96px;
  text-align: center;
  overflow: hidden;
}
/* hero background video (prologue forest) */
.hero-video{
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-video video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
}
.hero-video::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(20,23,43,.25) 0%, rgba(20,23,43,.7) 75%),
    linear-gradient(180deg, rgba(20,23,43,.35) 0%, rgba(20,23,43,.15) 50%, var(--night) 100%);
}
.hero .stars{ z-index: 1; }
.hero > :not(.hero-video):not(.stars){ position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce){
  .hero-video video{ display: none; }
  .hero-video{ background: url("video/hero-forest-poster.jpg") center / cover no-repeat; opacity: .5; }
}
.moon-arc{
  width: min(560px, 84vw);
  margin: 0 auto 34px;
}
.hero-eyebrow{
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .16em;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0 0 18px;
}
.hero h1{
  margin: 0;
  font-family: var(--font-display-en);
  font-weight: 700;
  font-style: italic;
  color: var(--gold-soft);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  letter-spacing: .01em;
}
.hero .kr-title{
  margin: 10px 0 0;
  font-family: var(--font-display-kr);
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  color: var(--parchment);
}
.hero .tagline{
  max-width: 620px;
  margin: 30px auto 0;
  font-family: var(--font-body-en);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--parchment-dim);
}
.hero .lede{
  max-width: 560px;
  margin: 22px auto 0;
  font-size: 1.02rem;
  color: var(--parchment-dim);
}
.hero-actions{
  margin-top: 40px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .06em;
  text-decoration: none;
  border-radius: 2px;
  transition: transform .18s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-gold{
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover{ background: var(--gold-soft); transform: translateY(-1px); }
.btn-outline{
  border: 1px solid rgba(212,175,106,.5);
  color: var(--parchment);
}
.btn-outline:hover{ border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }

/* ---------- section scaffolding ---------- */
.section{
  position: relative;
  padding: 84px var(--edge);
}
.section-head{
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head .eyebrow{
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}
.section-head h2{
  font-family: var(--font-display-kr);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  color: var(--parchment);
  margin: 0 0 14px;
}
.section-head p{
  color: var(--parchment-dim);
  margin: 0;
}
.rule{
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 20px;
  opacity: .6;
}

/* ---------- herbarium rail (signature element) ---------- */
.herbarium{
  background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
}
.rail{
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 4px 22px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.rail::-webkit-scrollbar{ height: 6px; }
.rail::-webkit-scrollbar-thumb{ background: rgba(212,175,106,.4); border-radius: 3px; }

.specimen{
  scroll-snap-align: start;
  flex: 0 0 172px;
  background: var(--night-3);
  border: 1px solid rgba(212,175,106,.24);
  border-radius: 3px;
  padding: 20px 16px 18px;
  text-align: center;
  transition: border-color .2s ease, transform .2s ease;
}
.specimen:hover{ border-color: var(--gold); transform: translateY(-3px); }
.specimen .month{
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .1em;
  color: var(--gold);
}
.specimen .icon{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px; height: 82px;
  margin: 14px auto 12px;
  color: var(--gold-soft);
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(212,175,106,.45);
  box-shadow: 0 0 0 4px rgba(212,175,106,.08);
}
.specimen .icon svg{ width: 100%; height: 100%; }
.specimen .icon img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.specimen .name{
  font-family: var(--font-display-kr);
  font-size: 1.02rem;
  color: var(--parchment);
  margin: 0 0 6px;
}
.specimen .caption{
  font-family: var(--font-body-en);
  font-style: italic;
  font-size: .82rem;
  color: var(--parchment-dim);
  line-height: 1.5;
}
.rail-note{
  text-align: center;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--parchment-dim);
  letter-spacing: .04em;
  margin-top: 4px;
}

/* ---------- works grid ---------- */
.works-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
}
.work-card{
  background: var(--night-2);
  border: 1px solid rgba(212,175,106,.2);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, transform .2s ease;
}
.work-card:hover{ border-color: var(--gold); transform: translateY(-4px); }
.work-frame{
  aspect-ratio: 4/3;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(212,175,106,.14), transparent 55%),
    var(--night-3);
  border-bottom: 1px solid rgba(212,175,106,.2);
}
.work-frame svg{ width: 46%; opacity: .85; }
.work-frame img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.work-card:hover .work-frame img{ transform: scale(1.04); }
.work-badge{
  position: absolute;
  top: 12px; right: 12px;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .08em;
  color: var(--gold);
  border: 1px solid rgba(212,175,106,.5);
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
}
.work-body{ padding: 22px 22px 26px; }
.work-kicker{
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0 0 8px;
}
.work-body h3{
  font-family: var(--font-display-kr);
  font-weight: 400;
  font-size: 1.28rem;
  margin: 0 0 10px;
  color: var(--parchment);
}
.work-body p{
  font-size: .92rem;
  color: var(--parchment-dim);
  margin: 0 0 14px;
}
.work-link{
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .05em;
  color: var(--gold-soft);
}

/* ---------- prose sections (world page) ---------- */
.lore{
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  max-width: 760px;
  margin: 0 auto;
}
.lore-entry{
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 26px;
}
.lore-num{
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--gold);
  letter-spacing: .1em;
  padding-top: 6px;
}
.lore-entry h3{
  font-family: var(--font-display-kr);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--parchment);
  margin: 0 0 12px;
}
.lore-entry p{
  color: var(--parchment-dim);
  margin: 0 0 14px;
}
.lore-entry p:last-child{ margin-bottom: 0; }
.lore-entry .lore-en{
  font-family: var(--font-body-en);
  font-style: italic;
  color: var(--parchment-dim);
  opacity: .8;
  font-size: .92rem;
}
.lore-entry > div{ min-width: 0; }
@media (max-width: 560px){
  .lore-entry{ grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- author bio (home page) ---------- */
.author{
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.author-icon{
  display: block;
  width: 44px; height: 44px;
  margin: 0 auto 20px;
  color: var(--sage);
}
.author-art{
  display: block;
  width: 180px; height: 180px;
  margin: 0 auto 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(212,175,106,.4);
  box-shadow: 0 0 0 6px rgba(212,175,106,.06);
}
.author-icon svg,
.apprentice .glyph svg{ display: block; width: 100%; height: 100%; }
.author h3{
  font-family: var(--font-display-kr);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--parchment);
  margin: 0 0 22px;
}
.author p{
  color: var(--parchment-dim);
  text-align: left;
  margin: 0 0 14px;
}
.author p:last-of-type{ margin-bottom: 0; }
.author .author-en{
  display: block;
  margin-top: 22px;
  font-family: var(--font-body-en);
  font-style: italic;
  color: var(--parchment-dim);
  opacity: .8;
  font-size: .92rem;
  text-align: center;
}

.apprentices{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}
.apprentice{
  text-align: center;
  padding: 22px 14px;
  border: 1px solid rgba(212,175,106,.18);
}
.apprentice .portrait{
  display: block;
  width: 120px; height: 120px;
  margin: 0 auto 14px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(212,175,106,.35);
}
.lore-portrait{
  display: block;
  width: 150px; height: 150px;
  margin: 0 0 18px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(212,175,106,.35);
}
.apprentice .glyph{
  width: 34px; height: 34px;
  margin: 0 auto 12px;
  color: var(--sage);
}
.apprentice h4{
  font-family: var(--font-display-kr);
  font-weight: 400;
  font-size: 1.05rem;
  margin: 0 0 6px;
  color: var(--parchment);
}
.apprentice p{
  font-size: .82rem;
  color: var(--parchment-dim);
  margin: 0;
}

.teaser-banner{
  max-width: 760px;
  margin: 70px auto 0;
  padding: 34px;
  border: 1px solid rgba(212,175,106,.3);
  text-align: center;
  background: var(--night-2);
}
.teaser-banner p.eyebrow{
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0 0 10px;
}
.teaser-banner h3{
  font-family: var(--font-display-kr);
  font-weight: 400;
  font-size: 1.4rem;
  margin: 0 0 12px;
  color: var(--parchment);
}
.teaser-banner p{
  color: var(--parchment-dim);
  font-size: .92rem;
  margin: 0;
}

/* ---------- contact / footer ---------- */
.site-footer{
  border-top: 1px solid rgba(212,175,106,.22);
  padding: 38px var(--edge) 28px;
}
.footer-inner{
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.footer-cta h2{
  font-family: var(--font-display-kr);
  font-weight: 400;
  font-size: 1.5rem;
  margin: 0 0 14px;
  color: var(--parchment);
  max-width: 360px;
}
.footer-cta a.mail{
  font-family: var(--font-body-en);
  font-style: italic;
  color: var(--gold-soft);
  text-decoration: none;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(212,175,106,.4);
}
.footer-links{
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-col h5{
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.footer-col ul{
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-col a{
  text-decoration: none;
  color: var(--parchment-dim);
  font-size: .88rem;
  transition: color .2s ease;
}
.footer-col a:hover{ color: var(--gold); }
.footer-base{
  max-width: var(--max);
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(212,175,106,.12);
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--parchment-dim);
  letter-spacing: .03em;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-legal{
  max-width: var(--max);
  margin: 14px auto 0;
  font-family: var(--font-mono);
  font-size: .64rem;
  color: var(--parchment-dim);
  opacity: .65;
  letter-spacing: .02em;
  text-align: center;
}

/* ---------- page intro (world / works headers) ---------- */
.page-hero{
  padding: 70px var(--edge) 10px;
  text-align: center;
}
.page-hero .eyebrow{
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .16em;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0 0 16px;
}
.page-hero h1{
  font-family: var(--font-display-kr);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  margin: 0 0 14px;
  color: var(--parchment);
}
.page-hero .en{
  font-family: var(--font-display-en);
  font-style: italic;
  color: var(--gold-soft);
  font-size: 1.1rem;
}
.page-hero p.desc{
  max-width: 560px;
  margin: 24px auto 0;
  color: var(--parchment-dim);
}

/* ---------- responsive ---------- */
@media (max-width: 640px){
  .site-header .wrap{ flex-wrap: wrap; row-gap: 14px; }
  .site-nav{ gap: 16px; row-gap: 10px; width: 100%; justify-content: flex-start; flex-wrap: wrap; font-size: .82rem; }
  .hero{ padding-top: 56px; padding-bottom: 64px; }
  .section{ padding-top: 60px; padding-bottom: 60px; }
  .specimen{ flex-basis: 148px; }
  .footer-inner{ flex-direction: column; }
}
@media (max-width: 460px){
  .work-detail-head{ flex-direction: column; }
  .site-nav{ gap: 13px; }
}

/* ---------- Tumblbug 알림 팝업 ---------- */
.tb-popup-overlay{
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(20,23,43,.72);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}
.tb-popup-overlay.is-visible{
  opacity: 1;
  pointer-events: auto;
}
.tb-popup-card{
  position: relative;
  width: 100%;
  max-width: 360px;
  background: linear-gradient(180deg, var(--night-2), var(--night-3));
  border: 1px solid rgba(212,175,106,.35);
  border-radius: 3px;
  padding: 30px 26px 26px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
  transform: translateY(16px) scale(.97);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.tb-popup-overlay.is-visible .tb-popup-card{
  transform: translateY(0) scale(1);
}
.tb-popup-close{
  position: absolute;
  top: 10px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--parchment-dim);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.tb-popup-close:hover{ color: var(--gold); }
.tb-popup-photo{
  width: 112px;
  height: 112px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 1px solid rgba(212,175,106,.45);
  box-shadow: 0 0 0 4px rgba(212,175,106,.1);
}
.tb-popup-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tb-popup-eyebrow{
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}
.tb-popup-title{
  font-family: var(--font-display-kr);
  font-weight: 400;
  font-size: 1.28rem;
  line-height: 1.5;
  color: var(--parchment);
  margin: 0 0 10px;
}
.tb-popup-desc{
  font-family: var(--font-body-kr);
  font-size: .85rem;
  line-height: 1.7;
  color: var(--parchment-dim);
  margin: 0 0 14px;
}
.tb-popup-meta{
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .04em;
  color: var(--parchment-dim);
  border: 1px solid rgba(212,175,106,.25);
  border-radius: 2px;
  padding: 6px 12px;
  display: inline-block;
  margin: 0 0 20px;
}
.tb-popup-cta{
  display: block;
  width: 100%;
  padding: 13px 0;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .06em;
  text-decoration: none;
  border-radius: 2px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 500;
  transition: background .2s ease, transform .18s ease;
}
.tb-popup-cta:hover{ background: var(--gold-soft); transform: translateY(-1px); }
.tb-popup-dismiss{
  display: block;
  margin: 12px auto 0;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .03em;
  color: var(--parchment-dim);
  background: none;
  border: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.tb-popup-dismiss:hover{ color: var(--gold); }

/* character portraits — mobile (2026-10-27) */
@media (max-width: 560px){
  .apprentices{ grid-template-columns: 1fr; gap: 14px; }
  .apprentice{ display: grid; grid-template-columns: 88px 1fr; align-items: center; gap: 0 16px; text-align: left; padding: 16px; }
  .apprentice .portrait{ width: 88px; height: 88px; margin: 0; grid-row: span 2; }
  .apprentice h4{ align-self: end; }
  .apprentice p{ align-self: start; }
  .lore-portrait{ width: 120px; height: 120px; }
}

/* newsletter (2026-10-28) */
.newsletter-cta{ text-align: center; margin-top: 8px; }
.newsletter-note{ margin-top: 16px; font-size: .8rem; color: var(--parchment-dim); opacity: .75; }
.footer-sub{ margin: 0 0 18px; font-size: .9rem; color: var(--parchment-dim); max-width: 360px; line-height: 1.7; }

/* kakao channel (2026-11-05) */
.kakao-float{
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px 11px 14px; border-radius: 999px;
  background: #FEE500; color: #191919 !important;
  font-family: var(--font-body-kr); font-size: .9rem; font-weight: 600;
  text-decoration: none; letter-spacing: 0;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.kakao-float:hover{ transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.4); }
.kakao-float svg{ width: 20px; height: 20px; flex: none; }
@media (max-width: 600px){
  .kakao-float{ right: 14px; bottom: 14px; padding: 12px; }
  .kakao-float span{ display: none; }
}

/* 정원 주민 등록 링크: 오픈 전에는 눌리지 않는 글자, 오픈 뒤(funding-phase.js가 href를 붙임)에는 링크 */
.footer-col a.footer-soon:not([href]){color:var(--parchment-dim);opacity:.65;cursor:default;text-decoration:none}


/* ---------- hero refresh (2026-12): 바바가 보이도록 글을 위로, 소개 글은 아래로 ---------- */
.hero{
  display: flex; flex-direction: column; align-items: center;
  min-height: max(900px, calc(100svh - 70px));
  padding-top: 44px; padding-bottom: 40px;
}
.hero .moon-arc{ width: min(380px, 70vw); margin: 0 auto 16px; }
.hero-eyebrow{ margin-bottom: 12px; }
.hero h1{ font-size: clamp(2.4rem, 5vw, 3.6rem); }
.hero .kr-title{ margin-top: 6px; }
.hero .tagline{ margin-top: 18px; }
.hero-eyebrow, .hero h1, .hero .kr-title, .hero .tagline{ text-shadow: 0 2px 18px rgba(10,12,28,.85); }
.hero-actions{ margin-top: 24px; order: 5; }
.hero .btn{ font-size: .86rem; }
.hero .btn-outline{ border-color: var(--gold); background: rgba(20,23,43,.5); }
.hero .lede{
  order: 10; margin-top: auto; padding-top: 28px;
  max-width: 520px; word-break: keep-all; line-height: 1.85;
  color: var(--parchment); text-shadow: 0 1px 14px rgba(10,12,28,.9);
}
/* 배경 영상: 더 밝게, 글자 영역(위·아래)만 어둡게 */
.hero-video video{ opacity: .92; object-position: 50% 70%; }
.hero-video::after{
  background:
    radial-gradient(ellipse at 50% 58%, rgba(20,23,43,0) 35%, rgba(20,23,43,.5) 100%),
    linear-gradient(180deg, rgba(20,23,43,.6) 0%, rgba(20,23,43,0) 30%, rgba(20,23,43,0) 62%, var(--night) 100%);
}
@media (max-width: 640px){
  .hero{ min-height: 0; padding-top: 36px; padding-bottom: 48px; }
  .hero .lede{ margin-top: 28px; }
  .hero-video video{ opacity: .7; }
}

/* ---------- 한글 줄바꿈: 단어 단위로 끊고, 마지막 줄에 한 단어만 남지 않게 (2026-12) ---------- */
html:lang(ko) p, html:lang(ko) li, html:lang(ko) h1, html:lang(ko) h2, html:lang(ko) h3, html:lang(ko) h4,
html:lang(ko) td, html:lang(ko) th, html:lang(ko) figcaption, html:lang(ko) .tagline, html:lang(ko) .lede{
  word-break: keep-all;
  overflow-wrap: break-word;
}
html:lang(ko) p, html:lang(ko) li{ text-wrap: pretty; }
html:lang(ko) h1, html:lang(ko) h2, html:lang(ko) h3{ text-wrap: balance; }
