/* Shared stylesheet for satgratia.com. Print direction approved 2026-09-10: cream paper,
   green wordmark, blue secondary headers, orange links, Art Deco scroll panels, indigo
   hand-drawn ornaments. Single light theme by design. Tokens first, then components. */

/* Self-hosted fonts (SIL OFL 1.1), latin subsets. See fonts/README.txt. */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/IBMPlexMono-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/IBMPlexMono-500-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/IBMPlexSans-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/IBMPlexSans-500-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/IBMPlexSans-600-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Newsreader-400-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Newsreader-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/Newsreader-500-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #F5EEDF; --surface: #FBF7EE; --ink: #1F2A44; --muted: #5E6478; --faint: #8E8A7C;
  --rule: #DCD2BD; --green: #1F5A46; --blue: #2F52A6; --indigo: #2F3E8F; --terra: #D4622A;
  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", Consolas, monospace;
  --measure: 62ch; --gutter: clamp(20px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--terra); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.frame { max-width: 880px; margin: 0 auto; padding: 0 var(--gutter); }
.brand { padding: 48px 0 0; display: flex; justify-content: center; }
.signature { display: block; width: clamp(230px, 44vw, 360px); height: auto; color: var(--green); }
.masthead { display: flex; justify-content: center; padding: 14px 0 12px; }
.links ul, .site-nav ul { list-style: none; margin: 0; padding: 0; }
.links ul { display: flex; gap: 0 28px; }
.links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; color: var(--terra); }
.links a:hover { color: var(--green); }
.links svg { width: 16px; height: 16px; }
.site-nav { position: sticky; top: 0; z-index: 5; background: var(--paper); border-top: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green); }
.site-nav ul { display: flex; justify-content: center; gap: 8px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; font-family: var(--font-display); font-size: 15px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green); border-bottom: 3px solid transparent; margin-bottom: -1.5px; }
.site-nav a:hover { color: var(--terra); text-decoration: none; }
.site-nav a.active { color: var(--terra); border-bottom-color: var(--terra); }
.content { padding: 56px 0 40px; }
section { position: relative; padding: 0 0 8px; margin: 0 0 72px; }
section:last-of-type { margin-bottom: 40px; }
.eyebrow { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--blue); margin: 0 0 14px; display: flex; align-items: center; gap: 12px; }
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
h2 { font-family: var(--font-display); font-weight: 500; font-size: 34px; line-height: 1.1; margin: 0 0 8px; letter-spacing: -0.01em; }
.lede { font-family: var(--font-display); font-style: italic; font-size: 22px; line-height: 1.4; margin: 0 0 20px; color: var(--blue); text-wrap: balance; }
.prose { max-width: var(--measure); } .prose p { margin: 0 0 1em; } .prose p:last-child { margin-bottom: 0; }
.about-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px 40px; align-items: start; }
.mount { position: relative; }
.headshot { display: block; width: 100%; height: auto; border-radius: 4px; border: 1.5px solid var(--ink); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.card { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1.5px solid var(--ink); border-radius: 6px; overflow: hidden; color: inherit; transition: transform .15s, box-shadow .15s; }
a.card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 4px 4px 0 var(--indigo); }
.cap { height: 84px; background-image: url("data:image/svg+xml;utf8,<svg xmlns=%27http://www.w3.org/2000/svg%27 width=%2764%27 height=%2732%27 viewBox=%270 0 64 32%27><g fill=%27none%27 stroke=%27%23F7EFDF%27 stroke-width=%271.4%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 opacity=%27.9%27><path d=%27M16.6 17.0 L16.8 16.9 L17.1 16.6 L17.2 16.3 L17.3 16.0 L17.3 15.6 L17.2 15.2 L16.9 14.8 L16.6 14.4 L16.2 14.1 L15.7 13.8 L15.1 13.7 L14.4 13.6 L13.7 13.7 L13.0 14.0 L12.4 14.4 L11.7 14.9 L11.2 15.6 L10.8 16.3 L10.5 17.2 L10.3 18.2 L10.4 19.2 L10.6 20.3 L11.0 21.3 L11.6 22.3 L12.5 23.1 L13.4 23.9 L14.6 24.5 L15.8 24.9 L17.2 25.0 L18.6 25.0 L20.0 24.7 L21.4 24.1 L22.7 23.3 L23.9 22.2 L24.9 20.9 L25.6 19.5 L26.2 17.9 L26.4 16.1 L26.4 14.3 L26.0 12.5 L25.4 10.8 L24.4 9.1 L23.1 7.6 L21.6 6.3 L19.8 5.3 L17.8 4.6 L15.7 4.2 L13.6 4.2 L11.4 4.5 L9.2 5.2 L7.2 6.3 L5.3 7.8 L3.7 9.6 L2.4 11.6 L1.4 13.9 L0.9 16.4 L0.7 18.9 L1.0 21.5 L1.7 24.1 L2.9 26.5%27/><path d=%27M47.4 17.0 L47.2 16.9 L46.9 16.6 L46.8 16.3 L46.7 16.0 L46.7 15.6 L46.8 15.2 L47.1 14.8 L47.4 14.4 L47.8 14.1 L48.3 13.8 L48.9 13.7 L49.6 13.6 L50.3 13.7 L51.0 14.0 L51.6 14.4 L52.3 14.9 L52.8 15.6 L53.2 16.3 L53.5 17.2 L53.7 18.2 L53.6 19.2 L53.4 20.3 L53.0 21.3 L52.4 22.3 L51.5 23.1 L50.6 23.9 L49.4 24.5 L48.2 24.9 L46.8 25.0 L45.4 25.0 L44.0 24.7 L42.6 24.1 L41.3 23.3 L40.1 22.2 L39.1 20.9 L38.4 19.5 L37.8 17.9 L37.6 16.1 L37.6 14.3 L38.0 12.5 L38.6 10.8 L39.6 9.1 L40.9 7.6 L42.4 6.3 L44.2 5.3 L46.2 4.6 L48.3 4.2 L50.4 4.2 L52.6 4.5 L54.8 5.2 L56.8 6.3 L58.7 7.8 L60.3 9.6 L61.6 11.6 L62.6 13.9 L63.1 16.4 L63.3 18.9 L63.0 21.5 L62.3 24.1 L61.1 26.5%27/><path d=%27M2.9 26.5 C 28 32.5 36 20.5 61.1 26.5%27/><circle cx=%270%27 cy=%270%27 r=%271.3%27 fill=%27%23F7EFDF%27 stroke=%27none%27/><circle cx=%2764%27 cy=%270%27 r=%271.3%27 fill=%27%23F7EFDF%27 stroke=%27none%27/><circle cx=%2732%27 cy=%2732%27 r=%271.3%27 fill=%27%23F7EFDF%27 stroke=%27none%27/></g></svg>"); border-bottom: 1.5px solid var(--ink); }
.cap.green { background-color: var(--green); } .cap.blue { background-color: var(--blue); } .cap.terra { background-color: var(--terra); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; margin: 0; line-height: 1.2; }
.card p { margin: 0; font-size: 15px; color: var(--muted); flex: 1; }
.card-note { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terra); }
.card-note svg { width: 12px; height: 12px; vertical-align: -1px; margin-left: 2px; }
.card-links { list-style: none; margin: 4px 0 0; padding: 0; }
.card-links a { display: grid; grid-template-columns: 15px 1fr; column-gap: 8px; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; color: var(--terra); }
.card-links svg { width: 15px; height: 15px; grid-row: 1 / span 2; }
.card-links .meta { grid-column: 2; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--faint); font-weight: 400; }
footer { padding: 8px 0 44px; text-align: center; }
.flourish { display: block; width: 300px; max-width: 80%; height: 28px; margin: 0 auto 14px; color: var(--indigo); }
footer p { margin: 0; font-family: var(--font-display); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: center; }
@media (max-width: 600px) { .about-grid { grid-template-columns: 1fr; } .mount { max-width: 236px; } h2 { font-size: 30px; } .site-nav a { padding: 0 10px; font-size: 13px; } }

