/* stack-persona:M path:assets/theme.css */
/* Liz's Hair Design — city guide chapters (archetype #50; original CSS)
   Ink + soft-blue palette, parchment ground, wayfinding-label type system.
   Non-sticky header, no top CTA bar, left sidebar + chapter spine on home,
   posts demoted to a compact rail, footer is a single utility row. */
:root {
  --ink: #182229;
  --ink-soft: #2b3a42;
  --paper: #f2eee2;
  --panel: #fbf9f2;
  --blue: #3f7089;
  --blue-deep: #24506a;
  --line: #d9d2bd;
  --line-soft: #e6e1d1;
  --muted: #5c6a64;
  --display: "Instrument Serif", "Palatino Linotype", Georgia, serif;
  --label: "Space Grotesk", "Segoe UI", sans-serif;
  --sans: "Work Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  font-size: 17px;
}
a { color: var(--blue-deep); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--ink); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 0.5rem 1rem; z-index: 9999;
}
.skip-link:focus { left: 0; }

/* ---------- Header: brand + inline utility line + wrap-nav, non-sticky ---------- */
.site-header {
  background: var(--panel);
  border-bottom: 3px double var(--line);
  position: static;
}
.site-header-inner {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.1rem 0 0.9rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 1.5rem;
  align-items: baseline;
}
.brand {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.brand-meta {
  font-family: var(--label);
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  font-weight: 500;
}
.header-utility {
  font-family: var(--label);
  font-size: 0.82rem;
  color: var(--muted);
  justify-self: end;
  text-align: right;
  white-space: nowrap;
}
.header-utility a { color: var(--ink-soft); font-weight: 600; }
.header-utility .sep { margin: 0 0.5rem; color: var(--line); }
.primary-nav {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; gap: 0.2rem 1.3rem;
  padding-top: 0.6rem; margin-top: 0.5rem; border-top: 1px solid var(--line-soft);
  font-family: var(--label);
}
.primary-nav a {
  color: var(--ink-soft); text-decoration: none; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.primary-nav a[aria-current="page"],
.primary-nav a:hover { color: var(--blue-deep); border-bottom-color: var(--blue); }

.shell {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.75rem 0 3rem;
}

/* ---------- Homepage: left sidebar + chapter spine (no full-bleed hero, no card grid) ---------- */
.home-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0 2.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .home-grid { grid-template-columns: 1fr; }
}

.guide-hero { padding: 0 0 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 0.5rem; }
.guide-hero .kicker { font-family: var(--label); }
.guide-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.6vw, 3.2rem);
  margin: 0.15rem 0 0.6rem;
  font-weight: 500;
  line-height: 1.04;
}
.guide-hero .lede { max-width: 42rem; color: var(--ink-soft); margin: 0; font-size: 1.05rem; }

.chapter {
  padding: 2.1rem 0;
  border-bottom: 1px solid var(--line);
}
.chapter:last-of-type { border-bottom: 0; }
.chapter-label {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}
.chapter-num {
  font-family: var(--label);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 50%;
  width: 2.1rem; height: 2.1rem;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.chapter-name {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 500;
}
.chapter-body {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
}
.chapter-img { width: 100%; height: 150px; object-fit: cover; border: 1px solid var(--line); }
.chapter-body p { margin: 0 0 0.75rem; color: var(--ink-soft); }
.stop-list { list-style: none; padding: 0; margin: 0.6rem 0 0; }
.stop-list li {
  padding: 0.5rem 0;
  border-top: 1px dashed var(--line);
  display: flex; align-items: baseline; gap: 0.6rem;
}
.stop-list li:first-child { border-top: 0; }
.stop-list .stop-tag {
  font-family: var(--label);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-deep);
  flex: 0 0 auto;
}
.stop-list a { font-weight: 600; text-decoration: none; }
.stop-list a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .chapter-body { grid-template-columns: 1fr; }
  .chapter-img { height: 170px; }
}

/* ---------- Posts rail: compact / secondary, never the visual climax ---------- */
.posts-rail {
  margin-top: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.posts-rail .section-head { margin: 0 0 0.6rem; }
.posts-rail .section-head h2 { font-size: 1rem; }
.posts-rail .post-list { font-size: 0.9rem; }
.posts-rail .post-list li { padding: 0.4rem 0; }

.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; margin: 2rem 0 0.9rem;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin: 0; font-weight: 500;
}
.section-head.compact h2 { font-family: var(--label); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.section-head a { font-weight: 600; font-size: 0.85rem; }

.kicker {
  font-family: var(--label);
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-deep); font-weight: 600;
}

.prose { max-width: 42rem; }
.prose h2, .prose h3, .article-body h2, .article-body h3 {
  font-family: var(--display); font-weight: 500;
}
.prose img, .article-body img, figure img {
  max-width: 100%; height: auto; display: block;
}
.article-lead { margin: 0 0 1.25rem; }
.article-lead img { width: 100%; max-height: 420px; object-fit: cover; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(24,34,41,0.1); }
.feature-card img { width: 100%; height: 180px; object-fit: cover; background: var(--line-soft); }
.feature-card .pad { padding: 1rem 1.1rem 1.2rem; }
.feature-card .kicker { margin: 0 0 0.35rem; }
.feature-card h3 {
  font-family: var(--display); margin: 0 0 0.35rem; font-size: 1.2rem; font-weight: 500;
}
.feature-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.split {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.5rem; align-items: center;
  margin: 2rem 0;
}
.split img { width: 100%; height: 340px; object-fit: cover; border: 1px solid var(--line); }
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
}

