/* Cooking with Papou - colors and type taken from the book (Palatino, Greek navy, olive, cream panels) */
:root {
  --navy: #0F3D73;
  --blue: #0D5EAF;
  --olive: #8B9A46;
  --gold: #C9A13F;
  --ink: #1E2A38;
  --cream: #F7F1E3;
  --line: #D9CFB8;
  --white: #FFFFFF;
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", "EB Garamond", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--serif); font-size: 18px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.small { font-size: 15px; color: #4a5566; }

/* Greek key border, cut from the book's own page border */
.key { height: 14px; background: url(assets/greek_key.png) repeat-x center / auto 14px; margin: 14px 0; }

h1, h2, h3 { color: var(--navy); font-weight: 700; line-height: 1.15; margin: 0 0 .4em; }
h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: .02em; }
h2 { font-size: clamp(30px, 4vw, 42px); }
h3 { font-size: 22px; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: 13px; color: #5a6575; margin: 0 0 10px; }
.subtitle { font-style: italic; color: var(--blue); font-size: 24px; margin: 0; }
.olive { width: 120px; margin: 14px 0; }
.byline { text-transform: uppercase; letter-spacing: .25em; font-size: 15px; color: var(--navy); margin: 0 0 18px; }
.lead { font-size: 21px; margin: 0 0 16px; }
.intro { max-width: 760px; margin: 0 auto 32px; }

/* hero */
.hero { padding: 24px 0 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 56px; align-items: center; }
.hero-cover img { border-radius: 4px; box-shadow: 0 18px 40px rgba(15, 61, 115, .25), 0 2px 6px rgba(0,0,0,.15); }
.facts { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { border: 1px solid var(--line); background: var(--cream); padding: 4px 12px; border-radius: 999px; font-size: 15px; }
.status { font-weight: 600; color: var(--olive); margin: 6px 0 18px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

.btn { display: inline-block; font-family: var(--serif); font-size: 18px; font-weight: 600; text-decoration: none; padding: 12px 26px; border-radius: 6px; border: 2px solid var(--navy); cursor: pointer; text-align: center; }
.btn.primary { background: var(--navy); color: var(--white); }
.btn.primary:hover { background: var(--blue); border-color: var(--blue); }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--cream); }

/* bands */
.band { padding: 64px 0; }
.band.cream { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.two { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
blockquote { margin: 20px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--olive); font-style: italic; color: var(--blue); font-size: 21px; }
.note { font-style: italic; color: #4a5566; }
.photo-stack { margin: 0; display: grid; gap: 16px; }
.photo-stack img { border-radius: 6px; box-shadow: 0 8px 22px rgba(0,0,0,.12); }

.chapters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.chapters article { background: var(--white); border: 2px solid var(--blue); border-radius: 12px; overflow: hidden; }
.chapters img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.chapters h3, .chapters p { padding: 0 18px; }
.chapters h3 { margin-top: 16px; }
.chapters .sub { font-style: italic; color: var(--olive); margin: -4px 0 8px; }
.chapters p:last-child { font-size: 15px; margin-bottom: 18px; }

.spreads { display: grid; gap: 22px; }
.spreads img { border-radius: 6px; box-shadow: 0 10px 28px rgba(0,0,0,.14); background: var(--white); }

/* order */
.price { font-size: 19px; color: var(--navy); margin-bottom: 28px; }
.buy { display: grid; gap: 12px; margin: 0 auto 28px; max-width: 420px; }
.buy .btn { width: 100%; }
.buy .signed-note { font-size: 15px; text-align: center; margin: -4px 0 6px; color: #4a5566; }
.notify { background: var(--cream); border: 2px solid var(--blue); border-radius: 12px; padding: 26px; text-align: center; margin-bottom: 24px; }
.signup { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin: 16px 0 8px; }
.signup input { font-family: var(--serif); font-size: 17px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); min-width: 0; }
.signup input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.store { margin-top: 8px; }

footer { padding: 10px 0 36px; }
.foot { text-align: center; }
.foot img { margin: 8px auto 6px; width: 90px; }
.foot p { margin: 4px 0; }

@media (max-width: 860px) {
  body { font-size: 17px; }
  .hero-grid, .two { grid-template-columns: 1fr; gap: 28px; }
  .hero-cover { max-width: 320px; margin: 0 auto; }
  .hero-text { text-align: center; }
  .olive { margin: 14px auto; }
  .facts, .cta { justify-content: center; }
  .chapters { grid-template-columns: 1fr; }
  .signup { grid-template-columns: 1fr; }
  .band { padding: 48px 0; }
}
@media (min-width: 861px) and (max-width: 1040px) {
  .chapters { grid-template-columns: repeat(2, 1fr); }
}
.nw { white-space: nowrap; }

/* ---- funnel pages ---- */
.btn.big { font-size: 20px; padding: 15px 30px; }
.optin { padding: 18px 16px 30px; }
.optin-h1 { font-size: clamp(34px, 5.2vw, 58px); max-width: 900px; margin: 6px auto 10px; }
.optin-sub { font-size: clamp(19px, 2.2vw, 23px); color: var(--blue); font-style: italic; margin: 0 auto 30px; max-width: 760px; }
.optin-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 520px); gap: 44px; justify-content: center; align-items: start; }
.optin-cover img { border-radius: 4px; box-shadow: 0 18px 40px rgba(15, 61, 115, .25), 0 2px 6px rgba(0,0,0,.15); }
.optin-box { background: var(--cream); border: 2px solid var(--blue); border-radius: 14px; padding: 24px 26px; }
.optin-box h2 { font-size: 28px; margin-bottom: 8px; }
.free-tag { display: inline-block; background: var(--olive); color: #fff; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; padding: 3px 12px; border-radius: 999px; margin: 0 0 10px; }
.free-card { border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.12); margin: 6px 0 16px; max-height: 260px; width: 100%; object-fit: cover; object-position: top; }
.signup.stacked { grid-template-columns: 1fr; }
.signup.stacked .btn { width: 100%; }
.proof { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 12px 30px; padding: 0; margin: 34px 0 0; color: var(--navy); }
.proof strong { font-size: 24px; }

.ty-top { padding: 30px 16px 50px; }
.ty-book { margin: 0; text-align: center; }
.ty-book img { max-width: 260px; margin: 0 auto 12px; border-radius: 4px; box-shadow: 0 12px 30px rgba(15, 61, 115, .22); }
.share { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 18px 0 8px; }
.preview-flag { background: #FFF4D6; border: 1px solid #E8C96B; color: #6b5310; text-align: center; padding: 8px 12px; margin: 0; font-size: 15px; }

.bullets { list-style: none; padding: 0; margin: 0 auto; max-width: 720px; }
.bullets li { position: relative; padding: 12px 0 12px 40px; border-bottom: 1px solid var(--line); font-size: 19px; }
.bullets li::before { content: ""; position: absolute; left: 0; top: 16px; width: 26px; height: 18px; background: url(assets/olive.png) no-repeat center / contain; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards img { border-radius: 6px; box-shadow: 0 10px 26px rgba(0,0,0,.14); background: #fff; }
.offer { display: grid; grid-template-columns: 170px 1fr; gap: 26px; align-items: center; margin: 10px auto 22px; max-width: 600px; }
.offer img { border-radius: 4px; box-shadow: 0 10px 24px rgba(15, 61, 115, .22); }
.offer ul { margin: 0; padding-left: 20px; }
.offer li { margin: 6px 0; }
.order .notify { background: var(--white); }

@media (max-width: 860px) {
  .optin-grid { grid-template-columns: 1fr; gap: 26px; }
  .optin-cover { max-width: 260px; margin: 0 auto; }
  .cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .offer { grid-template-columns: 110px 1fr; gap: 16px; }
  .bullets li { font-size: 17px; }
}
