/* =========================================
   따숨 플랫폼 — 공통 스타일시트
   Design: Literary Premium × Modern SaaS
   ========================================= */

/* ─── Google Fonts (via import in HTML) ─── */

/* ─── CSS Custom Properties ─── */
:root {
  --cream:        #FAF5EE;
  --beige:        #F0E6D3;
  --pink-light:   #EDD5C5;
  --pink-mid:     #DFBBA3;
  --terra:        #C96A3A;
  --terra-dark:   #A8502A;
  --navy:         #1A2B4A;
  --navy-mid:     #243B60;
  --navy-light:   #2D4A78;
  --gold:         #B8945F;
  --gold-light:   #D4B07A;
  --text-dark:    #1E1E1E;
  --text-body:    #3A3A3A;
  --text-muted:   #6B6B6B;
  --text-light:   #9A9A9A;
  --white:        #FFFFFF;
  --divider:      rgba(26,43,74,.08);

  --font-serif:   'Playfair Display', 'Noto Serif KR', Georgia, serif;
  --font-sans:    'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;

  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --radius-xl:    32px;

  --shadow-xs:    0 1px 4px rgba(0,0,0,.06);
  --shadow-sm:    0 2px 12px rgba(0,0,0,.08);
  --shadow-md:    0 6px 28px rgba(0,0,0,.10);
  --shadow-lg:    0 16px 56px rgba(0,0,0,.13);
  --shadow-navy:  0 8px 32px rgba(26,43,74,.22);

  --transition:   .28s cubic-bezier(.4,0,.2,1);
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background-color: var(--white);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── Typography ─── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  color: var(--text-dark);
  line-height: 1.25;
  letter-spacing: -.02em;
}
.label-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terra);
  background: rgba(201,106,58,.08);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.label-tag.navy {
  color: var(--navy);
  background: rgba(26,43,74,.07);
}
.label-tag.gold {
  color: var(--gold);
  background: rgba(184,148,95,.1);
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  margin-bottom: 1rem;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.8;
}

/* ─── Buttons ─── */
.btn-ttasum {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 100px;
  font-size: .95rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: .01em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary-fill {
  background: var(--terra);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(201,106,58,.35);
}
.btn-primary-fill:hover {
  background: var(--terra-dark);
  box-shadow: 0 6px 24px rgba(201,106,58,.45);
  transform: translateY(-2px);
  color: var(--white);
}
.btn-navy-fill {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-navy);
}
.btn-navy-fill:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  color: var(--white);
  box-shadow: 0 10px 36px rgba(26,43,74,.30);
}
.btn-outline-navy {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-white {
  border: 2px solid rgba(255,255,255,.6);
  color: var(--white);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.18);
  border-color: var(--white);
}
.btn-gold-fill {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
  box-shadow: 0 4px 18px rgba(184,148,95,.35);
}
.btn-gold-fill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184,148,95,.45);
  color: var(--white);
}

