/* Softminal Site — the v2 look on every page: fonts, palette and header/footer, and the old site.css retuned
   through its own variables so docs, blog, posts and pages match the homepage. Loaded after site.css. */


@font-face { font-family: Fraunces; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/fraunces-normal.woff2) format("woff2"); }
@font-face { font-family: Fraunces; font-style: italic; font-weight: 300 700; font-display: swap; src: url(../fonts/fraunces-italic.woff2) format("woff2"); }
@font-face { font-family: Figtree; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/figtree-normal.woff2) format("woff2"); }
@font-face { font-family: "Courier Prime"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/courier-prime-400.woff2) format("woff2"); }
@font-face { font-family: "Courier Prime"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/courier-prime-700.woff2) format("woff2"); }

body {
	--v-page: #FFFFFF;
	--v-paper: #F2EEE4;
	--v-paper2: #EEF5F0;
	--v-card: #FFFFFF;
	--v-ink: #0F2A1F;
	--v-green: #1E8A5F;
	--v-lime: #C9F26B;
	--v-muted: #5E6A60;
	--v-rule: #E4E7E4;
	--v-faint: #9C9585;
	--v-dim: #A9B8AE;
	--v-dark-line: #2C4A3D;
	--v-display: Figtree, system-ui, sans-serif;
	--v-body: Figtree, system-ui, sans-serif;
	--v-type: "Courier Prime", ui-monospace, monospace;
	--v-ease: cubic-bezier(0.2, 0.8, 0.2, 1);

	background: var(--v-page);
	color: var(--v-ink);
	font-family: var(--v-body);
}

/* ---------- Header ---------- */