.btn {
  display: inline-block;
  background: var(--blue-deep);
  color: #fff !important;
  text-decoration: none !important;
  padding: 0.75rem 1.2rem;
  font-family: var(--label);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 0;
  cursor: pointer;
}
.btn:hover { background: var(--ink); }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink) !important;
  margin-left: 0.5rem;
}
.btn-ghost:hover { background: var(--ink); color: #fff !important; }

.page-hero { padding: 1.75rem 0 0.5rem; }
.page-hero .kicker { margin: 0 0 0.4rem; }
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  margin: 0 0 0.75rem;
  font-weight: 500;
  line-height: 1.2;
  max-width: 42rem;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.page-hero .subtitle { color: var(--muted); margin: 0; max-width: 40rem; }

.article-body.prose p { margin: 0 0 1.1rem; }
.article-body .navbar,
.article-body #navbar-main,
.article-body #headerwrap,
.article-body #portfolio,
.article-body #footerwrap,
.article-body .show-more-Articles {
  display: none !important;
}

/* Article page: full-width title/crumbs, then article left + sidebar right */
.layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.25rem 2rem;
  align-items: start;
}
.layout-grid > .breadcrumbs,
.layout-grid > .page-hero {
  grid-column: 1 / -1;
}
.layout-grid > .article-body,
.layout-grid > article.prose {
  grid-column: 1;
  min-width: 0;
}
.layout-grid > .sidebar {
  grid-column: 2;
}
.layout-grid > .content-main {
  grid-column: 1;
  min-width: 0;
}
@media (max-width: 900px) {
  .layout-grid { grid-template-columns: 1fr; }
  .layout-grid > .sidebar,
  .layout-grid > .article-body,
  .layout-grid > article.prose,
  .layout-grid > .content-main {
    grid-column: 1;
  }
}
.sidebar .widget {
  background: var(--panel); border: 1px solid var(--line); padding: 1rem;
  margin-bottom: 1rem;
}
.sidebar h2 {
  font-family: var(--label); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 0.75rem;
}
.posts-list, .post-list { list-style: none; padding: 0; margin: 0; }
.posts-list li, .post-list li {
  padding: 0.55rem 0; border-bottom: 1px solid var(--line-soft);
}
.posts-list a, .post-list a { text-decoration: none; font-weight: 600; color: var(--ink); }
.posts-list a:hover, .post-list a:hover { color: var(--blue-deep); }

.load-more-posts, .btn-outline {
  margin-top: 1rem;
  background: transparent; border: 1px solid var(--blue); color: var(--blue-deep);
  padding: 0.6rem 1rem; font-family: var(--label); font-size: 0.82rem; font-weight: 600; cursor: pointer;
}

.sidebar-search { display: flex; border: 1px solid var(--line); background: #fff; }
.sidebar-search input { border: 0; padding: 0.55rem 0.65rem; min-width: 0; width: 100%; background: transparent; font: inherit; }
.sidebar-search button { border: 0; background: var(--blue-deep); color: #fff; padding: 0.55rem 0.8rem; cursor: pointer; font-weight: 600; font-family: var(--label); font-size: 0.8rem; }
.chapter-jump { list-style: none; padding: 0; margin: 0; font-family: var(--label); font-size: 0.82rem; }
.chapter-jump li { padding: 0.4rem 0; border-bottom: 1px solid var(--line-soft); }
.chapter-jump a { text-decoration: none; font-weight: 600; }

.breadcrumbs { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.75rem; }
.breadcrumbs a { color: var(--muted); }

.contact-form label { display: block; margin: 0.75rem 0; font-weight: 600; }
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: 0.35rem;
  padding: 0.65rem 0.75rem; border: 1px solid var(--line); font: inherit;
  background: #fff;
}

/* ---------- Footer: single utility row, not a foot-links column clone ---------- */
.site-foot {
  background: var(--ink); color: #e9e6da;
  margin-top: 2rem;
  border-top: 3px double var(--blue-deep);
}
.site-foot a { color: #cfe0e8; }
.site-foot-inner {
  width: min(1160px, calc(100% - 2rem)); margin: 0 auto;
}
.utility-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.6rem 1.5rem;
  padding: 0.9rem 0;
  font-family: var(--label);
  font-size: 0.8rem;
}
.utility-row .foot-brand { font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; }
.foot-utility { display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; }
.foot-utility a { text-decoration: none; font-weight: 600; }
.foot-utility a:hover { color: #fff; }
.utility-row .foot-contact { white-space: nowrap; }
.utility-row .foot-contact a { font-weight: 700; }

.search-results { list-style: none; padding: 0; }
.search-result { padding: 1rem 0; border-bottom: 1px solid var(--line-soft); }
.search-empty { padding: 1.5rem; background: var(--panel); border: 1px solid var(--line); }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.chapter, .feature-card { animation: rise-in 0.5s ease both; }


site-header,site-nav,post-list,site-footer,site-search{display:block}

/* persona-M-extras */

site-header,site-nav,post-list,site-footer,site-search{display:block}