/* ─── Navigation ─── */
.ttasum-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .35s, box-shadow .35s;
}
.ttasum-nav.scrolled {
  background: rgba(250,245,238,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 24px rgba(0,0,0,.08);
}

/* 어두운 히어로 페이지(작가·마켓 등): 스크롤 맨 위에서도 항상 밝은 바 */
.ttasum-nav--on-dark {
  background: rgba(250, 245, 238, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(26, 43, 74, 0.06), 0 12px 40px rgba(26, 43, 74, 0.07);
}
.ttasum-nav--on-dark .nav-menu a {
  color: rgba(26, 43, 74, 0.82);
}
.ttasum-nav--on-dark .nav-menu a:hover {
  color: var(--terra);
}
.ttasum-nav--on-dark .nav-logo-text {
  color: var(--navy);
}
.ttasum-nav--on-dark .nav-hamburger span {
  background: var(--navy);
}
.ttasum-nav--on-dark .nav-menu a.nav-link-active {
  color: var(--terra);
  font-weight: 600;
}
.ttasum-nav--on-dark .nav-menu a.nav-link-active::after {
  width: 100%;
  background: var(--terra);
}
.ttasum-nav--on-dark.scrolled {
  box-shadow: 0 1px 0 rgba(26, 43, 74, 0.08), 0 16px 48px rgba(0, 0, 0, 0.1);
}

/* 집필 플랫폼 등 다크 UI: 다크 바 + 밝은 타이포 */
.ttasum-nav--theme-dark {
  background: rgba(15, 21, 35, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.ttasum-nav--theme-dark .nav-logo-mark {
  background: linear-gradient(135deg, var(--terra) 0%, var(--terra-dark) 100%);
  box-shadow: 0 4px 16px rgba(201, 106, 58, 0.35);
}
.ttasum-nav--theme-dark .nav-logo-mark span {
  color: var(--white);
}
.ttasum-nav--theme-dark .nav-logo-text {
  color: rgba(255, 255, 255, 0.96);
}
.ttasum-nav--theme-dark .nav-menu a {
  color: rgba(255, 255, 255, 0.78);
}
.ttasum-nav--theme-dark .nav-menu a:hover {
  color: var(--white);
}
.ttasum-nav--theme-dark .nav-menu a.nav-link-active {
  color: var(--gold-light);
  font-weight: 600;
}
.ttasum-nav--theme-dark .nav-menu a.nav-link-active::after {
  width: 100%;
  background: var(--terra);
}
.ttasum-nav--theme-dark .nav-hamburger span {
  background: rgba(255, 255, 255, 0.85);
}
.ttasum-nav.ttasum-nav--theme-dark.scrolled {
  background: rgba(12, 17, 28, 0.98);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07), 0 12px 40px rgba(0, 0, 0, 0.35);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-mark {
  width: 38px; height: 38px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-mark span {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: -.02em;
}
.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.01em;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-menu a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color var(--transition);
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--terra);
  transition: width var(--transition);
}
.nav-menu a:hover { color: var(--terra); }
.nav-menu a:hover::after { width: 100%; }
.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  transition: var(--transition);
}

/* ─── Hero Section ─── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, #FAF5EE 0%, #F0E6D3 45%, #EDD5C5 100%);
  transition: background 1.2s cubic-bezier(.4, 0, .2, 1);
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 38px,
      rgba(184,148,95,.10) 38px,
      rgba(184,148,95,.10) 39px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 38px,
      rgba(184,148,95,.06) 38px,
      rgba(184,148,95,.06) 39px
    );
  pointer-events: none;
}
.hero-deco-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-deco-circle.c1 {
  width: 600px; height: 600px;
  top: -100px; right: -120px;
  background: radial-gradient(circle, rgba(201,106,58,.12) 0%, transparent 70%);
}
.hero-deco-circle.c2 {
  width: 380px; height: 380px;
  bottom: -60px; left: -80px;
  background: radial-gradient(circle, rgba(26,43,74,.08) 0%, transparent 70%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 28px;
}
.hero-kicker-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--terra);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.7); }
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.8;
  color: var(--navy);
  margin-bottom: 24px;
  font-size:55px !important;
}
.hero-title em {
  font-style: italic;
  color: var(--terra);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}
.hero-stats {
  display: flex;
  gap: 36px;
}
.hero-stat-item {
  display: flex;
  flex-direction: column;
}
.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.8;
  font-size:55px !important;
}
.hero-stat-label {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: .02em;
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-img-placeholder {
  width: 480px;
  height: 580px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 24px 64px rgba(26,43,74,.22),
    0 4px 16px rgba(201,106,58,.12),
    inset 0 0 0 1px rgba(255,255,255,.18);
  position: relative;
  /* 이미지 로드 전 배경 */
  background: linear-gradient(145deg, #F0E6D3 0%, #DFBBA3 100%);
}
/* 이미지 실사 적용 시 세련된 테두리 효과 */
.hero-img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
  pointer-events: none;
  z-index: 1;
}
.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  box-shadow:
    0 8px 32px rgba(26,43,74,.14),
    0 1px 4px rgba(0,0,0,.06),
    inset 0 0 0 1px rgba(255,255,255,.6);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.hero-float-card.card-1 {
  bottom: 80px; left: -60px;
}
.hero-float-card.card-2 {
  top: 80px; right: -50px;
}
.float-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.float-icon.terra { background: rgba(201,106,58,.12); }
.float-icon.navy  { background: rgba(26,43,74,.1); }
.float-text strong {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-dark);
}
.float-text span {
  font-size: .72rem;
  color: var(--text-muted);
}

/* ─── Section Wrapper ─── */
.section-wrap {
  padding: 100px 0;
}
.section-wrap.bg-cream { background: var(--cream); }
.section-wrap.bg-beige { background: var(--beige); }
.section-wrap.bg-navy  { background: var(--navy); }
.section-wrap.bg-white { background: var(--white); }

