/* Panicked Parent Press: main site styles. Mobile first. Fonts are self-hosted (no third-party requests). */
@font-face{font-family:"Fredoka";font-weight:600;font-style:normal;font-display:swap;src:url(/assets/fonts/fredoka-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Fredoka";font-weight:700;font-style:normal;font-display:swap;src:url(/assets/fonts/fredoka-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Nunito";font-weight:400;font-style:normal;font-display:swap;src:url(/assets/fonts/nunito-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Nunito";font-weight:700;font-style:normal;font-display:swap;src:url(/assets/fonts/nunito-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Nunito";font-weight:800;font-style:normal;font-display:swap;src:url(/assets/fonts/nunito-latin-800-normal.woff2) format("woff2")}

:root{
  --bg:#FFF8E7;--surface:#FFFFFF;--surface2:#FFF0C7;--ink:#111E46;--muted:#4A557A;--line:#E8DDB8;
  --yellow:#FCC00F;--yellow-ink:#111E46;--coral:#E4452F;--teal:#0E8F80;--link:#0B4FB0;
  --hdr:#FFF8E7;--ftr:#111E46;--ftr-ink:#FFF8E7;--ftr-muted:#C9CFE6;--focus:#0B4FB0;
  --shadow:0 2px 0 rgba(17,30,70,.10),0 8px 24px rgba(17,30,70,.08);
  --display:"Fredoka","Trebuchet MS",system-ui,sans-serif;--body:"Nunito",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  color-scheme:light}
@media (prefers-color-scheme:dark){:root{
  --bg:#0E1530;--surface:#17214A;--surface2:#1E2A5C;--ink:#FFF4D6;--muted:#BDC5E4;--line:#2E3A70;
  --yellow:#FCC00F;--yellow-ink:#111E46;--coral:#FF7A66;--teal:#4FD9C7;--link:#8FBBFF;
  --hdr:#0E1530;--ftr:#080D20;--ftr-ink:#FFF4D6;--ftr-muted:#AEB7DA;--focus:#FFFFFF;
  --shadow:0 2px 0 rgba(0,0,0,.35),0 8px 24px rgba(0,0,0,.25);color-scheme:dark}}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:400 18px/1.6 var(--body);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{color:var(--link)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:6px}
h1,h2,h3{font-family:var(--display);font-weight:700;line-height:1.12;margin:0 0 .4em;letter-spacing:.005em}
h1{font-size:clamp(34px,8vw,56px)}
h2{font-size:clamp(26px,5vw,36px)}
h3{font-size:22px}
p{margin:0 0 1em}
.wrap{width:100%;max-width:1040px;margin:0 auto;padding:0 18px}
.narrow{max-width:720px}
.skip{position:absolute;left:-999px;top:8px;background:var(--yellow);color:var(--yellow-ink);padding:10px 14px;border-radius:8px;font-weight:800;z-index:10}
.skip:focus{left:8px}

/* header */
.site-h{background:var(--hdr);border-bottom:4px solid var(--yellow)}
.site-h .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;padding-top:10px;padding-bottom:8px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);min-height:48px}
.brand img{width:44px;height:44px;border-radius:50%;flex:none}
.brand span{font-family:var(--display);font-weight:700;font-size:21px;line-height:1.05}
.nav{display:flex;flex-wrap:wrap;gap:2px 6px;margin-left:auto}
.nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;border-radius:999px;color:var(--ink);text-decoration:none;font-weight:800;font-size:16px}
.nav a:hover{background:var(--surface2)}
.nav a[aria-current=page]{background:var(--yellow);color:var(--yellow-ink)}
@media (max-width:640px){.nav{margin-left:0;width:100%;justify-content:flex-start}.nav a{padding:0 10px}}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 24px;border-radius:999px;font:800 17px/1 var(--body);text-decoration:none;border:3px solid var(--ink);background:var(--surface);color:var(--ink);cursor:pointer;box-shadow:0 3px 0 var(--ink)}
.btn:active{transform:translateY(2px);box-shadow:0 1px 0 var(--ink)}
.btn.primary{background:var(--yellow);color:var(--yellow-ink);border-color:var(--yellow-ink)}
.btn.small{min-height:44px;padding:0 18px;font-size:16px}
@media (prefers-color-scheme:dark){.btn{border-color:var(--ink);box-shadow:0 3px 0 rgba(0,0,0,.5)}.btn.primary{border-color:#FFF4D6}}
.btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}

/* hero */
.hero{padding:30px 0 10px}
.hero .wrap{display:grid;gap:18px;align-items:center}
.hero-art{justify-self:center;width:min(300px,80vw)}
.hero .lead{font-size:21px;color:var(--muted);max-width:30em}
@media (min-width:760px){.hero{padding:52px 0 26px}.hero .wrap{grid-template-columns:1.25fr .75fr;gap:40px}.hero-art{width:min(440px,100%);order:2}}
.kicker{font-family:var(--display);font-weight:600;letter-spacing:.06em;text-transform:uppercase;font-size:15px;color:var(--coral);margin:0 0 8px}

/* sections and cards */
section{padding:26px 0}
.section-t{margin-bottom:14px}
.cards{display:grid;gap:18px}
@media (min-width:760px){.cards.two{grid-template-columns:1fr 1fr}}
.card{background:var(--surface);border:3px solid var(--ink);border-radius:22px;padding:20px;box-shadow:var(--shadow);display:flex;flex-direction:column}
.card h3{margin-top:2px}
.card .tag{align-self:flex-start;font-family:var(--display);font-weight:600;font-size:14px;letter-spacing:.05em;text-transform:uppercase;background:var(--yellow);color:var(--yellow-ink);border-radius:999px;padding:2px 12px;margin-bottom:10px}
.card .btns{margin-top:auto;padding-top:12px}
.card p.sub{color:var(--muted);margin-top:-2px;font-weight:700}
.covers{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:6px 0 14px}
.covers img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.25)}
.one-cover{display:flex;gap:16px;align-items:flex-start;margin:6px 0 14px}
.one-cover img{width:42%;max-width:190px;border-radius:8px;box-shadow:0 3px 12px rgba(0,0,0,.3);flex:none}
.band{background:var(--surface2)}
.about-teaser{display:grid;gap:14px}

