/* westcoastconservative.ca - an editorial blog. Pacific navy ink on cool paper,
   a cedar-red accent, and serif type for the writing. */
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4-italic.woff2") format("woff2");
  font-weight: 200 900; font-style: italic; font-display: swap;
}

:root {
  --bg: #f6f7f8;
  --surface: #ffffff;
  --surface-2: #e9edf1;
  --text: #14273d;
  --muted: #56657a;
  --border: #d8dee6;
  --accent: #a8322a;
  --accent-ink: #ffffff;
  --link: #1f4e85;
  --focus: #2f6fb5;

  --header-bg: rgba(246, 247, 248, .92);
  --hero-bg: #14273d;
  --hero-text: #ffffff;
  --footer-bg: #14273d;
  --footer-text: #c9d3df;

  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: var(--font-serif);
  --font-heading: var(--font-serif);
  --font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --heading-weight: 700;
  --heading-tracking: -0.01em;
  --step-0: 1.125rem;
  --radius: 3px;
  --radius-sm: 2px;
  --measure: 66ch;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1a27;
    --surface: #15222f;
    --surface-2: #1c2b3b;
    --text: #e8edf3;
    --muted: #a3b1c2;
    --border: #2a3a4c;
    --accent: #e2655b;
    --accent-ink: #0f1a27;
    --link: #8db8ea;
    --header-bg: rgba(15, 26, 39, .92);
    --hero-bg: #0a121c;
    --footer-bg: #0a121c;
    --footer-text: #a3b1c2;
  }
}

body { line-height: 1.7; }
.site-header { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.brand { font-size: 1.35rem; font-weight: 650; letter-spacing: -0.01em; }

/* Interface bits in a quiet sans, writing in serif */
.site-nav a, .meta, .tag, .button, .pagination, .sidebar__title, .eyebrow, .site-footer, .entry__nav a span, .contact__field, .contact__privacy { font-family: var(--font-ui); }
.site-nav a { font-size: .95rem; }
.meta { letter-spacing: .02em; }
.tag { background: transparent; border-color: var(--border); }

/* Photo header */
.hero--image { min-height: clamp(260px, 42vw, 460px); display: flex; align-items: flex-end; }
.hero--image::after { background: linear-gradient(180deg, rgba(10, 20, 32, 0) 25%, rgba(10, 20, 32, .7) 100%); }
.hero__inner { padding-block: clamp(2rem, 6vw, 3.5rem); }
.hero__heading { font-weight: 650; text-shadow: 0 2px 16px rgba(0, 0, 0, .35); }
.hero__text { font-style: italic; text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }

/* Reading */
.prose { font-size: 1.15rem; }
.prose blockquote { border-left-color: var(--accent); font-style: italic; }
.prose img { border-radius: var(--radius); }
.entry__title { font-weight: 700; }
.post-card__title { font-size: 1.4rem; font-weight: 650; }
.post-card__excerpt { font-size: 1.05rem; }
.section__head h2, .page-head h1 { font-style: italic; font-weight: 600; }

.button { border-radius: var(--radius); }
.site-footer a { color: inherit; }
.site-footer { border-top-color: var(--border); }
/* Match the text column width (ch is relative to font size, and .prose is 1.15rem here). */
.entry__feature { font-size: 1.15rem; }
