/* Shared site chrome -- header, nav, search box, footer skeleton, and base
   resets used identically across every page. Split out of each page's
   inline <style> block so the browser downloads and caches it once instead
   of re-fetching the same CSS on every page load. Page-specific look (hero
   sections, per-page color accents, footer color/border-top) stays inline
   in each page's own <style> block. */

:root {
  --bg: #FFFFFF;
  --bg-card: #FFFFFF;
  --ink: #23252A;
  --ink-soft: #6E6F73;
  --green: #54AE66;
  --pink: #FF93CF;
  --blue: #6CA3E6;
  --red: #FE5550;
  --yellow: #FFD84D;
  --orange: #FF9142;
  --line: #ECE9E4;
  --radius: 18px;
}

* { box-sizing: border-box; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Elms Sans', 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Barriecito', cursive;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin: 0;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: #fff;
  border-bottom: 2px solid #F5D98C;
}
.site-bar {
  display: flex; align-items: center; gap: 20px;
  padding: 27px 24px 27px 280px; min-height: 99px;
}
.logo {
  position: absolute; top: 22px; left: 12px; z-index: 6;
  display: flex; align-items: center; cursor: pointer;
  text-decoration: none;
}
.logo-m {
  font-family: 'Barriecito', cursive; font-weight: 400; font-size: 65px;
  color: var(--pink); line-height: 1; position: relative;
}
.logo-text {
  font-family: 'Barriecito', cursive; font-weight: 400; font-size: 58px;
  letter-spacing: 0.01em; color: var(--ink);
}
.logo-text .l-green { color: var(--blue); }
.logo-text .l-pink { color: var(--yellow); }
.logo-text .l-blue { color: var(--red); }
.search-box {
  flex: 1; display: flex; align-items: center;
  background: #F7F6F4; border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 18px; gap: 8px;
  max-width: 600px; transition: border-radius .15s ease;
}
.search-box.is-multiline { align-items: flex-start; border-radius: 22px; }
.search-box textarea {
  border: none; outline: none; background: transparent; resize: none;
  font-family: 'Elms Sans', 'Inter', sans-serif; font-size: 14px; width: 100%;
  color: var(--ink); line-height: 1.5; padding: 0; margin: 0; overflow-y: hidden;
  max-height: 220px;
}
.search-box svg { flex-shrink: 0; opacity: 0.5; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav-btn {
  font-family: 'Elms Sans', 'Inter', sans-serif; font-size: 12.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; text-decoration: none;
  padding: 9px 12px; border-radius: 999px; border: none; background: transparent;
  color: var(--ink); cursor: pointer; transition: opacity .15s;
}
.nav-btn:hover { opacity: 0.6; }
.nav-btn.active { color: var(--red); }

@media (max-width: 860px) {
  .site-bar { flex-wrap: wrap; row-gap: 10px; padding-left: 24px; padding-top: 90px; min-height: 0; }
  .logo { top: 20px; left: 16px; }
  .logo-m { font-size: 48px; }
  .logo-text { font-size: 42px; }
  .nav-links { flex-basis: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 8px 14px; margin-right: 0; order: 2; }
  .nav-btn { white-space: nowrap; padding: 8px 4px; }
  .search-box { order: 3; flex-basis: 100%; max-width: none; }
}

/* ---------- footer skeleton (color + border-top vary per page) ---------- */
footer.site {
  text-align: center; padding: 40px 24px 60px; font-size: 13px;
}
footer.site .footer-links { margin-top: 8px; }
footer.site .footer-links a { text-decoration: underline; margin: 0 8px; }
footer.site .footer-links a.social-icon { text-decoration: none; display: inline-flex; vertical-align: middle; margin: 0 6px; opacity: 0.85; }
footer.site .footer-links a.social-icon:hover { opacity: 1; }
footer.site .footer-links a.social-icon svg { display: block; }
footer.site .footer-credit { margin-top: 10px; font-size: 12px; opacity: 0.75; }
footer.site .footer-credit a { text-decoration: underline; }
