/* SRJ Library Theme — Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

/* ─────────────────────────────────────────────
   DESIGN TOKENS
   ───────────────────────────────────────────── */
:root {
  --c-ink:      #1e0f1a;
  --c-plum:     #4a1e3c;
  --c-mauve:    #7a3a5c;
  --c-pink:     #e8608a;
  --c-pink-dk:  #c0446e;
  --c-pink-lt:  #f4b8cf;
  --c-rose:     #f7d6e3;
  --c-cream:    #fdf6f9;
  --c-warm:     #faedf3;
  --c-muted:    #9a7288;
  --c-border:   rgba(200,120,160,.18);
  --c-green:    #5a8f72;
  --c-white:    #ffffff;

  --f-display: 'Playfair Display', Georgia, serif;
  --f-body:    'DM Sans', system-ui, sans-serif;

  --max-w:      1160px;
  --max-w-text: 720px;
  --radius:     12px;
  --radius-sm:  6px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  --shadow-sm: 0 2px 8px rgba(150,60,100,.09);
  --shadow-md: 0 6px 20px rgba(150,60,100,.13);
  --shadow-lg: 0 16px 48px rgba(150,60,100,.18);

  --ease: cubic-bezier(.4,0,.2,1);
  --dur:  200ms;
}

/* ─────────────────────────────────────────────
   RESET
   ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--c-ink);
  background: var(--c-cream);
  min-height: 100vh;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; height: auto; display: block; }

/* ─────────────────────────────────────────────
   TYPOGRAPHY
   ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.22;
  color: var(--c-plum);
  letter-spacing: -.015em;
}
h1 { font-size: clamp(1.9rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: .95rem; }

p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
em { font-style: italic; }

a { color: var(--c-pink-dk); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--c-pink); }
a:focus-visible { outline: 2px solid var(--c-pink); outline-offset: 3px; border-radius: 2px; }

blockquote {
  border-left: 3px solid var(--c-pink-lt);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--c-warm);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--c-mauve);
}
blockquote cite {
  display: block; margin-top: 8px;
  font-family: var(--f-body); font-style: normal;
  font-size: .85rem; color: var(--c-muted);
}

code {
  font-family: 'JetBrains Mono', monospace;
  font-size: .875em;
  background: var(--c-rose);
  color: var(--c-mauve);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}
pre {
  background: var(--c-plum); color: var(--c-cream);
  padding: 24px; border-radius: var(--radius);
  overflow-x: auto; margin: 24px 0;
}
pre code { background: transparent; color: inherit; padding: 0; }
hr { border: none; border-top: 1px solid var(--c-border); margin: 40px 0; }

/* Content lists */
.entry-content ul,
.entry-content ol { padding-left: 1.5em; margin-bottom: 1.2em; }
.entry-content li { margin-bottom: .4em; }
.entry-content ul li::marker { color: var(--c-pink); }
.entry-content ol li::marker { color: var(--c-mauve); font-weight: 600; }

/* ─────────────────────────────────────────────
   LAYOUT
   ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) { .container { padding-inline: 40px; } }

.container--narrow { max-width: var(--max-w-text); }

.section { padding-block: 56px; }
@media (min-width: 768px) { .section { padding-block: 88px; } }

/* ─────────────────────────────────────────────
   ACCESSIBILITY
   ───────────────────────────────────────────── */
.screen-reader-text {
  clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute; width: 1px;
}
.skip-link {
  position: absolute; left: -9999px; top: 16px;
  background: var(--c-pink-dk); color: #fff;
  padding: 8px 18px; border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 600; text-decoration: none; z-index: 9999;
}
.skip-link:focus { left: 16px; }

/* ─────────────────────────────────────────────
   HEADER
   ───────────────────────────────────────────── */
#site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,246,249,.92);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow var(--dur) var(--ease);
}
#site-header.scrolled { box-shadow: 0 4px 24px rgba(150,60,100,.1); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}

/* Logo */
.site-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.site-logo__icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #c0446e, #e8608a);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: 0 2px 8px rgba(192,68,110,.3);
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease);
}
.site-logo:hover .site-logo__icon { transform: rotate(-5deg) scale(1.05); }
.site-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.site-logo__name {
  font-family: var(--f-display); font-size: 1.05rem; font-weight: 600;
  color: var(--c-plum); letter-spacing: -.01em;
}
.site-logo__tagline {
  font-size: .65rem; color: var(--c-muted);
  letter-spacing: .07em; text-transform: uppercase; font-weight: 500;
}

