/* ============================================================
   SARAH MAKKE — INTERACTIVE RÉSUMÉ
   Design language: "Cobalt Bento / Daylight Workbench"
   Glass bento panels on a bloomed grey field, cobalt accent,
   Plus Jakarta Sans + JetBrains Mono. Light and night themes.
   ============================================================ */

@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("../assets/fonts/jakarta.woff2") format("woff2");
	font-weight: 200 800;
	font-display: swap;
	font-style: normal;
}
@font-face {
	font-family: "JetBrains Mono";
	src: url("../assets/fonts/jetbrains.woff2") format("woff2");
	font-weight: 400 600;
	font-display: swap;
	font-style: normal;
}

/* ---------------- Tokens ---------------- */
:root {
	--bg: #edeef2;
	--bg-bloom: #f7f8fb;
	--glass: rgba(255, 255, 255, 0.55);
	--glass-strong: rgba(255, 255, 255, 0.72);
	--surface: #ffffff;
	--surface-soft: rgba(255, 255, 255, 0.7);
	--line-out: rgba(255, 255, 255, 0.9);
	--line-in: rgba(20, 22, 30, 0.07);
	--cobalt: #1a56db;
	--cobalt-dim: #1646b8;
	--cobalt-soft: #e7eefc;
	--ink: #17181c;
	--ink-fg: #ffffff;
	--text: #17181c;
	--muted: #6b7180;
	--faint: #9aa0ad;
	--gold: #b6892d;
	--radius: 24px;
	--radius-sm: 16px;
	--gap: 16px;
	--shadow: 0 8px 30px rgba(20, 22, 30, 0.06);
	--shadow-lift: 0 18px 44px rgba(20, 22, 30, 0.12);
	--sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
	--max: 1180px;
}

html.night {
	--bg: #0e1014;
	--bg-bloom: #1a1e27;
	--glass: rgba(255, 255, 255, 0.045);
	--glass-strong: rgba(255, 255, 255, 0.075);
	--surface: #171a21;
	--surface-soft: rgba(255, 255, 255, 0.04);
	--line-out: rgba(255, 255, 255, 0.06);
	--line-in: rgba(255, 255, 255, 0.09);
	--cobalt: #3b7ef5;
	--cobalt-dim: #2f6ad8;
	--cobalt-soft: rgba(59, 126, 245, 0.16);
	--ink: #1c2029;
	--ink-fg: #eceef3;
	--text: #eceef3;
	--muted: #9aa1b1;
	--faint: #737a89;
	--gold: #e0b455;
	--shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
	--shadow-lift: 0 18px 44px rgba(0, 0, 0, 0.5);
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	background: var(--bg);
	color-scheme: light;
}
html.night { color-scheme: dark; }

body {
	font-family: var(--sans);
	color: var(--text);
	background:
		radial-gradient(1100px 620px at 50% -160px, var(--bg-bloom), transparent 70%),
		var(--bg);
	background-attachment: fixed;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	padding-bottom: 90px;
	overflow-x: hidden;
}

::selection {
	background: var(--cobalt);
	color: #fff;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

:focus-visible {
	outline: 2px solid var(--cobalt);
	outline-offset: 3px;
	border-radius: 6px;
}

.wrap {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 22px;
}

.mono { font-family: var(--mono); }

.eyebrow {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--faint);
}

.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;
}

/* ---------------- Panels & grid ---------------- */
.grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: var(--gap);
}
.grid + .grid { margin-top: var(--gap); }

.panel {
	background: var(--glass);
	backdrop-filter: blur(14px) saturate(120%);
	-webkit-backdrop-filter: blur(14px) saturate(120%);
	border: 1px solid var(--line-out);
	outline: 1px solid var(--line-in);
	outline-offset: -1px;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 26px;
	position: relative;
	transition:
		transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
		box-shadow 0.45s ease;
}
.panel:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-lift);
}
.panel.flat:hover { transform: none; }
.panel.bare {
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border: none;
	outline: none;
	box-shadow: none;
	padding: 0;
}
.panel.bare:hover { transform: none; }

.phead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
}
.panel.bare .phead { margin-bottom: 10px; padding: 8px 6px 4px; }
.phead h3 {
	font-size: 1.08rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}
.phead .count {
	font-family: var(--mono);
	font-size: 10px;
	color: var(--faint);
	margin-left: 2px;
}
.phead-tools { display: flex; align-items: center; gap: 8px; }

