/* Land & Lore draft visual system — sandbox only */
:root {
  --ll-ink: #2b2823;
  --ll-muted: #6f695f;
  --ll-accent: #5d6650;
  --ll-paper: #f7f4ee;
  --ll-rule: #d8d0c4;
  --ll-max: 1180px;
  --ll-reading: 720px;
}

body {
  color: var(--ll-ink);
  background: #fff;
}

.site-content,
.ast-container {
  max-width: var(--ll-max);
}

.entry-content,
.entry-summary,
.ast-archive-description {
  font-family: Georgia, 'Times New Roman', serif;
}

.entry-content p,
.entry-summary p {
  line-height: 1.75;
}

.entry-title,
.page-title,
.entry-content h1,
.entry-content h2,
.entry-content h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ll-ink);
}

.entry-content h1,
.page-title {
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1.05;
}

.entry-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  margin-top: 2.5em;
}

.entry-content h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.entry-content > p,
.entry-content > h1,
.entry-content > h2,
.entry-content > h3,
.entry-content > hr,
.entry-content > .wp-block-group,
.entry-content > .wp-block-columns,
.entry-content > .wp-block-query {
  max-width: var(--ll-reading);
  margin-left: auto;
  margin-right: auto;
}

.entry-content > .wp-block-columns,
.entry-content > .wp-block-query {
  max-width: var(--ll-max);
}

.wp-block-separator {
  border: 0;
  border-top: 1px solid var(--ll-rule);
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
}

.wp-block-columns {
  gap: clamp(2rem, 5vw, 5rem);
}

.wp-block-post-featured-image img,
.post-thumb img,
.ast-blog-featured-section img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.wp-block-post-terms,
.entry-meta,
.cat-links,
.ast-archive-description,
.ll-territory-kicker {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: .76rem;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ll-muted);
}

.entry-content a,
.archive a {
  text-underline-offset: .18em;
  text-decoration-thickness: .06em;
}

.ll-territory-header {
  max-width: 820px;
  margin: 2.5rem auto 4rem;
  padding: 0 1.25rem 2.75rem;
  text-align: center;
  border-bottom: 1px solid var(--ll-rule);
}

.ll-territory-header h1 {
  margin: .4rem 0 1rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  font-weight: 400;
  line-height: 1;
}

.ll-territory-header p {
  max-width: 650px;
  margin: 0 auto;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--ll-muted);
}

.category .ast-archive-description,
.category .ast-archive-title {
  display: none;
}

.category #primary {
  width: 100%;
}

.category #secondary {
  display: none;
}

.category .ast-container {
  display: block;
}

.category .site-main > article {
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--ll-rule);
}

.category .entry-title {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.category .entry-content,
.category .entry-summary {
  max-width: 760px;
}

/* Future Home draft */
.page-id-1770 .entry-header,
.page-id-1771 .entry-header {
  display: none;
}

.page-id-1770 .entry-content,
.page-id-1771 .entry-content {
  margin-top: 0;
}

.page-id-1770 .entry-content > .wp-block-group:first-child {
  max-width: 920px;
  padding: clamp(4rem, 9vw, 8rem) 1.5rem clamp(3rem, 7vw, 6rem);
}

.page-id-1770 .entry-content > .wp-block-group:first-child h1 {
  margin-bottom: .3rem;
  font-size: clamp(3.4rem, 8vw, 6.8rem);
  line-height: .95;
}

.page-id-1770 .entry-content > .wp-block-group:first-child p {
  margin: .35rem auto;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ll-muted);
  letter-spacing: .08em;
}

.page-id-1770 .entry-content > .wp-block-group:first-child p:last-child {
  margin-top: 1rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.15rem;
  font-style: italic;
  letter-spacing: 0;
}

.page-id-1770 .entry-content > h2,
.page-id-1771 .entry-content > h2 {
  margin-bottom: 1.25rem;
}

.page-id-1770 .wp-block-columns {
  align-items: flex-start;
}

.page-id-1770 .wp-block-column h3 {
  margin-top: .3rem;
  margin-bottom: .65rem;
}

.page-id-1770 .wp-block-column p:first-child {
  margin-bottom: .35rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ll-muted);
}

.page-id-1770 .entry-content > h2 + p,
.page-id-1771 .entry-content > h1 + p {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--ll-muted);
}

/* Future Journal draft */
.page-id-1771 .entry-content > h1 {
  max-width: 920px;
  padding-top: clamp(3rem, 7vw, 6rem);
  text-align: center;
}

.page-id-1771 .entry-content > h1 + p {
  max-width: 680px;
  text-align: center;
}

.page-id-1771 .entry-content > h2:first-of-type,
.page-id-1771 .entry-content > h2:first-of-type + p {
  text-align: center;
}

.page-id-1771 .entry-content > h2:first-of-type + p {
  max-width: 940px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: .78rem;
  line-height: 2;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.page-id-1771 .wp-block-query {
  margin-top: 2rem;
}

.page-id-1771 .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
}

.page-id-1771 .wp-block-post-template > li {
  margin: 0;
  padding: 0 0 2.25rem;
  border-bottom: 1px solid var(--ll-rule);
}

.page-id-1771 .wp-block-post-featured-image {
  margin-bottom: 1.15rem;
}

