/* ============================================================
   CutePuns — design system
   Playful "sticker" aesthetic: thick ink borders, hard shadows,
   rounded corners, pastel palette.
   ============================================================ */

:root {
  --cream: #fff7e9;
  --cream-2: #ffeed3;
  --ink: #241b3a;
  --ink-2: #4a3f66;
  --blush: #ff5d8f;
  --blush-2: #ffb3c9;
  --sunny: #ffc531;
  --lav: #a78bfa;
  --mint: #5be0b8;
  --ocean: #7ed4fc;
  --peach: #ffad8a;
  --font-display: "Fredoka", ui-rounded, sans-serif;
  --font-body: "Nunito", ui-rounded, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { color: var(--blush); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
::selection { background: var(--sunny); color: var(--ink); }

.cp-wrap { max-width: 1152px; margin-inline: auto; padding-inline: 20px; }
.cp-center { text-align: center; }
.cp-muted { color: var(--ink-2); }

/* ---------- sticker system ---------- */
.cp-sticker { border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); background: #fff; }
.cp-sticker-sm { border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.cp-hover { transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s cubic-bezier(.34,1.56,.64,1); }
.cp-hover:hover { transform: translate(-3px,-3px); box-shadow: 8px 8px 0 var(--ink); }
a.cp-hover:hover { text-decoration: none; }

.cp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
  padding: 12px 26px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s cubic-bezier(.34,1.56,.64,1);
  background: #fff; color: var(--ink); text-decoration: none !important;
}
.cp-btn:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }
.cp-btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.cp-btn-pink { background: var(--blush); color: #fff; }
.cp-btn-sunny { background: var(--sunny); color: var(--ink); }
.cp-btn-dark { background: var(--ink); color: var(--cream); }
.cp-btn-white { background: #fff; color: var(--ink); }
.cp-btn-sm { padding: 8px 18px; font-size: 15px; }
.cp-btn[disabled] { opacity: .6; cursor: wait; }

.cp-squiggle {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='9' viewBox='0 0 42 9'%3E%3Cpath d='M1 5 Q 6.25 1 11.5 5 T 22 5 T 32.5 5 T 43 5' fill='none' stroke='%23FF5D8F' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-position: 0 100%; background-size: 42px 8px; padding-bottom: 8px;
}
.cp-marker { background-image: linear-gradient(to top, var(--sunny) 0 42%, transparent 42%); padding: 0 .12em; border-radius: .2em; }
.cp-marker-pink { background-image: linear-gradient(to top, var(--blush-2) 0 42%, transparent 42%); padding: 0 .12em; border-radius: .2em; }
.cp-eyebrow {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: .25em; text-transform: uppercase; color: var(--blush);
}

/* ---------- header ---------- */
.cp-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,247,233,.92); backdrop-filter: blur(10px);
  border-bottom: 2px solid transparent; transition: border-color .2s;
}
body.admin-bar .cp-header { top: 32px; }
.cp-header.cp-scrolled { border-bottom-color: var(--ink); }
.cp-header-in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.cp-logo { display: flex; align-items: center; gap: 10px; color: var(--ink) !important; font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.cp-logo:hover { text-decoration: none; }
.cp-logo-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 12px;
  background: var(--blush); color: #fff;
  border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
}
.cp-logo .cp-accent { color: var(--blush); }
.cp-logo small { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.cp-logo img { max-height: 40px; width: auto; }

.cp-nav { display: flex; align-items: center; gap: 4px; }
.cp-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.cp-nav a {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  color: var(--ink-2); text-decoration: none !important;
}
.cp-nav a:hover, .cp-nav .current-menu-item > a, .cp-nav .current_page_item > a { background: var(--ink); color: var(--cream); }
.cp-nav .cp-nav-cta { margin-left: 12px; }
.cp-nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 12px; background: #fff;
  border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); cursor: pointer;
  align-items: center; justify-content: center; color: var(--ink);
}

