/*
 * jpgalido.com: JP Galido · First Principle Solutions
 * Warm editorial system: Archivo (display), Source Serif 4 (reading), JetBrains Mono (notes).
 * All fonts self-hosted (CSP font-src 'self'); all three are SIL Open Font License, see assets/fonts/*-OFL.txt.
 * No inline styles anywhere: the CSP is style-src 'self'.
 */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("/assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"), url("/assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2-variations"), url("/assets/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-wght-italic.woff2") format("woff2-variations"), url("/assets/fonts/source-serif-4-latin-wght-italic.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2-variations"), url("/assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); }

:root {
  --paper: #FAF6EF; --card: #FFFDF8; --sand: #F2EADC; --ink: #1C1A17; --ink-2: #3A352E; --muted: #5E574D; --brown: #8A5A3B;
  --rule: #CFC4B2; --ink-soft: #D8CFC2; --ink-faint: #A89D8D; --ink-line: #4A443B;
  --red: #E0492B; --red-text: #BF3A1C; --amber: #F6C453; --note: #FFF3B0;
  --green: #2F8F4E; --green-text: #23733D; --purple: #6B4C9A; --gold: #C98A12; --gold-text: #94640A;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;
  --gutter: clamp(20px, 4vw, 48px);
  --max: 1440px;
  color-scheme: light;
  /* aliases so the essay, field note and résumé pick up the new palette */
  --canvas: var(--paper); --warm: var(--sand); --charcoal: var(--ink-2); --slate: var(--muted);
  --line: var(--rule); --line-strong: #B9AC97; --orbit: var(--red-text); --signal: var(--red);
  --sans: var(--display);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--display); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--amber); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: 4px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- type helpers ---------- */
.kicker { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--brown); }
.kicker--red { color: var(--red-text); } .kicker--green { color: var(--green-text); } .kicker--amber { color: var(--amber); } .kicker--purple { color: var(--purple); } .kicker--gold { color: var(--gold-text); }
.display { font-family: var(--display); font-weight: 900; font-stretch: 64%; line-height: .9; text-transform: uppercase; letter-spacing: -.005em; text-wrap: balance; }
.d-xxl { font-size: clamp(52px, 8.8vw, 148px); line-height: .86; }
.d-xl { font-size: clamp(44px, 5.6vw, 88px); }
.d-l { font-size: clamp(40px, 5vw, 76px); }
.d-m { font-size: clamp(30px, 3vw, 40px); line-height: .95; }
.serif { font-family: var(--serif); }
.lede { font-family: var(--serif); font-size: clamp(21px, 2vw, 26px); line-height: 1.42; color: var(--ink-2); }
.headline { font-family: var(--serif); font-weight: 700; line-height: 1.05; letter-spacing: -.012em; text-wrap: balance; }
.h-xl { font-size: clamp(40px, 6vw, 92px); line-height: 1.02; }
.h-l { font-size: clamp(34px, 4.2vw, 64px); }
.red { color: var(--red); } .on-dark .red, .amber { color: var(--amber); }
.mark { background: linear-gradient(transparent 60%, var(--amber) 60%, var(--amber) 92%, transparent 92%); padding: 0 .04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.note { font-size: 13px; color: var(--muted); }

/* ---------- interaction ---------- */
.ul { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s; }
.ul:hover, a:hover > .ul, a:focus-visible > .ul { background-size: 100% 2px; }
.arrow { display: inline-block; transition: transform .2s; }
a:hover .arrow, a:focus-visible .arrow { transform: translateX(5px); }
.lift { transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
a.lift:hover, a.lift:focus-visible, .lift--hover:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: 7px 9px 0 var(--ink); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  a.lift:hover, a.lift:focus-visible, .lift--hover:hover { transform: none; }
}
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 15px 22px; border: 2px solid var(--ink); border-radius: 4px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 15px; line-height: 1; text-decoration: none; }
.btn:hover { background: var(--ink-2); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--card); }
.btn--amber { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.links { display: flex; flex-wrap: wrap; gap: 12px 22px; font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.links a { text-decoration: none; }
.links .quiet { color: var(--muted); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: clamp(56px, 7vw, 88px); border-bottom: 2px solid var(--ink); }
.band--tight { padding-block: clamp(40px, 5vw, 64px); }
.band--sand { background: var(--sand); }
.band--ink { background: var(--ink); color: var(--paper); border-bottom: 0; }
.row { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.row--center { align-items: center; }
.row--end { align-items: flex-end; }
.grow { flex: 1 1 420px; min-width: 0; }
.grow-s { flex: 1 1 300px; min-width: 0; }
.grow-l { flex: 2 1 560px; min-width: 0; }
.measure { max-width: 760px; margin-inline: auto; }
.stack-s > * + * { margin-top: 12px; } .stack > * + * { margin-top: 18px; } .stack-l > * + * { margin-top: 28px; }
.mt-s { margin-top: 12px; } .mt { margin-top: 24px; } .mt-l { margin-top: 40px; }

/* ---------- header & footer ---------- */
.site-head { border-bottom: 2px solid var(--ink); background: var(--paper); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-block: 18px; }
.logo { display: flex; flex-direction: column; text-decoration: none; }
.logo b { font-weight: 900; font-stretch: 70%; font-size: 30px; line-height: 1; letter-spacing: .02em; }
.logo b i { font-style: normal; color: var(--red); }
.logo span { margin-top: 4px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 6px 26px; font-weight: 600; font-size: 16px; }
.site-nav a { display: inline-block; padding-block: 6px; text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--red-text); background-size: 100% 2px; }
.site-foot { background: var(--ink); color: var(--paper); padding-block: 72px 44px; }
.site-foot .closing { margin-top: 18px; }
.site-foot .closing span { color: var(--amber); }
.site-foot .tagline { margin-top: 26px; font-family: var(--serif); font-size: clamp(19px, 2vw, 24px); color: var(--ink-soft); }
.foot-bar { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--ink-line); display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--ink-soft); }
.foot-bar ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-bar a { text-decoration: none; }
.foot-legal { margin-top: 18px; font-size: 13px; color: var(--ink-faint); max-width: 64em; }
@media (max-width: 640px) {
  .site-head .wrap { padding-block: 14px; }
  .site-nav { width: 100%; }
  .site-nav ul { gap: 2px 20px; font-size: 15px; }
}

