/* Brand display font (only one weight; the range stops browsers faking bold) */
@font-face {
  font-family: "Kidkie Cut Out";
  src: url("/assets/fonts/kidkie-cutout.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* Brand tokens, from design/ (illustration palette: blue, black, warm paper) */
:root {
  --ink: #111111;
  --ink-soft: #4a4a48;
  --bg: #e8e6df;
  --surface: #f7f6f2;
  --alt: #a2bdfb;
  --primary: #111111;
  --accent: #a2bdfb;
  --radius: 22px;
  --shadow: 6px 6px 0 var(--ink);
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Kidkie Cut Out", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
h1, h2, h3 { font-family: var(--font-display); text-transform: uppercase; line-height: 1.1; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.6rem; }

.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); }
.muted { color: var(--ink-soft); }
.lead { font-size: 1.25rem; color: var(--ink-soft); max-width: 40ch; }

/* Header */
.site-header { padding: 18px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.logo img { width: 34px; mix-blend-mode: multiply; }
nav { display: flex; gap: 6px; flex-wrap: wrap; }
nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 6px 14px; border-radius: 999px; }
nav a:hover, nav a[aria-current="page"] { background: var(--accent); }
.lang-switch { border: 2px solid var(--ink); }

/* Buttons */
.button {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  background: var(--primary); color: #fff; font: inherit; font-weight: 700;
  text-decoration: none; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.button:hover { transform: translate(-2px, -2px) rotate(-1deg); box-shadow: 6px 6px 0 var(--ink); }
.button.ghost { background: var(--surface); color: var(--ink); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* Sections */
.hero { padding: 48px 0 72px; }
.hero-inner { display: grid; gap: 32px; align-items: center; grid-template-columns: 1.1fr 1fr; }
.page-head { padding: 40px 0 16px; }
.section { padding: 64px 0; }
.section.alt { background: var(--alt); border-radius: 48px; width: min(1180px, 100% - 24px); margin-inline: auto; }
.split { display: grid; gap: 32px; align-items: center; grid-template-columns: 1fr 1fr; }

.cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--surface); padding: 28px; border-radius: var(--radius);
  border: 3px solid var(--ink); box-shadow: var(--shadow); transition: transform .2s;
}
.card:nth-child(3n+1):hover { transform: rotate(-1.5deg); }
.card:nth-child(3n+2):hover { transform: rotate(1.5deg); }
.card:nth-child(3n):hover { transform: rotate(-1deg); }
.card .illustration { width: 96px; margin-bottom: 12px; }
.card ul { padding-left: 1.2em; margin: 0; }
.card li::marker { color: var(--ink); }

.arrow-link { font-weight: 700; color: var(--ink); }
.section.alt { border: 3px solid var(--ink); }

.hero-art { justify-self: center; width: min(400px, 100%); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); transform: rotate(1.5deg); }

/* Products */
.product { display: grid; gap: 24px; grid-template-columns: auto 1fr; align-items: center; }
.product-badge { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 2.4rem; line-height: 1; min-width: 84px; text-align: center; background: var(--accent); border: 3px solid var(--ink); border-radius: 18px; padding: 22px; transform: rotate(-3deg); box-shadow: 4px 4px 0 var(--ink); }
.product .tag { display: inline-block; font-size: .85rem; font-weight: 700; border: 2px solid var(--ink); border-radius: 999px; padding: 2px 10px; margin-bottom: 8px; }
.product h3 { margin-bottom: .3em; }
.product p { margin: 0 0 12px; }
.product-image { width: 84px; border: 3px solid var(--ink); border-radius: 10px; transform: rotate(3deg); box-shadow: 4px 4px 0 var(--ink); }
@media (max-width: 560px) { .product { grid-template-columns: 1fr; } .product-badge { justify-self: start; } }

.cta { padding: 72px 0; text-align: center; }
.cta .wrap {
  background: var(--accent); border: 3px solid var(--ink); border-radius: 36px;
  box-shadow: var(--shadow); padding: 48px 24px;
}
.cta p { margin: 0 0 24px; }

/* Contact form */
.contact-form { display: grid; gap: 18px; margin-bottom: 24px; }
.contact-form label { display: grid; gap: 6px; font-weight: 700; }
.contact-form input, .contact-form textarea {
  font: inherit; padding: 12px 16px; border-radius: 14px;
  border: 3px solid var(--ink); background: var(--surface); color: var(--ink);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid var(--accent); outline-offset: 2px; }
.contact-form .button { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: 14px; border: 3px solid var(--ink); font-weight: 600; }
.notice-ok { background: var(--accent); }
.notice-invalid, .notice-error { background: #f6c9b8; }

/* Footer */
.site-footer { padding: 40px 0; margin-top: 32px; border-top: 3px dashed var(--ink); font-size: .95rem; }
.footer-inner { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer a { color: var(--ink); }

@media (max-width: 760px) {
  .hero-inner, .split { grid-template-columns: 1fr; }
  .section.alt { border-radius: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