.chip-btn {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid var(--line-in);
	background: var(--surface-soft);
	display: grid;
	place-items: center;
	color: var(--muted);
	flex: none;
	transition: background 0.3s, color 0.3s, transform 0.3s;
}
.chip-btn:hover {
	background: var(--cobalt);
	color: #fff;
	transform: rotate(90deg);
}
.chip-btn svg { width: 15px; height: 15px; }
.chip-btn.rot svg { transform: rotate(180deg); transition: transform 0.3s; }

/* ---------------- Reveal ---------------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in {
	opacity: 1;
	transform: none;
	transition:
		opacity 0.7s ease,
		transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------------- Top bar ---------------- */
.topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 0 18px;
	gap: 18px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand .mono-mark {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--ink-fg);
	display: grid;
	place-items: center;
	font-weight: 800;
	font-size: 15px;
}
.brand b {
	font-weight: 700;
	font-size: 0.96rem;
	letter-spacing: -0.01em;
}

.nav-pill {
	display: flex;
	gap: 4px;
	padding: 5px;
	background: var(--glass-strong);
	border: 1px solid var(--line-out);
	outline: 1px solid var(--line-in);
	outline-offset: -1px;
	border-radius: 999px;
	box-shadow: var(--shadow);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}
.nav-pill a {
	font-size: 13px;
	font-weight: 600;
	padding: 7px 16px;
	border-radius: 999px;
	color: var(--muted);
	transition: color 0.25s, background 0.25s;
}
.nav-pill a:hover { color: var(--text); }
.nav-pill a.active { background: var(--cobalt); color: #fff; }

.topright { display: flex; align-items: center; gap: 10px; }
.tagline {
	font-size: 12.5px;
	color: var(--muted);
	display: flex;
	align-items: center;
	gap: 7px;
}
.tagline svg { width: 15px; height: 15px; color: var(--faint); }

.icon-btn {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid var(--line-in);
	background: var(--glass-strong);
	color: var(--muted);
	display: grid;
	place-items: center;
	flex: none;
	transition: background 0.25s, color 0.25s, transform 0.25s;
}
.icon-btn:hover { color: var(--text); transform: translateY(-1px); }
.icon-btn svg { width: 16px; height: 16px; }

.btn-ink {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--ink);
	color: var(--ink-fg);
	font-weight: 700;
	font-size: 12.5px;
	padding: 10px 16px;
	border: none;
	border-radius: 999px;
	box-shadow: 0 10px 22px rgba(20, 22, 30, 0.18);
	transition: background 0.25s, transform 0.25s;
}
.btn-ink:hover { background: var(--cobalt); transform: translateY(-1px); }
.btn-ink svg { width: 15px; height: 15px; }

.hamburger {
	display: none;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	border: 1px solid var(--line-in);
	background: var(--glass-strong);
	color: var(--text);
	place-items: center;
}
.hamburger svg { width: 20px; height: 20px; }