/* ---------- cards & pieces ---------- */
.card { background: var(--card); border: 2px solid var(--ink); border-radius: 6px; padding: 24px; }
a.card { display: block; text-decoration: none; }
.card h3 { font-weight: 800; font-size: 20px; line-height: 1.25; }
.card p { margin-top: 6px; font-size: 16px; color: var(--muted); }
.cards { display: flex; flex-wrap: wrap; gap: 14px; }
.cards > * { flex: 1 1 300px; min-width: 0; }
.figure-card { display: block; background: var(--card); border: 2.5px solid var(--ink); border-radius: 6px; overflow: hidden; }
.figure-card svg { display: block; width: 100%; }
.callout { padding: 26px; background: var(--ink); color: var(--paper); border-radius: 6px; }
.callout .big { margin-top: 10px; font-family: var(--serif); font-size: clamp(21px, 2vw, 24px); line-height: 1.4; }
.callout p + p { margin-top: 10px; }
.callout .soft { font-size: 17px; color: var(--ink-soft); }
.tag-dashed { display: inline-block; padding: 5px 12px; border: 2px dashed var(--brown); font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--brown); }
.portrait-chip { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 58% 22%; border: 2px solid var(--ink); }
.byline { display: flex; align-items: center; gap: 14px; font-size: 16px; }
.byline span { color: var(--muted); }

