/*
Theme Name: Mariam Bukari Portfolio
Theme URI: https://example.com/
Author: Mariam Bukari
Description: A one-page portfolio and blog for Mariam Bukari, Senior Governance, Risk & Compliance professional. Resume sections are editable in inc/resume-data.php and Appearance → Customize; blog posts use the standard WordPress editor.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mariam-bukari
Tags: portfolio, blog, one-column, custom-menu, featured-images, translation-ready
*/

/* ---------- Tokens ---------- */
:root {
	--paper: #f3f6f4;
	--paper-2: #e6ece8;
	--card: #ffffff;
	--ink: #0e1d18;
	--ink-2: #34433d;
	--muted: #5c6b65;
	--line: #d3dcd6;
	--green: #1b5a45;
	--green-2: #237257;
	--clay: #94600f;
	--gold: #d9a441;
	--gold-soft: #f3e3bf;
	
	--serif: "Literata", Georgia, "Times New Roman", serif;
	--sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
	--wrap: 1160px;
	--radius: 14px;
	--shadow: 0 1px 2px rgba(22, 36, 31, .06), 0 10px 30px rgba(22, 36, 31, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 17px/1.65 var(--sans);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--clay); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }

.eyebrow {
	font: 600 12px/1 var(--sans);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--clay);
	margin: 0 0 18px;
	display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }

.btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 13px 22px; border-radius: 999px;
	font: 600 15px/1 var(--sans); text-decoration: none;
	border: 1px solid var(--ink); transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--green); border-color: var(--green); color: #fff; }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(243, 246, 244, .9);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark {
	width: 38px; height: 38px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--green); color: var(--paper);
	font: 500 16px/1 var(--serif); letter-spacing: .02em;
}
.brand-name { font: 500 19px/1.1 var(--serif); }
.brand-name small { display: block; font: 500 11px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.primary-nav a {
	display: block; padding: 8px 12px; border-radius: 8px;
	font: 500 15px/1 var(--sans); color: var(--ink-2); text-decoration: none;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current_page_parent > a { color: var(--ink); background: var(--paper-2); }
.primary-nav .menu-cta > a { background: var(--ink); color: var(--paper); margin-left: 6px; padding: 10px 16px; border-radius: 999px; }
.primary-nav .menu-cta > a:hover { background: var(--green); color: #fff; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: var(--ink); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; margin: 0 auto; position: relative; transition: transform .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(46px, 6.6vw, 84px); line-height: .98; margin-bottom: 18px; }
.hero h1 em { font-style: italic; color: var(--green); }
.hero-tagline { font: 400 italic clamp(24px, 2.8vw, 32px)/1.25 var(--serif); color: var(--green); margin-bottom: 16px; }
.hero-lede { font: 400 18px/1.6 var(--sans); color: var(--ink-2); max-width: 40ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); padding: 0; margin: 0; list-style: none; }
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--clay); }

.portrait { position: relative; justify-self: end; width: 100%; max-width: 420px; }
.portrait-frame {
	position: relative; border-radius: 220px 220px var(--radius) var(--radius);
	overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2);
	box-shadow: var(--shadow);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.portrait::before {
	content: ""; position: absolute; inset: 18px -18px -18px 18px;
	border: 1px solid var(--gold); border-radius: 220px 220px var(--radius) var(--radius); z-index: -1;
}
.portrait-badge {
	position: absolute; left: -28px; bottom: 34px;
	background: var(--card); border: 1px solid var(--line); border-radius: 12px;
	padding: 14px 18px; box-shadow: var(--shadow); max-width: 220px;
}
.portrait-badge strong { display: block; font: 500 34px/1 var(--serif); color: var(--green); }
.portrait-badge span { font-size: 13px; line-height: 1.35; color: var(--ink-2); }

