:root {
  --jabby-bg: #f5f1ea;
  --jabby-surface: #fffdf9;
  --jabby-text: #3c342f;
  --jabby-muted: #8d7d72;
  --jabby-accent: #0c8f67;
  --jabby-accent-dark: #0a7354;
  --jabby-gold: #c7ab87;
  --jabby-border: #e7ddd1;
  --jabby-shadow: 0 24px 60px rgba(60, 52, 47, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--jabby-text);
  background: var(--jabby-bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.jabby-site-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.jabby-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 32px 24px;
  border-right: 1px solid var(--jabby-border);
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.jabby-wordmark-script,
.jabby-hero h1,
.jabby-card-content h2,
.jabby-page-card h1,
.jabby-post-preview h2 {
  font-family: 'Parisienne', cursive;
}

.jabby-wordmark {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.jabby-wordmark-script {
  font-size: 2.3rem;
  color: var(--jabby-accent);
  line-height: 1;
}

.jabby-wordmark-meta,
.jabby-sidebar-footer,
.jabby-eyebrow,
.jabby-section-label,
.jabby-hero-meta {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jabby-menu-toggle {
  display: none;
  border: 1px solid var(--jabby-border);
  background: white;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 600;
}

.jabby-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jabby-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 999px;
  transition: 0.25s ease;
}

.jabby-menu a:hover,
.jabby-menu .current-menu-item > a,
.jabby-menu .current_page_item > a {
  background: var(--jabby-accent);
  color: white;
}

.jabby-sidebar-footer {
  margin-top: auto;
  color: var(--jabby-muted);
  font-size: 0.95rem;
}

.jabby-main-content {
  padding: 0 0 64px;
}

.jabby-hero {
  min-height: 62vh;
  display: grid;
  align-items: center;
  padding: 72px;
  background: linear-gradient(rgba(35, 28, 24, 0.35), rgba(35, 28, 24, 0.45)), linear-gradient(120deg, #7a6c63, #b39d86);
  background-size: cover;
  background-position: center;
  color: #fff;
}

.jabby-hero-inner {
  max-width: 720px;
}

.jabby-eyebrow {
  font-size: 0.95rem;
  color: #f3e6d6;
  margin-bottom: 8px;
}

.jabby-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.95;
  font-weight: 400;
}

.jabby-hero-meta {
  font-size: 1rem;
  margin: 18px 0 28px;
  color: #f1eadf;
}

.jabby-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--jabby-accent);
  color: white;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: 0.2s ease;
}

.jabby-button:hover { background: var(--jabby-accent-dark); transform: translateY(-1px); }

.jabby-home-grid,
.jabby-page-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: -72px auto 0;
  position: relative;
  z-index: 2;
}

.jabby-home-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.jabby-stack {
  display: grid;
  gap: 28px;
}

.jabby-card,
.jabby-page-card {
  background: var(--jabby-surface);
  border: 1px solid var(--jabby-border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--jabby-shadow);
}

.jabby-card-photo img,
.jabby-card-photo .jabby-photo-placeholder {
  width: 100%;
  min-height: 640px;
  object-fit: cover;
}

.jabby-photo-placeholder {
  display: grid;
  place-items: center;
  padding: 40px;
  color: var(--jabby-muted);
  background: linear-gradient(135deg, #faf6ef, #efe7dd);
}

.jabby-card-content,
.jabby-page-card {
  padding: 36px;
}

.jabby-section-label {
  color: var(--jabby-accent);
  font-size: 0.9rem;
  margin: 0 0 8px;
}

.jabby-card-content h2,
.jabby-page-card h1,
.jabby-post-preview h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  margin: 0 0 18px;
  font-weight: 400;
  color: #2f2925;
}

.jabby-page-content > *:first-child { margin-top: 0; }
.jabby-page-content > *:last-child { margin-bottom: 0; }

.jabby-post-preview + .jabby-post-preview {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--jabby-border);
}

@media (max-width: 1080px) {
  .jabby-site-shell { grid-template-columns: 1fr; }
  .jabby-sidebar {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--jabby-border);
  }
  .jabby-menu-toggle { display: inline-flex; width: fit-content; }
  .jabby-nav { display: none; }
  .jabby-nav.is-open { display: block; }
}

@media (max-width: 920px) {
  .jabby-hero { min-height: 50vh; padding: 48px 28px; }
  .jabby-home-grid { grid-template-columns: 1fr; margin-top: -40px; }
  .jabby-card-photo img,
  .jabby-card-photo .jabby-photo-placeholder { min-height: 420px; }
}

@media (max-width: 640px) {
  .jabby-home-grid,
  .jabby-page-wrap { width: min(100% - 24px, 100%); }
  .jabby-card-content,
  .jabby-page-card { padding: 24px; }
  .jabby-hero h1 { line-height: 1.02; }
}