/* ---------- Blog page ---------- */
.page-intro { max-width: var(--measure); color: var(--muted); margin: 0 0 40px; }
.post { padding: 0 0 44px; margin: 0 0 44px; border-bottom: 1px solid var(--rule); }
.post:last-of-type { border-bottom: 0; margin-bottom: 0; }
.post h2 { font-size: 26px; margin: 0 0 6px; }
.post h2 a { color: inherit; }
.post h2 a:hover { color: var(--terra); text-decoration: none; }
.post-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.post-tags { color: var(--faint); }
.post-summary { font-family: var(--font-display); font-style: italic; font-size: 19px; line-height: 1.4; color: var(--muted); margin: 0 0 16px; max-width: var(--measure); }
.post .prose h3 { font-family: var(--font-display); font-weight: 500; font-size: 21px; line-height: 1.2; margin: 1.4em 0 0.5em; }
.post .prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--blue); }
.post .prose blockquote p { font-family: var(--font-display); font-style: italic; font-size: 19px; line-height: 1.45; color: var(--ink); }
.post .prose blockquote cite { display: block; font-family: var(--font-mono); font-style: normal; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-top: 6px; }
.post .prose ul, .post .prose ol { margin: 0 0 1em; padding-left: 1.4em; }
.post .prose li { margin: 0 0 0.3em; }
.post .prose figure { margin: 1.4em 0; }
.post .prose img { display: block; max-width: 100%; height: auto; border-radius: 4px; border: 1.5px solid var(--ink); }
.post .prose figcaption { font-family: var(--font-mono); font-size: 12px; color: var(--faint); margin-top: 8px; }

/* ---------- Touch and print ---------- */
@media (pointer: coarse) { .site-nav a, .links a { min-height: 48px; } }
@media print {
  .site-nav, .skip,   body { background: #fff; color: #000; }
  a { color: inherit; }
}