/* Desktop nav */
#site-nav { display: none; }
@media (min-width: 768px) { #site-nav { display: block; } }

.nav-menu {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
.nav-menu a {
  display: inline-flex; align-items: center;
  padding: 7px 14px; font-size: .875rem; font-weight: 500;
  color: var(--c-mauve); border-radius: 30px;
  transition: all var(--dur) var(--ease); text-decoration: none;
}
.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
  background: var(--c-warm); color: var(--c-pink-dk);
}
.nav-menu .menu-cta > a {
  background: linear-gradient(135deg, #c0446e, #e8608a);
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(192,68,110,.3);
}
.nav-menu .menu-cta > a:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(192,68,110,.4);
  color: #fff !important;
}

/* Mobile toggle */
.nav-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: transparent; border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm); cursor: pointer; color: var(--c-mauve);
  transition: all var(--dur) var(--ease);
  flex-direction: column; gap: 5px; padding: 10px;
}
.nav-toggle:hover { background: var(--c-warm); border-color: var(--c-pink-lt); }
.nav-toggle span {
  display: block; width: 18px; height: 1.5px;
  background: currentColor; border-radius: 2px;
  transition: all .25s var(--ease); transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 768px) { .nav-toggle { display: none; } }

/* Mobile drawer */
#mobile-menu {
  display: none; position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: rgba(253,246,249,.97);
  backdrop-filter: blur(16px);
  z-index: 99; padding: 16px 20px;
  overflow-y: auto;
}
#mobile-menu.open {
  display: block;
  animation: slideDown .22s var(--ease);
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-nav-menu { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-menu a {
  display: block; padding: 13px 16px;
  font-size: 1rem; font-weight: 500;
  color: var(--c-mauve); border-radius: var(--radius);
  transition: all var(--dur) var(--ease); text-decoration: none;
}
.mobile-nav-menu a:hover { background: var(--c-warm); color: var(--c-pink-dk); }
.mobile-nav-menu .menu-cta > a {
  background: linear-gradient(135deg, #c0446e, #e8608a);
  color: #fff !important; text-align: center; margin-top: 8px;
}

/* ─────────────────────────────────────────────
   PAGE HERO (inner pages)
   ───────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #fdf0f5 0%, #f8dcea 60%, #faedf3 100%);
  padding-block: 56px;
  border-bottom: 1px solid var(--c-border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,96,138,.1) 0%, transparent 65%);
  top: -150px; right: -100px; pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(74,30,60,.07) 0%, transparent 65%);
  bottom: -80px; left: -50px; pointer-events: none;
}
.page-hero__eyebrow {
  font-size: .7rem; text-transform: uppercase;
  letter-spacing: .14em; font-weight: 700;
  color: var(--c-pink-dk); margin-bottom: 8px;
}
.page-hero h1 { margin-bottom: 12px; }
.page-hero p {
  font-size: 1.05rem; color: var(--c-muted);
  max-width: 520px; margin-inline: auto;
}

/* ─────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 24px; border-radius: 30px;
  font-size: .9rem; font-weight: 600; font-family: var(--f-body);
  border: none; cursor: pointer; text-decoration: none;
  transition: all var(--dur) var(--ease); line-height: 1.4; white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--c-pink); outline-offset: 3px; }

.btn-primary {
  background: linear-gradient(135deg, #c0446e, #e8608a);
  color: #fff; box-shadow: 0 2px 10px rgba(192,68,110,.3);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(192,68,110,.4); }

.btn-secondary {
  background: var(--c-warm); color: var(--c-mauve);
  border: 1.5px solid var(--c-border);
}
.btn-secondary:hover { background: var(--c-rose); color: var(--c-pink-dk); border-color: var(--c-pink-lt); }

.btn-outline {
  background: transparent; color: var(--c-pink-dk);
  border: 1.5px solid var(--c-pink-lt);
}
.btn-outline:hover { background: var(--c-pink-dk); color: #fff; border-color: var(--c-pink-dk); }

.btn-ghost {
  background: transparent; color: var(--c-muted);
  border: 1.5px solid var(--c-border);
}
.btn-ghost:hover { background: var(--c-warm); color: var(--c-mauve); }

.btn-sm { padding: 7px 16px; font-size: .8rem; }
.btn-lg { padding: 13px 30px; font-size: 1rem; }

/* ─────────────────────────────────────────────
   BLOG / ARCHIVE
   ───────────────────────────────────────────── */
.archive-layout {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .archive-layout { grid-template-columns: 1fr 300px; align-items: start; }
}

.posts-grid {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .posts-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .posts-grid--3col { grid-template-columns: repeat(3, 1fr); } }

/* ─────────────────────────────────────────────
   POST CARD
   ───────────────────────────────────────────── */
.post-card {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--c-border);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.post-card__thumb {
  aspect-ratio: 16/9; overflow: hidden;
  background: var(--c-rose);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.post-card__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s var(--ease);
}
.post-card:hover .post-card__thumb img { transform: scale(1.05); }
.post-card__thumb-ph { font-size: 2.5rem; opacity: .35; }

.post-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.post-card__cat {
  font-size: .68rem; text-transform: uppercase;
  letter-spacing: .1em; font-weight: 700;
  color: var(--c-pink-dk); margin-bottom: 8px;
}
.post-card__cat a { color: inherit; }
.post-card__cat a:hover { color: var(--c-pink); }

.post-card__title {
  font-family: var(--f-display); font-size: 1.1rem;
  font-weight: 600; color: var(--c-plum);
  margin-bottom: 8px; line-height: 1.3;
}
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__title a:hover { color: var(--c-pink); }

.post-card__excerpt {
  font-size: .875rem; color: var(--c-muted);
  line-height: 1.6; flex: 1; margin-bottom: 14px;
}

.post-card__meta {
  font-size: .75rem; color: var(--c-muted);
  display: flex; align-items: center; gap: 8px;
  border-top: 1px solid var(--c-border); padding-top: 14px;
}
.post-card__meta time { font-weight: 500; }
.post-card__meta .sep { opacity: .5; }

/* ─────────────────────────────────────────────
   SINGLE POST / PAGE
   ───────────────────────────────────────────── */
.single-layout {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .single-layout { grid-template-columns: 1fr 280px; align-items: start; }
}

.single-content { max-width: 100%; }

.entry-header { margin-bottom: 32px; }
.entry-header .entry-cat {
  font-size: .7rem; text-transform: uppercase;
  letter-spacing: .12em; font-weight: 700;
  color: var(--c-pink-dk); margin-bottom: 12px; display: block;
}
.entry-header .entry-cat a { color: inherit; }
.entry-header .entry-cat a:hover { color: var(--c-pink); }

.entry-header h1 { margin-bottom: 16px; }

.entry-meta {
  display: flex; align-items: center; gap: 16px;
  font-size: .82rem; color: var(--c-muted); flex-wrap: wrap;
  padding-bottom: 20px; border-bottom: 1px solid var(--c-border);
  margin-bottom: 32px;
}
.entry-meta a { color: var(--c-muted); }
.entry-meta a:hover { color: var(--c-pink); }

.entry-thumb {
  margin-bottom: 32px; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.entry-thumb img { width: 100%; }

.entry-content {
  font-size: 1.05rem; line-height: 1.85; color: var(--c-ink);
}
.entry-content h2,
.entry-content h3,
.entry-content h4 { margin-top: 2em; margin-bottom: .6em; }

.entry-content a {
  color: var(--c-pink-dk);
  text-decoration: underline;
  text-decoration-color: var(--c-pink-lt);
  text-underline-offset: 3px;
}
.entry-content a:hover { color: var(--c-pink); text-decoration-color: var(--c-pink); }
.entry-content img { border-radius: var(--radius-sm); margin-block: 24px; }

/* Post navigation */
.post-nav {
  display: grid; gap: 16px;
  grid-template-columns: 1fr 1fr;
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid var(--c-border);
}
.post-nav__prev { text-align: left; }
.post-nav__next { text-align: right; }
.post-nav__label {
  font-size: .7rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--c-muted);
  font-weight: 600; display: block; margin-bottom: 6px;
}
.post-nav a { font-family: var(--f-display); font-size: 1rem; color: var(--c-plum); font-weight: 600; }
.post-nav a:hover { color: var(--c-pink); }

/* ─────────────────────────────────────────────
   SIDEBAR
   ───────────────────────────────────────────── */
.sidebar {
  display: flex; flex-direction: column; gap: 20px;
  position: sticky; top: 80px;
}

.widget {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow-sm);
}
.widget-title {
  font-family: var(--f-display); font-size: 1rem;
  font-weight: 600; color: var(--c-plum);
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 2px solid var(--c-rose);
}
.widget ul { list-style: none; }
.widget ul li {
  padding: 7px 0; border-bottom: 1px solid var(--c-border);
  font-size: .9rem;
}
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--c-mauve); }
.widget ul li a:hover { color: var(--c-pink); }

