/* A. Yarden - official site styles
   Colors: dark green #1f2d27, cream #f6f1e7, gold #c8963e / #e8c27a */
:root {
  --green: #1f2d27;
  --green-deep: #15211c;
  --cream: #f6f1e7;
  --cream-2: #e9dfc9;
  --gold: #c8963e;
  --gold-light: #e8c27a;
  --ink: #1f2a24;
  --hairline: #d8ccb2;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); }

/* ---------- header / nav ---------- */
.site-header {
  background: var(--green);
  color: #efe6d2;
  position: sticky; top: 0; z-index: 10;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.site-header .wrap {
  max-width: 960px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; gap: 12px;
}
.logo {
  letter-spacing: 0.18em; font-weight: 700; font-size: 15px;
  color: #efe6d2; text-decoration: none; white-space: nowrap;
}
.logo span { color: var(--gold-light); }
.nav { display: flex; gap: 2px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nav a {
  color: #efe6d2; text-decoration: none; font-size: 13.5px;
  font-family: system-ui, -apple-system, sans-serif;
  padding: 8px 10px; border-radius: 6px; white-space: nowrap; opacity: 0.85;
}
.nav a:hover { opacity: 1; background: rgba(255,255,255,0.08); }
.nav a.current { opacity: 1; box-shadow: inset 0 -2px 0 var(--gold); border-radius: 6px 6px 0 0; }

/* ---------- layout ---------- */
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.section { padding-top: 28px; padding-bottom: 28px; }
h1, h2, h3 { line-height: 1.2; color: var(--green); }
h2 { font-size: 24px; margin: 0 0 12px; }
h3 { font-size: 17px; margin: 20px 0 6px; }
p { margin: 8px 0; font-size: 15px; }
.small { font-size: 13px; opacity: 0.85; }
.kicker {
  font-size: 12px; letter-spacing: 0.2em; color: var(--gold);
  font-family: system-ui, sans-serif; font-weight: 600; text-transform: uppercase;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; background: var(--gold); color: #1f1a10;
  padding: 11px 18px; border-radius: 6px; font-size: 14px; font-weight: 700;
  font-family: system-ui, sans-serif; text-decoration: none; border: 0; cursor: pointer;
}
.btn.ghost { background: transparent; color: #fff; border: 1px solid #fff; }
.btn.ghost.dark { color: var(--green); border-color: var(--green); }

/* ---------- hero (home) ---------- */
.hero {
  background-size: cover; background-position: center 40%;
  min-height: 420px; display: flex; align-items: flex-end;
}
.hero-text {
  width: 100%; padding: 60px 16px 26px;
  background: linear-gradient(transparent, rgba(15,22,19,0.88) 55%);
  color: #fff;
}
.hero-text .inner { max-width: 960px; margin: 0 auto; }
.hero-text .kicker { color: var(--gold-light); }
.hero-text h1 { font-size: 38px; margin: 6px 0; color: #fff; }
.hero-text .sub { font-size: 16px; opacity: 0.92; }
.ctas { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

/* ---------- news bar ---------- */
.news-bar { background: var(--cream-2); padding: 14px 16px; font-size: 14px; }
.news-bar .wrap { padding: 0; }

/* ---------- home panels ---------- */
.panel { background: #fff; border: 1px solid var(--hairline); border-radius: 12px; padding: 20px; margin: 14px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* ---------- books ---------- */
.covers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 560px) { .covers { grid-template-columns: repeat(3, 1fr); gap: 8px; } }
.cover { display: flex; flex-direction: column; gap: 6px; font-family: system-ui, sans-serif; font-size: 12px; }
.cover img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,0.25); }
.cover b { font-size: 12.5px; }
.book-note { background: var(--cream-2); border-radius: 10px; padding: 14px 16px; margin-top: 18px; }
.prequel-feature { display: flex; align-items: center; gap: 22px; padding: 20px; }
.prequel-cover { flex: 0 0 150px; }
.prequel-cover img { width: 100%; border-radius: 5px; box-shadow: 0 6px 18px rgba(0,0,0,0.28); }
.prequel-copy { flex: 1; }
.prequel-copy h3 { margin-top: 5px; font-size: 23px; }
.prequel-copy .btn { margin-top: 8px; }
@media (max-width: 560px) {
  .prequel-feature { align-items: flex-start; gap: 14px; padding: 16px; }
  .prequel-cover { flex-basis: 112px; }
  .prequel-copy h3 { font-size: 19px; }
}
.buy-line { margin-top: 12px; font-size: 13.5px; font-family: system-ui, sans-serif; color: #7a5a1c; font-weight: 600; }

/* ---------- characters ---------- */
.chars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .chars { grid-template-columns: 1fr; } }
.char { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--hairline); border-radius: 10px; padding: 14px; }
.char-badge {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--green); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px;
}
.char b { font-size: 15px; }
.char .char-line { font-size: 13px; opacity: 0.85; font-family: system-ui, sans-serif; }
.char .todo-line { color: #8a6d1f; font-style: italic; }

/* ---------- world ---------- */
.map-placeholder {
  min-height: 220px; border: 2px dashed #b9a57c; border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #7a6a48; padding: 20px;
  background: repeating-linear-gradient(45deg, #efe6d2, #efe6d2 10px, #f6f1e7 10px, #f6f1e7 20px);
}

/* ---------- fans ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { background: var(--green); color: #efe6d2; border-radius: 10px; padding: 26px 12px; text-align: center; font-size: 15px; }
.tile small { display: block; font-family: system-ui, sans-serif; font-size: 12px; opacity: 0.8; margin-top: 4px; }

/* ---------- forms ---------- */
form.fan-form { background: #fff; border: 1px solid var(--hairline); border-radius: 12px; padding: 20px; }
label { display: block; font-size: 13px; font-family: system-ui, sans-serif; font-weight: 600; margin: 14px 0 4px; color: var(--green); }
input[type=text], input[type=email], textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--hairline); border-radius: 6px;
  font-size: 15px; font-family: system-ui, sans-serif; background: #fffdf8;
}
textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0; font-family: system-ui, sans-serif; font-size: 14px; }
.check input { margin-top: 3px; }
.form-note { font-size: 12.5px; opacity: 0.75; font-family: system-ui, sans-serif; margin-top: 10px; }

/* ---------- footer ---------- */
.site-footer { background: var(--green-deep); color: #cfc4a8; margin-top: 30px; }
.site-footer .wrap { padding: 26px 16px 34px; font-size: 13px; font-family: system-ui, sans-serif; }
.site-footer a { color: var(--gold-light); text-decoration: none; }
.site-footer .foot-nav { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 12px; }

.world-map { margin: 18px auto 24px; max-width: 760px; }
.world-map img { display: block; width: 100%; height: auto; border: 1px solid #6e4c27; box-shadow: 0 10px 28px rgba(42, 29, 16, .18); }
