/* /include/portfolio.css — portfolio console styles (2026-11-25 rewrite).
   Loaded after /shared/styles.css. Flat white canvas, family two-tier nav,
   single-image viewer with credits, flat footer. No shadows, 1px borders,
   3px radii. */

/* ---- console canvas: flat white (2026-11-25) ---- */
body.console {
	background: #ffffff;
}

body.console .main_wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background: #ffffff;
}

body.console .header_wrapper {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #ffffff;
}

body.console .body_wrapper {
	display: block;
	flex: 1 1 auto;
}

body.console .body02_wrapper {
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
	padding: 0;
	background: transparent;
	border: none;
}

/* ---- hero (landing) ---- */
.pf_hero {
	padding: 96px 48px 56px;
}

.pf_eyebrow {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: .04em;
	color: var(--soft);
	margin-bottom: 18px;
}

.pf_name {
	font-family: var(--font-display);
	font-size: 52px;
	font-weight: 400;
	letter-spacing: -.01em;
	margin: 0 0 12px;
	line-height: 1.05;
}

.pf_tagline {
	font-size: 17px;
	color: var(--soft);
	margin: 0 0 28px;
}

.pf_meta {
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--soft);
	margin: 0;
}

/* ---- category index (landing) ---- */
.pf_cats {
	display: block;
	padding: 0 48px 64px;
}

.pf_cat a {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 15px 2px;
	border: none;
	border-top: 1px solid var(--border);
	border-radius: 0;
	background: transparent;
	text-decoration: none;
}
.pf_cats .pf_cat:last-child a {
	border-bottom: 1px solid var(--border);
}

.pf_cat a:hover {
	background: transparent;
}
.pf_cat a:hover .pf_cat_label {
	color: var(--accent);
}

.pf_cat_label {
	font-family: var(--font-ui);
	font-size: 15px;
	font-weight: 500;
	color: var(--text);
}

.pf_cat_count {
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--soft);
}

/* ---- viewer (portfolio.php) ---- */
.pf_viewer {
	padding: 32px 48px 40px;
}

.pf_image img {
	display: block;
	max-width: 100%;
	max-height: 78vh;
	height: auto;
	margin: 0 auto;
	border: 1px solid var(--border);
}

.pf_credits {
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: 4px 16px;
	max-width: 640px;
	margin: 4px auto 0;
	padding: 16px 0 0;
	border: none;
	border-top: 1px solid var(--border);
	border-radius: 0;
	background: transparent;
}

.pf_credits dt {
	font-family: var(--font-mono);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--soft);
	padding-top: 2px;
}

.pf_credits dd {
	margin: 0;
	font-size: 13.5px;
	color: var(--text);
}

.pf_copyright {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--soft);
	text-align: center;
	margin: 14px 0 0;
}

/* ---- prev / counter / next (family pagination language) ---- */
.page_gen_wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 884px;
	margin: 22px auto 0;
	padding: 0 48px;
	font-family: var(--font-mono);
	font-size: 12px;
}

.page_counter {
	color: var(--soft);
	letter-spacing: .04em;
}

.page_left,
.page_right {
	min-width: 60px;
}

.page_right {
	text-align: right;
}

.page_gen_wrapper a {
	color: var(--accent);
	text-decoration: none;
}

.page_gen_wrapper a:hover {
	text-decoration: underline;
}

/* ---- contact / services pages ---- */
.pf_page {
	padding: 56px 48px 64px;
}

.pf_page h2 {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -.01em;
	margin: 0 0 20px;
}

.pf_page p {
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--text);
	max-width: 640px;
}

.pf_page ul {
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 640px;
}

.pf_page li {
	padding: 10px 0;
	border-bottom: 1px solid var(--border);
	font-size: 14px;
}

.pf_page li:first-child {
	padding-top: 0;
}

.pf_page li:last-child {
	border-bottom: none;
}

.pf_mail {
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--accent);
	text-decoration: none;
	display: inline-block;
	margin-bottom: 24px;
}

.pf_mail:hover {
	text-decoration: underline;
}

/* ---- mobile ---- */
.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;
}

@media (max-width: 700px) {
	.pf_hero {
		padding: 64px 22px 40px;
	}

	.pf_name {
		font-size: 34px;
	}

	.pf_cats {
		padding: 0 22px 48px;
	}

	.pf_viewer {
		padding: 22px;
	}

	.pf_credits {
		grid-template-columns: 1fr;
	}

	.page_gen_wrapper {
		padding: 0 22px;
	}

	.pf_page {
		padding: 40px 22px 48px;
	}
}
