/* riverma.github.io — minimalist condensed-sans theme */

@font-face {
	font-family: "Barlow Condensed";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../font/BarlowCondensed-Regular.woff2") format("woff2");
}

@font-face {
	font-family: "Barlow Condensed";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../font/BarlowCondensed-Medium.woff2") format("woff2");
}

@font-face {
	font-family: "Barlow Condensed";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../font/BarlowCondensed-Bold.woff2") format("woff2");
}

@font-face {
	font-family: "Barlow Condensed";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../font/BarlowCondensed-Italic.woff2") format("woff2");
}

@font-face {
	font-family: "Barlow Condensed";
	font-style: italic;
	font-weight: 700;
	font-display: swap;
	src: url("../font/BarlowCondensed-BoldItalic.woff2") format("woff2");
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
}

body {
	background: #fff;
	color: #111;
	font-family: "Futura PT Condensed", "Futura Condensed", "Barlow Condensed", "Tw Cen MT Condensed", sans-serif;
	font-size: 19px;
	line-height: 1.5;
	font-weight: 400;
	font-feature-settings: "kern", "liga";
	max-width: 760px;
	margin: 0 auto;
	padding: 56px 28px 72px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
	color: #111;
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 0.5em;
	text-wrap: balance;
	letter-spacing: 0;
}

h1 {
	font-size: 2.6em;
	margin-bottom: 0.2em;
	letter-spacing: 0.01em;
}

h2 {
	font-size: 1.6em;
	margin-top: 2.2em;
	margin-bottom: 0.7em;
	padding-bottom: 0.25em;
	border-bottom: 1px solid #111;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
}

h3 {
	font-size: 1.2em;
	margin-top: 1.4em;
	margin-bottom: 0.3em;
	font-weight: 500;
	letter-spacing: 0.02em;
}

p {
	margin: 0 0 1em;
}

/* Links — browser-default blue/purple, no overrides */

/* Lists */
ul,
ol {
	margin: 0 0 1em;
	padding-left: 1.4em;
}

ul ul,
ol ol,
ul ol,
ol ul {
	margin: 0.2em 0 0.5em;
}

li {
	margin: 0.2em 0;
}

/* Horizontal rule between sections */
hr {
	border: 0;
	border-top: 1px solid #111;
	margin: 2.8em 0 2em;
}

/* Quotes */
blockquote {
	margin: 1.2em 0 1.2em 1em;
	padding-left: 1em;
	border-left: 2px solid #ccc;
	color: #444;
	font-style: italic;
}

blockquote cite {
	display: block;
	font-style: normal;
	font-size: 0.9em;
	color: #666;
	margin-top: 0.3em;
}

em,
i,
cite {
	font-style: italic;
}

strong,
b {
	font-weight: 700;
}

/* Page header */
.page-header h1 {
	margin-top: 0;
}

.page-header h1 a {
	color: #111;
	text-decoration: none;
}

.page-header h1 a:hover {
	color: #444;
}