/* The header sits in the template-part wrapper, so the wrapper is what sticks. */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; }
body .smc-header {
	background: var(--v-page);
	border-bottom: 1px solid var(--v-rule);
	transition: padding 0.25s var(--v-ease), background 0.25s, box-shadow 0.25s, border-color 0.25s;
}
body .smc-header.is-scrolled {
	padding-top: 12px;
	padding-bottom: 12px;
	background: rgba(255, 255, 255, 0.86);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 8px 30px rgba(15, 42, 31, 0.08);
	border-color: transparent;
}
body .smc-brand__name { color: var(--v-ink); }
body .smc-nav .wp-block-navigation__container { background: transparent; box-shadow: none; }
body .smc-nav .wp-block-navigation-item__content { position: relative; font: 500 15px/1.2 var(--v-body); color: var(--v-muted) !important; }
/* Hover: a green underline draws in under the word. The page you are on keeps it. */
body .smc-nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 2px;
	height: 1.5px;
	border-radius: 1px;
	background: var(--v-green);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.3s var(--v-ease);
}
body .smc-nav .wp-block-navigation-item__content:hover,
body .smc-nav .wp-block-navigation-item__content:focus-visible,
body .smc-nav .current-menu-item > .wp-block-navigation-item__content,
body .smc-nav [aria-current="page"],
body .smc-nav .is-section { background: transparent; color: var(--v-ink) !important; }
body .smc-nav .wp-block-navigation-item__content:hover::after,
body .smc-nav .wp-block-navigation-item__content:focus-visible::after,
body .smc-nav .current-menu-item > .wp-block-navigation-item__content::after,
body .smc-nav [aria-current="page"]::after,
body .smc-nav .is-section::after { transform: scaleX(1); transform-origin: left; }
body .smc-nav .is-menu-open .wp-block-navigation-item__content::after { display: none; }
body .smc-nav .wp-block-navigation__responsive-container-open { color: var(--v-ink); }
body .smc-btn .wp-block-button__link { background: var(--v-ink); color: var(--v-paper); box-shadow: none; font-family: var(--v-body); }
body .smc-btn .wp-block-button__link::before { color: var(--v-lime); }
body .smc-btn .wp-block-button__link:hover { box-shadow: 0 10px 28px rgba(15, 42, 31, 0.25); }
body .smc-btn--ghost .wp-block-button__link { background: transparent; color: var(--v-ink); box-shadow: inset 0 0 0 1px var(--v-rule); }
body .smc-btn--ghost .wp-block-button__link::before { color: #D24A26; }
body .smc-btn--ghost .wp-block-button__link:hover { box-shadow: inset 0 0 0 1px var(--v-ink); }

/* Footer: the same dark green as the closing sections. */
body .smc-footer { background: var(--v-ink); }
body .smc-footer__inner { border-color: var(--v-dark-line); }

/* ---------- site.css retuned through its variables ---------- */

:root {
	--ink: #0F2A1F;
	--night: #0F2A1F;
	--green: #1E8A5F;
	--mint: #1E8A5F;
	--lime: #C9F26B;
	--paper: #FFFFFF;
	--cream: #FBF9F3;
	--tint: #E3F4EA;
	--line: #E4E7E4;
	--muted: #5E6A60;
	--text: #0F2A1F;
	--soft: #C3CFC6;
	--dim: #A9B8AE;
	--f-head: Figtree, system-ui, sans-serif;
	--f-body: Figtree, system-ui, sans-serif;
	--f-serif: Figtree, system-ui, sans-serif;
	--sweep: none;
	--wp--preset--color--paper: #FFFFFF;
	--wp--preset--color--ink: #0F2A1F;
	--wp--preset--color--text: #0F2A1F;
	--wp--preset--font-family--head: Figtree, system-ui, sans-serif;
	--wp--preset--font-family--body: Figtree, system-ui, sans-serif;
	--wp--preset--font-family--serif: Figtree, system-ui, sans-serif;
}

/* Headings in Figtree at a firm weight. site.css sets several headings with !important, so these need
   it too; the v2 sections set their own. */
body :is(h1, h2, h3, h4, h5, h6, .smc-post-nav a):not(.v2 *) { font-weight: 650 !important; letter-spacing: -0.02em; font-variation-settings: "opsz" 48 !important; }
body .smc-page__title { font: 700 clamp(40px, 5.4vw, 68px)/1.05 var(--f-head) !important; letter-spacing: -0.03em !important; font-variation-settings: "opsz" 48 !important; }
body .smc-page__title:not(.v2 *) { font-weight: 700 !important; }
.smc-eyebrow { font: 600 17px/1.3 var(--f-serif); color: var(--green); }
.smc-h2 { font-weight: 650; letter-spacing: -0.025em; }
.smc-page .wp-block-post-content :where(h2, h3) { font-weight: 500; }
.smc-page .wp-block-post-content a:not(.wp-block-button__link) { color: var(--green); }
.smc-page .wp-block-post-content :where(pre, code) { font-family: "Courier Prime", ui-monospace, monospace; }
.smc-page .wp-block-post-content :not(pre) > code { padding: 2px 6px; border-radius: 6px; background: var(--paper2, #E9E3D5); color: var(--ink); font-size: 0.9em; }

/* Blog cards: paper instead of white. */
.smc-post-card { border-radius: 18px; background: var(--v-paper); }
.smc-post-nav a, .smc-comments .comment-respond, .smc-comment { background: var(--v-paper) !important; }
.smc-post-card .wp-block-post-title { font-weight: 650; }

/* The box at the end of each post: flat dark green, no glow. */
.smc-post-cta { background: var(--ink) !important; }
.smc-post-cta::after { display: none; }
.smc-post-cta__title { font-weight: 400 !important; }
.smc-post-cta__title em { background: none; color: var(--lime); -webkit-text-fill-color: currentColor; }

/* Buttons everywhere: the homepage pair, dark and lime. */
.smc-dark .smc-btn:not(.smc-btn--ghost) .wp-block-button__link,
.smc-post-cta .smc-btn:not(.smc-btn--ghost) .wp-block-button__link { background: var(--lime); color: var(--ink); }
.smc-dark .smc-btn--ghost .wp-block-button__link,
.smc-post-cta .smc-btn--ghost .wp-block-button__link { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }

/* Previous / next post: WordPress now names the parts post-navigation-link__label and __title. */
.smc-post-nav [class*="__arrow-"] { display: none; }
.smc-post-nav .post-navigation-link__label { display: block; margin-bottom: 6px; font: italic 400 18px/1.2 var(--f-serif); color: var(--green); }
.smc-post-nav .post-navigation-link__title { display: block; font: 450 21px/1.3 var(--f-head); }

/* Plain type: no italic anywhere (owner, 2026-10-31). */
body, body * { font-style: normal !important; }