/* ---------- Metrics ---------- */
.metrics { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { padding: 30px 24px; border-left: 1px solid var(--line); }
.metric:first-child { border-left: 0; padding-left: 0; }
.metric strong { display: block; font: 500 40px/1 var(--serif); color: var(--ink); margin-bottom: 8px; }
.metric span { font-size: 14px; line-height: 1.45; color: var(--muted); display: block; max-width: 24ch; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: #d9e2dd; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(34px, 4.2vw, 52px); margin: 0; }
.section-head p { color: var(--ink-2); margin: 0; max-width: 52ch; }
.section-dark .section-head p { color: #b8c6bf; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; }
.about-grid h2 { font-size: clamp(34px, 4.2vw, 52px); }
.about-copy p:first-child { font: 400 23px/1.5 var(--serif); color: var(--ink); }
.about-copy p { color: var(--ink-2); }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.fact b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }

/* Experience */
.timeline { list-style: none; margin: 0; padding: 0; }
.role { display: grid; grid-template-columns: 240px 1fr; gap: 48px; padding: 40px 0; border-top: 1px solid var(--line); }
.role:last-child { border-bottom: 1px solid var(--line); }
.role-when { font: 500 14px/1.5 var(--mono); font-variant-numeric: tabular-nums; color: var(--muted); }
.role-when .now { display: inline-block; margin-top: 8px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--green); background: #dfeae4; border-radius: 999px; padding: 4px 10px; }
.role h3 { font-size: 28px; margin-bottom: 4px; }
.role-org { color: var(--clay); font-weight: 500; margin-bottom: 18px; }
.role ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.role li { position: relative; padding-left: 22px; color: var(--ink-2); }
.role li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--clay); }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work-card {
	background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 32px; display: flex; flex-direction: column; gap: 14px;
	transition: transform .2s, box-shadow .2s;
}
.work-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.work-tag { font: 500 12.5px/1.3 var(--mono); letter-spacing: .02em; color: var(--green-2); }
.work-tag code { background: var(--paper-2); color: var(--ink); padding: 2px 7px; border-radius: 5px; margin-right: 8px; font: inherit; }
.work-card h3 { font-size: 26px; margin: 0; }
.work-card p { color: var(--ink-2); margin: 0; }
.work-result { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line); display: flex; align-items: baseline; gap: 12px; }
.work-result strong { font: 500 32px/1 var(--serif); color: var(--clay); white-space: nowrap; }
.work-result span { font-size: 14px; color: var(--muted); line-height: 1.4; }