/* book rows */
.book-row{display:grid;grid-template-columns:110px 1fr;gap:16px;padding:18px 0;border-top:2px dashed var(--line);align-items:start}
.book-row:first-of-type{border-top:0}
.book-row img{width:100%;border-radius:6px;box-shadow:0 2px 10px rgba(0,0,0,.28)}
.book-row h3{margin-bottom:2px}
.book-row .btns{margin-top:10px}
@media (min-width:640px){.book-row{grid-template-columns:150px 1fr;gap:24px}}

/* book page */
.book-page{display:grid;gap:22px;padding:28px 0}
.book-page .cover-big{justify-self:center;width:min(330px,80%);border-radius:10px;box-shadow:0 6px 24px rgba(0,0,0,.35)}
@media (min-width:760px){.book-page{grid-template-columns:.8fr 1.2fr;gap:44px}.book-page .cover-big{width:100%;justify-self:start}}
ul.tick{list-style:none;padding:0;margin:0 0 1em}
ul.tick li{position:relative;padding-left:34px;margin:0 0 .55em}
ul.tick li::before{content:"";position:absolute;left:2px;top:.28em;width:20px;height:20px;border-radius:50%;background:var(--yellow);border:3px solid var(--ink)}
dl.facts{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;margin:0 0 1em;padding:14px 16px;background:var(--surface);border:3px solid var(--ink);border-radius:16px}
dl.facts dt{font-weight:800}
dl.facts dd{margin:0}
.callout{background:var(--surface2);border-left:8px solid var(--yellow);border-radius:12px;padding:14px 16px;margin:0 0 1.2em}

/* prose pages */
.prose{padding:28px 0 40px}
.prose h2{margin-top:1.4em;font-size:28px}
.prose h3{margin-top:1.2em;font-size:21px}
.prose ul{padding-left:22px}
.prose li{margin-bottom:.4em}
.updated{color:var(--muted);font-weight:700}
.about-art{display:block;margin:22px auto;width:min(360px,80%)}

/* form */
form.contact{display:grid;gap:16px;margin-top:10px}
.field label{display:block;font-weight:800;margin-bottom:6px}
.field .hint{font-weight:400;color:var(--muted);font-size:15px}
input[type=text],input[type=email],select,textarea{width:100%;min-height:50px;padding:10px 14px;font:400 18px/1.4 var(--body);color:var(--ink);background:var(--surface);border:3px solid var(--ink);border-radius:14px}
textarea{min-height:170px;resize:vertical}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.status{padding:14px 16px;border-radius:14px;font-weight:700;border:3px solid var(--ink)}
.status.ok{background:#DDF5E4;color:#0F3D22}
.status.err{background:#FFE1DC;color:#5A1308}
@media (prefers-color-scheme:dark){.status.ok{background:#12402A;color:#D6F5E0}.status.err{background:#4A1A12;color:#FFD9D2}}
.small-print{font-size:15px;color:var(--muted)}

/* footer */
.site-f{background:var(--ftr);color:var(--ftr-ink);margin-top:30px;padding:28px 0 34px}
.site-f a{color:var(--ftr-ink)}
.site-f .cols{display:grid;gap:18px}
.site-f ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 18px}
.site-f li a{display:inline-flex;min-height:44px;align-items:center;font-weight:800}
.site-f p{color:var(--ftr-muted);font-size:15px;margin:0}
.site-f .fb{display:flex;align-items:center;gap:10px;font-family:var(--display);font-weight:700;font-size:20px}
.site-f .fb img{width:40px;height:40px;border-radius:50%}
@media (min-width:760px){.site-f .cols{grid-template-columns:1fr auto;align-items:center}}
@media (prefers-color-scheme:dark){.hero-art,.about-art{background:#FFF8E7;border-radius:36px;padding:14px;box-sizing:border-box}}
@media print{.site-h,.site-f,.btns{display:none}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