.page-id-1771 .wp-block-post-title {
  margin: .45rem 0 .65rem;
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  line-height: 1.15;
}

.page-id-1771 .wp-block-post-excerpt {
  color: var(--ll-muted);
}

.page-id-1771 .wp-block-query-pagination {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ll-rule);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Draft editorial header */
.ast-primary-header-bar,
.ast-mobile-header-wrap,
.site-header-primary-section-left,
.site-header-primary-section-right {
  display: none !important;
}

.ll-site-header {
  border-bottom: 1px solid var(--ll-rule);
  background: rgba(255,255,255,.98);
}

.ll-header-inner {
  max-width: var(--ll-max);
  margin: 0 auto;
  min-height: 88px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.ll-wordmark,
.ll-footer-wordmark {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--ll-ink);
  text-decoration: none;
}

.ll-wordmark {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.ll-desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.35rem, 3vw, 2.4rem);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: .78rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.ll-desktop-nav a,
.ll-mobile-panel a,
.ll-site-footer a {
  color: var(--ll-ink);
  text-decoration: none;
}

.ll-desktop-nav a:hover,
.ll-mobile-panel a:hover,
.ll-site-footer a:hover {
  color: var(--ll-accent);
}

.ll-subscribe-link {
  padding-left: 1.5rem;
  border-left: 1px solid var(--ll-rule);
}

.ll-mobile-nav {
  display: none;
  position: relative;
}

.ll-mobile-nav summary {
  list-style: none;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ll-mobile-nav summary::-webkit-details-marker { display: none; }

.ll-desktop-nav a:focus-visible,
.ll-journal-menu summary:focus-visible,
.ll-mobile-nav summary:focus-visible,
.ll-mobile-panel a:focus-visible,
.ll-site-footer a:focus-visible,
.ll-wordmark:focus-visible {
  outline: 2px solid var(--ll-accent);
  outline-offset: 4px;
}

.ll-journal-menu {
  position: relative;
}

.ll-journal-menu summary {
  list-style: none;
  cursor: pointer;
}

.ll-journal-menu summary::-webkit-details-marker { display: none; }

.ll-journal-panel {
  position: absolute;
  left: 0;
  top: 1.8rem;
  z-index: 100;
  min-width: 190px;
  padding: 1rem 1.15rem;
  border: 1px solid var(--ll-rule);
  background: #fff;
  box-shadow: 0 14px 40px rgba(43,40,35,.08);
}

.ll-journal-panel a {
  display: block;
  padding: .45rem 0;
}

.ll-mobile-panel {
  position: absolute;
  right: 0;
  top: 2rem;
  z-index: 99;
  min-width: 260px;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--ll-rule);
  background: #fff;
  box-shadow: 0 14px 40px rgba(43,40,35,.08);
}

.ll-mobile-panel > a,
.ll-mobile-territories a {
  display: block;
  padding: .65rem 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.ll-mobile-panel > a {
  font-size: .86rem;
}

.ll-mobile-territories {
  margin: .25rem 0 .75rem;
  padding: .45rem 0 .45rem 1rem;
  border-left: 1px solid var(--ll-rule);
}

.ll-mobile-territories a {
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ll-muted);
}

/* Draft editorial footer */
.ll-site-footer {
  margin-top: 5rem;
  border-top: 1px solid var(--ll-rule);
  background: var(--ll-paper);
}

.ll-footer-inner {
  max-width: var(--ll-max);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6rem) 1.5rem 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
}

.ll-footer-wordmark { font-size: 2rem; margin-bottom: .8rem; }
.ll-footer-brand p { margin: .35rem 0; color: var(--ll-muted); }
.ll-footer-brand p:last-child { font-family: Georgia, 'Times New Roman', serif; }

.ll-site-footer h2 {
  margin: 0 0 1rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ll-muted);
}

.ll-site-footer a,
.ll-footer-pending {
  display: block;
  margin: .55rem 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: .98rem;
}

.ll-footer-pending { color: var(--ll-muted); }

.ll-footer-utility {
  max-width: var(--ll-max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem 2rem;
  border-top: 1px solid var(--ll-rule);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ll-muted);
}

@media (max-width: 768px) {
  .ll-header-inner {
    min-height: 72px;
    padding: 0 1.1rem;
  }

  .ll-desktop-nav { display: none; }
  .ll-mobile-nav { display: block; }

  .ll-footer-inner {
    grid-template-columns: 1fr 1fr;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .ll-footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--ll-rule);
  }

  .ll-footer-utility {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
    flex-direction: column;
  }

  .page-id-1770 .entry-content > .wp-block-group:first-child {
    padding-top: 3.5rem;
    padding-bottom: 2.5rem;
  }

  .page-id-1770 .wp-block-columns,
  .page-id-1771 .wp-block-post-template {
    display: block;
  }

  .page-id-1770 .wp-block-column + .wp-block-column,
  .page-id-1771 .wp-block-post-template > li + li {
    margin-top: 2rem;
  }
  .entry-content > p,
  .entry-content > h1,
  .entry-content > h2,
  .entry-content > h3,
  .entry-content > hr,
  .entry-content > .wp-block-group,
  .entry-content > .wp-block-columns,
  .entry-content > .wp-block-query {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .ll-territory-header {
    margin-top: 1rem;
  }
}