/* Breadcrumbs */
.breadcrumbs {
	font-size: 0.95em;
	color: #555;
	margin: 0 0 1.6em;
	padding: 0;
	list-style: none;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.breadcrumbs li {
	display: inline;
	margin: 0;
}

.breadcrumbs li + li::before {
	content: "  /  ";
	color: #999;
}

.breadcrumbs li.current {
	color: #555;
}

/* breadcrumb links inherit the browser default link color */

/* Footer */
footer {
	margin-top: 4em;
	padding-top: 1.2em;
	border-top: 1px solid #ddd;
	font-size: 0.95em;
	color: #666;
}

footer p {
	margin: 0.4em 0;
}

/* Contact section: scrape-hardened addresses */
.contact-list {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.contact-list li {
	margin: 0.5em 0;
}

.contact-label {
	display: inline-block;
	min-width: 11em;
	color: #555;
	font-style: italic;
}

.contact-list .hidden {
	display: none;
}

.contact-row-qr {
	display: flex;
	align-items: flex-start;
	gap: 0;
}

.contact-qr {
	display: inline-block;
}

.contact-qr-label {
	display: block;
	font-size: 0.9em;
	color: #555;
	margin-bottom: 0.4em;
}

.contact-qr img {
	display: block;
	border: 1px solid #e0dcd3;
	border-radius: 4px;
	background: #fff;
	padding: 6px;
}

.contact-qr-fallback {
	display: block;
	margin-top: 0.6em;
	font-size: 0.85em;
	color: #555;
	max-width: 320px;
}

.simplex-link {
	word-break: break-all;
}

/* Institutions list (Current Work, Press) — logo as title, sub-bullets underneath */
.institutions {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.institutions > li {
	margin: 0 0 1.6em;
	padding: 0;
}

.institutions > li:last-child {
	margin-bottom: 0;
}

.institution-logo {
	display: block;
	width: auto;
	margin: 0 0 0.5em;
}

/* PBS NewsHour wordmark renders heavier than the other press logos at the same height,
   so trim it down to match optical weight */
.institution-logo--pbs {
	width: 195px;
	height: 21px;
}

/* When no logo exists on the web, show the institution name in a larger, tracked-out wordmark style */
.institution-name {
	display: block;
	font-size: 1.45em;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin: 0 0 0.5em;
	line-height: 1.1;
	color: #111;
}

/* Current Work institution tiles: bordered card with a faded-stamp logo watermark behind the text.
   Selector deliberately matches `.institutions > li`'s specificity (0,1,1) and comes later in the
   stylesheet so the per-tile padding wins over the bare-li reset. */
.institutions > li.institution-tile {
	position: relative;
	padding: 12px 19px;
	margin-bottom: 16px;
	background-color: #fafafa;
	border: 1px solid #d8d4cc;
	border-radius: 4px;
	overflow: hidden;
}

.institution-tile::before {
	content: "";
	position: absolute;
	inset: 0;
	background-repeat: no-repeat;
	background-position: right 8% center;
	background-size: auto 180%;
	opacity: 0.10;
	pointer-events: none;
}

.institution-tile > * {
	position: relative;
	z-index: 1;
}

.institution-tile .institution-name {
	margin-bottom: 0.7em;
}

.institution-tile > ul {
	margin: 0;
	padding-left: 1.2em;
}

.institution-tile > ul > li {
	margin: 0.35em 0;
}

.institution-tile--nasa::before {
	background-image: url("../img/logos/nasa-meatball.svg");
	background-position: right 6% center;
	background-size: auto 200%;
}

.institution-tile--state::before {
	background-image: url("../img/logos/us-state-dept.svg");
	background-position: right 8% center;
	background-size: auto 180%;
}

.institutions > li > ul {
	list-style: disc;
	padding-left: 1.4em;
	margin: 0;
}

.institutions > li > ul > li {
	margin: 0.2em 0;
}

/* Slim image tiles (Arts, Apps) */
.tile-grid {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tile {
	display: block;
	position: relative;
	min-height: 78px;
	padding: 14px 22px;
	color: #fff;
	text-decoration: none;
	background-color: #111;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 3px;
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tile::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.4) 100%);
}

.tile-content {
	position: relative;
	z-index: 1;
}

.tile-title {
	display: block;
	font-size: 1.25em;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.2;
	color: #fff;
	margin: 0;
}

.tile-desc {
	display: block;
	margin-top: 2px;
	font-size: 0.95em;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.85);
	letter-spacing: 0.01em;
}

.tile:hover,
.tile:focus {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
	color: #fff;
	text-decoration: none;
}

/* Per-tile background art (kept slim — image visible behind dark gradient) */
.tile.tile-artportfolio { background-image: url("../img/art-portfolio/banner.jpg"); }
.tile.tile-tzl8         { background-image: url("../img/media/tzl8-logo.png"); background-color: #000; background-size: contain; background-position: center left; }
.tile.tile-tablage      { background-image: url("../img/media/tablage-background.jpg"); }
.tile.tile-virtualtabla { background-image: url("../img/media/virtual-tabla-preview.png"); }
.tile.tile-philosophy   { background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%); }
.tile.tile-adventures   { background: linear-gradient(135deg, #17a2b8 0%, #138496 100%); }
.tile.tile-mentalmath   { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); }
.tile.tile-habittracker { background: linear-gradient(135deg, #1a2240 0%, #34406b 100%); }
.tile.tile-mobility     { background: linear-gradient(135deg, #ff8a5b 0%, #ff6b35 50%, #e85a28 100%); }

/* Tiles whose backgrounds are pure gradients don't need the dark overlay */
.tile.tile-philosophy::before,
.tile.tile-adventures::before,
.tile.tile-mentalmath::before,
.tile.tile-habittracker::before,
.tile.tile-mobility::before {
	background: linear-gradient(to right, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
}

/* Artwork Portfolio — preserved framed look */
.artwork-intro {
	margin-bottom: 2.5em;
}

.artwork-item {
	margin: 3.5em 0;
}

.artwork-item h3 {
	margin-top: 0;
	margin-bottom: 0.3em;
	font-size: 1.4em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.artwork-item > p {
	margin-bottom: 1.4em;
}

.artwork-figure {
	max-width: 700px;
	margin: 0 auto;
}

.artwork-figure img {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 10px;
	background: #f5f1e8;
	border: 1px solid #ccc;
	border-radius: 3px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.artwork-figure .meta {
	color: #666;
	font-style: italic;
	font-size: 0.95em;
	margin: 0.6em 0 0;
	text-align: center;
}

.artwork-figure .credit {
	display: block;
	font-size: 0.85em;
	color: #888;
	margin-top: 0.3em;
}

/* Footnote / small print */
.footnote,
small {
	font-size: 0.9em;
	color: #666;
}

/* Responsive */
@media (max-width: 480px) {
	body {
		font-size: 18px;
		padding: 36px 18px 56px;
	}

	h1 {
		font-size: 2.1em;
	}

	h2 {
		font-size: 1.35em;
	}

	.contact-label {
		display: block;
		min-width: 0;
	}

	.tile {
		min-height: 70px;
		padding: 12px 18px;
	}

	.tile-title {
		font-size: 1.1em;
	}
}
