/* Zibuni – site styles. Colours come from the logo: crayon rainbow on sky blue, dark-brown outlines. */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("/static/fonts/nunito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("/static/fonts/nunito-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --sky: #d7edfb; --sky-2: #eef7fd; --paper: #fff; --cream: #fff8ec;
  --ink: #3b2314; --ink-2: #6b4a33; --muted: #8a7363; --line: #e6dccf;
  --bear: #e6a34a;
  --red: #e54b3c; --orange: #f39220; --yellow: #f3bb1c; --green: #4fae4f; --blue: #35a3e3; --purple: #8f5fd2;
  --amazon: #ff9900; --pinterest: #e60023; --whatsapp: #25d366;
  --r: 22px; --r-s: 14px;
  --shadow: 0 10px 30px rgba(59, 35, 20, .10);
  --outline: 3px solid var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 17px; line-height: 1.55;
  color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .4em; font-weight: 900; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; z-index: 99; }
.skip:focus { left: 8px; }

/* rainbow letters like the wordmark */
.c-red { color: var(--red); } .c-orange { color: var(--orange); } .c-yellow { color: var(--yellow); }
.c-green { color: var(--green); } .c-blue { color: var(--blue); } .c-purple { color: var(--purple); }
.c-bg-red { background: var(--red); } .c-bg-green { background: var(--green); } .c-bg-blue { background: var(--blue); }
.rainbow { white-space: nowrap; -webkit-text-stroke: .055em var(--ink); paint-order: stroke fill;
  text-shadow: 0 .06em 0 var(--ink); letter-spacing: .01em; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--line); }
.bar { display: flex; align-items: center; gap: 12px 20px; min-height: 68px; flex-wrap: wrap; padding: 6px 0; }
.logo img { width: 123px; height: auto; }
.nav { display: flex; gap: 4px 18px; flex-wrap: wrap; margin-inline: auto 0; font-weight: 800; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 2px; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-color: var(--red); }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 800;
  padding: 6px 12px; border: 2px solid var(--line); border-radius: 999px; background: #fff; }
.lang summary::-webkit-details-marker { display: none; }
.lang[open] summary { border-color: var(--ink); }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff;
  border: var(--outline); border-radius: var(--r-s); box-shadow: var(--shadow); min-width: 160px; }
