:root {
  --paper: #f6f1e7;
  --paper-deep: #ece4d4;
  --card: #fffcf6;
  --ink: #26231d;
  --ink-soft: #5b544a;
  --ink-faint: #8c8475;
  --line: #e2d8c5;
  --olive: #5f6b3a;
  --gold: #c08a2e;
  --wine: #8a3b3b;
  --glow-a: #e9cf8f;
  --glow-b: #c9d2a8;
  --serif: "Gowun Batang", "Noto Serif KR", Georgia, serif;
  --sans: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1b1915;
    --paper-deep: #26231d;
    --card: #221f1a;
    --ink: #f1ebdf;
    --ink-soft: #c4bba9;
    --ink-faint: #8f8676;
    --line: #36312a;
    --olive: #b3c07f;
    --gold: #e0b05a;
    --wine: #d98d84;
    --glow-a: #5a4520;
    --glow-b: #39431f;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

a { color: inherit; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 85%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.6rem; }
.logo svg { width: 22px; height: 22px; color: var(--gold); }
.nav { display: flex; align-items: center; gap: 4px; font-size: 0.92rem; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink-soft); padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover { background: var(--paper-deep); color: var(--ink); }
.nav-link { display: none; }
@media (min-width: 560px) { .nav-link { display: inline-block; } }
.lang-select {
  position: relative; display: flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 12px; margin-inline-start: 4px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-soft); font-weight: 700; font-size: 0.82rem;
}
.lang-select:hover { background: var(--paper-deep); color: var(--ink); }
.lang-select svg { width: 16px; height: 16px; }
.lang-select select { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 16px; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .6; pointer-events: none; }
.glow-a { width: 420px; height: 420px; background: var(--glow-a); top: -140px; left: -120px; }
.glow-b { width: 480px; height: 480px; background: var(--glow-b); top: 60px; right: -180px; }
.hero-inner { position: relative; padding-top: 88px; padding-bottom: 88px; }
.eyebrow { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); }
h1 {
  margin: 16px 0 0; font-family: var(--serif); font-weight: 700;
  font-size: clamp(2.2rem, 6.5vw, 4.2rem); line-height: 1.25; max-width: 16em;
}
.verse { margin: 28px 0 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-family: var(--serif); color: var(--ink-soft); font-size: 1rem; }
.hebrew { font-size: 1.8rem; color: var(--gold); font-weight: 700; line-height: 1; }
.lead { margin: 20px 0 0; max-width: 36em; font-size: 1.08rem; color: var(--ink-soft); }
.actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 12px 24px; border-radius: 999px; transition: opacity .2s; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { opacity: .85; }

/* Sections */
.section { padding-top: 24px; padding-bottom: 72px; scroll-margin-top: 80px; }
h2 { font-family: var(--serif); font-size: 1.9rem; margin: 0; }

.grid { margin-top: 28px; display: grid; gap: 24px; }
@media (min-width: 768px) { .grid { grid-template-columns: 1fr 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -20px rgba(40, 30, 10, .35); }
.card-art { height: 200px; display: grid; place-items: center; }
.card-art svg { width: 110px; height: 110px; }
.art-circle { background: linear-gradient(135deg, var(--glow-b), var(--glow-a)); color: var(--olive); }
.art-soon { background: var(--paper-deep); color: var(--ink-faint); }
.card-body { padding: 24px; }
.card-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card h3 { margin: 0; font-family: var(--serif); font-size: 1.5rem; }
.card p { margin: 10px 0 0; color: var(--ink-soft); }
.card .note { font-size: .9rem; color: var(--ink-faint); }

.badge { font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.badge-live { background: color-mix(in srgb, var(--olive) 18%, transparent); color: var(--olive); }
.badge-review { background: color-mix(in srgb, var(--gold) 20%, transparent); color: var(--gold); }
.badge-soon { background: var(--paper-deep); color: var(--ink-soft); }

.card-soon { border-style: dashed; background: transparent; }

.values { margin-top: 28px; display: grid; gap: 24px; }
@media (min-width: 768px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { padding: 24px; border-radius: 20px; background: var(--paper-deep); }
.value h3 { margin: 0; font-family: var(--serif); font-size: 1.2rem; }
.value p { margin: 8px 0 0; color: var(--ink-soft); font-size: .95rem; }

/* Footer */
.site-footer { margin-top: auto; border-top: 1px solid var(--line); }
.footer-inner { padding-top: 28px; padding-bottom: 36px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .88rem; color: var(--ink-faint); }
.footer-inner p { margin: 0; }
.links { display: flex; gap: 8px; }
.links a { text-decoration: none; }
.links a:hover { color: var(--ink); }

/* BibleCircle brand */
.art-bc { background: #fbf5e9; text-decoration: none; }
.art-bc svg { width: 128px; height: 128px; }
.bc-accent { color: #e79a0b; }
.card .tagline { margin-top: 6px; font-family: var(--serif); font-weight: 700; color: var(--ink); }
.card-links { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.more { font-weight: 700; font-size: .92rem; color: var(--olive); text-decoration: none; }
.more:hover { text-decoration: underline; }