/* ─── Divider ─── */
.section-divider {
  width: 48px; height: 3px;
  background: var(--terra);
  border-radius: 2px;
  margin: 16px 0 28px;
}
.section-divider.centered { margin: 16px auto 28px; }
.section-divider.navy { background: var(--navy); }
.section-divider.gold { background: var(--gold); }

/* ─── Story Section (스크롤 스토리텔링) ─── */
.story-section {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.story-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,106,58,.15) 0%, transparent 65%);
  pointer-events: none;
}
.story-step {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 72px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .6s ease, transform .6s ease;
}
.story-step.visible {
  opacity: 1;
  transform: translateY(0);
}
.story-step:last-child { border-bottom: none; }
.story-step.reverse { flex-direction: row-reverse; }
.story-step-number {
  font-family: var(--font-serif);
  font-size: 6rem;
  font-weight: 700;
  color: rgba(255,255,255,.06);
  line-height: 1;
  min-width: 120px;
  text-align: center;
  user-select: none;
}
.story-step-content { flex: 1; }
.story-step-content .label-tag {
  color: var(--gold-light);
  background: rgba(212,176,122,.15);
}
.story-step-content h3 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}
.story-step-content p {
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  line-height: 1.8;
}
.story-visual-box {
  width: 360px;
  flex-shrink: 0;
}
.story-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  text-align: center;
  padding: 28px;
  gap: 12px;
  backdrop-filter: blur(8px);
}
.story-img-placeholder .icon { font-size: 2rem; }
.story-img-placeholder strong { font-size: .9rem; color: rgba(255,255,255,.85); }
.story-img-placeholder p { font-size: .78rem; line-height: 1.5; color: rgba(255,255,255,.5); }

/* ─── Infographic Section ─── */
.infographic-section { background: var(--cream); }
.infographic-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--divider);
}
.infographic-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.infographic-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.infographic-card.card-terra::before { background: var(--terra); }
.infographic-card.card-navy::before  { background: var(--navy); }
.infographic-card.card-gold::before  { background: var(--gold); }
.infographic-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.infographic-icon.terra { background: rgba(201,106,58,.1); }
.infographic-icon.navy  { background: rgba(26,43,74,.08); }
.infographic-icon.gold  { background: rgba(184,148,95,.12); }
.infographic-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.infographic-card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.infographic-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.info-tag {
  font-size: .72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--beige);
  color: var(--text-muted);
}
.infographic-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: .85rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
  text-decoration: none;
  transition: color var(--transition), gap var(--transition), opacity var(--transition);
}
.infographic-card.card-terra .infographic-card-link { color: var(--terra); }
.infographic-card.card-navy .infographic-card-link { color: var(--navy); }
.infographic-card.card-gold .infographic-card-link { color: var(--gold); }
.infographic-card-link:hover { opacity: 0.88; gap: 10px; }

/* ─── Ebook Slider ─── */
.ebook-section { background: var(--white); overflow: hidden; }
.ebook-slider-track {
  overflow: hidden;
  position: relative;
}
.ebook-slider-inner {
  display: flex;
  gap: 24px;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.ebook-card {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-width: 220px;
  flex-shrink: 0;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.ebook-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.ebook-cover {
  width: 100%;
  height: 300px;
  position: relative;
  overflow: hidden;
}
.ebook-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ebook-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-size: .72rem;
  gap: 6px;
}
.ebook-cover-placeholder span { font-size: 1.6rem; }
.ebook-cover-placeholder strong { font-size: .78rem; color: rgba(255,255,255,.9); }
.ebook-cover-placeholder p { color: rgba(255,255,255,.65); line-height: 1.4; }
.ebook-genre-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 4px;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
  color: var(--white);
}
.ebook-card-body {
  padding: 16px;
}
.ebook-card-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}
.ebook-card-author {
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.ebook-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ebook-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .78rem;
  color: var(--gold);
  font-weight: 600;
}
.ebook-price {
  font-size: .9rem;
  font-weight: 700;
  color: var(--terra);
}
.slider-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.slider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--divider);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
}
.slider-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.slider-dots {
  display: flex;
  gap: 6px;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--divider);
  transition: var(--transition);
  cursor: pointer;
}
.slider-dot.active {
  background: var(--navy);
  width: 24px;
  border-radius: 4px;
}