/* home */
.hero .lede { flex: 1 1 440px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.feature-art { flex: 1 1 520px; max-width: 680px; }
.journey { display: flex; flex-wrap: wrap; margin-top: 40px; }
.journey li { flex: 1 1 200px; padding: 22px 22px 22px 0; border-top: 4px solid var(--ink); }
.journey li:last-child { border-top-color: var(--red); }
.journey .n { font-weight: 900; font-stretch: 64%; font-size: 52px; line-height: 1; color: var(--red-text); }
.journey h3 { margin-top: 10px; font-weight: 800; font-size: 19px; }
.journey p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.quote { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 24px); color: var(--ink-2); max-width: 34em; }
.layers { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; }
.layer { flex: 1 1 250px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 24px; background: var(--card); border: 2px solid var(--ink); border-radius: 6px; text-decoration: none; }
.layer .cover { display: flex; justify-content: center; padding: 10px 0 4px; }
.layer .cover svg { width: 170px; }
.layer p { font-size: 16px; color: var(--ink-2); }
.layer .go { margin-top: auto; font-weight: 800; font-size: 16px; color: var(--ink); }
.hooks { margin-top: 24px; border-bottom: 1px solid var(--ink); }
.hooks a, .hooks .soon { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--ink); text-decoration: none; }
.hooks .t { flex: 1 1 520px; min-width: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.22; }
.hooks .l { flex: 0 1 300px; font-size: 15px; color: var(--muted); }
.hooks .p { flex: 0 0 auto; font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--green-text); }
.hooks .soon .t { color: var(--ink-2); }
.hooks .pill { display: inline-block; margin-left: 8px; padding: 2px 8px; border: 1.5px solid var(--brown); border-radius: 999px; font-family: var(--mono); font-size: 11px; font-weight: 400; vertical-align: 4px; text-transform: uppercase; color: var(--brown); }
.band--ink .lede, .band--ink .soft { color: var(--ink-soft); }
.eco { margin-top: 32px; }
.eco-list { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.eco-list li { flex: 1 1 260px; padding: 22px 24px; border: 2px solid var(--paper); border-radius: 8px; background: #2A2622; }
.eco-list li:first-child { background: var(--red); }
.eco-list li:last-child { border-color: var(--amber); }
.eco-list .k { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.eco-list li:first-child .k { color: var(--paper); }
.eco-list b { display: block; margin-top: 10px; font-weight: 900; font-stretch: 72%; font-size: 26px; line-height: 1.1; }
.eco-list .arrow-sep { display: none; }

/* toolkit */
.layer-sec .cover-big { flex: 0 1 240px; }
.layer-sec .cover-big svg, .layer-sec .cover-big img { width: 240px; display: block; }
.layer-sec .cover-big img { border: 2px solid var(--ink); border-radius: 3px; box-shadow: 8px 8px 0 var(--ink); }
.ticks { margin-top: 22px; border-bottom: 1px solid var(--rule); }
.ticks li { padding: 10px 0; border-top: 1px solid var(--rule); font-size: 17px; }
.book { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--rule); }
.book img { width: 92px; border: 2px solid var(--ink); border-radius: 2px; }
.book div { flex: 1 1 260px; min-width: 0; }
.book h3 { font-weight: 800; font-size: 20px; }
.book p { margin-top: 4px; font-size: 16px; color: var(--muted); }
.book a { font-weight: 700; }
.offers { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.offer { flex: 1 1 300px; min-width: 0; padding: 24px; background: var(--card); border: 2px solid var(--ink); border-top-width: 6px; border-radius: 6px; }
.offer.soon { border-style: dashed; border-top-style: solid; }
.offer .k { font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.offer h3 { margin-top: 8px; font-weight: 800; font-size: 21px; }
.offer p { margin-top: 6px; font-size: 16px; color: var(--muted); }
.t-green { border-top-color: var(--green) !important; } .t-green .k { color: var(--green-text); }
.t-red { border-top-color: var(--red) !important; } .t-red .k { color: var(--red-text); }
.t-ink { border-top-color: var(--ink) !important; } .t-ink .k { color: var(--ink); }
.t-purple { border-top-color: var(--purple) !important; } .t-purple .k { color: var(--purple); }
.t-gold { border-top-color: var(--gold) !important; } .t-gold .k { color: var(--gold-text); }

/* articles (new) */
.article-head { padding-block: clamp(40px, 5vw, 56px) 40px; max-width: 1100px; margin-inline: auto; }
.article-head .headline { margin-top: 18px; }
.article-head .byline { margin-top: 26px; }
.prose-new { max-width: 760px; margin-inline: auto; padding-bottom: 24px; }
.prose-new p { font-family: var(--serif); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.55; }
.prose-new p + p, .prose-new * + p { margin-top: 18px; }
.prose-new .pull { margin: 30px 0; padding-left: 22px; border-left: 6px solid var(--red); font-family: var(--display); font-weight: 900; font-stretch: 70%; font-size: clamp(26px, 3vw, 36px); line-height: 1.02; text-transform: uppercase; }
.prose-new .pull span { color: var(--red-text); }
.maybe { margin: 22px 0; }
.maybe li { padding: 12px 16px; margin-bottom: 8px; background: var(--card); border: 2px solid var(--ink); border-radius: 4px; font-family: var(--serif); font-size: clamp(18px, 1.6vw, 21px); }
.steps { margin: 22px 0; }
.steps li { display: flex; gap: 16px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--rule); font-family: var(--serif); font-size: clamp(18px, 1.6vw, 22px); }
.steps li b { font-family: var(--display); font-weight: 900; font-stretch: 66%; font-size: 30px; color: var(--red-text); }
.toolkit-card { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; padding: 28px; background: var(--sand); border: 2px solid var(--ink); border-radius: 6px; }
.toolkit-card .art { flex: 1 1 280px; max-width: 360px; }
.toolkit-card h2 { margin-top: 10px; font-weight: 900; font-stretch: 72%; font-size: 32px; line-height: 1; text-transform: uppercase; }
.toolkit-card p { margin-top: 10px; font-size: 16px; color: var(--ink-2); }
.toolkit-card a { display: inline-block; margin-top: 14px; font-weight: 800; font-size: 15px; text-decoration: none; }

/* ideas index */
.idea-list { border-bottom: 1px solid var(--ink); }
.idea-list a { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; padding: 26px 0; border-top: 1px solid var(--ink); text-decoration: none; }
.idea-list .k { flex: 0 0 180px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--red-text); }
.idea-list .t { flex: 1 1 520px; min-width: 0; }
.idea-list .t b { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.18; }
.idea-list .t span { display: block; margin-top: 6px; font-size: 16px; color: var(--muted); }

/* about */
.about-hero figure { flex: 1 1 260px; max-width: 320px; position: relative; }
.about-hero img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 58% 28%; border: 2.5px solid var(--ink); border-radius: 6px; }
.sticker { position: absolute; left: -14px; bottom: 22px; padding: 8px 12px; background: var(--amber); border: 2px solid var(--ink); font-family: var(--mono); font-size: 12px; text-transform: uppercase; transform: rotate(-2deg); box-shadow: 4px 4px 0 var(--ink); }
.facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: 32px; }
.facts li { flex: 1 1 220px; padding: 20px 24px 20px 0; border-top: 3px solid var(--ink); }
.facts b { display: block; font-weight: 800; font-size: 19px; }
.facts span { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }

/* misc */
.notfound { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }
@media print {
  .site-head, .site-foot, .skip { display: none !important; }
  body { background: #fff; }
}

/* ---------- legacy pages (field note, résumé): body.lg ---------- */
.lg main.wrap-legacy, .lg .wrap { max-width: 46rem; margin: 0 auto; padding-inline: var(--gutter); }
.lg .label { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lg .pill { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 var(--display); padding: 11px 16px; border-radius: 4px; text-decoration: none; background: var(--ink); color: var(--paper); border: 2px solid var(--ink); cursor: pointer; }
.lg .pill.ghost { background: transparent; color: var(--ink); }
.lg .kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--brown); }
.lg .breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.lg .breadcrumb a { color: var(--muted); }
.lg .page-head { padding-block: 64px 40px; border-bottom: 2px solid var(--ink); }
.lg .page-head h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(38px, 5vw, 58px); line-height: 1.04; letter-spacing: -.02em; margin-top: 14px; }
.lg .page-head .lede { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.4; color: var(--ink-2); max-width: 32em; }
.lg .cv { padding-block: 40px 56px; }
.lg .cv-actions { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 24px; }
.lg .cv h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(34px, 4.4vw, 46px); line-height: 1.05; letter-spacing: -.02em; }
.lg .cv-role { margin-top: 10px; font-size: 17px; font-weight: 700; color: var(--red-text); }
.lg .cv-contact { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.lg .cv-contact a { color: var(--ink-2); }
.lg .cv h2 { font-family: var(--mono); font-weight: 600; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 40px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.lg .cv p, .lg .cv li { font-size: 16.5px; line-height: 1.6; }
.lg .cv ul { margin: 8px 0 0; padding-left: 18px; }
.lg .cv li + li { margin-top: 4px; }
.lg .job { padding-block: 16px; border-bottom: 1px solid var(--rule); }
.lg .job:last-of-type { border-bottom: 0; }
.lg .job-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.lg .job-head h3 { font-family: var(--serif); font-weight: 700; font-size: 21px; line-height: 1.3; }
.lg .job-head .when { font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.lg .org { font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.lg .cv .note { font-size: 14px; color: var(--muted); margin-top: 18px; }
.lg .skills p + p { margin-top: 6px; }
.lg .status { display: inline-block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--red-text); background: var(--card); vertical-align: 1px; }
.lg .post-head { padding-block: 56px 32px; border-bottom: 2px solid var(--ink); }
.lg .post-title { font-family: var(--serif); font-weight: 700; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -.02em; margin-top: 12px; }
.lg .post-meta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14.5px; color: var(--muted); }
.lg .post-tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.lg .post-tag { font-size: 13.5px; padding: 5px 11px; border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink-2); text-decoration: none; background: var(--card); }
.lg .prose { padding-block: 40px 64px; }
.lg .prose p, .lg .prose li { font-family: var(--serif); font-size: 19px; line-height: 1.65; }
.lg .prose p + p { margin-top: 16px; }
.lg .prose h2 { font-family: var(--display); font-weight: 900; font-stretch: 72%; text-transform: uppercase; font-size: 32px; line-height: 1.02; margin: 48px 0 16px; }
.lg .prose h3 { font-family: var(--serif); font-weight: 700; font-size: 23px; line-height: 1.3; margin: 32px 0 10px; }
.lg .prose ul, .lg .prose ol { padding-left: 22px; margin: 14px 0; }
.lg .prose a { color: var(--red-text); }
.lg .prose .lede { font-size: 22px; line-height: 1.5; color: var(--ink-2); }
.lg .tldr, .lg .takeaway { margin: 32px 0; background: var(--card); border: 2px solid var(--ink); border-left: 6px solid var(--red); border-radius: 4px; padding: 20px 24px; }
.lg .tldr h2, .lg .takeaway h2 { font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--red-text); margin: 0 0 8px; }
.lg .tbl-scroll { overflow-x: auto; margin: 24px 0; }
.lg .tbl-scroll table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; }
.lg .tbl-scroll th { text-align: left; font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 10px 0; border-bottom: 2px solid var(--ink); }
.lg .tbl-scroll td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.lg .post-cta { margin-top: 40px; background: var(--ink); color: var(--paper); border-radius: 6px; padding: 28px; }
.lg .post-cta a { color: var(--amber); }
.lg .post-cta h2 { color: var(--paper); margin: 0 0 8px; font-family: var(--display); font-weight: 900; font-stretch: 72%; text-transform: uppercase; font-size: 28px; }
.lg .post-cta p { color: var(--ink-soft); }
.lg .author { margin-top: 32px; font-size: 15px; color: var(--muted); }
@media print {
  .lg .cv-actions { display: none !important; }
  .lg .cv { padding: 0; }
  .lg .cv h2 { margin-top: 18px; }
  .lg a { color: inherit; text-decoration: none; }
  .lg .job { break-inside: avoid; }
}

