/* ---------- Reset & tokens ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Palette — black / white / near-black / warm ivory */
  --bg-light: #ffffff;
  --bg-ivory: #faf8f5;
  --bg-dark: #0a0a0a;
  --text-light: #0a0a0a;
  --text-dark: #f5f5f5;
  --muted-light: #6b6b6b;
  --muted-dark: #a0a0a0;
  --rule-light: #e8e5e0;
  --rule-dark: #2a2a2a;
  --accent: #0a0a0a;

  --max-width: 1080px;
  --max-text: 720px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-light);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
}
.nav-publisher {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-publisher img {
  height: 32px;
  width: auto;
  display: block;
}
.nav-publisher:hover { opacity: 0.7; }

.nav-cta {
  display: inline-block;
  padding: 10px 20px;
  background: var(--text-light);
  color: var(--bg-light);
  text-decoration: none;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.15s, background 0.2s;
}
.nav-cta:hover {
  background: #333;
  transform: translateY(-1px);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--bg-dark);
  color: var(--text-dark);
  padding: 80px 28px 100px;
  text-align: center;
  position: relative;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto 72px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted-dark);
  text-transform: uppercase;
  font-weight: 500;
}
.hero-content {
  max-width: 820px;
  margin: 0 auto 56px;
}
.hero-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(56px, 10vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
}
.hero-title-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--muted-dark);
}
.hero-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2.8vw, 30px);
  color: var(--text-dark);
  margin-bottom: 24px;
}
.hero-tagline {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--muted-dark);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.5;
}
.hero-cover {
  max-width: 480px;
  margin: 0 auto 32px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 1px rgba(255,255,255,0.08);
}
.hero-cover img { width: 100%; height: auto; display: block; }
.hero-byline {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted-dark);
  text-transform: uppercase;
  margin-top: 8px;
}

/* ---------- Sections ---------- */
.section {
  padding: 120px 28px;
  border-top: 1px solid var(--rule-light);
}
.section-light { background: var(--bg-light); color: var(--text-light); }
.section-dark {
  background: var(--bg-dark);
  color: var(--text-dark);
  border-top-color: var(--rule-dark);
}
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-meta {
  max-width: var(--max-width);
  margin: 0 auto 72px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted-light);
  text-transform: uppercase;
  font-weight: 500;
}
.section-dark .section-meta { color: var(--muted-dark); }
.section-eyebrow {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--muted-light);
  margin-bottom: 20px;
}
.section-dark .section-eyebrow { color: var(--muted-dark); }
.section-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 40px;
}
.section-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--muted-light);
  margin-bottom: 48px;
}
.section-dark .section-subtitle { color: var(--muted-dark); }

.section p {
  max-width: var(--max-text);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
  margin-bottom: 20px;
}
.section-dark p { color: var(--text-dark); }
.section .lead {
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.6;
}
.dropcap {
  float: left;
  font-family: var(--font-serif);
  font-size: 4.2em;
  line-height: 0.85;
  padding: 6px 10px 0 0;
  font-weight: 700;
}

/* ---------- Panel (manga pages) ---------- */
.panel {
  margin: 56px auto;
  max-width: var(--max-width);
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
}
.panel img { display: block; width: 100%; height: auto; }
.panel-bare { background: transparent; }
.section-dark .panel-bare { background: transparent; }
.panel-grid {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-top: 48px;
  margin-bottom: 48px;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}
.panel-grid img { width: 100%; display: block; }

/* ---------- Specs (About section) ---------- */
.specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 40px;
  max-width: var(--max-text);
}
.spec {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule-light);
}
.section-dark .spec { border-bottom-color: var(--rule-dark); }
.spec dt {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted-light);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 500;
}
.section-dark .spec dt { color: var(--muted-dark); }
.spec dd {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-light);
}
.section-dark .spec dd { color: var(--text-dark); }

/* ---------- Creators ---------- */
.creator-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 56px;
}
.creator { padding: 0; }
.creator-role {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted-dark);
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 500;
}
.creator-name {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text-dark);
}
.creator p:not(.creator-role) {
  font-size: 15px;
  color: var(--muted-dark);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ---------- CTA ---------- */
.cta {
  background: var(--bg-dark);
  color: var(--text-dark);
  padding: 140px 28px;
  text-align: center;
  border-top: 1px solid var(--rule-dark);
}
.cta-inner {
  max-width: 720px;
  margin: 0 auto;
}
.cta-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted-dark);
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 500;
}
.cta-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.cta-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--muted-dark);
  margin-bottom: 48px;
}
.cta-button {
  display: inline-block;
  padding: 18px 44px;
  background: var(--bg-light);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.15s, background 0.2s;
}
.cta-button:hover {
  background: #e8e5e0;
  transform: translateY(-2px);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: var(--muted-dark);
  padding: 32px 28px;
  border-top: 1px solid var(--rule-dark);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.footer-brand {
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.14em;
}
.footer-meta { text-align: center; }
.footer-copy { text-align: right; }

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
  .nav-inner { padding: 10px 20px; min-height: 52px; }
  .nav-publisher img { height: 28px; }
  .nav-cta { padding: 9px 16px; font-size: 12px; }

  .hero { padding: 56px 20px 72px; }
  .hero-meta { margin-bottom: 48px; gap: 12px; flex-wrap: wrap; }
  .hero-title { margin-bottom: 24px; }
  .hero-cover { max-width: 92%; }

  .section { padding: 80px 20px; }
  .section-meta { margin-bottom: 48px; }
  .section-title { margin-bottom: 32px; }

  .specs { grid-template-columns: 1fr; }

  .creator-row { grid-template-columns: 1fr; gap: 40px; }

  .cta { padding: 96px 20px; }

  .footer-inner { flex-direction: column; gap: 10px; text-align: center; }
  .footer-meta, .footer-copy { text-align: center; }
}
