:root {
  --turquoise: #1C8F8F;
  --mustard: #E0A526;
  --rust: #B0412E;
  --navy: #1E2B3A;
  --offwhite: #FAFAF7;
  --sage-tint: #EAF4F3;
  --radius: 16px;
  --shadow-soft: 0 12px 32px rgba(30, 43, 58, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--navy);
  background: var(--offwhite);
}
h1, h2, .wordmark { font-family: "Alfa Slab One", Georgia, serif; font-weight: 400; line-height: 1.15; }
a { color: var(--navy); }

/* Header */
.site-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem 1.5rem; padding: 1.1rem 1.25rem; max-width: 1100px; margin: 0 auto;
}
.wordmark { color: var(--turquoise); font-size: 1.75rem; text-decoration: none; letter-spacing: .01em; }
.site-header nav { display: flex; gap: .4rem; flex-wrap: wrap; }
.site-header nav a {
  text-decoration: none; font-weight: 600; padding: .35rem .85rem; border-radius: 999px;
  transition: background .2s, color .2s;
}
.site-header nav a:hover { background: var(--sage-tint); color: var(--turquoise); }

/* Hero: dusk sky over a mountain ridge */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 105%, rgba(224,165,38,.35), transparent 70%),
    radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px 1px at 28% 12%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1.5px 1.5px at 44% 30%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1px 1px at 63% 16%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1.5px 1.5px at 78% 26%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1px 1px at 90% 10%, rgba(255,255,255,.6), transparent 60%),
    linear-gradient(180deg, #16212d 0%, var(--navy) 45%, #2a4256 100%);
  color: var(--offwhite);
  text-align: center; padding: 3.75rem 1.25rem 9rem;
}
.hero .eyebrow {
  color: var(--mustard); text-transform: uppercase; letter-spacing: .16em;
  font-size: .85rem; font-weight: 600; margin: 0 0 .9rem;
}
.hero .eyebrow::before, .hero .eyebrow::after { content: "✦"; margin: 0 .6em; font-size: .75em; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); margin: 0 auto .9rem; max-width: 16ch; }
.hero .lede { max-width: 38rem; margin: 0 auto 1.9rem; font-size: 1.15rem; }

/* Ridgelines (mountains + rolling hills) */
.ridge { position: absolute; left: 0; right: 0; bottom: -1px; height: 120px; pointer-events: none;
  background-repeat: no-repeat; background-size: 100% 100%; }