/* ---------------- Hero ---------------- */
.hero-left {
	grid-column: span 3;
	min-height: 320px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.arrow-ico {
	width: 76px;
	height: 76px;
	color: var(--text);
	transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hero-left:hover .arrow-ico { transform: rotate(45deg); }
.hero-kicker {
	font-family: var(--mono);
	font-size: 10.5px;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	color: var(--faint);
	margin-top: 18px;
}
.tagcloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag {
	font-family: var(--mono);
	font-size: 11.5px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--surface-soft);
	border: 1px solid var(--line-in);
	color: var(--muted);
	transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.tag:hover { background: var(--cobalt); color: #fff; border-color: transparent; }

.hero-right {
	grid-column: span 9;
	min-height: 420px;
	background: var(--cobalt);
	border: 1px solid rgba(255, 255, 255, 0.18);
	outline: none;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
	color: #fff;
}
.hero-ring {
	position: absolute;
	right: -8%;
	top: -18%;
	width: 70%;
	aspect-ratio: 1;
	opacity: 0.16;
	color: #fff;
	will-change: transform;
	animation: spin 30s linear infinite;
}
.hero-spec {
	position: absolute;
	inset: 0;
	background: radial-gradient(
		360px 360px at var(--mx, 70%) var(--my, 20%),
		rgba(255, 255, 255, 0.28),
		transparent 60%
	);
	pointer-events: none;
	transition: background 0.2s;
}
.hero-top {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: auto;
}
.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--mono);
	font-size: 10.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.24);
	padding: 6px 12px;
	border-radius: 999px;
}
.hero-badge .dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #7ef5c0;
	box-shadow: 0 0 0 3px rgba(126, 245, 192, 0.25);
}
.hero-wordmark {
	position: relative;
	z-index: 2;
	font-weight: 800;
	font-size: clamp(2.7rem, 9vw, 6.6rem);
	line-height: 0.84;
	letter-spacing: -0.045em;
	color: #fff;
}
.hero-role {
	position: relative;
	z-index: 2;
	margin-top: 14px;
	font-size: clamp(0.95rem, 1.6vw, 1.15rem);
	font-weight: 600;
	color: rgba(255, 255, 255, 0.92);
	max-width: 34ch;
}
.hero-meta {
	position: relative;
	z-index: 2;
	margin-top: 18px;
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.hero-year {
	font-weight: 800;
	font-size: clamp(1.5rem, 3.5vw, 2.4rem);
	letter-spacing: -0.03em;
}
.hero-bar {
	height: 4px;
	width: 64px;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 999px;
}
.typer {
	font-family: var(--mono);
	font-size: 14px;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.9);
}
.typer .cursor {
	display: inline-block;
	width: 9px;
	background: #fff;
	margin-left: 2px;
	animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- Identity / profile card ---------------- */
.photo {
	grid-column: span 5;
	min-height: 480px;
	border-radius: var(--radius);
	overflow: hidden;
	position: relative;
	background:
		radial-gradient(120% 90% at 15% 0%, #26428f 0%, transparent 55%),
		linear-gradient(150deg, #12141a 0%, #1a1d26 55%, #0c0d11 100%);
	border: 1px solid var(--line-out);
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 30px 24px 24px;
	transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.photo:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(0.45) brightness(0.92);
	transition: transform 0.8s ease, filter 0.8s ease;
}
.photo:hover img { transform: scale(1.05); filter: grayscale(0) brightness(1); }
.photo .scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(8, 9, 12, 0.92) 0%,
		rgba(8, 9, 12, 0.25) 45%,
		transparent 75%
	);
}
.photo .monogram {
	position: absolute;
	right: -6%;
	bottom: 16%;
	font-weight: 800;
	font-size: clamp(9rem, 20vw, 15rem);
	line-height: 1;
	letter-spacing: -0.06em;
	color: rgba(255, 255, 255, 0.06);
	pointer-events: none;
	user-select: none;
}
.photo .hello { position: relative; z-index: 2; color: #fff; }
.photo .hello small {
	font-family: var(--mono);
	font-size: 12px;
	opacity: 0.8;
	letter-spacing: 0.05em;
}
.photo .hello h2 {
	font-size: clamp(1.9rem, 3vw, 2.7rem);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.02em;
	margin-top: 6px;
}
.photo .glance {
	position: relative;
	z-index: 2;
	display: grid;
	gap: 10px;
	margin: 22px 0 auto;
}
.photo .grow {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #d8dbe6;
	font-size: 12.5px;
}
.photo .grow svg { width: 15px; height: 15px; color: #7f9ff0; flex: none; }
.photo .grow b { color: #fff; font-weight: 600; }
.photo .bio {
	position: relative;
	z-index: 2;
	font-size: 12.5px;
	line-height: 1.6;
	color: #e7e8ee;
	background: rgba(10, 11, 14, 0.5);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 14px;
	padding: 14px 16px;
}

.about-right {
	grid-column: span 7;
	display: flex;
	flex-direction: column;
	gap: var(--gap);
}

.intro-card {
	background: var(--surface);
	border: 1px solid var(--line-in);
	border-radius: var(--radius-sm);
	padding: 18px;
	display: grid;
	gap: 14px;
}
.intro-card h4 {
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 8px;
	letter-spacing: -0.01em;
}
.intro-card p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.intro-card p + p { margin-top: 10px; }

.objective {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	background: var(--cobalt-soft);
	border-left: 3px solid var(--cobalt);
	border-radius: 12px;
	padding: 14px 16px;
}
.objective svg { width: 17px; height: 17px; color: var(--cobalt); flex: none; margin-top: 1px; }
.objective .lab {
	font-family: var(--mono);
	font-size: 9.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--cobalt);
}
.objective p { font-size: 13.5px; font-weight: 600; color: var(--text); margin-top: 2px; }

/* ---------------- Contact tiles ---------------- */
.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ctile {
	height: 130px;
	border-radius: var(--radius-sm);
	padding: 16px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.ctile:hover { transform: translateY(-4px); }
.ctile svg { width: 28px; height: 28px; }
.ctile .div { height: 1px; width: 100%; }
.ctile .lab {
	font-family: var(--mono);
	font-size: 9.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.75;
}
.ctile .handle {
	font-family: var(--mono);
	font-size: 10.5px;
	overflow-wrap: anywhere;
}
.ctile.email {
	background: var(--ink);
	color: var(--ink-fg);
	box-shadow: 0 12px 26px rgba(20, 22, 30, 0.18);
}
.ctile.email svg { transition: color 0.3s; }
.ctile.email:hover svg { color: #6f9bf3; }
.ctile.email .div { background: rgba(255, 255, 255, 0.16); }
.ctile.email .handle { color: var(--faint); }
.ctile.li {
	background: var(--cobalt);
	color: #fff;
	box-shadow: 0 12px 26px rgba(26, 86, 219, 0.28);
}
.ctile.li .div { background: rgba(255, 255, 255, 0.3); }
.ctile.li .handle { color: #d4e1fb; }
.ctile.tel {
	background: var(--surface);
	border: 1px solid var(--line-in);
	color: var(--text);
}
.ctile.tel .div { background: var(--line-in); }
.ctile.tel .handle { color: var(--muted); }

.copy-row { display: flex; align-items: center; gap: 8px; }
.copy-btn {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: none;
	background: rgba(127, 127, 127, 0.18);
	color: currentColor;
	display: grid;
	place-items: center;
	opacity: 0.7;
	transition: opacity 0.2s, background 0.2s;
	flex: none;
}
.copy-btn:hover { opacity: 1; background: rgba(127, 127, 127, 0.32); }
.copy-btn svg { width: 12px; height: 12px; }

/* ---------------- Résumé columns ---------------- */
/* Experience gets the wide column: full sentences need the measure. */
.col-wide,
.col-side,
.col4 {
	display: flex;
	flex-direction: column;
	gap: var(--gap);
}
.col-wide { grid-column: span 8; }
.col-side { grid-column: span 4; }
.col4 { grid-column: span 4; }

.edu-grid .span-12 { grid-column: span 12; }
.edu-grid .span-4 { grid-column: span 4; }

/* The wide column is the focal point of the résumé — let its heading lead. */
.col-wide > .panel > .phead h3 { font-size: 1.3rem; letter-spacing: -0.02em; }
.col-wide > .panel { padding: 28px; }

.seg {
	display: inline-flex;
	padding: 4px;
	gap: 3px;
	background: var(--surface-soft);
	border: 1px solid var(--line-in);
	border-radius: 999px;
}
.seg button {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 6px 11px;
	border: none;
	border-radius: 999px;
	background: transparent;
	color: var(--muted);
	transition: background 0.25s, color 0.25s;
}
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--cobalt); color: #fff; }

.job {
	background: var(--surface);
	border: 1px solid var(--line-in);
	border-radius: var(--radius-sm);
	padding: 24px 26px;
	position: relative;
	transition: box-shadow 0.35s ease, border-color 0.35s ease;
}
.job:hover { box-shadow: 0 12px 26px rgba(20, 22, 30, 0.08); }
.job + .job { margin-top: 14px; }
.job.open { border-color: rgba(26, 86, 219, 0.35); }
.job.dim { background: var(--surface-soft); opacity: 0.82; }
.job.dim .date { background: #8b909d; }
.job-head {
	display: block;
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	color: inherit;
	padding: 0;
}
.job .date {
	display: inline-block;
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: #fff;
	background: var(--cobalt);
	padding: 5px 11px;
	border-radius: 8px;
}
.job .now {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-left: 6px;
	font-family: var(--mono);
	font-size: 9.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #0f8a5f;
}
.job .now i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #12a26f;
	display: inline-block;
}
/* Title carries the weight; employer and meta step down from it. */
.job .role {
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin-top: 15px;
	line-height: 1.28;
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 10px;
}
.job .role .note {
	font-family: var(--mono);
	font-size: 9px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	border: 1px solid var(--line-in);
	border-radius: 6px;
	padding: 3px 7px;
	white-space: nowrap;
}
.job .co {
	font-size: 14.5px;
	font-weight: 500;
	color: var(--muted);
	margin-top: 6px;
	line-height: 1.45;
}
.job .where {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.04em;
	color: var(--faint);
	margin-top: 10px;
	display: flex;
	align-items: center;
	gap: 6px;
}
.job .where svg { width: 12px; height: 12px; flex: none; }
.job .bar {
	height: 6px;
	background: var(--bg);
	border-radius: 999px;
	overflow: hidden;
	margin-top: 14px;
}
.job .bar i {
	display: block;
	height: 100%;
	width: 0;
	background: var(--ink);
	border-radius: 999px;
	transition: width 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.job.dim .bar i { background: #8b909d; }
.job .ends {
	display: flex;
	justify-content: space-between;
	font-family: var(--mono);
	font-size: 10px;
	color: var(--faint);
	margin-top: 7px;
}
.job .badge { position: absolute; top: 18px; right: 20px; color: var(--faint); opacity: 0.6; }
.job .badge svg { width: 16px; height: 16px; }
.job .more {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 15px;
	padding: 6px 12px 6px 9px;
	border-radius: 999px;
	background: var(--cobalt-soft);
	font-family: var(--mono);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--cobalt);
	transition: background 0.25s;
}
.job:hover .more { background: var(--cobalt); color: #fff; }
.job .more svg { width: 13px; height: 13px; transition: transform 0.3s; }
.job.open .more svg { transform: rotate(180deg); }

.bullets {
	list-style: none;
	max-width: 74ch;
	margin-top: 16px;
	border-top: 1px solid var(--line-in);
	padding-top: 16px;
}
.bullets li {
	display: flex;
	gap: 12px;
	font-size: 14px;
	line-height: 1.8;
	color: var(--muted);
}
.bullets li + li { margin-top: 12px; }
.bullets li::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--cobalt);
	flex: none;
	margin-top: 9px;
}
.taglets { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.taglet {
	font-family: var(--mono);
	font-size: 10.5px;
	letter-spacing: 0.06em;
	padding: 5px 10px;
	border-radius: 8px;
	background: var(--cobalt-soft);
	color: var(--cobalt);
}

.collapse-body { overflow: hidden; transition: height 0.34s cubic-bezier(0.4, 0, 0.2, 1); }

/* ---------------- Skills column ---------------- */
.blurb { font-size: 13.5px; color: var(--muted); line-height: 1.7; }

.ring-wrap { display: flex; align-items: center; gap: 18px; }
.ring { width: 96px; height: 96px; flex: none; }
.ring circle { fill: none; stroke-width: 9; }
.ring .track { stroke: var(--bg); }
.ring .prog {
	stroke: var(--cobalt);
	stroke-linecap: round;
	transform: rotate(-90deg);
	transform-origin: 50% 50%;
	transition: stroke-dashoffset 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ring-txt { font-size: 19px; font-weight: 800; fill: var(--text); font-family: var(--sans); }
.ring-info b { display: block; font-size: 13px; font-weight: 700; }
.ring-info span { font-size: 12px; color: var(--muted); }

.meters { display: grid; gap: 13px; }
.meter-top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}
.meter-top b { font-size: 13px; font-weight: 700; }
.meter-top span {
	font-family: var(--mono);
	font-size: 9.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--faint);
}
.meter-track {
	height: 6px;
	margin-top: 7px;
	background: var(--bg);
	border-radius: 999px;
	overflow: hidden;
}
.meter-track i {
	display: block;
	height: 100%;
	width: 0;
	border-radius: 999px;
	background: var(--ink);
	transition: width 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.meter-track i.native { background: var(--cobalt); }

.filter {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--surface-soft);
	border: 1px solid var(--line-in);
	border-radius: 999px;
	padding: 7px 13px;
	margin-bottom: 12px;
}
.filter svg { width: 14px; height: 14px; color: var(--faint); flex: none; }
.filter input {
	flex: 1;
	min-width: 0;
	border: none;
	background: none;
	color: var(--text);
	font-family: var(--sans);
	font-size: 12.5px;
}
.filter input:focus { outline: none; }
.filter input::placeholder { color: var(--faint); }
.filter .clear {
	border: none;
	background: none;
	color: var(--faint);
	font-family: var(--mono);
	font-size: 9.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.filter .clear:hover { color: var(--cobalt); }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
	font-family: var(--mono);
	font-size: 11.5px;
	padding: 7px 13px;
	border-radius: 999px;
	background: var(--surface);
	border: 1px solid var(--line-in);
	color: var(--muted);
	transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.pill:hover { color: var(--text); border-color: var(--cobalt); }
.pill.fill { background: var(--cobalt); color: #fff; border-color: transparent; }
.empty { font-size: 12px; color: var(--faint); font-style: italic; }

/* ---------------- Education & awards ---------------- */
.edu-card {
	background: var(--ink);
	color: var(--ink-fg);
	border-radius: var(--radius-sm);
	padding: 20px;
	position: relative;
	min-height: 118px;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
	box-shadow: 0 10px 24px rgba(20, 22, 30, 0.16);
}
.edu-card:hover { transform: scale(1.025); }
.edu-card .yr {
	position: absolute;
	top: 16px;
	left: 16px;
	background: var(--ink-fg);
	color: var(--ink);
	font-family: var(--mono);
	font-size: 10px;
	font-weight: 600;
	padding: 4px 8px;
	border-radius: 7px;
}
.edu-card .ok { position: absolute; top: 16px; right: 16px; color: rgba(255, 255, 255, 0.55); }
.edu-card .ok svg { width: 16px; height: 16px; }
.edu-card .school {
	font-family: var(--mono);
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--faint);
	margin-top: 38px;
}
.edu-card .degree {
	font-size: 1.02rem;
	font-weight: 700;
	margin-top: 5px;
	line-height: 1.25;
}
.edu-card .facts { margin-top: 10px; display: grid; gap: 6px; }
.edu-card .fact { font-size: 11.5px; line-height: 1.55; color: #b9bec9; }
.edu-card .fact b {
	font-family: var(--mono);
	font-size: 9.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #8b909d;
	display: block;
}

.award {
	display: flex;
	gap: 12px;
	background: var(--surface);
	border: 1px solid var(--line-in);
	border-radius: var(--radius-sm);
	padding: 15px 16px;
	transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.award + .award { margin-top: 12px; }
.award:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(20, 22, 30, 0.08); }
.award .medal {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(182, 137, 45, 0.14);
	color: var(--gold);
	display: grid;
	place-items: center;
	flex: none;
}
.award .medal svg { width: 16px; height: 16px; }
.award h4 { font-size: 12.8px; font-weight: 700; line-height: 1.35; }
.award p { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.award small { font-family: var(--mono); font-size: 10px; color: var(--faint); }

/* ---------------- Stats ---------------- */
.stats { grid-column: span 12; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 6px 0; position: relative; }
.stat + .stat::before {
	content: "";
	position: absolute;
	left: 0;
	top: 14%;
	height: 72%;
	width: 1px;
	background: var(--line-in);
}
.stat .num {
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 800;
	letter-spacing: -0.03em;
}
.stat .num .suf { color: var(--cobalt); }
.stat .lab {
	font-family: var(--mono);
	font-size: 10.5px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--muted);
	margin-top: 4px;
}

/* ---------------- CTA & form ---------------- */
.cta {
	grid-column: span 7;
	background: var(--cobalt);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.18);
	outline: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
}
.cta .eyebrow { color: rgba(255, 255, 255, 0.7); }
/* Full-width variant used when the message form is hidden. */
.cta.solo {
	grid-column: span 12;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 34px;
}
.cta.solo .cta-copy { flex: 1; }
.cta.solo h2 { max-width: 24ch; margin-bottom: 12px; }
.cta.solo p { margin-bottom: 0; }
.cta.solo .cta-actions { flex: none; flex-direction: column; align-items: stretch; }
.cta.solo .btn-white,
.cta.solo .btn-ghost { justify-content: center; white-space: nowrap; }
.cta h2 {
	font-size: clamp(1.8rem, 4vw, 2.9rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.04;
	margin: 14px 0 10px;
	max-width: 20ch;
}
.cta p { font-size: 13.5px; color: rgba(255, 255, 255, 0.85); max-width: 46ch; margin-bottom: 22px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-white {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: #fff;
	color: var(--cobalt);
	font-weight: 700;
	font-size: 14px;
	padding: 13px 22px;
	border-radius: 999px;
	transition: transform 0.3s, box-shadow 0.3s;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22); }
.btn-white svg { width: 16px; height: 16px; }
.btn-ghost {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	padding: 13px 22px;
	border-radius: 999px;
	transition: background 0.3s, transform 0.3s;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }
.btn-ghost svg { width: 16px; height: 16px; }

.form { grid-column: span 5; display: flex; flex-direction: column; }
.field { margin-bottom: 12px; }
.field label {
	font-family: var(--mono);
	font-size: 10.5px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--muted);
	display: block;
	margin-bottom: 6px;
}
.field input,
.field textarea {
	width: 100%;
	font-family: var(--sans);
	font-size: 14px;
	padding: 11px 14px;
	border-radius: 12px;
	border: 1px solid var(--line-in);
	background: var(--surface-soft);
	color: var(--text);
	transition: border-color 0.25s, box-shadow 0.25s;
	resize: vertical;
}
.field input:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--cobalt);
	box-shadow: 0 0 0 3px var(--cobalt-soft);
}
.field.err input,
.field.err textarea {
	border-color: #e0464b;
	box-shadow: 0 0 0 3px rgba(224, 70, 75, 0.12);
}
.field .msg { font-size: 11px; color: #e0464b; margin-top: 5px; display: none; }
.field.err .msg { display: block; }
.form-note { font-size: 11px; color: var(--faint); margin-top: 8px; line-height: 1.5; }
.btn-cobalt {
	margin-top: 4px;
	background: var(--cobalt);
	color: #fff;
	font-family: var(--sans);
	font-weight: 700;
	font-size: 14px;
	border: none;
	padding: 13px;
	border-radius: 12px;
	transition: background 0.25s, transform 0.25s;
}
.btn-cobalt:hover { background: var(--cobalt-dim); transform: translateY(-1px); }
.form-success {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 12px;
	height: 100%;
	min-height: 220px;
}
.form-success .ok-circ {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--cobalt-soft);
	color: var(--cobalt);
	display: grid;
	place-items: center;
}
.form-success .ok-circ svg { width: 28px; height: 28px; }
.form-success h4 { font-size: 1.2rem; font-weight: 700; }
.form-success p { font-size: 13px; color: var(--muted); max-width: 34ch; }
.form-success button {
	border: none;
	background: none;
	color: var(--cobalt);
	font-weight: 700;
	font-size: 12.5px;
}

/* ---------------- Footer ---------------- */
.foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 34px 0 14px;
	margin-top: 8px;
	border-top: 1px solid var(--line-in);
	font-size: 13px;
	color: var(--muted);
}
.foot .links { display: flex; gap: 22px; }
.foot .links a { transition: color 0.25s; }
.foot .links a:hover { color: var(--text); }
.foot .built { font-family: var(--mono); font-size: 11px; color: var(--faint); }

/* ---------------- FAB & sheet ---------------- */
.fab {
	display: none;
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 60;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--cobalt);
	color: #fff;
	border: none;
	place-items: center;
	box-shadow: 0 12px 28px rgba(26, 86, 219, 0.4);
	transition: background 0.25s, transform 0.25s;
}
.fab:hover { background: var(--cobalt-dim); transform: scale(1.05); }
.fab svg { width: 24px; height: 24px; }

.sheet {
	position: fixed;
	inset: 0;
	z-index: 80;
	background: rgba(237, 238, 242, 0.75);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s;
}
html.night .sheet { background: rgba(14, 16, 20, 0.82); }
.sheet.open { opacity: 1; pointer-events: auto; }
.sheet a { font-size: 1.6rem; font-weight: 700; padding: 10px; color: var(--text); }
.sheet .close {
	position: absolute;
	top: 24px;
	right: 24px;
	background: var(--ink);
	color: var(--ink-fg);
	border: none;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: grid;
	place-items: center;
}
.sheet .close svg { width: 20px; height: 20px; }

section { scroll-margin-top: 24px; }

.kbd-hint {
	text-align: center;
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--faint);
	padding: 18px 0 0;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1023px) {
	.nav-pill,
	.tagline { display: none; }
	.hamburger { display: grid; }
	.hero-left {
		grid-column: span 12;
		min-height: 200px;
		flex-direction: row;
		align-items: flex-start;
		gap: 18px;
	}
	.hero-left .arrow-ico { width: 60px; height: 60px; }
	.hero-left .cloudbox { margin-left: auto; max-width: 62%; }
	.hero-left .tagcloud { justify-content: flex-end; }
	.hero-left .hero-kicker { text-align: right; margin-top: 0; }
	.hero-right { grid-column: span 12; }
	.photo { grid-column: span 12; min-height: 440px; }
	.about-right { grid-column: span 7; grid-column: span 12; }
	.col-wide,
	.col-side { grid-column: span 12; }
	.col4 { grid-column: span 6; }
	.col4:last-child { grid-column: span 12; }
	.edu-grid .span-4 { grid-column: span 6; }
	.edu-grid .span-4:last-child { grid-column: span 12; }
	.cta,
	.form { grid-column: span 12; }
}
@media (max-width: 639px) {
	.wrap { padding: 0 16px; }
	.hero-left { flex-direction: column; }
	.hero-left .cloudbox { margin-left: 0; max-width: 100%; }
	.hero-left .tagcloud { justify-content: flex-start; }
	.hero-left .hero-kicker { text-align: left; margin-top: 18px; }
	.col4 { grid-column: span 12; }
	.edu-grid .span-4 { grid-column: span 12; }
	.job { padding: 18px; }
	.contacts { grid-template-columns: 1fr; }
	.ctile { height: auto; min-height: 96px; gap: 10px; }
	.cta.solo { flex-direction: column; align-items: flex-start; gap: 22px; }
	.cta.solo .cta-actions { align-self: stretch; }
	.stats-row { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
	.stat:nth-child(3)::before,
	.stat:nth-child(2)::before { content: none; }
	.foot { flex-direction: column; align-items: flex-start; gap: 14px; }
	.fab { display: grid; }
	.panel { padding: 20px; }
	.photo { padding: 24px 18px 18px; }
}

@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; }
}