/* inline artwork */
.art { display: block; width: 100%; height: auto; font-family: var(--mono); }
.layer .cover .art { width: 170px; }
.layer .cover img { width: 150px; border: 2px solid var(--ink); border-radius: 2px; box-shadow: 6px 6px 0 var(--ink); }
.layer-sec .cover-big .art { width: 240px; }

/* footer newsletter + legal */
.foot-news { margin-top: 44px; padding: 24px; border: 2px solid var(--ink-line); border-radius: 6px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.foot-news > div { flex: 1 1 380px; }
.foot-h { font-weight: 900; font-stretch: 72%; font-size: 26px; text-transform: uppercase; }
.foot-news p + p { margin-top: 6px; color: var(--ink-soft); font-size: 16px; }
.foot-legal p + p { margin-top: 8px; }
.foot-legal strong { color: var(--ink-soft); }

/* explore cards (home), principles, work sections, methods, tools, beliefs */
.explore { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 36px; }
.explore > li { flex: 1 1 300px; min-width: 0; display: flex; }
.explore a { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 26px; background: var(--card); border: 2px solid var(--ink); border-radius: 6px; text-decoration: none; }
.explore .n { font-weight: 900; font-stretch: 64%; font-size: 44px; line-height: 1; color: var(--red-text); }
.explore h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(22px, 2vw, 27px); line-height: 1.18; }
.explore p { font-size: 16px; color: var(--muted); }
.explore .go { margin-top: auto; padding-top: 6px; font-weight: 800; font-size: 15px; color: var(--ink); }
.principles { display: flex; flex-wrap: wrap; margin-top: 36px; }
.principles li { flex: 1 1 260px; padding: 24px 28px 24px 0; border-top: 4px solid var(--ink); }
.principles li:nth-child(3) { border-top-color: var(--red); }
.principles h3 { font-weight: 900; font-stretch: 66%; font-size: clamp(40px, 4vw, 56px); line-height: 1; text-transform: uppercase; }
.principles p { margin-top: 10px; font-size: 17px; color: var(--ink-2); }
.band--ink .principles li { border-top-color: var(--paper); }
.band--ink .principles li:nth-child(3) { border-top-color: var(--amber); }
.band--ink .principles p { color: var(--ink-soft); }
.chapter { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-start; }
.chapter .side { flex: 1 1 320px; min-width: 0; position: sticky; top: 24px; }
.chapter .body { flex: 2 1 560px; min-width: 0; max-width: 760px; }
.chapter .side .n { font-weight: 900; font-stretch: 64%; font-size: 64px; line-height: 1; color: var(--red-text); }
.chapter .side h2 { margin-top: 10px; }
.chapter .side .art { margin-top: 24px; background: var(--card); border: 2px solid var(--ink); border-radius: 6px; }
.chapter .body p { font-family: var(--serif); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; }
.chapter .body p + p, .chapter .body * + p { margin-top: 14px; }
.chapter .body .pull { margin: 24px 0; padding-left: 22px; border-left: 6px solid var(--red); font-family: var(--display); font-weight: 900; font-stretch: 70%; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.04; text-transform: uppercase; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.topics li { padding: 5px 12px; border: 1.5px solid var(--ink); border-radius: 999px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; background: var(--card); }
.status-chip { display: inline-block; padding: 4px 10px; border: 2px dashed var(--brown); border-radius: 999px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--brown); }
.status-chip.live { border-style: solid; border-color: var(--green-text); color: var(--green-text); }
.method-grid { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.method-grid > li { flex: 1 1 320px; min-width: 0; padding: 24px; background: var(--card); border: 2px solid var(--ink); border-top: 6px solid var(--green); border-radius: 6px; }
.method-grid h3 { font-weight: 800; font-size: 21px; }
.method-grid p { margin-top: 8px; font-size: 16px; color: var(--muted); }
.tool { padding-block: 36px; border-top: 2px solid var(--ink); display: flex; flex-wrap: wrap; gap: 16px 48px; }
.tool:last-child { border-bottom: 2px solid var(--ink); }
.tool .head { flex: 1 1 300px; min-width: 0; }
.tool .head h3 { font-weight: 900; font-stretch: 70%; font-size: clamp(30px, 3vw, 40px); line-height: 1; text-transform: uppercase; }
.tool .head .tagline-s { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--ink-2); }
.tool .head .status-chip { margin-top: 14px; }
.tool .desc { flex: 2 1 480px; min-width: 0; }
.tool .desc p { font-size: 17px; color: var(--ink-2); }
.tool .desc p + p { margin-top: 10px; }
.tool .desc ul { margin-top: 12px; padding-left: 20px; }
.tool .desc li { font-size: 16px; color: var(--ink-2); padding: 2px 0; }
.beliefs { margin-top: 28px; border-bottom: 1px solid var(--ink); }
.beliefs li { display: flex; flex-wrap: wrap; gap: 6px 32px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--ink); }
.beliefs b { flex: 0 1 380px; font-weight: 900; font-stretch: 70%; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.05; text-transform: uppercase; }
.beliefs span { flex: 1 1 360px; font-family: var(--serif); font-size: 20px; color: var(--ink-2); }
.five { margin-top: 28px; }
.five > li { padding: 26px 0; border-top: 2px solid var(--ink); display: flex; flex-wrap: wrap; gap: 12px 48px; }
.five > li:last-child { border-bottom: 2px solid var(--ink); }
.five h3 { flex: 1 1 300px; font-weight: 900; font-stretch: 70%; font-size: clamp(28px, 3vw, 38px); line-height: 1; text-transform: uppercase; }
.five h3 span { display: block; font-family: var(--mono); font-size: 13px; font-weight: 400; letter-spacing: .06em; color: var(--red-text); margin-bottom: 8px; }
.five .t { flex: 2 1 480px; min-width: 0; }
.five .t p { font-family: var(--serif); font-size: 20px; line-height: 1.5; color: var(--ink-2); }
.five .t p + p { margin-top: 10px; }
.qs { counter-reset: q; margin: 18px 0; }
.qs li { counter-increment: q; display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--rule); font-family: var(--serif); font-size: clamp(19px, 1.8vw, 23px); }
.qs li::before { content: counter(q); font-family: var(--display); font-weight: 900; font-stretch: 66%; font-size: 30px; color: var(--red-text); }
.teasers { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; }
.teasers > li { flex: 1 1 340px; min-width: 0; padding: 24px; background: var(--card); border: 2px dashed var(--ink); border-radius: 6px; }
.teasers h3 { font-family: var(--serif); font-weight: 700; font-size: 23px; line-height: 1.2; }
.teasers p { margin-top: 8px; font-size: 16px; color: var(--muted); }
.teasers .status-chip { margin-top: 14px; }
.nextlinks { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.nextlinks > li { flex: 1 1 260px; display: flex; }
.nextlinks a { width: 100%; padding: 22px; background: var(--card); border: 2px solid var(--ink); border-radius: 6px; text-decoration: none; }
.nextlinks b { display: block; font-weight: 800; font-size: 19px; }
.nextlinks span { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); }
.sign { margin-top: 28px; font-family: var(--serif); font-size: 26px; }
@media (max-width: 900px) { .chapter .side { position: static; } }
.site-nav ul, .foot-bar ul { list-style: none; margin: 0; padding: 0; }
.nw { white-space: nowrap; }

