/* Shared styles for the Zenk Journal — same design tokens as the main site, simplified for reading */
:root{
  --ocean:#1391B4;
  --amber:#FFA040;
  --persimmon:#D2542E;
  --white:#FAF7F2;
  --ink:#2C2826;
  --ink-soft:#2c2826b3;
  --hair:#2c28261a;
  --display:"Instrument Serif",Georgia,serif;
  --body:"Instrument Sans",system-ui,-apple-system,sans-serif;
  /* the same section rhythm the homepage uses — see the note beside it in index.html */
  --section:clamp(3rem,5vw,5rem);
}
*{margin:0;padding:0;box-sizing:border-box}
html,body{background:var(--white);color:var(--ink);font-family:var(--body);-webkit-font-smoothing:antialiased}
img{display:block;width:100%;height:100%;object-fit:cover}
a{color:inherit;text-decoration:none}
::selection{background:var(--ink);color:var(--white)}

.eyebrow{font-size:.72rem;letter-spacing:.28em;text-transform:uppercase;font-weight:500;color:var(--ink-soft)}
.wrap{max-width:800px;margin:0 auto;padding:0 clamp(1.2rem,4vw,2rem)}
.wrap-wide{max-width:1080px;margin:0 auto;padding:0 clamp(1.2rem,4vw,2rem)}

/* ---- nav (markup comes from site-chrome.js — shared with the homepage) ---- */
/* sticky so the menu stays reachable down a long article, matching the fixed nav on the homepage */
header.nav{position:sticky;top:0;z-index:100;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;min-height:78px;padding:0 clamp(1.2rem,4vw,3rem);border-bottom:1px solid var(--hair)}
/* same glass panel as the homepage — see the note in index.html for why it sits on a ::before */
header.nav::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,#faf7f2f2 0%,#faf7f2cc 100%);
  -webkit-backdrop-filter:blur(16px) saturate(1.25);backdrop-filter:blur(16px) saturate(1.25)}
header.nav .brand{font-family:var(--display);font-size:1.4rem;font-weight:400;letter-spacing:.02em;line-height:1.15;display:flex;flex-direction:column;flex:0 0 auto}
header.nav .brand-sub{font-family:var(--body);font-size:.58rem;letter-spacing:.09em;text-transform:uppercase;font-weight:400;color:var(--ink-soft)}
header.nav .links{display:flex;align-items:center;gap:clamp(.9rem,2.2vw,1.9rem);flex-wrap:wrap;justify-content:flex-end}
header.nav .links a{font-size:.76rem;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-soft);white-space:nowrap}
header.nav .links a:hover{color:var(--ink)}
header.nav .back{font-size:.76rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-soft)}
header.nav .back:hover{color:var(--ink)}
/* the menu is no longer hidden on phones — see the note in site-chrome.js, which now sizes it */

