/* Bowen Hills Local — editorial neighbourhood column
   Hand-built CSS, no framework. Variables at top so palette tweaks easy. */

:root {
  --ink: #1A1A1A;
  --paper: #F7F4EE;
  --paper-deep: #EFEAE0;
  --terracotta: #C75D3A;
  --teal: #3F6E73;
  --rule: #D9D2C2;
  --muted: #6E665A;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

h1, h2, h3, h4, .serif {
  font-family: 'Lora', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin: 0 0 0.4em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 2em 0 0.6em; }
h3 { font-size: 1.3rem; margin: 1.6em 0 0.5em; }

p { margin: 0 0 1.1em; }
em { font-style: italic; color: var(--muted); }

/* ---------- LAYOUT ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 28px; }

/* ---------- HEADER ---------- */
.site-header {
  border-bottom: 1px solid var(--rule);
  padding: 22px 0 18px;
  background: var(--paper);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(6px);
}
.site-header .wrap { display: flex; align-items: baseline; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.brand {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand em { font-style: italic; color: var(--terracotta); }
.brand-tag { display: block; font-family: 'DM Sans', sans-serif; font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
nav.primary { display: flex; gap: 24px; flex-wrap: wrap; }
nav.primary a {
  color: var(--ink); text-decoration: none; font-size: 0.92rem; font-weight: 500;
  padding-bottom: 3px; border-bottom: 2px solid transparent;
}
nav.primary a:hover { border-bottom-color: var(--terracotta); }

/* ---------- HERO ---------- */
.hero {
  padding: 80px 0 70px;
  border-bottom: 1px solid var(--rule);
}
.hero .kicker {
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--terracotta); font-weight: 500; margin-bottom: 18px;
}
.hero h1 {
  max-width: 14ch;
  margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--teal); }
.hero .lede {
  max-width: 56ch;
  font-size: 1.18rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- FEATURED IMAGE BAND ---------- */
.image-band {
  height: 56vh; min-height: 380px; max-height: 560px;
  background-size: cover; background-position: center;
  border-bottom: 1px solid var(--rule);
}

/* ---------- ARTICLE CARDS GRID ---------- */
.section { padding: 80px 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 42px; gap: 24px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head .more { font-size: 0.88rem; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px 32px; }
.card { display: flex; flex-direction: column; }
.card-img {
  aspect-ratio: 4 / 3; background-size: cover; background-position: center;
  margin-bottom: 18px;
}
.card-meta { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.card h3 { font-size: 1.32rem; margin: 0 0 10px; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--terracotta); }
.card p { font-size: 0.96rem; color: var(--muted); margin: 0; }
@media (max-width: 880px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .cards { grid-template-columns: 1fr; } }

/* ---------- PULLQUOTE ---------- */
.pull {
  background: var(--ink); color: var(--paper);
  padding: 90px 28px;
}
.pull blockquote {
  max-width: 780px; margin: 0 auto;
  font-family: 'Lora', serif; font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.45;
  border: none; padding: 0;
}
.pull blockquote::before { content: '“'; font-size: 3.5rem; color: var(--terracotta); display: block; line-height: 0.5; margin-bottom: 18px; }
.pull cite {
  display: block; margin-top: 28px;
  font-family: 'DM Sans', sans-serif;
  font-style: normal; font-size: 0.82rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--terracotta);
}

/* ---------- ARTICLE BODY ---------- */
article.post { padding: 70px 0 90px; }
article.post .post-head { text-align: center; max-width: 760px; margin: 0 auto 50px; padding: 0 28px; }
article.post .post-meta { font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
article.post .post-meta span + span::before { content: ' · '; margin: 0 4px; }
article.post .post-meta a { color: var(--terracotta); text-decoration: none; }
article.post h1 { margin: 0 auto; max-width: 22ch; }
article.post .lede { max-width: 60ch; margin: 30px auto 0; color: var(--muted); font-size: 1.18rem; line-height: 1.55; }
article.post .post-body { max-width: 700px; margin: 0 auto; padding: 0 28px; }
article.post .post-body p:first-of-type::first-letter {
  font-family: 'Lora', serif; float: left; font-size: 4.2rem; line-height: 0.9;
  margin: 6px 12px 0 -2px; color: var(--terracotta); font-weight: 500;
}
article.post .post-body img { max-width: 100%; height: auto; margin: 32px 0; }
article.post .post-body blockquote {
  border-left: 3px solid var(--terracotta);
  padding: 6px 0 6px 24px;
  margin: 32px 0;
  font-family: 'Lora', serif; font-style: italic; font-size: 1.18rem; color: var(--ink);
}
article.post .post-body figure { margin: 36px 0; }
article.post .post-body figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }

/* ---------- BYLINE ---------- */
.byline { display: flex; align-items: center; gap: 14px; justify-content: center; margin-top: 30px; font-size: 0.9rem; color: var(--muted); }
.byline .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--paper-deep); display: inline-block; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 64px 0 32px; margin-top: 0; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.site-footer h4 { color: var(--paper); font-family: 'DM Sans', sans-serif; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 16px; font-weight: 500; }
.site-footer a { color: var(--paper); text-decoration: none; display: block; padding: 4px 0; font-size: 0.95rem; }
.site-footer a:hover { color: var(--terracotta); }
.site-footer .legal { border-top: 1px solid #333; margin-top: 50px; padding-top: 22px; font-size: 0.8rem; color: #888; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer .acknowledgement { font-size: 0.85rem; color: #aaa; max-width: 38ch; line-height: 1.5; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ---------- EVENT-PAGE BLOCKS ---------- */
.event-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 30px 0 50px; padding: 26px; background: var(--paper-deep); border-left: 3px solid var(--terracotta); }
.event-meta dt { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.event-meta dd { margin: 0; font-family: 'Lora', serif; font-size: 1.1rem; }
@media (max-width: 580px) { .event-meta { grid-template-columns: 1fr; } }

/* ---------- UTILITY ---------- */
.tagline { font-style: italic; color: var(--muted); }
.divider { height: 1px; background: var(--rule); margin: 70px 0; }
hr { border: none; border-top: 1px solid var(--rule); margin: 50px 0; }