/* home infographic */
.infographic { display: flex; flex-wrap: wrap; gap: 20px; margin-left: 0; margin-right: 0; }
.info-panel { flex: 1 1 440px; min-width: 0; padding: 22px 22px 16px; background: var(--card); border: 2px solid var(--ink); border-radius: 6px; }
.info-h { margin: 8px 0 14px; font-family: var(--serif); font-weight: 700; font-size: clamp(20px, 2vw, 25px); line-height: 1.2; }
.infographic figcaption { flex: 1 1 100%; }

/* ClarisTXM concept card (home) */
.info-panel.grow { flex: 1 1 440px; margin: 0; }
.concept { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: center; padding: clamp(24px, 4vw, 48px); background: var(--ink); color: var(--paper); border-radius: 8px; }
.concept-copy { flex: 1 1 380px; min-width: 0; }
.concept-tag { display: inline-block; padding: 5px 12px; border: 1.5px solid var(--amber); border-radius: 999px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--amber); }
.concept-tag--light { border-color: var(--red-text); color: var(--red-text); margin-top: 14px; }
.wordmark { margin-top: 18px; font-family: var(--display); font-weight: 900; font-stretch: 70%; font-size: clamp(56px, 7vw, 104px); line-height: .9; letter-spacing: -.01em; }
.wordmark span { color: var(--amber); }
.concept-sub { margin-top: 10px; font-family: var(--mono); font-size: clamp(13px, 1.2vw, 15px); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.concept-desc { margin-top: 20px; font-family: var(--serif); font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; color: var(--paper); }
.concept-points { margin-top: 20px; border-top: 1px solid var(--ink-line); }
.concept-points li { padding: 10px 0; border-bottom: 1px solid var(--ink-line); font-size: 16px; color: var(--ink-soft); }
.concept-points b { color: var(--amber); font-weight: 800; margin-right: 6px; }
.concept-ctas { margin-top: 24px; }
.concept-note { margin-top: 16px; font-size: 13px; color: var(--ink-faint); }
.concept-art { flex: 1 1 420px; min-width: 0; margin: 0; padding: 18px; background: var(--paper); border-radius: 6px; }

/* work: ClarisTXM chapter */
.chapter .art-frame { margin-top: 24px; padding: 14px; background: var(--card); border: 2px solid var(--ink); border-radius: 6px; }
.chapter .art-frame .art { border: 0; margin: 0; background: none; }
.chapter .body h3 { margin-top: 30px; font-family: var(--display); font-weight: 900; font-stretch: 72%; font-size: 26px; text-transform: uppercase; }

/* blog */
.article-head .dek { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 24px); line-height: 1.4; color: var(--ink-2); max-width: 40em; }
.concept-flag { margin-top: 18px; display: inline-block; padding: 8px 14px; border: 2px dashed var(--brown); border-radius: 4px; font-size: 14px; color: var(--brown); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--card); font-weight: 700; font-size: 15px; text-decoration: none; }
.chip .n { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted); }
.chip:hover, .chip[aria-current="page"] { background: var(--ink); color: var(--paper); }
.chip:hover .n, .chip[aria-current="page"] .n { color: var(--amber); }
.prose-new .post-h3 { margin-top: 30px; font-family: var(--display); font-weight: 900; font-stretch: 72%; font-size: 24px; line-height: 1.1; text-transform: uppercase; }
.prose-new .prose-list { margin: 18px 0; padding-left: 24px; }
.prose-new .prose-list li { font-family: var(--serif); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; padding: 4px 0; }
.prose-new .post-quote { margin: 26px 0; padding-left: 20px; border-left: 4px solid var(--ink); font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 24px); line-height: 1.45; color: var(--ink-2); }
.prose-new .hl { background: linear-gradient(transparent 60%, var(--amber) 60%, var(--amber) 92%, transparent 92%); }
.prose-new .pull .hl { background: none; color: var(--red-text); }
.prose-new code { font-family: var(--mono); font-size: .85em; padding: 1px 6px; background: var(--sand); border-radius: 3px; }
.prose-new a { color: var(--red-text); text-underline-offset: 3px; }
.post-figure { margin: 30px 0; }
.post-figure img { display: block; width: 100%; height: auto; border: 2px solid var(--ink); border-radius: 6px; }
.post-figure--info { padding: 18px; background: var(--card); border: 2px solid var(--ink); border-radius: 6px; }
.post-figure figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.measure-left { max-width: 44em; }

