/* Linen — soft linen whites with deep sage, quiet and domestic. Built for
   notes, house projects, garden journals and personal sites.
   rev 2026-08-02
   Font: Playwrite NZ Guides via Bunny Fonts, requested only when this theme is
   picked. Self-host or use Google instead: see "Font family" in the guide's Tips page.
   "Guides" draws guideline strokes through each letter; for plain forms swap
   "playwrite-nz-guides" → "playwrite-nz" in the @import and font-family. */

@import url('https://fonts.bunny.net/css?family=playwrite-nz-guides:400&display=swap');

[data-theme="linen"] {
  --theme-icon: "🕯️";
  --bg:         #faf8f4;
  --bg-nav:     #efece4;
  --bg-code:    #e7e3da;
  --border:     #cdc7b8;
  --text:       #33312c;
  --text-muted: #6b665c;
  --heading:    #3f5140;
  --link:       #4a6042;
  --link-hover: #354830;
  --active-bg:  #e1e5d7;
  --active:     #354830;
  --head-bg:    #efece4;
}

/* Script for the page title and site title only — see note 2 above. */
[data-theme="linen"] main h1,
[data-theme="linen"] .site-title {
  font-family: 'Playwrite NZ Guides', 'Segoe Script', cursive;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

/* Lower headings stay in the body serif, at small caps, so the hierarchy still
   reads without competing with the script. */
[data-theme="linen"] main h2,
[data-theme="linen"] main h3 {
  font-variant-caps: small-caps;
  letter-spacing: 0.06em;
  font-weight: 600;
}

[data-theme="linen"] body { font-family: 'Iowan Old Style', Georgia, 'Times New Roman', serif; }
[data-theme="linen"] code,
[data-theme="linen"] pre  { font-family: ui-monospace, Consolas, monospace; }

[data-theme="linen"] main blockquote {
  border-left: 2px solid var(--heading);
  background: transparent;
  font-style: italic;
  color: var(--text-muted);
}