/* ============================================================
   PRINT — linearised résumé, all detail expanded (see app.js)
   ============================================================ */
.print-only { display: none; }

@media print {
	@page { margin: 12mm; }

	:root {
		--bg: #fff;
		--bg-bloom: #fff;
		--glass: #fff;
		--glass-strong: #fff;
		--surface: #fff;
		--surface-soft: #fff;
		--line-in: #ccc;
		--line-out: #ccc;
		--ink: #fff;
		--ink-fg: #000;
		--text: #000;
		--muted: #333;
		--faint: #666;
		--cobalt: #1a56db;
		--shadow: none;
		--shadow-lift: none;
	}

	html.night { --text: #000; --muted: #333; --ink: #fff; --ink-fg: #000; }

	body {
		background: #fff !important;
		padding: 0;
		font-size: 10.5pt;
	}

	[data-print-hide],
	.fab,
	.sheet,
	.nav-pill,
	.hamburger,
	.chip-btn,
	.copy-btn,
	.seg,
	.filter,
	.kbd-hint,
	.form,
	.job .more,
	.hero-ring,
	.hero-spec { display: none !important; }

	.print-only { display: block !important; }

	.panel,
	.job,
	.edu-card,
	.award,
	.photo,
	.ctile {
		box-shadow: none !important;
		backdrop-filter: none !important;
		border: 1px solid #ccc !important;
		outline: none !important;
		break-inside: avoid;
		transform: none !important;
	}

	.grid { display: block !important; }
	.grid > * + * { margin-top: 10px; }
	.col4,
	.about-right { display: block !important; }
	.col4 > * + *,
	.about-right > * + * { margin-top: 10px; }

	.hero-right { background: #fff !important; color: #000 !important; border: none !important; }
	.hero-wordmark { color: #000 !important; font-size: 30pt; }
	.hero-role { color: #000 !important; }
	.hero-badge { border: 1px solid #ccc; color: #000; background: none; }
	.typer, .hero-year { color: #000 !important; }

	.photo {
		background: #fff !important;
		min-height: 0 !important;
		color: #000 !important;
	}
	.photo .monogram, .photo .scrim { display: none !important; }
	.photo .hello h2, .photo .hello small, .photo .grow, .photo .grow b { color: #000 !important; }
	.photo .bio { background: none !important; border: 1px solid #ccc; color: #000 !important; }

	.edu-card { min-height: 0 !important; }
	.edu-card .yr { position: static; display: inline-block; margin-bottom: 8px; border: 1px solid #ccc; }
	.edu-card .ok { display: none; }
	.edu-card .school { margin-top: 0; }
	.edu-card .fact, .edu-card .fact b { color: #333 !important; }

	.collapse-body { display: block !important; height: auto !important; }
	.reveal { opacity: 1 !important; transform: none !important; }

	.cta { background: #fff !important; color: #000 !important; border: 1px solid #ccc !important; }
	.cta h2, .cta p, .cta .eyebrow { color: #000 !important; }
	.cta-actions { display: none !important; }

	a { color: #000; }
	.foot { border-top: 1px solid #ccc; }
}