/* ClarisTXM positioning */
.concept-tagline { margin-top: 18px; font-family: var(--display); font-weight: 900; font-stretch: 70%; font-size: clamp(24px, 2.6vw, 34px); line-height: 1; text-transform: uppercase; color: var(--paper); }
.concept-tagline span { color: var(--amber); }
.concept-lead { margin-top: 18px; font-family: var(--serif); font-weight: 700; font-size: clamp(20px, 1.9vw, 24px); line-height: 1.35; color: var(--paper); }
.concept .concept-desc { margin-top: 12px; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-soft); }
.concept-promises-h { margin-top: 24px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.promises { counter-reset: pr; margin-top: 10px; border-top: 1px solid var(--ink-line); }
.promises li { counter-increment: pr; display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--ink-line); }
.promises li::before { content: "0" counter(pr); grid-row: span 2; font-family: var(--display); font-weight: 900; font-stretch: 66%; font-size: 24px; line-height: 1; color: var(--amber); }
.promises b { font-weight: 800; font-size: 17px; color: var(--paper); }
.promises span { margin-top: 4px; font-size: 15px; color: var(--ink-soft); }
.side-tagline { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink-2); }

/* Advisory page: offer cards (no link wrapper, so the card style sits on the list item) */
.adv-offers > li { flex-direction: column; gap: 10px; padding: 26px; background: var(--card); border: 2px solid var(--ink); border-radius: 6px; }
.adv-points { margin-top: 6px; padding-left: 20px; list-style: disc; }
.adv-points li { margin-top: 8px; font-size: 16px; color: var(--ink-2); }
