:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #eef2f7;
  --text: #111827;
  --muted: #5f6b7a;
  --primary: #0f172a;
  --primary-soft: #1e293b;
  --accent: #b45309;
  --accent-soft: #fef3c7;
  --border: #d8dee9;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max-width: 1160px;
  --section-space: 3rem;
  --subsection-space: 1.9rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 88px; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, .06), transparent 20rem),
    radial-gradient(circle at top left, #fff7ed 0, transparent 36rem),
    var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem max(1.25rem, calc((100vw - var(--max-width)) / 2));
  background: rgba(248, 250, 252, 0.86);
  border-bottom: 1px solid rgba(216, 222, 233, 0.7);
  backdrop-filter: blur(14px);
}

.brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 750; letter-spacing: -0.02em; }
.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: .7rem;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
}
.brand-text { font-size: 1rem; }

.main-nav { display: flex; align-items: center; gap: 1.2rem; color: var(--muted); font-weight: 650; font-size: .95rem; }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--primary); }

.nav-toggle { display: none; border: 0; background: transparent; padding: .4rem; cursor: pointer; }
.nav-toggle span { display: block; width: 1.6rem; height: 2px; background: var(--primary); margin: 5px 0; }

.section { width: min(var(--max-width), calc(100% - 2.5rem)); margin: 0 auto; padding: var(--section-space) 0; }
.hero { min-height: calc(100vh - 74px); display: grid; grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr); align-items: center; gap: 4rem; }
.eyebrow { margin: 0 0 .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); font-size: 1.5rem; font-weight: 800; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.04em; color: var(--primary); }
h1 { font-size: clamp(3rem, 8vw, 5rem); max-width: 8ch; }
h2 { font-size: clamp(2rem, 4vw, 2.4rem); }
h3 { font-size: 1.28rem; }
p { margin: 0; }
.hero-lead { margin-top: 1.4rem; max-width: 650px; font-size: clamp(1.1rem, 2vw, 1.32rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: .85rem 1.25rem; font-weight: 750; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--primary); color: #fff; box-shadow: 0 14px 30px rgba(15, 23, 42, .18); }
.button.secondary { background: var(--surface); color: var(--primary); border-color: var(--border); }
.hero-visual { position: relative; min-height: 560px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(15, 23, 42, .12); box-shadow: var(--shadow); background: var(--primary); }
.hero-visual img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.hero-note { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; border-radius: 16px; color: #fff; background: rgba(8, 13, 25, .74); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(12px); }
.hero-note strong { font-size: 1rem; }
.hero-note span { color: #dbe3ef; font-size: .95rem; text-align: right; }

.project-section { border-top: 1px solid var(--border); }
.split-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2.8rem; }
.text-block { color: var(--muted); font-size: 1.05rem; }
.text-block p + p { margin-top: 1.2rem; }
.editorial-section { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.4rem; align-items: center; margin-top: var(--subsection-space); padding-top: var(--subsection-space); border-top: 1px solid var(--border); }
.editorial-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(15, 23, 42, .12); background: var(--primary); }
.editorial-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.editorial-copy p:not(.eyebrow) { margin-top: 1.2rem; color: var(--muted); font-size: 1.08rem; max-width: 560px; }
.section-heading { max-width: 760px; margin-bottom: 1.5rem; }
.subsection-heading, .editorial-copy { position: relative; padding-left: 1rem; border-left: 4px solid var(--accent); }
.subsection-kicker { margin-bottom: .35rem; color: #92400e; font-size: .72rem; letter-spacing: .18em; }
.subsection-label { margin: 0 0 .35rem; color: var(--accent); font-size: 1.5rem; text-transform: uppercase; letter-spacing: .12em; }
.subsection-heading h2, .editorial-copy h2 { font-size: clamp(1.55rem, 2.4vw, 2.15rem); letter-spacing: -0.025em; }
.books-subsection, .principles-subsection { margin-top: var(--subsection-space); padding-top: var(--subsection-space); border-top: 1px solid var(--border); }
.book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.book-card { display: grid; grid-template-columns: 190px 1fr; gap: 1.2rem; padding: 1rem; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .92); border: 1px solid var(--border); box-shadow: 0 14px 36px rgba(15, 23, 42, .06); }
.book-cover { min-height: 250px; border-radius: 20px; padding: 1rem; display: flex; flex-direction: column; justify-content: space-between; color: #fff; overflow: hidden; }
.book-cover.image-cover { min-height: 0; aspect-ratio: 2 / 3; padding: 0; background: var(--surface-soft); box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08); }
.book-cover.image-cover a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.book-cover.image-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-cover span { font-size: .76rem; letter-spacing: .13em; font-weight: 800; opacity: .9; }
.book-cover strong { font-size: 2rem; line-height: 1; letter-spacing: -.04em; }
.book-cover small { font-weight: 650; opacity: .9; }
.china-cover { background: linear-gradient(160deg, #991b1b, #dc2626 55%, #f59e0b); }
.korea-cover { background: linear-gradient(160deg, #111827, #2563eb 54%, #ef4444); }
.travel-cover { background: linear-gradient(160deg, #0f172a, #0f766e 58%, #f59e0b); }
.japan-cover { background: radial-gradient(circle at center, #ef4444 0 22%, transparent 23%), linear-gradient(160deg, #111827, #64748b); }
.book-content { padding: .6rem .4rem .4rem 0; display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.book-content p { color: var(--muted); }
.status { border-radius: 999px; padding: .25rem .65rem; font-size: .78rem; font-weight: 800; }
.available-status { color: #166534; background: #dcfce7; }
.soon-status { color: #92400e; background: #fef3c7; }
.planned-status { color: #334155; background: #e2e8f0; }
.text-link { margin-top: auto; color: var(--accent); font-weight: 800; }
.outside-series { margin-top: var(--subsection-space); padding-top: var(--subsection-space); border-top: 1px solid var(--border); }
.separate-grid { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
.author-section { border-top: 1px solid var(--border); }
.author-card { display: grid; grid-template-columns: 150px 1fr; gap: 2rem; align-items: start; padding: 2rem; border-radius: var(--radius-lg); background: var(--primary); color: #e5e7eb; box-shadow: var(--shadow); }
.author-card h2 { color: #fff; }
.author-card p:not(.eyebrow) { margin-top: 1rem; color: #cbd5e1; }
.author-avatar { width: 130px; height: 130px; border-radius: 36px; background: #fff; object-fit: contain; padding: .8rem; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.principle { padding: 1.5rem; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--border); }
.principle p { margin-top: .8rem; color: var(--muted); }
.newsletter-section { border-top: 1px solid var(--border); }
.newsletter-box { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2rem; align-items: center; padding: 2rem; border-radius: var(--radius-lg); background: linear-gradient(145deg, #ffffff, #fff7ed); border: 1px solid #fde68a; box-shadow: 0 18px 46px rgba(120, 53, 15, .08); }
.newsletter-box p:not(.eyebrow) { margin-top: 1rem; color: #78350f; }
.contact-form { display: grid; gap: .75rem; }
.contact-form label { display: block; font-weight: 800; color: var(--primary); }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.contact-fields label { margin-bottom: .5rem; }
.contact-submit { justify-self: end; min-width: 150px; }
.form-row { display: flex; gap: .7rem; }
input, textarea { width: 100%; border: 1px solid #f59e0b; border-radius: 16px; padding: .9rem 1rem; font: inherit; background: #fff; color: var(--text); }
input { border-radius: 999px; }
textarea { resize: vertical; min-height: 132px; }
input:focus, textarea:focus { outline: 3px solid rgba(245, 158, 11, .25); border-color: #b45309; }
.form-message { min-height: 1.5rem; font-size: .9rem; }
.site-footer { width: min(var(--max-width), calc(100% - 2.5rem)); margin: 0 auto; padding: 2rem 0 3rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; text-align: center; color: var(--muted); border-top: 1px solid var(--border); }
.site-footer a { font-weight: 800; color: var(--primary); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; top: 70px; left: 1rem; right: 1rem; display: none; flex-direction: column; align-items: stretch; padding: 1rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .65rem; }
  .hero, .split-section, .editorial-section, .newsletter-box { grid-template-columns: 1fr; gap: 2rem; }
  .hero { min-height: auto; padding-top: 4rem; }
  .hero-visual, .hero-visual img { min-height: 430px; }
  .book-grid { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .section { width: min(100% - 1.5rem, var(--max-width)); padding: 2.5rem 0; }
  .brand-text { display: none; }
  .book-card, .author-card { grid-template-columns: 1fr; }
  .book-cover { min-height: 230px; }
  .book-cover.image-cover { width: min(100%, 230px); justify-self: center; min-height: 0; }
  .hero-visual, .hero-visual img { min-height: 360px; }
  .hero-note { position: static; display: grid; border-radius: 0; background: #0f172a; }
  .hero-note span { text-align: left; }
  .author-avatar { width: 100px; height: 100px; border-radius: 24px; }
  .contact-fields { grid-template-columns: 1fr; }
  .contact-submit { justify-self: stretch; }
  .form-row { flex-direction: column; }
  .site-footer { flex-direction: column; }
}