/* ─── Author Preview Section ─── */
.author-preview-section { background: var(--cream); }
.author-preview-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  transition: transform var(--transition), box-shadow var(--transition);
}
.author-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.author-card-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--navy);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.author-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.2);
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
  background: rgba(255,255,255,.1);
}
.author-avatar-img {
  width: 100%; height: 100%; object-fit: cover;
}
.author-avatar-ph {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: rgba(255,255,255,.5);
}
.author-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.author-title {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 18px;
}
.author-style-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 24px;
}
.author-style-tag {
  font-size: .7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.15);
}
.author-award-list { width: 100%; }
.author-award-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  color: rgba(255,255,255,.65);
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.author-award-item:last-child { border-bottom: none; }
.author-award-icon { font-size: .9rem; }
.author-card-body {
  flex: 1;
  padding: 36px 36px;
  overflow: hidden;
}
.author-book-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--pink-mid) transparent;
}
.author-book-thumb {
  width: 110px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition);
}
.author-book-thumb:hover { transform: scale(1.05); }
.author-book-cover {
  height: 160px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  text-align: center;
  padding: 10px;
  color: rgba(255,255,255,.85);
}
.author-book-name {
  font-size: .72rem;
  margin-top: 7px;
  color: var(--text-muted);
  line-height: 1.3;
  text-align: center;
}
/* Audio Player */
.audio-player {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-top: 20px;
}
.audio-player-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.audio-play-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.audio-play-btn:hover { background: var(--navy-mid); transform: scale(1.05); }
.audio-track-info strong {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-dark);
}
.audio-track-info span {
  font-size: .75rem;
  color: var(--text-muted);
}
.audio-progress-bar {
  height: 4px;
  background: var(--pink-mid);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.audio-progress-fill {
  height: 100%;
  width: 35%;
  background: var(--navy);
  border-radius: 2px;
}

/* ─── Features Grid ─── */
.features-section { background: var(--white); }
.feature-item {
  display: flex;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--divider);
  transition: var(--transition);
  background: var(--white);
  height: 100%;
}
.feature-item:hover {
  border-color: var(--pink-mid);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.feature-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.feature-text h5 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.feature-text p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── CTA Section ─── */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1e3560 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -250px; right: -100px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,106,58,.18) 0%, transparent 65%);
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,148,95,.12) 0%, transparent 65%);
}
.cta-content {
  position: relative;
  z-index: 2;
}
.cta-badge {
  display: inline-block;
  background: rgba(201,106,58,.2);
  border: 1px solid rgba(201,106,58,.4);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.cta-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 16px;
}
.cta-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 40px;
  max-width: 500px;
}
.cta-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cta-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}
.cta-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.22);
  transform: translateY(-4px);
}
.cta-card-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.cta-card h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.cta-card p {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.cta-card-highlight {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 4px;
  display: block;
}
.cta-card-small {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
}

/* ─── Footer ─── */
.ttasum-footer {
  background: #111827;
  color: rgba(255,255,255,.5);
  padding: 64px 0 32px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-logo-mark {
  width: 34px; height: 34px;
  background: var(--terra);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-mark span {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--white);
  font-weight: 700;
}
.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}
.footer-desc {
  font-size: .85rem;
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: var(--transition);
}
.footer-social-btn:hover {
  background: var(--terra);
  color: var(--white);
}
.footer-col-title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
}

/* ─── Scroll Animation Base ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ─── Utility ─── */
.text-terra  { color: var(--terra) !important; }
.text-navy   { color: var(--navy) !important; }
.text-gold   { color: var(--gold) !important; }
.text-white  { color: var(--white) !important; }
.text-muted-custom { color: var(--text-muted) !important; }
.bg-cream-custom { background: var(--cream) !important; }
.fw-serif { font-family: var(--font-serif) !important; }

/* ─── Mobile Navigation Drawer ─── */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: min(340px, 85vw);
  height: 100vh;
  background: var(--white);
  z-index: 1100;
  box-shadow: -8px 0 40px rgba(0,0,0,.15);
  padding: 80px 32px 40px;
  transition: right .35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-nav.open { right: 0; }
.mobile-nav-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  color: var(--navy);
  border: none;
}
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 1050;
  display: none;
  backdrop-filter: blur(3px);
}
.mobile-nav-overlay.open { display: block; }
.mobile-nav-links { list-style: none; }
.mobile-nav-links li {
  border-bottom: 1px solid var(--divider);
}
.mobile-nav-links a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color var(--transition);
}
.mobile-nav-links a:hover { color: var(--terra); }

