:root {
  --forest: #26382B;
  --ink: #26382B;
  --muted: #6B5139;
  --terracotta: #A64A28;
  --terracotta-dark: #86391F;
  --sage: #456B4B;
  --sage-soft: #E1E8DA;
  --sand: #D9C4A6;
  --panel: #EFE6D6;
  --card: #FBF8F2;
  --cream: #F6F1E7;
  --mustard: #D9A22B;
  --coral: #E07B5A;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Figtree, system-ui, sans-serif; font-size: 17px; line-height: 1.6; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
a { color: var(--sage); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--forest); color: var(--cream); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.display { font-family: 'Young Serif', Georgia, serif; font-weight: 400; color: var(--forest); line-height: 1.08; margin: 0; }
h1, h2, h3 { color: var(--forest); }
h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.2; font-weight: 800; margin: 0 0 14px; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 700; margin: 0 0 8px; }
p { margin: 0 0 1em; }
.lede { font-size: 19px; max-width: 34em; }
.muted { color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta); margin: 0 0 12px; }

/* Header and footer */
.site-header { border-bottom: 1px solid var(--sand); background: var(--cream); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); font-family: 'Young Serif', Georgia, serif; font-size: 19px; }
.brand svg { width: 34px; height: 18px; flex: none; }
.nav { display: flex; gap: 6px 18px; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--forest); text-decoration: none; font-weight: 700; font-size: 15.5px; padding: 6px 2px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--terracotta); }
.nav .nav-cta { background: var(--terracotta); color: var(--cream); padding: 8px 16px; border-radius: 999px; }
.nav .nav-cta:hover { background: var(--terracotta-dark); color: var(--cream); }
.site-footer { border-top: 1px solid var(--sand); padding: 32px 0 44px; font-size: 14px; color: var(--muted); }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 14px; }
.site-footer a { color: var(--forest); font-weight: 600; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p { margin: 0 0 6px; }

/* Buttons */
.btn { display: inline-block; border: 0; cursor: pointer; border-radius: 999px; padding: 15px 26px; font: inherit; font-weight: 800; font-size: 16.5px; text-decoration: none; text-align: center; transition: background .15s ease, color .15s ease; }
.btn-primary { background: var(--terracotta); color: var(--cream); }
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-ghost { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 2px var(--forest); }
.btn-ghost:hover { background: var(--forest); color: var(--cream); }
.btn-light { background: var(--card); color: var(--forest); }
.btn-light:hover { background: var(--sage-soft); }
.btn[disabled] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.text-link { font-weight: 700; text-decoration: none; color: var(--terracotta); }
.text-link:hover { text-decoration: underline; }

section { padding: 72px 0; }
.divide { border-top: 1px solid var(--sand); }
.panel { background: var(--panel); }

/* Hero */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.hero .display { font-size: clamp(38px, 6.2vw, 68px); margin-bottom: 20px; }
.hero .display span { color: var(--terracotta); display: block; }
.arches { width: 100%; max-width: 360px; justify-self: center; }
.creds { margin: 20px 0 0; font-size: 15px; font-weight: 600; color: var(--muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border-radius: var(--radius); padding: 26px; border: 1px solid var(--sand); }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .num { font-family: 'Young Serif', Georgia, serif; font-size: 34px; line-height: 1; color: var(--terracotta); margin-bottom: 10px; }

/* Forms */
.form-card { background: var(--card); border: 1px solid var(--sand); border-radius: 20px; padding: 28px; max-width: 520px; }
.form-card.on-dark { box-shadow: 0 20px 40px -24px rgba(0,0,0,.4); }
.field { margin-bottom: 16px; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; color: var(--forest); }
.field input[type=text], .field input[type=email] { width: 100%; min-height: 52px; border: 2px solid var(--sand); border-radius: 14px; padding: 10px 14px; font: inherit; background: #fff; color: var(--ink); }
.field input:focus { border-color: var(--forest); outline: none; }
fieldset.field { border: 0; padding: 0; margin: 0 0 16px; }
.choices { display: grid; gap: 8px; }
.choice { display: flex; align-items: center; gap: 10px; border: 2px solid var(--sand); border-radius: 14px; padding: 10px 14px; background: #fff; cursor: pointer; font-weight: 600; }
.choice input { width: 20px; height: 20px; accent-color: var(--forest); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--forest); }
.form-card .btn { width: 100%; }
.form-note { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.form-msg { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; font-weight: 600; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: var(--sage-soft); color: var(--forest); }
.form-msg.err { background: #F6DCD2; color: #6E2A14; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Book */
.book-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.cover { width: 100%; max-width: 320px; border-radius: 6px; box-shadow: 0 28px 50px -24px rgba(38,56,43,.45), 0 2px 6px rgba(38,56,43,.12); }
.subtitle { font-size: 19px; font-weight: 600; color: var(--sage); margin-bottom: 20px; }
.ticks { list-style: none; padding: 0; margin: 0 0 8px; }
.ticks li { position: relative; padding: 8px 0 8px 32px; border-bottom: 1px dashed var(--sand); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 18px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 14'%3E%3Cpath d='M2 7l5 5L16 2' fill='none' stroke='%23A64A28' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.buy-note { font-size: 14.5px; color: var(--muted); margin-top: 14px; }

/* Band */
.band { background: var(--forest); color: var(--cream); }
.band .display { color: var(--cream); font-size: clamp(34px, 5.4vw, 56px); margin-bottom: 14px; }
.band p { color: #E9DFCC; }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* Blog */
.post-list { display: grid; gap: 18px; }
.post-card { display: block; text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--sand); border-radius: var(--radius); padding: 24px; }
.post-card:hover { border-color: var(--terracotta); }
.post-card h3 { font-size: 21px; }
.post-card p { color: var(--muted); margin: 0; }
article.post { padding: 48px 0 24px; }
article.post h1 { font-family: 'Young Serif', Georgia, serif; font-weight: 400; font-size: clamp(32px, 5vw, 48px); line-height: 1.12; margin: 0 0 14px; }
article.post h2 { font-size: 26px; margin-top: 36px; }
article.post .byline { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
article.post ul, article.post ol { padding-left: 22px; }
article.post li { margin-bottom: 6px; }
.callout { background: var(--panel); border: 1px solid var(--sand); border-radius: 14px; padding: 20px 22px; margin: 28px 0; }
.callout p:last-child { margin: 0; }
.sources { font-size: 14.5px; color: var(--muted); }
.sources li { margin-bottom: 8px; }

.small-print { font-size: 13.5px; color: var(--muted); }

@media (max-width: 860px) {
  section { padding: 56px 0; }
  .hero { padding: 36px 0 56px; }
  .hero-grid, .book-grid, .band-grid { grid-template-columns: 1fr; gap: 32px; }
  .arches { max-width: 240px; justify-self: start; }
  .cover { max-width: 240px; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .actions .btn { width: 100%; }
  .form-card { padding: 20px; }
  .site-header .wrap { padding-top: 10px; padding-bottom: 8px; gap: 6px; }
  .nav { flex-wrap: nowrap; overflow-x: auto; gap: 14px; width: 100%; padding-bottom: 4px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; font-size: 15px; }
  .nav .nav-cta { padding: 6px 14px; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
