/* Root & Wonder Press — site styles */
:root {
  --night: #10262B;
  --canopy: #2E7A57;
  --new-leaf: #3FA878;
  --violet: #5B3F8C;
  --lantern: #B9A6E0;
  --page: #FAF6EC;
  --field: #EEF3EC;
  --wheat: #D8C7A0;
  --line: #E2DACA;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --label: 'Space Grotesk', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--night); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--night); text-decoration: none; }
a:hover { color: var(--violet); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-family: var(--label); font-weight: 500; font-size: 13px; letter-spacing: 5px; text-transform: uppercase; color: var(--canopy); }
.amp { font-style: italic; font-weight: 300; color: var(--violet); }
.accent { font-style: italic; color: var(--violet); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.5px; margin: 0; }
h1 { font-weight: 300; font-size: clamp(40px, 6vw, 72px); line-height: 1.04; letter-spacing: -1px; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
p { margin: 0; }
.lead { font-size: 19px; line-height: 1.65; }

/* Buttons */
.btn { display: inline-block; font: inherit; font-weight: 600; font-size: 16px; border-radius: 999px; padding: 15px 27px; border: 1.5px solid transparent; cursor: pointer; min-height: 48px; }
.btn-dark { background: var(--night); color: var(--page); }
.btn-dark:hover { color: var(--page); background: #1c3a41; }
.btn-violet { background: var(--violet); color: #fff; }
.btn-violet:hover { color: #fff; background: #4a3274; }
.btn-outline { border-color: var(--night); color: var(--night); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 48px; height: 48px; }
.brand-name { display: flex; flex-direction: column; }
.brand-name b { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1; }
.brand-name small { font-family: var(--label); font-weight: 500; font-size: 9px; letter-spacing: 6px; color: var(--canopy); margin-top: 5px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 600; }
.nav-links a { padding: 12px 0; }
.nav-links a[aria-current="page"] { color: var(--violet); border-bottom: 2px solid var(--violet); }
.nav-links a.btn { padding: 12px 22px; }

/* Sections */
.section { padding: 80px 0; }
.section-white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--night); color: var(--page); }
.section-mist { background: var(--field); border-top: 1px solid #CBD6CB; }
.section-violet { background: var(--violet); color: #fff; text-align: center; }

.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.split > * { flex: 1 1 400px; min-width: 0; }

/* Home hero */
.hero { padding: 72px 0 88px; }
.hero h1 { margin-top: 18px; }
.hero .lead { margin-top: 24px; max-width: 540px; }
.hero .btn-row { margin-top: 34px; }
.hero-mark { display: flex; justify-content: center; }
.hero-mark img { width: 100%; max-width: 420px; }

/* Imprint cards */
.cards-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 40px; }
.imprint { display: flex; flex-direction: column; gap: 14px; border-radius: 18px; padding: 36px; }
.imprint:hover { color: inherit; }
.imprint-kids { background: #9CC9E6; color: var(--night); }
.imprint-adult { background: var(--night); color: var(--page); }
.imprint-adult:hover { color: var(--page); }
.imprint .tag { font-family: var(--label); font-weight: 500; font-size: 12px; letter-spacing: 4px; }
.imprint-adult .tag { color: var(--wheat); }
.imprint .title { font-family: var(--serif); font-size: 34px; line-height: 1.1; }
.imprint-adult p { color: var(--field); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border-radius: 999px; padding: 6px 13px; font-size: 13px; font-weight: 600; background: var(--page); color: var(--night); }
.imprint-adult .chip { background: transparent; border: 1px solid var(--wheat); color: var(--page); }
.chip-mist { background: var(--field); font-size: 14px; padding: 6px 14px; }

/* Book spotlight */
.book-cover { border-radius: 10px; box-shadow: 0 10px 30px rgba(16, 38, 43, 0.22); width: 100%; height: auto; }
.cover-col { flex: 1 1 340px; max-width: 480px; }
.book-title { font-family: var(--serif); font-style: italic; font-size: clamp(40px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.5px; margin-top: 8px; }
.byline { margin-top: 12px; }
.price { font-family: var(--serif); font-size: 34px; font-weight: 600; }

/* Mission band */
.mission { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.25; max-width: 900px; margin: 0 auto; }
.btn-on-violet { border-color: #fff; color: #fff; margin-top: 32px; }
.btn-on-violet:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }

/* Three-up text */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px; margin-top: 36px; }
.grid-3 h3 { font-weight: 600; font-size: 22px; color: var(--canopy); }
.grid-3 p { margin-top: 10px; }
.section-dark .label { font-family: var(--label); font-weight: 500; font-size: 12px; letter-spacing: 4px; color: var(--wheat); }
.section-dark .grid-3 p { color: var(--field); }

.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.card h3 { font-weight: 600; font-size: 20px; color: var(--night); }
.card p { font-size: 15px; margin-top: 8px; }

/* Forms */
.form-row { display: flex; flex-wrap: wrap; gap: 16px; }
.field { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select { font: inherit; font-size: 16px; padding: 13px 15px; border: 1.5px solid var(--night); border-radius: 10px; background: var(--page); color: var(--night); }
.preorder { margin-top: 32px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.preorder h3 { font-weight: 600; font-size: 24px; }
.small { font-size: 14px; line-height: 1.55; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: var(--canopy); }
.form-status.err { color: #A3341F; }
.join .field input { background: #fff; }

/* About */
.story { max-width: 760px; margin: 0 auto; }
.story p { font-size: 17px; line-height: 1.7; margin-top: 16px; }
.story .closing { font-family: var(--serif); font-weight: 300; font-size: 24px; line-height: 1.4; margin-top: 28px; }
.founder { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.founder-photo { border-radius: 18px; margin-bottom: 24px; max-width: 360px; }
.signature { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--violet); margin-top: 20px; }

/* Footer */
.site-footer { background: var(--night); color: var(--field); }
.footer-top { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; padding-top: 40px; padding-bottom: 40px; font-size: 14px; }
.footer-top a { color: var(--field); padding: 8px 0; }
.footer-top a:hover { color: var(--lantern); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.footer-brand img { width: 40px; height: 40px; }
.footer-brand b { font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1; color: var(--page); }
.footer-brand .amp { color: var(--lantern); }
.footer-brand small { font-family: var(--label); font-weight: 500; font-size: 9px; letter-spacing: 6px; color: var(--new-leaf); margin-top: 5px; }
.footer-bottom { border-top: 1px solid #1F4048; }
.footer-bottom .wrap { padding-top: 18px; padding-bottom: 18px; font-size: 13px; color: #CBD6CB; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