/* ─── Hero 배경 전환 시 텍스트 가시성 보조 ─── */
/* hero-title, hero-sub 등은 기본 색상 유지 (JS에서 배경만 바꾸므로) */
/* slide 2 (navy bg)에서는 헤더 로고/메뉴가 scrolled 클래스 없어도 잘 보임 */

/* ─── Hero Slider ─── */
.hero-slider { cursor: default; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 1.3s cubic-bezier(.4, 0, .2, 1),
    transform 1.3s cubic-bezier(.4, 0, .2, 1);
  z-index: 0;
}
.hero-slide--active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 하단 그라디언트 오버레이 */
.hero-slide-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to top, rgba(240,230,211,.65) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
  transition: background .8s ease;
}
.hero-slider[data-current="1"] .hero-slide-overlay {
  background: linear-gradient(to top, rgba(220, 228, 240, 0.55) 0%, transparent 100%);
}

/* 슬라이드 2(연한 네이비 계열 배경): 이미지 위 컨트롤 대비 */
.hero-slider[data-current="1"] .hero-dot {
  background: rgba(26, 43, 74, 0.35);
}
.hero-slider[data-current="1"] .hero-dot--active {
  background: var(--navy);
}
.hero-slider[data-current="1"] .hero-slide-arrow {
  background: rgba(26, 43, 74, 0.12);
  border-color: rgba(26, 43, 74, 0.22);
  color: var(--navy);
}
.hero-slider[data-current="1"] .hero-slide-arrow:hover {
  background: rgba(26, 43, 74, 0.18);
}
.hero-slider[data-current="1"] .hero-slide-progress {
  background: rgba(26, 43, 74, 0.12);
}
.hero-slider[data-current="1"] .hero-slide-progress-fill {
  background: rgba(26, 43, 74, 0.55);
}

/* 진행 바 */
.hero-slide-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,.15);
  z-index: 4;
  overflow: hidden;
}
.hero-slide-progress-fill {
  height: 100%;
  width: 0%;
  background: rgba(255,255,255,.75);
  border-radius: 0 2px 2px 0;
}

/* 도트 인디케이터 */
.hero-slide-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  padding: 0;
  transition: all .35s cubic-bezier(.4, 0, .2, 1);
  flex-shrink: 0;
}
.hero-dot--active {
  background: rgba(255,255,255,.95);
  width: 26px;
  border-radius: 4px;
}
.hero-dot:hover:not(.hero-dot--active) { background: rgba(255,255,255,.7); }

/* 화살표 버튼 */
.hero-slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.35);
  color: var(--white);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity .3s ease, background .2s ease, transform .2s ease;
}
.hero-slider:hover .hero-slide-arrow { opacity: 1; }
.hero-slide-arrow:hover {
  background: rgba(255,255,255,.3);
  transform: translateY(-50%) scale(1.08);
}
.hero-slide-prev { left: 14px; }
.hero-slide-next { right: 14px; }

/* ─── Responsive ─── */
@media (max-width: 1199px) {
  .hero-img-placeholder { width: 380px; height: 460px; }
  .hero-float-card.card-1 { left: -10px; bottom: 60px; }
  .hero-float-card.card-2 { right: -10px; top: 60px; }
}
@media (max-width: 991px) {
  .nav-menu, .nav-cta-group { display: none; }
  .nav-hamburger { display: flex; }
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; text-align: center; }
  .hero-cta-group { justify-content: center; }
  .hero-stats { justify-content: center; }
  .section-desc { max-width: 100%; }
  .story-step, .story-step.reverse {
    flex-direction: column;
    gap: 32px;
  }
  .story-visual-box { width: 100%; }
  .story-step-number { display: none; }
  .author-preview-card { flex-direction: column; }
  .author-card-sidebar { width: 100%; flex-direction: row; gap: 24px; text-align: left; align-items: flex-start; }
  .cta-cards { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .section-wrap { padding: 64px 0; }
  .author-card-sidebar { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 575px) {
  .hero-title { font-size: 2.1rem; }
  .btn-ttasum { padding: 13px 24px; font-size: .88rem; }
  .cta-card { padding: 24px 20px; }
  .hero-stats { gap: 24px; }
}