/* ---- footer (markup comes from site-chrome.js — shared with the homepage) ---- */
footer{background:var(--ink);color:var(--white);padding-block:clamp(3rem,6vh,5rem);margin-top:auto}
footer .wrap{max-width:1080px}   /* .wrap is 800px here for readable text; the footer wants the wider measure */
footer .grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:2rem}
@media(max-width:720px){footer .grid{grid-template-columns:1fr 1fr}}
footer .fbrand{font-family:var(--display);font-size:2.4rem;font-weight:400}
footer .maker{font-size:.8rem;color:#faf7f280;margin-top:.6rem;letter-spacing:.04em}
footer h4{font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;color:#faf7f280;margin-bottom:1.2rem;font-weight:500}
footer ul{list-style:none;display:flex;flex-direction:column;gap:.7rem}
footer ul a{font-size:.95rem;color:#faf7f2cc}
footer ul a:hover{color:var(--white)}
footer .base{margin-top:3.5rem;padding-top:1.5rem;border-top:1px solid #faf7f224;display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem;font-size:.76rem;color:#faf7f280}

/* ---- listing page ---- */
.journal-hero{padding:clamp(3.5rem,8vw,6rem) 0 clamp(2rem,5vw,3rem)}
/* max-width was 16ch/48ch — narrow enough to force the headline onto three cramped
   lines and the dek onto three. Widened, and balance/pretty do the breaking. */
.journal-hero h1{font-family:var(--display);font-weight:400;font-size:clamp(2.4rem,6vw,4rem);line-height:1.05;letter-spacing:-0.01em;margin-top:1rem;max-width:26ch;text-wrap:balance}
.journal-hero p{margin-top:1.2rem;font-size:1.15rem;color:var(--ink-soft);max-width:62ch;line-height:1.55;text-wrap:pretty}

.post-list{padding-bottom:clamp(2rem,4vw,3rem)}
.wrap>.post-cta{margin-bottom:clamp(3rem,6vw,4.5rem)}
.post-card{display:block;padding:clamp(1.8rem,3vw,2.6rem) 0;border-top:1px solid var(--hair);cursor:pointer;transition:padding-left .3s ease}
.post-list .post-card:last-child{border-bottom:1px solid var(--hair)}
.post-card .meta{display:flex;gap:1rem;align-items:center;font-size:.76rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-soft);margin-bottom:.8rem}
.post-card .meta .tag{color:var(--ocean)}
.post-card h2{font-family:var(--display);font-weight:400;font-size:clamp(1.4rem,2.6vw,1.9rem);line-height:1.2;letter-spacing:-0.005em;max-width:26ch;transition:color .25s ease}
.post-card p{margin-top:.7rem;color:var(--ink-soft);font-size:1.02rem;line-height:1.55;max-width:60ch}
.post-card .read{display:inline-flex;align-items:center;gap:.35rem;margin-top:1rem;font-size:.85rem;color:var(--persimmon);transition:gap .25s ease}
.post-card:hover{padding-left:.6rem}
.post-card:hover h2{color:var(--ocean)}
.post-card:hover .read{gap:.6rem}

/* ---- article page ---- */
article.post{padding:clamp(3rem,7vw,5rem) 0 clamp(4rem,8vw,6rem)}
.post-head{margin-bottom:clamp(2.5rem,6vw,4rem)}
.post-head .meta{display:flex;gap:1rem;align-items:center;font-size:.76rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-soft);margin-top:1rem}
.post-head .meta .tag{color:var(--ocean)}
.post-head h1{font-family:var(--display);font-weight:400;font-size:clamp(2rem,5vw,3.2rem);line-height:1.08;letter-spacing:-0.01em;margin-top:1rem;text-wrap:balance}
.post-head .dek{margin-top:1.2rem;font-size:1.2rem;color:var(--ink-soft);line-height:1.5;max-width:56ch}

.post-image{overflow:hidden;aspect-ratio:4/5;margin:0 auto 2.5rem;max-width:420px}

/* ---- story page: wider container, image left / text right ---- */
/* wider than the article measure — this page is a campaign spread, not a blog post */
.story-wrap{max-width:1320px}
.story-quote{font-family:var(--display);font-weight:400;font-style:italic;font-size:clamp(2.2rem,5.2vw,3.8rem);line-height:1.12;letter-spacing:-0.01em;text-align:center;max-width:22ch;margin:0 auto clamp(2.8rem,6vw,4.5rem);text-wrap:balance}
/* the headline belongs to the spread underneath it, so it sits close to it */
.story-title{font-family:var(--display);font-weight:400;font-size:clamp(2.4rem,6vw,3.8rem);line-height:1.05;letter-spacing:-0.01em;margin-bottom:clamp(2rem,3.4vw,3rem)}
/* the photograph leads. It was .85fr against 1.15fr, so the copy was the bigger block. */
.story-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:clamp(2.5rem,5vw,5rem);align-items:start}
/* a line box carries leading above the cap, so text set at the same y as an image reads as
   sitting lower than it. This pulls the first line up onto the picture's top edge. */
@media(min-width:861px){.story-text{margin-top:-.4rem}}
@media(max-width:860px){.story-grid{grid-template-columns:1fr}}
.story-media{aspect-ratio:4/5;overflow:hidden}
.story-text .post-head{margin-bottom:1.6rem}

.post-body{font-size:1.15rem;line-height:1.75;max-width:66ch}
/* 66ch is article typography. On the story page the measure is the main thing making it
   feel like an About Us page rather than a campaign spread — about 60 characters. */
.story-text .post-body{font-size:1.125rem;line-height:1.6;max-width:560px}
.story-text .post-body p{margin-bottom:1.15rem}
/* one sentence doing more work than five paragraphs — no quote marks, it is the story
   speaking, not a testimonial */
/* No quote marks and no italics on purpose: this is Erin's own thought inside her own story,
   not something she is quoting. Quote marks would make it a citation and italics would make it
   an aside — it is neither, it is the turn the story pivots on. The display face against the
   sans body is already all the separation it needs.
   No max-width either: a 15ch cap was snapping it into three stubby lines, which read as broken
   rather than deliberate. It takes the column and balances across two. */
.story-pull{font-family:var(--display);font-weight:400;font-size:clamp(1.7rem,2.5vw,2.15rem);
  line-height:1.18;letter-spacing:-0.01em;color:var(--ink);margin:2.2rem 0;text-wrap:balance}
.post-body .sign{margin-top:2rem;font-family:var(--body);font-style:normal;font-size:.82rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-soft)}
.post-body .sign small{display:block;font-family:var(--body);font-style:normal;font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:var(--ink-soft);margin-top:.4rem}
.post-body h2{font-family:var(--display);font-weight:400;font-size:clamp(1.4rem,2.8vw,1.7rem);letter-spacing:-0.005em;margin:2.4rem 0 1rem}
.post-body p{margin-bottom:1.3rem;color:#2c2826e6}
.post-body ul{margin:0 0 1.3rem 1.3rem}
.post-body li{margin-bottom:.5rem;color:#2c2826e6}
.post-body strong{font-weight:600;color:var(--ink)}
.post-body blockquote{font-family:var(--display);font-style:italic;font-weight:400;font-size:1.4rem;line-height:1.4;color:var(--ink);border-left:2px solid var(--ocean);padding-left:1.4rem;margin:2rem 0}

.post-cta{margin-top:3rem;padding:clamp(1.8rem,3vw,2.4rem);border:1px solid var(--hair);border-radius:12px;display:flex;justify-content:space-between;align-items:center;gap:1.5rem;flex-wrap:wrap}
.post-cta .t{font-family:var(--display);font-size:1.2rem}
.post-cta .s{color:var(--ink-soft);font-size:.95rem;margin-top:.3rem}
.post-cta .btn{display:inline-flex;align-items:center;background:var(--persimmon);color:var(--white);font-family:var(--body);font-size:.92rem;padding:.85rem 1.5rem;border-radius:100px;white-space:nowrap}
.post-cta .btn:hover{background:#b8471f}

.post-nav{margin-top:clamp(3rem,6vw,4.5rem);padding-top:1.5rem;border-top:1px solid var(--hair);display:flex;justify-content:space-between;gap:1rem;font-size:.85rem}
.post-nav a{color:var(--ink-soft)}
.post-nav a:hover{color:var(--ocean)}

/* ---- footer ---- */
/* the old minimal .jfoot footer is gone — every page now shares the real footer from site-chrome.js */

