/* Journal pages for zuzaballerina.com. Same colours and fonts as assets/styles.css,
   kept separate so the Journal never depends on the one-page site's scripts. */
:root {
  --ink: #171713;
  --paper: #f5f2eb;
  --white: #fffefb;
  --stone: #625d56;
  --line: rgba(23, 23, 19, .16);
  --rose: #b99186;
  --rose-text: #a16c5d;
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --gutter: clamp(1rem, 4vw, 3rem);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-weight: 300; font-size: 1.0625rem; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { line-height: 1.75; }

.skip-link { position: absolute; left: -999px; top: 0; padding: .75rem 1rem; background: var(--ink); color: var(--white); z-index: 100; }
.skip-link:focus { left: 1rem; }
:focus-visible { outline: 2px solid var(--rose-text); outline-offset: 3px; }

/* Header and footer mirror the main site */
.site-header { position: sticky; top: 0; z-index: 80; display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; align-items: center; min-height: 74px; padding: .75rem var(--gutter); background: rgba(245, 242, 235, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.wordmark { font-family: var(--display); font-size: 1.7rem; font-weight: 500; letter-spacing: .06em; text-decoration: none; }
.wordmark span { color: var(--rose-text); }
.journal-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.journal-nav a { text-decoration: none; padding: .35rem 0; border-bottom: 1px solid transparent; }
.journal-nav a:hover, .journal-nav a[aria-current] { border-bottom-color: var(--rose); }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; padding: 3rem var(--gutter); border-top: 1px solid var(--line); margin-top: 5rem; }
.site-footer p { margin: .4rem 0 0; color: var(--stone); font-size: .85rem; }
.footer-links { display: flex; gap: 1.5rem; font-size: .8rem; font-weight: 500; }
.footer-links a { text-decoration: none; }
.copyright { grid-column: 1 / -1; font-size: .75rem !important; }

/* Shared type */
.eyebrow { margin: 0 0 1rem; color: var(--stone); font-size: .68rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; }
h1 em, h2 em { color: var(--rose-text); font-weight: 400; }

/* Journal index */
.journal-head { max-width: 1200px; margin: 0 auto; padding: clamp(3rem, 8vw, 6rem) var(--gutter) 2rem; }
.journal-head h1 { margin: 0; font-size: clamp(2.8rem, 7vw, 5.5rem); }
.journal-head p.lede { max-width: 40rem; color: var(--stone); }
.entries { list-style: none; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.entry-card a { display: block; text-decoration: none; }
.entry-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--white); }
.entry-card h2 { margin: 1rem 0 .4rem; font-size: 1.85rem; }
.entry-card p { margin: 0; color: var(--stone); font-size: .95rem; line-height: 1.6; }
.entry-card a:hover h2 { color: var(--rose-text); }
.entry-card .eyebrow { margin: 1rem 0 0; }

/* Single entry */
.post { max-width: 44rem; margin: 0 auto; padding: clamp(2.5rem, 7vw, 5rem) var(--gutter) 0; }
.post h1 { margin: 0 0 1rem; font-size: clamp(2.5rem, 6vw, 4.2rem); }
.post .lede { margin: 0 0 2rem; color: var(--stone); font-size: 1.15rem; line-height: 1.6; }
.post figure { margin: 0 0 2.5rem; }
.post figure img { display: block; width: 100%; height: auto; }
.post figcaption { margin-top: .6rem; color: var(--stone); font-size: .78rem; letter-spacing: .04em; }
.post-body h2 { margin: 2.6rem 0 .6rem; font-size: clamp(1.7rem, 3.5vw, 2.2rem); }
.post-body h3 { margin: 2rem 0 .4rem; font-size: 1.5rem; }
.post-body strong { font-weight: 600; }
.post-body blockquote { margin: 2rem 0; padding-left: 1.25rem; border-left: 2px solid var(--rose); font-family: var(--display); font-size: 1.45rem; font-style: italic; line-height: 1.4; }
.post-body ul, .post-body ol { padding-left: 1.25rem; line-height: 1.75; }
.post-body li { margin-bottom: .4rem; }

.join { margin: 3.5rem 0 0; padding: 2rem; background: var(--white); border: 1px solid var(--line); }
.join h2 { margin: 0 0 .5rem; font-size: 1.9rem; }
.join p { margin: 0 0 1.25rem; color: var(--stone); }
.button { display: inline-block; padding: .9rem 1.4rem; background: var(--ink); color: var(--white); text-decoration: none; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.button:hover { background: var(--rose-text); }

.post-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .9rem; }
.post-nav a { text-decoration: none; }
.post-nav a:hover { color: var(--rose-text); }

@media (max-width: 560px) {
  .site-footer { grid-template-columns: 1fr; }
  .join { padding: 1.5rem; }
  .button { display: block; text-align: center; }
}