/* ---------- hero ---------- */
.cp-hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.cp-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.cp-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 14px; background: #fff;
  padding: 6px 16px; border-radius: 999px;
  border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
}
.cp-hero h1 { font-size: clamp(42px, 6vw, 74px); margin: 22px 0 18px; }
.cp-hero-lead { font-size: 19px; color: var(--ink-2); max-width: 560px; }
.cp-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.cp-hero-stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 44px; }
.cp-hero-stats b { display: block; font-family: var(--font-display); font-size: 38px; line-height: 1; }
.cp-hero-stats span { font-size: 14px; font-weight: 800; color: var(--ink-2); }
.cp-hero-art { position: relative; max-width: 420px; margin-inline: auto; }
.cp-hero-frame { overflow: hidden; border-radius: 40px; transform: rotate(2deg); background: var(--cream-2); }
.cp-float-card {
  position: absolute; max-width: 220px; background: #fff; border-radius: 18px;
  padding: 12px 16px; font-family: var(--font-display); font-weight: 600; font-size: 14px; line-height: 1.4;
  border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  animation: cp-floaty 5.5s ease-in-out infinite;
}
.cp-float-card svg { color: var(--blush-2); }
.cp-float-1 { top: -14px; left: -34px; --rot: -6deg; animation-delay: .5s; }
.cp-float-2 { bottom: -18px; right: -26px; --rot: 4deg; animation-delay: 1.4s; }
.cp-hero-star { position: absolute; top: -26px; right: -26px; color: var(--sunny); animation: cp-spin 14s linear infinite; }