.lang li a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 700; }
.lang li a:hover { background: var(--sky-2); }
.lang li a[aria-current] { background: var(--sky); }
@media (max-width: 640px) {
  .bar { gap: 8px 12px; }
  .nav { order: 3; width: 100%; justify-content: center; gap: 4px 14px; font-size: .95rem; padding-bottom: 4px; }
  .lang { margin-left: auto; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 999px;
  font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; border: var(--outline); color: var(--ink);
  background: #fff; box-shadow: 0 4px 0 var(--ink); transition: transform .1s, box-shadow .1s; line-height: 1.2; }
.btn:hover { color: var(--ink); transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: none; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { color: #fff; }
.btn-amazon { background: var(--amazon); }
.btn-ghost { background: #fff; }
.btn-big { padding: 14px 26px; font-size: 1.1rem; }
.btn-small { padding: 6px 14px; font-size: .9rem; box-shadow: 0 3px 0 var(--ink); }
.btn-pinterest { background: var(--pinterest); color: #fff; } .btn-pinterest:hover { color: #fff; }
.btn-whatsapp { background: var(--whatsapp); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2em 0; }
.actions.center { justify-content: center; }

/* chips and badges */
.chip { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .85rem; font-weight: 800; background: var(--sky);
  color: var(--ink); border: 2px solid transparent; }
.chip-christmas { background: #fde0dc; } .chip-advent { background: #fff0c9; } .chip-animals { background: #dcf3dc; } .chip-winter { background: var(--sky); }
.chip-lang { background: #fff; border-color: var(--line); color: var(--ink-2); }
.alt-live { background: var(--sky-2); border: var(--outline); border-radius: var(--r-s); padding: 14px 18px 4px; margin-top: 1em; }
.chip-filter { cursor: pointer; font: inherit; font-size: .95rem; font-weight: 800; padding: 7px 16px; border-color: var(--line); background: #fff; }
.chip-filter.is-active { border-color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .85rem; font-weight: 900; }
.badge-soon { background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); }
.card-img .badge { position: absolute; top: 12px; left: 12px; transform: rotate(-4deg); }
.badge-inline { padding: 10px 18px; font-size: 1rem; }
.kicker { font-weight: 900; color: var(--red); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin-bottom: .4em; }
.hint { color: var(--muted); font-size: .95rem; }
.meta { color: var(--muted); font-size: .95rem; margin: 0 0 .6em; }

/* hero */
.hero { background: var(--sky);
  background-image: radial-gradient(circle at 12% 20%, rgba(255, 255, 255, .7) 0 60px, transparent 61px),
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .6) 0 40px, transparent 41px),
    radial-gradient(circle at 70% 90%, rgba(255, 255, 255, .5) 0 80px, transparent 81px); }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center; padding: 40px 0 0; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: .3em; }
.lead { font-size: 1.15rem; max-width: 36rem; }
.hero-art img { width: min(100%, 420px); margin-inline: auto; }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; padding-top: 24px; }
  .hero-art img { width: min(70%, 300px); }
  .hero .actions { justify-content: center; }
  .lead { margin-inline: auto; }
}

/* featured */
.featured { margin-top: -1px; padding: 32px 0 8px; background: linear-gradient(var(--sky), var(--paper) 60%); }
.featured-box { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: center; background: #fff; border: var(--outline);
  border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
.featured-cover img { border-radius: 10px; box-shadow: var(--shadow); transform: rotate(-3deg); width: 260px; }
.featured h2 a { color: var(--ink); text-decoration: none; }
.tagline { font-weight: 800; color: var(--ink-2); font-size: 1.1rem; }
@media (max-width: 700px) {
  .featured-box { grid-template-columns: 1fr; text-align: center; padding: 22px; }
  .featured-cover img { width: 200px; margin-inline: auto; }
  .featured .actions { justify-content: center; }
}

/* sections and grids */
.section { padding: 48px 0; }
.section-sky { background: var(--sky-2); }
.section-title { position: relative; display: inline-block; margin-bottom: .6em; }
.section-title::after { content: ""; display: block; height: 8px; margin-top: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow), var(--green), var(--blue), var(--purple)); }
.section-intro { max-width: 46rem; margin-bottom: 1.6em; }
.grid { display: grid; gap: 24px; }
.grid-books { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.grid-prints { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.grid-why { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border: var(--outline); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 6px 0 var(--ink); transition: transform .15s; }
.card:hover { transform: translateY(-3px); }
.card-img { display: block; position: relative; background: var(--sky-2); }
.card-img img { width: 100%; aspect-ratio: 400 / 565; object-fit: cover; }
.print-card .card-img { padding: 10px; background: var(--cream); }
.print-card .card-img img { aspect-ratio: 3 / 4; background: #fff; border: 1px solid var(--line); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-body h3 a { color: var(--ink); text-decoration: none; }
.card-body h3 a:hover { color: var(--red); }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.card-actions .btn { padding: 8px 14px; font-size: .9rem; box-shadow: 0 3px 0 var(--ink); }
.is-soon .card-img img { filter: saturate(.85); }
.why { background: #fff; border: var(--outline); border-radius: var(--r); padding: 22px 22px 16px; box-shadow: 0 6px 0 var(--ink); }
.why-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-weight: 900;
  font-size: 1.2rem; border: var(--outline); margin-bottom: 10px; }
.why p { margin: 0; }
.paper { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.samples { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.samples .paper { padding: 6px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); }

/* book page */
.book-hero { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: 40px; align-items: start; }
.book-cover img { border-radius: 10px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.book-info h1 { margin-top: .4em; }
.subtitle { font-size: 1.15rem; color: var(--ink-2); font-weight: 700; }
.specs { list-style: none; padding: 0; margin: 0 0 .5em; display: flex; flex-wrap: wrap; gap: 8px; }
.specs li { background: var(--sky-2); border: 2px solid var(--sky); border-radius: 999px; padding: 4px 14px; font-weight: 700; font-size: .95rem; }
.soon-text { background: var(--cream); border: 2px dashed var(--bear); border-radius: var(--r-s); padding: 12px 16px; }
.also { color: var(--muted); }
@media (max-width: 760px) {
  .book-hero { grid-template-columns: 1fr; }
  .book-cover img { width: min(100%, 320px); margin-inline: auto; }
}

/* printable page */
.print-hero { display: grid; grid-template-columns: minmax(260px, 460px) 1fr; gap: 40px; align-items: start; }
.print-preview { padding: 12px; }
.print-info h1 { margin-top: .4em; }
.share { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1.5em; }
.book-box { display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: center; background: var(--sky-2); border: var(--outline);
  border-radius: var(--r); padding: 18px; }
.book-box img { border-radius: 6px; box-shadow: var(--shadow); }
.book-box h2 { font-size: 1.2rem; }
.book-box h2 a { color: var(--ink); text-decoration: none; }
.book-box .actions { margin: .6em 0 0; gap: 8px; }
.book-box .btn { padding: 8px 14px; font-size: .9rem; box-shadow: 0 3px 0 var(--ink); }
@media (max-width: 760px) {
  .print-hero { grid-template-columns: 1fr; }
  .book-box { grid-template-columns: 80px 1fr; }
}
@media (max-width: 420px) { .book-box { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* about, legal */
.about { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.about-art img { width: min(100%, 300px); }
.about-text p { font-size: 1.05rem; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about-art img { width: 200px; margin-inline: auto; } }
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.3rem; margin-top: 1.4em; }

/* footer */
.site-footer { background: var(--ink); color: #f4e9dc; padding: 40px 0 28px; margin-top: 24px; }
.foot { display: grid; gap: 20px; }
.foot a { color: #fff; }
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-brand img { width: 64px; }
.foot-nav, .foot-lang, .foot-social { display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 700; }
.foot-lang a[aria-current], .foot-social span, .foot-lang span { color: #c9b39f; }
.foot-copy { margin: 0; color: #c9b39f; font-size: .9rem; }

/* root / 404 */
body.root { background: var(--sky); min-height: 100vh; display: grid; place-items: center; }
body.root main { padding: 40px 0; }
body.root img { margin: 0 auto 24px; }
.lang-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

[hidden] { display: none !important; }