/* Competencies */
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.skill { background: var(--ink); padding: 32px 28px; }
.skill-num { font: 500 13px/1 var(--mono); letter-spacing: .04em; color: var(--gold); margin-bottom: 18px; display: block; }
.skill h3 { font-size: 23px; margin-bottom: 10px; }
.skill p { color: #b8c6bf; font-size: 15px; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { font-family: var(--mono); font-size: 13px !important; border: 1px solid rgba(255,255,255,.22); color: #e8eeeb; border-radius: 999px; padding: 7px 14px; font-size: 14px; }
.skills-note { font: 400 13px/1.5 var(--mono); color: #9fb1a9; margin: 14px 0 0; }
.chip-row { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.12); }
.skills-note + .chip-row { margin-top: 44px; }
.chip-row h4 { font: 600 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #9fb1a9; margin: 8px 0 0; }

/* Education */
.edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.edu { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.edu-kind { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); font-weight: 600; }
.edu h3 { font-size: 23px; margin: 10px 0 8px; }
.edu p { color: var(--ink-2); margin: 0; font-size: 15px; }
.edu ul { margin: 6px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 15px; }

/* Posts grid (front page + blog) */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card-media { aspect-ratio: 16 / 10; background: var(--green); position: relative; overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-media.is-placeholder { display: flex; align-items: flex-end; padding: 22px; background: linear-gradient(135deg, var(--green) 0%, #163a2f 100%); }
.post-card-media.is-placeholder::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); }
.post-card-media.is-placeholder span { font: 500 italic 26px/1.1 var(--serif); color: var(--gold-soft); position: relative; }
.post-card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.post-meta a { color: var(--clay); text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.post-card h3 { font-size: 23px; margin: 0; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--green); }
.post-card p { color: var(--ink-2); font-size: 15px; margin: 0; }
.read-more { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 15px; text-decoration: none; }
.section-foot { margin-top: 40px; }

/* Contact */
.contact { text-align: left; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.contact h2 { font-size: clamp(38px, 5vw, 64px); }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list b { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding-top: 3px; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--clay); }

/* ---------- Blog / page templates ---------- */
.page-hero { padding: 72px 0 48px; border-bottom: 1px solid var(--line); margin-bottom: 56px; }
.page-hero h1 { font-size: clamp(40px, 5.5vw, 68px); margin-bottom: 14px; }
.page-hero p { font: 400 21px/1.5 var(--serif); color: var(--ink-2); max-width: 46ch; margin: 0; }
.cat-filter { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cat-filter a { display: block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: 14px; font-weight: 500; background: var(--card); }
.cat-filter a:hover, .cat-filter .is-active a { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.blog-list { padding-bottom: 96px; }

.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: var(--card); }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.article { padding: 64px 0 96px; }
.article-head { max-width: 760px; margin: 0 auto 40px; }
.article-head h1 { font-size: clamp(38px, 5vw, 60px); margin: 14px 0 18px; }
.article-head .post-meta { font-size: 14px; }
.article-feature { max-width: 1000px; margin: 0 auto 48px; border-radius: var(--radius); overflow: hidden; }
.entry-content { max-width: 720px; margin: 0 auto; font-size: 19px; line-height: 1.75; }
.entry-content > * { margin-bottom: 1.25em; }
.entry-content h2 { font-size: 34px; margin-top: 1.6em; }
.entry-content h3 { font-size: 26px; margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .45em; }
.entry-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--clay); font: 400 italic 24px/1.5 var(--serif); color: var(--ink); }
.entry-content img, .entry-content figure { border-radius: 10px; }
.entry-content figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.entry-content code { background: var(--paper-2); padding: 2px 6px; border-radius: 5px; font-size: .88em; }
.entry-content pre { background: var(--ink); color: #e8eeeb; padding: 20px; border-radius: 10px; overflow: auto; font-size: 15px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.entry-content .alignwide { max-width: 1000px; margin-left: 50%; transform: translateX(-50%); width: calc(100vw - 48px); }
.entry-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); border-radius: 0; }
.entry-content a { color: var(--green); }
.wp-block-button__link { background: var(--ink); color: var(--paper); border-radius: 999px; padding: 12px 22px; }

.post-tags { max-width: 720px; margin: 40px auto 0; display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags a { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); text-decoration: none; }
.author-box { max-width: 720px; margin: 56px auto 0; display: flex; gap: 22px; align-items: center; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.author-box img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box h3 { font-size: 21px; margin: 0 0 4px; }
.author-box p { margin: 0; font-size: 15px; color: var(--ink-2); }
.post-nav { max-width: 720px; margin: 40px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--card); font: 500 18px/1.3 var(--serif); }
.post-nav a:hover { border-color: var(--ink); }
.post-nav small { display: block; font: 600 11px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.post-nav .next { text-align: right; }

.comments-area { max-width: 720px; margin: 64px auto 0; }
.comments-area h2 { font-size: 28px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea, .search-form input[type="search"] {
	width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font: inherit; color: var(--ink);
}
.comment-form .submit, .search-form button { background: var(--ink); color: var(--paper); border: 0; border-radius: 999px; padding: 12px 22px; font: 600 15px/1 var(--sans); cursor: pointer; }
.search-form { display: flex; gap: 10px; max-width: 520px; }

.empty-state { padding: 48px; text-align: center; background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b8c6bf; padding: 56px 0 40px; font-size: 15px; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-top .brand { color: #fff; }
.footer-top .brand-mark { background: var(--gold); color: var(--ink); }
.footer-top .brand-name small { color: #9fb1a9; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer-links a { color: #e8eeeb; text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #8b9c95; }

/* ---------- Motion ---------- */
.js .reveal { transition: transform .6s ease; }
.js .reveal:not(.is-visible) { transform: translateY(10px); }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal, .js .reveal:not(.is-visible) { transform: none; transition: none; }
	.work-card, .post-card { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.posts-grid, .edu-grid, .skills-grid { grid-template-columns: repeat(2, 1fr); }
	.metrics-grid { grid-template-columns: repeat(2, 1fr); }
	.metric:nth-child(3) { border-left: 0; padding-left: 0; }
	.metric:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
	.nav-toggle { display: inline-grid; place-items: center; }
	.primary-nav { position: absolute; top: 72px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); display: none; padding: 12px 24px 20px; }
	.nav-open .primary-nav { display: block; }
	.primary-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
	.primary-nav a { padding: 14px 12px; font-size: 17px; }
	.primary-nav .menu-cta > a { margin: 8px 0 0; text-align: center; }
	.hero { padding: 36px 0 56px; }
	.hero-grid, .about-grid, .contact-grid, .section-head { grid-template-columns: 1fr; gap: 40px; }
	.section-head { gap: 16px; margin-bottom: 40px; }
	.portrait { justify-self: center; max-width: 340px; order: -1; }
	.portrait-badge { left: -8px; }
	.role { grid-template-columns: 1fr; gap: 10px; }
	.work-grid { grid-template-columns: 1fr; }
	.chip-row { grid-template-columns: 1fr; gap: 12px; }
	.section { padding: 72px 0; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.wrap { padding: 0 16px; }
	.posts-grid, .edu-grid, .skills-grid, .about-facts { grid-template-columns: 1fr; }
	.metric strong { font-size: 32px; }
	.metric { padding: 22px 12px; }
	.metric:nth-child(odd) { padding-left: 0; }
	.portrait::before { inset: 12px -10px -12px 10px; }
	.work-card { padding: 24px; }
	.contact-list li { grid-template-columns: 1fr; gap: 2px; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav .next { text-align: left; }
	.entry-content { font-size: 17px; }
	.author-box { flex-direction: column; align-items: flex-start; }
}