.series { position: relative; }
.ridge-series {
  top: -1px; bottom: auto; height: 70px; transform: scaleY(-1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23FAFAF7' d='M0,98 C180,70 320,112 480,92 C640,72 760,108 920,90 C1080,74 1240,104 1440,86 L1440,120 L0,120Z'/%3E%3C/svg%3E");
}
.site-footer { position: relative; }
.ridge-footer {
  top: -89px; bottom: auto; height: 90px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%231E2B3A' d='M0,92 L140,52 L250,80 L370,36 L500,76 L630,44 L750,86 L890,40 L1020,72 L1150,30 L1280,68 L1380,48 L1440,64 L1440,120 L0,120Z'/%3E%3C/svg%3E");
}

/* Star ornament divider */
.ornament {
  height: 24px; max-width: 420px; margin: 0 auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 24'%3E%3Cpath d='M20 12 H178' stroke='%23E0A526' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M242 12 H400' stroke='%23E0A526' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='190' cy='12' r='2.5' fill='%23B0412E'/%3E%3Ccircle cx='230' cy='12' r='2.5' fill='%23B0412E'/%3E%3Cpath fill='%23E0A526' d='M210 2 L212.9 9.2 L220.5 9.6 L214.6 14.4 L216.6 21.8 L210 17.6 L203.4 21.8 L205.4 14.4 L199.5 9.6 L207.1 9.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ornament-small { max-width: 260px; height: 18px; margin: .2rem auto 1rem; }

/* Buttons */
.btn {
  display: inline-block; padding: .85rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
  font-family: "Lora", Georgia, serif; font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-mustard { background: var(--mustard); color: var(--navy); box-shadow: 0 6px 16px rgba(224,165,38,.35); }
.btn-mustard:hover { background: #d0961c; }
.btn-navy { background: var(--navy); color: var(--offwhite); box-shadow: 0 6px 16px rgba(30,43,58,.25); }
.btn-navy:hover { background: #2c3e52; }
.btn-outline { border-color: var(--turquoise); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--turquoise); color: var(--offwhite); }

/* Rope frame around covers */
.rope {
  padding: 9px; border-radius: 16px;
  background:
    repeating-linear-gradient(135deg, #E0A526 0 5px, #C8901A 5px 7px, #EDBE55 7px 11px, #C8901A 11px 13px);
  box-shadow: 0 16px 36px rgba(30,43,58,.28), inset 0 0 0 1px rgba(30,43,58,.15);
}
.rope .cover { display: block; border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.rope .cover-placeholder { display: flex; }


/* Photo hero (hat on the fence post) */
.hero.with-photo {
  text-align: left; padding: 5.5rem 1.25rem 8.5rem; min-height: 600px;
  background:
    linear-gradient(90deg, rgba(30,43,58,0) 0%, rgba(30,43,58,.15) 30%, rgba(30,43,58,.78) 58%, rgba(30,43,58,.9) 100%),
    url("images/hero-hat.jpg") center 32% / cover no-repeat;
}
.hero-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: flex-end; }
.hero-copy { width: min(100%, 31rem); }
.hero.with-photo h1 { margin: 0 0 .9rem; max-width: none; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero.with-photo .lede { margin: 0 0 1.9rem; }
.ridge-soft {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23FAFAF7' d='M0,98 C180,70 320,112 480,92 C640,72 760,108 920,90 C1080,74 1240,104 1440,86 L1440,120 L0,120Z'/%3E%3C/svg%3E");
}

/* Book features */
.feature {
  display: grid; grid-template-columns: minmax(180px, 300px) 1fr; gap: 2.75rem;
  align-items: center; max-width: 1000px; margin: 0 auto; padding: 3rem 1.25rem 3.5rem;
}
.cover { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 16px 36px rgba(30,43,58,.28); }
.cover-placeholder {
  aspect-ratio: 5 / 8; background: linear-gradient(160deg, #2a4256, var(--navy));
  color: var(--offwhite); display: flex; flex-direction: column; justify-content: center;
  align-items: center; text-align: center; padding: 1rem;
}
.cover-placeholder span { font-family: "Alfa Slab One", Georgia, serif; font-size: 1.6rem; }
.cover-placeholder small { color: var(--mustard); margin-top: .5rem; }
.label {
  color: var(--rust); text-transform: uppercase; letter-spacing: .12em;
  font-size: .8rem; font-weight: 600; margin: 0 0 .4rem;
}
.feature h2 { color: var(--turquoise); font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0 0 .75rem; }
.hook { font-size: 1.2rem; font-style: italic; margin: 0 0 1rem; }
.fine { font-size: .85rem; margin: .7rem 0 0; }

/* Sign-up form: soft card */
.signup {
  display: grid; gap: .35rem; max-width: 27rem; margin-top: 1.4rem;
  background: #fff; border-radius: var(--radius); padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: var(--shadow-soft);
}
.signup label { font-weight: 600; font-size: .9rem; }
.signup input {
  font: inherit; padding: .7rem 1rem; border: 1.5px solid #d6d3ca; border-radius: 12px; background: var(--offwhite);
  margin-bottom: .55rem;
}
.signup input:focus { outline: none; border-color: var(--turquoise); box-shadow: 0 0 0 3px rgba(28,143,143,.18); }
.signup .btn { margin-top: .2rem; }

/* Series */
.series { background: var(--sage-tint); text-align: center; padding: 5.5rem 1.25rem 8rem; }
.series h2 { color: var(--turquoise); font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 0 0 .4rem; }
.series-tag { font-style: italic; margin: 0 0 2.2rem; }
.reading-order {
  list-style: none; padding: 0; margin: 0 auto 2.25rem; max-width: 840px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem;
}
.reading-order li {
  position: relative; background: var(--offwhite); border-radius: var(--radius);
  padding: 1.4rem 1.1rem; display: flex; flex-direction: column; gap: .2rem;
  box-shadow: var(--shadow-soft);
}
/* leather-style stitching */
.reading-order li::after {
  content: ""; position: absolute; inset: 7px; border-radius: 11px;
  border: 1.5px dashed rgba(176,65,46,.45); pointer-events: none;
}
.reading-order .num { color: var(--rust); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.reading-order strong { font-size: 1.1rem; }
.reading-order em { font-size: .9rem; }

/* Footer */
.site-footer { background: var(--navy); color: var(--offwhite); text-align: center; padding: 0 1.25rem 2rem; }
.footer-band {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 1.5rem;
  padding: 1.5rem 0 2rem; margin-bottom: 1.25rem;
}
.footer-band p { margin: 0; }
.site-footer a { color: var(--offwhite); }
.footer-links { margin: 0 0 .5rem; }
.copy { font-size: .85rem; opacity: .8; margin: 0; }

@media (max-width: 760px) {
  .hero.with-photo {
    text-align: center; min-height: 0; padding: 4rem 1.25rem 7rem;
    background:
      linear-gradient(180deg, rgba(30,43,58,.55) 0%, rgba(30,43,58,.8) 100%),
      url("images/hero-hat.jpg") 22% 40% / cover no-repeat;
  }
  .hero-inner { justify-content: center; }
}
@media (max-width: 640px) {
  .feature { grid-template-columns: 1fr; gap: 1.75rem; text-align: center; }
  .feature .rope, .feature > .cover { max-width: 258px; margin: 0 auto; }
  .signup { margin-left: auto; margin-right: auto; text-align: left; }
  .site-header { justify-content: center; }
  .site-header nav { gap: .1rem; justify-content: center; }
  .site-header nav a { padding: .3rem .55rem; font-size: .95rem; }
  .hero { padding-bottom: 7rem; }
  .ridge { height: 80px; }
  .ridge-footer { top: -59px; height: 60px; }
}

/* ---------- Inner pages ---------- */
.site-header nav a[aria-current="page"] { background: var(--sage-tint); color: var(--turquoise); }
.page-hero {
  position: relative; text-align: center; color: var(--offwhite);
  padding: 3.25rem 1.25rem 6rem;
  background:
    linear-gradient(180deg, rgba(22,33,45,.86) 0%, rgba(30,43,58,.8) 100%),
    url("images/hero-hat.jpg") center 70% / cover no-repeat;
}
.page-hero .eyebrow {
  color: var(--mustard); text-transform: uppercase; letter-spacing: .16em;
  font-size: .85rem; font-weight: 600; margin: 0 0 .7rem;
}
.page-hero .eyebrow::before, .page-hero .eyebrow::after { content: "✦"; margin: 0 .6em; font-size: .75em; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 auto .6rem; }
.page-hero .lede { max-width: 36rem; margin: 0 auto; font-size: 1.1rem; }

/* BookFunnel button card */
.cta-card {
  max-width: 27rem; margin-top: 1.4rem; background: #fff; border-radius: var(--radius);
  padding: 1.3rem 1.4rem 1.1rem; box-shadow: var(--shadow-soft);
}
.cta-card .btn { width: 100%; text-align: center; }

.cover-soon { border-radius: 10px; box-shadow: 0 16px 36px rgba(30,43,58,.2);
  background: linear-gradient(160deg, #2a7d7d, var(--turquoise)); }
.cover-soon small { color: var(--offwhite); opacity: .9; }

/* Free book perks */
.perks { background: var(--sage-tint); text-align: center; padding: 3.5rem 1.25rem 7.5rem; }
.perks h2 { color: var(--turquoise); font-size: clamp(1.6rem, 4vw, 2.1rem); margin: 0 0 .4rem; }
.perk-list { list-style: none; padding: 0; margin: 1.5rem auto 0; max-width: 900px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.perk-list li { position: relative; background: var(--offwhite); border-radius: var(--radius);
  padding: 1.4rem 1.2rem; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: .3rem; }
.perk-list li::after { content: ""; position: absolute; inset: 7px; border-radius: 11px;
  border: 1.5px dashed rgba(176,65,46,.45); pointer-events: none; }
.perk-list strong { font-size: 1.1rem; }
.perk-list span { font-size: .95rem; }

/* About */
.about { display: grid; grid-template-columns: minmax(200px, 340px) 1fr; gap: 2.75rem;
  max-width: 1000px; margin: 0 auto; padding: 3rem 1.25rem 7rem; align-items: start; }
.about-photo { width: 100%; height: auto; border-radius: 50%; aspect-ratio: 1; object-fit: cover;
  object-position: 30% 50%; box-shadow: 0 16px 36px rgba(30,43,58,.25); border: 6px solid #fff; }
.about-text .lead-in { font-size: 1.25rem; font-style: italic; color: var(--navy); }

/* Contact, privacy, 404 */
.narrow { max-width: 44rem; margin: 0 auto; padding: 3rem 1.25rem 7rem; }
.center { text-align: center; }
.big-link { font-family: "Alfa Slab One", Georgia, serif; font-size: clamp(1.3rem, 4vw, 1.8rem); margin: 1rem 0 1.5rem; }
.big-link a { color: var(--turquoise); text-decoration: none; }
.big-link a:hover { text-decoration: underline; }
.prose h2 { color: var(--turquoise); font-size: 1.6rem; margin: 2.2rem 0 .6rem; }
.prose h3 { font-family: "Lora", Georgia, serif; font-weight: 600; font-size: 1.2rem; margin: 1.8rem 0 .5rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff;
  border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-soft); }
.prose th, .prose td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid #ecebe5; vertical-align: top; }
.prose th { background: var(--sage-tint); }

@media (max-width: 640px) {
  .about { grid-template-columns: 1fr; text-align: center; gap: 1.75rem; }
  .about-photo { max-width: 240px; margin: 0 auto; }
  .cta-card { margin-left: auto; margin-right: auto; }
  .feature .cover-soon { max-width: 258px; margin: 0 auto; }
}