@keyframes cp-floaty { 0%,100% { transform: translateY(0) rotate(var(--rot,0deg)); } 50% { transform: translateY(-14px) rotate(var(--rot,0deg)); } }
@keyframes cp-spin { to { transform: rotate(360deg); } }
@keyframes cp-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- marquee ---------- */
.cp-marquee { overflow: hidden; border-block: 2px solid var(--ink); padding: 14px 0; }
.cp-marquee-track { display: flex; width: max-content; gap: 40px; animation: cp-marquee 30s linear infinite; }
.cp-marquee-track span { display: flex; align-items: center; gap: 40px; flex-shrink: 0; font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.cp-marquee-pink { background: var(--blush); color: #fff; transform: rotate(-1deg); }
.cp-marquee-sunny { background: var(--sunny); color: var(--ink); transform: rotate(.6deg); margin-top: -2px; }
.cp-marquee-rev .cp-marquee-track { animation-direction: reverse; }

/* ---------- sections ---------- */
.cp-section { padding: 84px 0; }
.cp-section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.cp-section-head h2 { font-size: clamp(34px, 4.6vw, 52px); }
.cp-section-head p { color: var(--ink-2); font-size: 18px; }

/* ---------- pun machine ---------- */
.cp-machine {
  max-width: 760px; margin-inline: auto;
  border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  border-radius: 32px; background: #fff; padding: 32px; position: relative;
}
.cp-machine-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-machine-pill {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  padding: 5px 14px; border-radius: 999px; border: 2px solid var(--ink);
  background: #fff; color: var(--ink); cursor: pointer; transition: background .15s;
}
.cp-machine-pill:hover { background: var(--cream-2); }
.cp-machine-pill.is-active { background: var(--ink); color: var(--cream); box-shadow: 3px 3px 0 var(--blush-2); }
.cp-machine-stage {
  margin-top: 28px; min-height: 190px; display: flex; align-items: center; justify-content: center;
  border: 2px dashed rgba(36,27,58,.22); border-radius: 20px; background: var(--cream);
  background-image: radial-gradient(rgba(36,27,58,.14) 1.4px, transparent 1.4px); background-size: 22px 22px;
  padding: 32px 24px;
}
.cp-machine-text {
  margin: 0; text-align: center;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(22px, 3.4vw, 30px); line-height: 1.3; text-wrap: balance;
  transition: opacity .25s, transform .25s;
}
.cp-machine-text.cp-swap { opacity: 0; transform: translateY(-12px); }
.cp-machine-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 24px; }
.cp-machine-counter { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.cp-machine-btns { display: flex; gap: 10px; }

/* ---------- category cards ---------- */
.cp-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cp-cat-card { display: flex; flex-direction: column; height: 100%; border-radius: 28px; padding: 26px; color: var(--ink); }
.cp-cat-card h3 { font-size: 24px; margin: 18px 0 6px; }
.cp-cat-card:hover h3 { color: var(--blush); }
.cp-cat-card p { flex: 1; font-size: 14.5px; color: var(--ink-2); margin-bottom: 18px; }
.cp-cat-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 16px; border: 2px solid var(--ink);
}
.cp-cat-meta { display: flex; align-items: center; justify-content: space-between; border-top: 2px dashed rgba(36,27,58,.12); padding-top: 12px; font-size: 14px; font-weight: 800; color: var(--ink-2); }
.cp-chip-mint { background: rgba(91,224,184,.7); }
.cp-chip-peach { background: rgba(255,173,138,.7); }
.cp-chip-pink { background: rgba(255,179,201,.8); }
.cp-chip-lav { background: rgba(167,139,250,.5); }
.cp-chip-sunny { background: rgba(255,197,49,.7); }
.cp-chip-ocean { background: rgba(126,212,252,.6); }

/* ---------- post cards ---------- */
.cp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cp-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; color: var(--ink); }
.cp-card-cover {
  position: relative; height: 130px; display: flex; align-items: center; justify-content: center;
  border-bottom: 2px solid var(--ink);
  background-image: radial-gradient(rgba(36,27,58,.12) 1.2px, transparent 1.2px); background-size: 22px 22px;
}
.cp-card-cover > svg { width: 46px; height: 46px; color: rgba(36,27,58,.25); }
.cp-card-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cp-cover-pink { background: linear-gradient(135deg, #ffb3c9, #ffe9f0); }
.cp-cover-yellow { background: linear-gradient(135deg, #ffc531, #ffefc0); }
.cp-cover-lav { background: linear-gradient(135deg, #a78bfa, #e9e2ff); }
.cp-cover-mint { background: linear-gradient(135deg, #5be0b8, #d6faec); }
.cp-cover-ocean { background: linear-gradient(135deg, #7ed4fc, #dff5ff); }
.cp-cover-peach { background: linear-gradient(135deg, #ffad8a, #ffe6d6); }
.cp-card-tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; border: 2px solid var(--ink);
}
.cp-card-count {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 900; padding: 3px 10px; border-radius: 999px;
  border: 2px solid var(--ink); background: #fff;
}
.cp-card-count svg { color: var(--blush); }
.cp-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.cp-card-body h3 { font-size: 21px; margin-bottom: 8px; }
.cp-card:hover .cp-card-body h3 { color: var(--blush); }
.cp-card-body p { flex: 1; font-size: 14.5px; color: var(--ink-2); margin-bottom: 16px; }
.cp-card-foot { display: flex; align-items: center; justify-content: space-between; border-top: 2px dashed rgba(36,27,58,.12); padding-top: 12px; font-size: 12.5px; font-weight: 800; color: var(--ink-2); }
.cp-card-foot svg { color: var(--blush); vertical-align: -3px; }
.cp-card-foot a { color: inherit; }
.cp-tilt-neg { transform: rotate(-1deg); }
.cp-tilt-pos { transform: rotate(1deg); }

.cp-more-wrap { text-align: center; margin-top: 48px; }
.cp-more-note { margin-top: 12px; font-size: 14px; font-weight: 800; color: var(--ink-2); }

.cp-empty { max-width: 520px; margin-inline: auto; text-align: center; border-radius: 28px; padding: 40px; }

/* ---------- feature cards / why ---------- */
.cp-why { background: var(--ink); color: var(--cream); border-block: 2px solid var(--ink); }
.cp-why .cp-section-head h2 { color: var(--cream); }
.cp-why .cp-eyebrow { color: var(--sunny); }
.cp-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cp-why-card { border: 2px solid rgba(255,247,233,.2); border-radius: 28px; padding: 28px; background: rgba(255,247,233,.05); transition: border-color .2s; }
.cp-why-card:hover { border-color: rgba(255,197,49,.6); }
.cp-why-card h3 { font-size: 24px; margin: 18px 0 8px; }
.cp-why-card p { color: rgba(255,247,233,.7); margin: 0; }
.cp-why-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; border: 2px solid var(--cream); color: var(--ink); }

/* ---------- CTA ---------- */
.cp-cta {
  position: relative; overflow: hidden; text-align: center;
  border-radius: 40px; border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  background: var(--blush); color: #fff; padding: 64px 32px;
}
.cp-cta h2 { font-size: clamp(32px, 4.6vw, 50px); color: #fff; }
.cp-cta p { max-width: 520px; margin-inline: auto; color: rgba(255,255,255,.88); font-size: 18px; }
.cp-cta .cp-hero-ctas { justify-content: center; }
.cp-cta .cp-btn-white, .cp-cta .cp-btn-sunny { color: var(--ink); }
.cp-cta-deco { position: absolute; pointer-events: none; }
.cp-cta-deco-1 { top: 28px; left: 28px; color: var(--sunny); animation: cp-spin 14s linear infinite; }
.cp-cta-deco-2 { right: 36px; bottom: 32px; color: rgba(255,255,255,.5); animation: cp-floaty 5.5s ease-in-out infinite; }

/* ---------- copybox (post puns) ---------- */
.cp-copybox {
  position: relative; margin: 26px auto; max-width: 700px;
  background: #fff; border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  border-radius: 20px; padding: 26px 24px 18px;
}
.cp-copybox-badge {
  position: absolute; top: -14px; left: 20px; transform: rotate(-2deg);
  font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  background: var(--sunny); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  border-radius: 999px; padding: 3px 12px;
}
.cp-copybox-quote { position: absolute; top: 18px; right: 20px; color: var(--blush-2); }
.cp-copybox-text {
  margin: 6px 36px 14px 0; font-family: var(--font-display);
  font-weight: 500; font-size: clamp(18px, 2.6vw, 21px); line-height: 1.4;
}
.cp-copy-btn {
  display: inline-flex; align-items: center; gap: 6px; float: right;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  padding: 6px 16px; border-radius: 999px; cursor: pointer;
  background: var(--blush); color: #fff; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.cp-copy-btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.cp-copy-btn.cp-copied { background: var(--mint); color: var(--ink); }
.cp-copybox::after { content: ""; display: block; clear: both; }

/* ---------- single post ---------- */
.cp-single-hero {
  border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  border-radius: 32px; padding: 40px 36px;
  background-image: radial-gradient(rgba(36,27,58,.12) 1.2px, transparent 1.2px); background-size: 22px 22px;
}
.cp-single-hero h1 { font-size: clamp(32px, 5vw, 52px); margin: 18px 0 16px; }
.cp-single-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; font-weight: 800; color: var(--ink-2); }
.cp-single-meta span, .cp-single-meta a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 800; }
.cp-single-meta svg { color: var(--blush); }
.cp-byline img { width: 30px; height: 30px; border-radius: 999px; border: 2px solid var(--ink); }
.cp-single-hero .cp-sticker-sm { background: #fff; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.cp-single-tags { display: flex; flex-wrap: wrap; gap: 10px; }

.cp-content { max-width: 720px; margin: 48px auto 0; }
.cp-content > p, .cp-content ul, .cp-content ol { color: var(--ink-2); }
.cp-content strong { background-image: linear-gradient(to top, var(--blush-2) 0 42%, transparent 42%); padding: 0 .12em; border-radius: .2em; font-weight: 800; }
.cp-content h2 { display: inline-block; font-size: clamp(24px, 3vw, 30px); margin-top: 28px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='9' viewBox='0 0 42 9'%3E%3Cpath d='M1 5 Q 6.25 1 11.5 5 T 22 5 T 32.5 5 T 43 5' fill='none' stroke='%23FFC531' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: repeat-x; background-position: 0 100%; background-size: 42px 8px; padding-bottom: 8px; }
.cp-content ul { padding-left: 4px; list-style: none; }
.cp-content li { position: relative; padding-left: 26px; margin-bottom: 10px; font-weight: 700; }
.cp-content li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 10px; height: 10px; border-radius: 999px; background: var(--blush); border: 2px solid var(--ink); }
.cp-content blockquote:not(.cp-copybox-text) {
  margin: 28px 0; padding: 20px 24px; background: var(--cream-2);
  border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); border-radius: 20px;
  font-family: var(--font-display); font-weight: 600; font-style: italic; font-size: 18px;
}

/* featured image on single posts */
.cp-featured { max-width: 880px; margin: 32px auto 0; border-radius: 28px; overflow: hidden; background: var(--cream-2); }
.cp-featured img { display: block; width: 100%; max-height: 520px; object-fit: cover; }

/* share bar */
.cp-share {
  max-width: 720px; margin: 44px auto 0; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 14px;
  background: #fff; border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  border-radius: 20px; padding: 16px 20px;
}
.cp-share b { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); }
.cp-share-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cp-share-btns .cp-btn { padding: 6px 16px; font-size: 13.5px; }

/* author box */
.cp-authorbox {
  max-width: 720px; margin: 44px auto 0; background: #fff;
  border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  border-radius: 28px; padding: 28px;
  display: flex; gap: 22px; align-items: flex-start;
}
.cp-authorbox-avatar { flex-shrink: 0; }
.cp-authorbox-avatar img {
  width: 96px; height: 96px; object-fit: cover; border-radius: 22px;
  border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(2deg); background: var(--cream-2);
}
.cp-authorbox-label { font-size: 11px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 4px; }
.cp-authorbox h3 { font-size: 24px; display: inline-block; margin: 0 10px 0 0; }
.cp-authorbox-role {
  display: inline-block; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
  background: var(--sunny); border: 2px solid var(--ink); border-radius: 999px; padding: 3px 10px; vertical-align: 6px;
}
.cp-authorbox-bio { font-size: 14.5px; color: var(--ink-2); margin: 10px 0 10px; }
.cp-authorbox-trust { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; font-weight: 800; color: var(--ink-2); margin-bottom: 14px; }
.cp-authorbox-trust svg { color: var(--mint); flex-shrink: 0; margin-top: 1px; }
.cp-authorbox-socials { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cp-authorbox-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 999px; color: var(--ink);
  background: var(--cream); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.cp-authorbox-socials a:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); background: var(--sunny); }
.cp-authorbox-more { font-family: var(--font-display); font-weight: 700; font-size: 14px; margin-left: 4px; }
.cp-updated { text-align: center; font-size: 12.5px; font-weight: 800; color: var(--ink-2); margin-top: 14px; }

/* prev / next */
.cp-prevnext { max-width: 720px; margin: 44px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cp-prevnext a { display: block; border-radius: 20px; padding: 18px 20px; color: var(--ink); }
.cp-prevnext a:hover { text-decoration: none; }
.cp-prevnext small { display: flex; align-items: center; gap: 6px; font-weight: 900; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.cp-prevnext .cp-next small { justify-content: flex-end; }
.cp-prevnext p { font-family: var(--font-display); font-weight: 700; margin: 6px 0 0; font-size: 16.5px; line-height: 1.35; }
.cp-prevnext .cp-next { text-align: right; }

/* related */
.cp-related { margin-top: 72px; }
.cp-related h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 28px; }

/* ---------- footer ---------- */
.cp-footer { margin-top: 96px; background: var(--ink); color: var(--cream); border-top: 2px solid var(--ink); }
.cp-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 56px 0 32px; }
.cp-footer .cp-logo { color: var(--cream) !important; }
.cp-footer .cp-logo .cp-accent { color: var(--blush-2); }
.cp-footer p { color: rgba(255,247,233,.7); font-size: 15px; }
.cp-footer h4 { color: var(--sunny); font-size: 18px; margin-bottom: 16px; }
.cp-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cp-footer li a { color: rgba(255,247,233,.7); font-size: 15px; }
.cp-footer li a:hover { color: var(--sunny); }
.cp-footer-mail {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  padding: 9px 16px; border-radius: 999px; font-weight: 800; font-size: 14px;
  border: 2px solid rgba(255,247,233,.25); color: rgba(255,247,233,.85) !important;
}
.cp-footer-mail:hover { border-color: var(--sunny); color: var(--sunny) !important; text-decoration: none; }
.cp-footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid rgba(255,247,233,.15); padding: 22px 0; font-size: 14px; color: rgba(255,247,233,.55);
}
.cp-footer-bottom svg { color: var(--blush); vertical-align: -3px; }

/* ---------- archive / page headers ---------- */
.cp-page-head { padding: 56px 0 40px; }
.cp-page-head h1 { font-size: clamp(38px, 6vw, 60px); }
.cp-page-head p { font-size: 18px; color: var(--ink-2); max-width: 620px; }
.cp-cat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.cp-cat-pills a {
  font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink);
  padding: 6px 16px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; box-shadow: 3px 3px 0 var(--ink);
}
.cp-cat-pills a:hover { text-decoration: none; transform: translate(-2px,-2px); }
.cp-cat-pills a.is-active { background: var(--ink); color: var(--cream); }

/* pagination */
.cp-pagination { display: flex; justify-content: center; margin-top: 48px; }
.cp-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px;
  margin-inline: 4px; padding-inline: 10px; border-radius: 14px; font-family: var(--font-display); font-weight: 700;
  border: 2px solid var(--ink); background: #fff; color: var(--ink); box-shadow: 3px 3px 0 var(--ink); text-decoration: none !important;
}
.cp-pagination .page-numbers.current { background: var(--blush); color: #fff; }

/* ---------- forms ---------- */
.cp-form-card { border-radius: 28px; padding: 32px; }
.cp-field { display: block; margin-bottom: 20px; }
.cp-field > span { display: block; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.cp-field input, .cp-field textarea {
  width: 100%; font-family: var(--font-body); font-weight: 700; font-size: 16px;
  padding: 12px 16px; border-radius: 14px; border: 2px solid var(--ink);
  background: var(--cream); color: var(--ink); outline: none;
}
.cp-field input:focus, .cp-field textarea:focus { box-shadow: 0 0 0 4px rgba(255,179,201,.5); }
.cp-field textarea { resize: vertical; min-height: 150px; }
.cp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cp-notice { border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); border-radius: 16px; padding: 16px 20px; font-weight: 800; margin-bottom: 24px; }
.cp-notice-ok { background: rgba(91,224,184,.4); }
.cp-notice-err { background: rgba(255,179,201,.4); }

.cp-info-card { display: flex; gap: 16px; align-items: flex-start; border-radius: 28px; padding: 24px; margin-bottom: 20px; }
.cp-info-card h3 { font-size: 20px; margin: 0 0 4px; }
.cp-info-card p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.cp-info-card .cp-cat-icon { flex-shrink: 0; }
.cp-contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 40px; align-items: start; }
.cp-contact-mail { font-weight: 900; color: var(--blush); }

/* ---------- page content ---------- */
.cp-legal-section { border-radius: 28px; padding: 28px; margin-bottom: 24px; }
.cp-legal-section h2 { display: flex; align-items: center; gap: 12px; font-size: 24px; }
.cp-legal-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 999px; flex-shrink: 0;
  border: 2px solid var(--ink); background: var(--sunny); font-size: 15px; font-weight: 900;
}
.cp-legal-narrow { max-width: 768px; margin-inline: auto; }

/* ---------- 404 ---------- */
.cp-404 { text-align: center; padding: 64px 0 96px; }
.cp-404 img.frame { border-radius: 32px; transform: rotate(2deg); }
.cp-404 h1 { font-size: clamp(64px, 12vw, 108px); margin: 32px 0 8px; }
.cp-404 h1 span { color: var(--blush); }
.cp-404 p.pun { font-family: var(--font-display); font-size: 24px; font-weight: 700; }

/* ---------- breadcrumbs ---------- */
.cp-back { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 700; color: var(--ink-2) !important; margin-bottom: 24px; }
.cp-back:hover { color: var(--blush) !important; }

/* ---------- misc ---------- */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal;
}
.skip-link:focus { clip: auto !important; clip-path: none; height: auto; width: auto; padding: 8px 16px; background: var(--sunny); color: var(--ink); z-index: 999; left: 8px; top: 8px; font-weight: 800; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .cp-hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .cp-cats, .cp-grid, .cp-why-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-footer-grid { grid-template-columns: 1fr 1fr; }
  .cp-contact-grid { grid-template-columns: 1fr; }
  .cp-nav ul { display: none; }
  .cp-nav-toggle { display: inline-flex; }
  .cp-nav.cp-open ul {
    display: flex; flex-direction: column; align-items: stretch; gap: 10px;
    position: absolute; left: 0; right: 0; top: 66px; padding: 16px 20px 24px;
    background: var(--cream); border-bottom: 2px solid var(--ink);
  }
  .cp-nav.cp-open ul a { display: block; background: #fff; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); padding: 10px 16px; font-size: 17px; }
  .cp-nav.cp-open .cp-nav-cta { margin: 4px 0 0; }
}
@media (max-width: 640px) {
  .cp-cats, .cp-grid, .cp-why-grid, .cp-prevnext, .cp-form-row { grid-template-columns: 1fr; }
  .cp-footer-grid { grid-template-columns: 1fr; }
  .cp-machine { padding: 22px; }
  .cp-authorbox { flex-direction: column; }
  .cp-float-1 { left: -8px; }
  .cp-float-2 { right: -8px; }
  .cp-section { padding: 64px 0; }
}
