/* Props & Peril — propsandperil.com
   Plain HTML/CSS, no build step, no external dependencies.
   Palette: charcoal + warm parchment + antique gold (from the brand logo). */

:root {
  --bg: #16130f;
  --bg-2: #1d1913;
  --surface: #241f18;
  --surface-2: #2c261d;
  --line: #3a3227;
  --ink: #ede6d6;
  --muted: #b3a88f;
  --faint: #8a7f6a;
  --gold: #c9a227;
  --gold-bright: #e3c15a;
  --gold-deep: #9a7d1c;
  --max: 1080px;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, .serif {
  font-family: Georgia, "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 0.6em;
}

.lede { font-size: 1.15rem; color: var(--muted); max-width: 640px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(22, 19, 15, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.brand-name {
  font-family: Georgia, "Palatino Linotype", serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-name span { color: var(--gold); }

.main-nav {
  margin-left: auto;
  display: flex;
  gap: 4px;
  align-items: center;
}
.main-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 6px;
}
.main-nav a:hover { color: var(--ink); text-decoration: none; background: var(--surface); }
.main-nav a[aria-current="page"] { color: var(--gold-bright); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background-color: #241d16;
  background-image:
    linear-gradient(180deg, rgba(22, 19, 15, 0.62) 0%, rgba(22, 19, 15, 0.55) 45%, rgba(22, 19, 15, 0.97) 100%),
    url("assets/hero-sunfield.png");
  background-size: cover;
  background-position: center 32%;
  background-repeat: no-repeat;
  padding: 96px 0 84px;
  border-bottom: 1px solid var(--line);
}

.hero-inner { max-width: 760px; }
.hero h1 { margin-bottom: 0.4em; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6); }
.hero .lede { color: #d8cfba; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6); }

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

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-gold { background: var(--gold); color: #1a150c; }
.btn-gold:hover { background: var(--gold-bright); }
.btn-ghost { border-color: var(--gold); color: var(--gold-bright); background: rgba(22, 19, 15, 0.45); }
.btn-ghost:hover { background: rgba(201, 162, 39, 0.14); }

/* ---------- Sections ---------- */

.section { padding: 72px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-2); }

.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { color: var(--muted); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.card h3 { margin-bottom: 0.35em; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .card-num {
  font-family: Georgia, serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

/* Chapter feature */
.chapter-feature {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}
.cover-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.cover-frame img { width: 100%; }

.pack-list { list-style: none; margin: 0 0 1.4em; padding: 0; }
.pack-list li {
  padding: 10px 0 10px 30px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.pack-list li:last-child { border-bottom: 0; }
.pack-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 18px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}
.pack-list strong { color: var(--ink); font-weight: 700; }
.pack-list span { color: var(--muted); }

.badge-soon {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 16px;
}

.note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 16px 20px;
  color: var(--muted);
  font-size: 0.95rem;
}
.note strong { color: var(--ink); }

/* Wide banner image */
.banner {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
}
.banner img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 40%; }
.banner-tall img { aspect-ratio: 3 / 2; object-position: center; }

/* Social */
.social-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
}
.social-btn:hover { border-color: var(--gold); text-decoration: none; }
.social-btn svg { width: 12px; height: 12px; fill: var(--gold); flex-shrink: 0; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: #100d0a;
  padding: 48px 0 32px;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-logo { width: 150px; margin-bottom: 14px; }
.site-footer h4 {
  color: var(--ink);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 12px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--gold-bright); }
.footer-base {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--faint);
}

/* ---------- Responsive ---------- */

@media (max-width: 820px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .chapter-feature { grid-template-columns: 1fr; gap: 24px; }
  .cover-frame { max-width: 340px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .hero { padding: 72px 0 64px; }
  .brand-name { font-size: 0.95rem; }
  .main-nav a { padding: 8px 8px; font-size: 0.9rem; }
}