/* ─────────────────────────────────────────────
   SEARCH FORM
   ───────────────────────────────────────────── */
.search-form {
  display: flex; border-radius: 30px; overflow: hidden;
  border: 1.5px solid var(--c-border);
  background: #fff; box-shadow: var(--shadow-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.search-form:focus-within {
  border-color: var(--c-pink-lt);
  box-shadow: 0 0 0 3px rgba(232,96,138,.1);
}
.search-form input[type="search"] {
  flex: 1; padding: 10px 18px;
  border: none; background: transparent;
  font-family: var(--f-body); font-size: .9rem;
  color: var(--c-ink); outline: none;
}
.search-form button {
  background: linear-gradient(135deg, #c0446e, #e8608a);
  color: #fff; border: none;
  padding: 10px 18px; cursor: pointer;
  font-size: .85rem; font-weight: 600;
  font-family: var(--f-body);
  transition: opacity var(--dur) var(--ease);
}
.search-form button:hover { opacity: .88; }

/* ─────────────────────────────────────────────
   PAGINATION
   ───────────────────────────────────────────── */
.pagination {
  display: flex; align-items: center;
  gap: 6px; flex-wrap: wrap; margin-top: 40px;
}
.page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 500;
  color: var(--c-mauve);
  border: 1.5px solid var(--c-border);
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.page-numbers:hover { background: var(--c-warm); color: var(--c-pink-dk); border-color: var(--c-pink-lt); }
.page-numbers.current {
  background: linear-gradient(135deg, #c0446e, #e8608a);
  color: #fff; border-color: transparent;
  box-shadow: 0 2px 8px rgba(192,68,110,.3);
}
.page-numbers.dots { border: none; box-shadow: none; }

/* ─────────────────────────────────────────────
   COMMENTS
   ───────────────────────────────────────────── */
.comments-area {
  margin-top: 64px; padding-top: 40px;
  border-top: 1px solid var(--c-border);
}
.comments-title {
  font-family: var(--f-display); font-size: 1.5rem;
  color: var(--c-plum); margin-bottom: 32px;
}
.comment-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.comment {
  padding: 20px; background: #fff;
  border-radius: var(--radius); border: 1px solid var(--c-border);
}
.children { list-style: none; margin-top: 16px; padding-left: 20px; display: flex; flex-direction: column; gap: 12px; }

.comment-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.comment-avatar img { border-radius: 50%; border: 2px solid var(--c-rose); }
.comment-author .fn { font-weight: 600; color: var(--c-plum); font-size: .95rem; }
.comment-metadata { font-size: .78rem; color: var(--c-muted); }
.comment-content p { margin-bottom: .8em; font-size: .95rem; }
.comment-reply-link {
  font-size: .78rem; font-weight: 600;
  color: var(--c-pink-dk); cursor: pointer;
}
.comment-reply-link:hover { color: var(--c-pink); }

/* Comment form */
.comment-form-wrap { margin-top: 40px; }
.comment-form-wrap h3 { margin-bottom: 20px; font-size: 1.25rem; }

.comment-form label {
  display: block; font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--c-mauve); margin-bottom: 5px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-family: var(--f-body); font-size: .95rem; color: var(--c-ink);
  background: #fff; transition: border-color var(--dur), box-shadow var(--dur);
  margin-bottom: 16px;
}
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none; border-color: var(--c-pink);
  box-shadow: 0 0 0 3px rgba(232,96,138,.1);
}
.comment-form textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }

.comment-form .submit {
  background: linear-gradient(135deg, #c0446e, #e8608a);
  color: #fff; padding: 10px 28px;
  border-radius: 30px; border: none;
  font-family: var(--f-body); font-size: .9rem; font-weight: 600;
  cursor: pointer; box-shadow: 0 2px 10px rgba(192,68,110,.3);
  transition: all var(--dur) var(--ease);
}
.comment-form .submit:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(192,68,110,.4); }

/* ─────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────── */
#site-footer {
  background: linear-gradient(135deg, #2d1a2e 0%, #4a1e3c 100%);
  color: rgba(255,255,255,.75);
  padding-block: 64px 32px;
  margin-top: 88px;
}

.footer-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand .site-logo__name { color: #fff; font-size: 1.25rem; }
.footer-brand .site-logo__tagline { color: rgba(255,255,255,.45); }
.footer-brand p {
  margin-top: 14px; font-size: .875rem;
  color: rgba(255,255,255,.55); line-height: 1.75; max-width: 320px;
}

.footer-col {}
.footer-col h4 {
  color: var(--c-pink-lt); font-family: var(--f-body);
  font-size: .7rem; text-transform: uppercase;
  letter-spacing: .12em; font-weight: 700;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: rgba(255,255,255,.55); font-size: .875rem;
  text-decoration: none; transition: color var(--dur) var(--ease);
}
.footer-col ul li a:hover { color: var(--c-pink-lt); }

.footer-bottom {
  margin-top: 48px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: .78rem; color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: var(--c-pink-lt); }

/* ─────────────────────────────────────────────
   404 PAGE
   ───────────────────────────────────────────── */
.error-404 {
  text-align: center;
  padding-block: 80px;
}
.error-404__number {
  font-family: var(--f-display); font-size: clamp(6rem, 20vw, 11rem);
  font-weight: 600; line-height: 1;
  background: linear-gradient(135deg, #c0446e, #e8608a);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 16px;
}
.error-404 h2 { margin-bottom: 12px; }
.error-404 p { color: var(--c-muted); margin-bottom: 32px; }

/* ─────────────────────────────────────────────
   BASIC PAGE
   ───────────────────────────────────────────── */
.page-single { padding-block: 48px; }
.page-content { max-width: var(--max-w-text); }

/* ─────────────────────────────────────────────
   SCROLL REVEAL ANIMATION
   ───────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
  }
  .reveal.visible {
    opacity: 1;
    transform: none;
  }
  .reveal-delay-1 { transition-delay: .1s; }
  .reveal-delay-2 { transition-delay: .2s; }
  .reveal-delay-3 { transition-delay: .3s; }
}

/* ─────────────────────────────────────────────
   SCROLLBAR
   ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--c-cream); }
::-webkit-scrollbar-thumb { background: var(--c-pink-lt); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-pink); }

::selection { background: rgba(232,96,138,.18); color: var(--c-plum); }

/* ─────────────────────────────────────────────
   SRJ LIBRARY PLUGIN INTEGRATION
   ───────────────────────────────────────────── */

/* Override SRJ plugin frontend variables to match theme exactly */
.srj-library-wrap {
  --srj-ink:    var(--c-ink);
  --srj-cream:  var(--c-cream);
  --srj-warm:   var(--c-warm);
  --srj-muted:  var(--c-muted);
  --srj-border: var(--c-border);
  --srj-rose:   var(--c-rose);
  --srj-brown:  var(--c-mauve);
  --srj-green:  var(--c-green);
  --srj-plum:   var(--c-plum);
}

/* Library page section heading */
.srj-page-section {
  margin-bottom: 40px;
}
.srj-page-section__title {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--c-plum);
  margin-bottom: 8px;
}
.srj-page-section__sub {
  color: var(--c-muted); font-size: .95rem;
}

/* ─────────────────────────────────────────────
   PRINT
   ───────────────────────────────────────────── */
@media print {
  #site-header, #site-footer, .sidebar, .nav-toggle { display: none; }
  body { background: #fff; color: #000; }
}
