* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  line-height: 1.7;
  color: #10233f;
  background: #f8fafc;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(800px, calc(100% - 40px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 23, 51, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand-logo {
  height: 36px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: #e8f1ff;
  font-size: 0.98rem;
  opacity: 0.9;
}

.nav a:hover {
  opacity: 1;
}

.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(circle at top left, rgba(36, 105, 190, 0.25), transparent 35%),
    radial-gradient(circle at top right, rgba(20, 153, 174, 0.18), transparent 30%),
    linear-gradient(180deg, #081733 0%, #0d2347 100%);
  color: #f4f8ff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #89d6e3;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-description {
  margin: 0 0 26px;
  font-size: 1.08rem;
  color: #d8e6ff;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #1e90b6, #2d6ed3);
  color: #ffffff;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #f4f8ff;
  background: rgba(255, 255, 255, 0.06);
}

.hero-note {
  margin: 0;
  color: #b9c9e6;
  font-size: 0.98rem;
}

.hero-image-wrap {
  display: flex;
  justify-content: center;
}

.hero-image {
  width: min(460px, 100%);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.section {
  padding: 84px 0;
}

.section-dark {
  background: #0e2344;
  color: #edf4ff;
}

.section-label {
  margin: 0 0 10px;
  font-size: 0.92rem;
  color: #2b96b6;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0 0 20px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}




/* About dandyHahn — 기존 홈페이지 디자인을 유지한 추가 섹션 */
.about-dandyhahn-section {
  background: #f8fafc;
}

.about-dandyhahn-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 56px;
  align-items: center;
}

.about-dandyhahn-copy p {
  margin: 0 0 18px;
}

.about-dandyhahn-copy strong {
  color: #10233f;
}

.about-dandyhahn-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-dandyhahn-image {
  width: min(100%, 430px);
  height: auto;
  padding: 22px 24px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(10, 28, 54, 0.10);
  border: 1px solid rgba(16, 35, 63, 0.07);
}

.about-heading-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  margin-bottom: 24px;
}

.about-heading-text {
  min-width: 0;
}

.about-heading-row .section-label {
  margin-bottom: 10px;
}

.about-heading-row h2 {
  margin-bottom: 0;
}

.about-brand-image {
  flex: 0 0 auto;
  width: 230px;
  max-width: 34%;
  height: auto;
  padding: 10px 14px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(10, 28, 54, 0.08);
}

.keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.keywords span {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: #e8f3fb;
  color: #17466a;
  font-weight: 600;
  font-size: 0.95rem;
}

.project-subtitle {
  margin-top: -6px;
  margin-bottom: 30px;
  color: #9ed2df;
  font-size: 1.1rem;
  font-weight: 700;
}

.project-box {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 30px;
}

.project-text p {
  margin: 0 0 16px;
  color: #dce9ff;
}

/* 형식 / 주제 / 상태 정보 영역 */
.project-meta {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.project-meta-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.project-meta-label {
  color: #72d5ec;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.project-meta-content {
  min-width: 0;
}

.project-meta-value {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.project-meta-desc {
  margin-top: 7px;
  color: #aebfd6;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.65;
}

.project-cover img {
  width: min(380px, 100%);
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.25);
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.book-card {
  background: #ffffff;
  border: 1px solid #dce7f4;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(10, 28, 54, 0.06);
}

.book-card.featured {
  border: 2px solid #1f83ba;
}

.book-image {
  padding: 22px 22px 0;
}

.book-image img {
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.book-content {
  padding: 22px;
}

.book-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e6f4fb;
  color: #17678e;
  font-size: 0.85rem;
  font-weight: 800;
}

.book-badge.upcoming {
  background: #fce7ef;
  color: #9e1e59;
}

.book-badge.future {
  background: #ecebff;
  color: #4d43a3;
}

.book-card h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  line-height: 1.35;
}

.book-subtitle {
  margin: 0 0 14px;
  color: #2d7690;
  font-weight: 700;
}

.book-card p:last-child {
  margin-bottom: 0;
}

.text-only {
  display: flex;
  align-items: center;
  min-height: 100%;
}

.quote-section {
  padding-top: 40px;
  padding-bottom: 40px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef5fb 100%);
}

blockquote {
  margin: 0;
  text-align: center;
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.5;
  color: #14365f;
}

.contact-box {
  margin-top: 26px;
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-box p {
  margin: 0 0 10px;
  color: #e7f0ff;
}

.contact-box p:last-child {
  margin-bottom: 0;
}

.contact-box a {
  color: #a9def1;
}

.site-footer {
  background: #07162f;
  color: #b8c7dd;
  text-align: center;
  padding: 32px 0;
}

.footer-brand {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #f2f7ff;
}

.copyright {
  margin-top: 8px;
  font-size: 0.92rem;
  opacity: 0.9;
}

@media (max-width: 960px) {
  .hero-grid,
  .about-dandyhahn-grid,
  .project-box,
  .book-grid {
    grid-template-columns: 1fr;
  }

  .about-dandyhahn-image-wrap {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-text {
    order: 2;
  }

  .hero-image-wrap {
    order: 1;
  }

  .project-cover {
    margin-top: 6px;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 18px;
  }

  .brand-logo {
    height: 32px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
  }

  .project-meta-item {
    grid-template-columns: 58px 1fr;
    gap: 12px;
    padding: 16px 0;
  }

  .project-meta-label {
    font-size: 0.9rem;
  }

  .project-meta-value {
    font-size: 0.96rem;
  }

  .project-meta-desc {
    margin-top: 6px;
    font-size: 0.88rem;
  }
blockquote {
    font-size: 1.7rem;
  }
}

/* =========================================================
   v8 — About 영역 세로 여백 조정
   기존 전체 디자인은 유지하고, 두 About 섹션 사이의
   과도한 빈 공간만 줄입니다.
   ========================================================= */

.about-dandyhahn-section {
  padding-top: 68px;
  padding-bottom: 30px;
}

#about-books {
  padding-top: 30px;
  padding-bottom: 68px;
}

.about-dandyhahn-grid {
  gap: 42px;
}

.about-dandyhahn-copy p {
  margin-bottom: 15px;
}

#about-books .about-heading-row {
  margin-bottom: 18px;
}

#about-books .keywords {
  margin-top: 22px;
}

@media (max-width: 960px) {
  .about-dandyhahn-section {
    padding-top: 58px;
    padding-bottom: 24px;
  }

  #about-books {
    padding-top: 24px;
    padding-bottom: 58px;
  }

  .about-dandyhahn-grid {
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .about-dandyhahn-section {
    padding-top: 48px;
    padding-bottom: 20px;
  }

  #about-books {
    padding-top: 20px;
    padding-bottom: 48px;
  }

  .about-dandyhahn-grid {
    gap: 22px;
  }
}

