/* ================================================================
   Rudra Patel Portfolio — main.css
   Theme: Editorial Monochrome
   Author: Rudra Patel  |  Banner ID: 100979779
   ================================================================ */

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

/* ── Design Tokens ──────────────────────────────────────────── */
:root {
	--paper: #f7f5f0;
	--paper-2: #f0ede6;
	--ink: #111111;
	--ink-mid: #555550;
	--ink-light: #999990;
	--rule: #d8d5ce;
	--bg: #e8e6e0;

	--font-display: 'Playfair Display', Georgia, serif;
	--font-body: 'DM Sans', system-ui, sans-serif;

	--nav-h: 56px;
	--page-max: 1100px;

	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset / Base ───────────────────────────────────────────── */
html {
	font-size: 16px;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
}

body.is-loading {
	overflow: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
}

button {
	font-family: inherit;
}

/* ── Site loader ────────────────────────────────────────────── */
.site-loader {
	position: fixed;
	inset: 0;
	z-index: 5000;
	background:
		linear-gradient(90deg, rgba(17, 17, 17, 0.04) 1px, transparent 1px),
		linear-gradient(180deg, rgba(17, 17, 17, 0.04) 1px, transparent 1px),
		var(--paper);
	background-size: 42px 42px;
	display: grid;
	place-items: center;
	padding: 32px;
	color: var(--ink);
	transition: opacity 0.45s var(--ease-out), visibility 0.45s var(--ease-out);
}

.site-loader.is-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.site-loader__inner {
	width: min(100%, 760px);
	min-height: min(420px, 70vh);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border-top: 1px solid var(--ink);
	border-bottom: 1px solid var(--ink);
	padding: 24px 0 28px;
}

.site-loader__topline {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 24px;
	color: var(--ink);
}

.site-loader__brand {
	font-family: var(--font-display);
	font-size: clamp(44px, 7vw, 86px);
	font-weight: 400;
	line-height: 0.92;
}

.site-loader__portfolio {
	margin-top: 0.6em;
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-mid);
}

.site-loader__main {
	display: grid;
	gap: 16px;
}

.site-loader__label {
	margin: 0;
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-light);
}

.site-loader__count {
	display: flex;
	align-items: baseline;
	gap: 16px;
	font-family: var(--font-display);
	font-size: clamp(54px, 10vw, 112px);
	line-height: 0.9;
	color: var(--ink);
}

.site-loader__count span:first-child {
	min-width: 1.55em;
	font-style: italic;
}

.site-loader__count span:not(:first-child) {
	font-size: clamp(24px, 3.8vw, 42px);
	color: var(--ink-mid);
}

.site-loader__progress {
	width: 100%;
	height: 2px;
	background: var(--rule);
	overflow: hidden;
}

.site-loader__progress span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--ink);
	transition: width 0.16s linear;
}

/* ── Utility ────────────────────────────────────────────────── */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.pointer {
	cursor: pointer;
}

.hideAll {
	display: none !important;
}

/* ── Header / Nav ───────────────────────────────────────────── */
body>header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--nav-h);
	background: var(--paper);
	border-bottom: 1px solid var(--rule);
	z-index: 1000;
}

.header-container {
	max-width: var(--page-max);
	margin: 0 auto;
	padding: 0 40px;
	display: flex;
	align-items: center;
	height: var(--nav-h);
	gap: 1rem;
}

.header-brand {
	margin-right: auto;
	font-family: var(--font-display);
	font-size: 16px;
	letter-spacing: 0.02em;
	color: var(--ink);
	line-height: 1;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.header-brand em {
	font-style: italic;
	font-weight: 400;
}

.header-brand img {
	width: 28px;
	height: 28px;
	object-fit: contain;
	flex-shrink: 0;
}

.header-links {
	display: flex;
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.header-links a,
.header-links span {
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-mid);
	transition: color 0.15s ease;
}

.header-links a:hover,
.header-links span:hover {
	color: var(--ink);
}

.nav-link {
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-mid);
	transition: color 0.15s ease;
}

.nav-link:hover {
	color: var(--ink);
}

/* ── Main ───────────────────────────────────────────────────── */
main {
	padding-top: var(--nav-h);
}

/* ── Shared section wrapper ─────────────────────────────────── */
.section-wrap {
	max-width: var(--page-max);
	margin: 0 auto;
	padding: 0 40px;
}

/* ── Pane label (eyebrow) ───────────────────────────────────── */
.pane-label {
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink-light);
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 20px;
}

.pane-label::before {
	content: '';
	display: block;
	width: 16px;
	height: 1px;
	background: var(--ink-light);
	flex-shrink: 0;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--ink);
	color: var(--paper);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 11px 22px;
	border: 1px solid var(--ink);
	border-radius: 1px;
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease;
}

.btn-primary:hover {
	background: var(--ink-mid);
	border-color: var(--ink-mid);
}

.btn-primary--full {
	width: 100%;
}

.btn-ghost {
	background: transparent;
	color: var(--ink);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 11px 22px;
	border: 1px solid var(--rule);
	border-radius: 1px;
	cursor: pointer;
	transition: border-color 0.18s ease;
}

.btn-ghost:hover {
	border-color: var(--ink);
}

/* ═══════════════════════════════════════════════════════════════
   HOME PAGE
   ═══════════════════════════════════════════════════════════════ */
.show-home {
	background: var(--paper);
	max-width: var(--page-max);
	margin: 0 auto;
	border-left: 1px solid var(--rule);
	border-right: 1px solid var(--rule);
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero-section {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
	gap: 64px;
	align-items: center;
	padding: 80px 40px 64px;
	border-bottom: 1px solid var(--rule);
	min-height: 100vh;
}

.hero-section__eyebrow {
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ink-light);
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
}

.hero-section__eyebrow::before {
	content: '';
	display: block;
	width: 24px;
	height: 1px;
	background: var(--ink-light);
}

.hero-section__name {
	font-family: var(--font-display);
	font-size: clamp(72px, 10vw, 126px);
	font-weight: 400;
	color: var(--ink);
	line-height: 0.82;
	letter-spacing: 0;
	margin: 0 0 28px;
	background: none;
	-webkit-background-clip: unset;
	background-clip: unset;
	color: var(--ink) !important;
	-webkit-text-fill-color: var(--ink) !important;
	text-shadow: none;
}

.hero-section__name span,
.hero-section__name em {
	display: block;
}

.hero-section__name em {
	font-style: italic;
	margin-left: 0.42em;
}

.hero-section__lead {
	font-size: 14px;
	color: var(--ink-mid);
	line-height: 1.75;
	max-width: 40ch;
	margin: 0 0 20px;
}

.hero-section__roles {
	display: flex;
	align-items: center;
	gap: 0.3em;
	font-size: 13px;
	color: var(--ink-mid);
	margin: 0 0 28px;
	letter-spacing: 0.01em;
}

.hero-section__roles-prefix {
	white-space: nowrap;
}

.hero-section__role-window {
	display: inline-block;
	overflow: hidden;
	min-width: 18ch;
}

.hero-section__role {
	display: inline-block;
	color: var(--ink);
	font-weight: 500;
}

.hero-section__ctas {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.hero-section__right {
	display: flex;
	align-items: stretch;
	justify-content: flex-end;
}

.hero-section__identity {
	width: 100%;
	min-height: 340px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	padding: 28px 0 18px 34px;
	border-left: 1px solid var(--rule);
	overflow: hidden;
}

.hero-section__identity-mark {
	position: absolute;
	top: -12px;
	right: -10px;
	font-family: var(--font-display);
	font-size: clamp(112px, 14vw, 190px);
	font-style: italic;
	line-height: 0.78;
	color: rgba(17, 17, 17, 0.07);
	pointer-events: none;
}

.hero-section__identity-kicker {
	font-family: var(--font-body);
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-light);
	margin-bottom: 18px;
}

.hero-section__identity-statement {
	font-family: var(--font-display);
	font-size: clamp(38px, 4.8vw, 64px);
	font-weight: 400;
	line-height: 0.98;
	letter-spacing: 0;
	margin: 0 0 28px;
	max-width: 11ch;
	color: var(--ink);
}

.hero-section__identity-statement em {
	font-style: italic;
}

.hero-section__disciplines {
	width: min(100%, 28rem);
	list-style: none;
	margin: 0;
	padding: 14px 0 0;
	border-top: 1px solid var(--rule);
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 20px;
}

.hero-section__disciplines li {
	font-size: 13px;
	line-height: 1.4;
	color: var(--ink);
}

.hero-section__disciplines li::before {
	content: '/';
	margin-right: 8px;
	color: var(--ink-light);
}

/* ── Ticker strip ───────────────────────────────────────────── */
.ticker-strip {
	overflow: hidden;
	background: var(--paper-2);
	border-bottom: 1px solid var(--rule);
	padding: 12px 0;
}

.ticker-inner {
	display: flex;
	gap: 32px;
	white-space: nowrap;
	animation: ticker-scroll 28s linear infinite;
	width: max-content;
}

@keyframes ticker-scroll {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

.ticker-item {
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-mid);
}

.ticker-sep {
	font-size: 10px;
	color: var(--rule);
}

/* ── Projects grid ──────────────────────────────────────────── */
.projects-grid__header {
	padding: 32px 40px 20px;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	border-bottom: 1px solid var(--rule);
}

.projects-grid__title {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 400;
	color: var(--ink);
	letter-spacing: -0.01em;
	margin: 0;
	background: none;
	-webkit-background-clip: unset;
	background-clip: unset;
	color: var(--ink) !important;
	-webkit-text-fill-color: var(--ink) !important;
	text-shadow: none;
}

.projects-grid__title em {
	font-style: italic;
}

.projects-grid__count {
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-light);
}

.projects-showcase {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

/* ── Project card ───────────────────────────────────────────── */
.project-card {
	border-right: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
	cursor: pointer;
	transition: background 0.15s ease;
	display: block;
	text-decoration: none;
	color: inherit;
	padding: 4%;
}

.project-card:nth-child(even) {
	border-right: none;
}

.project-card:hover {
	background: var(--paper-2);
}

.project-card__media {
	width: 100%;
	aspect-ratio: 16/9;
	background: #dddad2;
	display: flex;
	align-items: center;
	justify-content: center;
	border-bottom: 1px solid var(--rule);
	position: relative;
	overflow: hidden;
}

.project-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s var(--ease-out), filter 0.4s ease;
}

.project-card__media img.project-card__image--contain {
	width: 58%;
	height: 58%;
	object-fit: contain;
}

.project-card:hover .project-card__media img {
	transform: scale(1.04);
	filter: brightness(0.9);
}

.project-card__num {
	position: absolute;
	top: 12px;
	left: 16px;
	font-size: 10px;
	letter-spacing: 0.14em;
	color: var(--paper);
	text-transform: uppercase;
	z-index: 2;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.project-card__details {
	padding: 20px 24px;
}

.project-card__tags {
	display: flex;
	gap: 6px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}

.project-card__tag {
	font-size: 9px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-mid);
	border: 1px solid var(--rule);
	padding: 2px 7px;
	border-radius: 1px;
}

.project-card__title {
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 400;
	color: var(--ink);
	line-height: 1.2;
	margin: 0 0 6px;
	background: none !important;
	-webkit-background-clip: unset !important;
	background-clip: unset !important;
	color: var(--ink) !important;
	-webkit-text-fill-color: var(--ink) !important;
	text-shadow: none !important;
}

.project-card__excerpt {
	font-size: 12px;
	color: var(--ink-light);
	line-height: 1.6;
	margin: 0 0 12px;
}

.project-card__cta {
	display: inline-block;
	font-size: 11px;
	letter-spacing: 0.08em;
	color: var(--ink);
	border-bottom: 1px solid var(--ink);
	padding-bottom: 1px;
	transition: opacity 0.15s ease;
}

.project-card:hover .project-card__cta {
	opacity: 0.6;
}

/* ── Skills & About ─────────────────────────────────────────── */
.skills-about-container {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	border-top: 1px solid var(--rule);
	align-items: stretch;
}

.about-section {
	padding: 40px;
	border-right: 1px solid var(--rule);
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-width: 0;
}

.skills-bars-pane {
	padding: 40px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-width: 0;
}

.about-text {
	font-size: 13px;
	color: var(--ink-mid);
	line-height: 1.8;
	margin: 0 0 16px;
}

.about-section .skills-grid {
	margin-top: 18px;
}

.about-section .pane-label+.about-text {
	margin-top: 0;
}

.about-section .about-text:last-of-type {
	margin-bottom: 0;
}

.about-quote {
	font-family: var(--font-display);
	font-size: 17px;
	font-style: italic;
	color: var(--ink);
	line-height: 1.5;
	border-left: 2px solid var(--ink);
	padding-left: 16px;
	margin: 24px 0;
}



/* ── Skill bars ─────────────────────────────────────────────── */
.skills-bars-pane {
	padding: 40px;
}

.skill-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid var(--rule);
}

.skill-row:last-of-type {
	border-bottom: none;
}

.skill-name {
	font-size: 13px;
	color: var(--ink);
}

.skill-bar-wrap {
	width: 100px;
	height: 2px;
	background: var(--rule);
	flex-shrink: 0;
}

.skill-bar {
	height: 2px;
	background: var(--ink);
}

.certifications-label {
	margin-top: 32px;
}

.certifications-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	margin-top: 10px;
	padding: 12px 0;
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
}

.certification-pill {
	position: relative;
	display: inline-flex;
	align-items: center;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink);
	line-height: 1.4;
	white-space: nowrap;
}

.certification-pill:not(:last-child)::after {
	content: '/';
	margin: 0 10px;
	color: var(--ink-light);
	font-weight: 400;
}

.certificate-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.certificate-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 10px 14px;
	border: 1px solid var(--ink);
	border-radius: 8px;
	background: var(--ink);
	color: var(--paper);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1;
	transition: background 0.18s ease, color 0.18s ease, transform 0.18s var(--ease-out);
}

.certificate-button:hover {
	background: transparent;
	color: var(--ink);
	transform: translateY(-2px);
}

.skills-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 12px;
	margin-bottom: 0;
}

/* ── Contact ────────────────────────────────────────────────── */
.contact-me {
	border-top: 1px solid var(--rule);
	padding: 56px 40px;
}

.contact-card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: start;
}

.contact-heading {
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 400;
	color: var(--ink);
	line-height: 1.15;
	margin: 0 0 16px;
	background: none !important;
	-webkit-background-clip: unset !important;
	background-clip: unset !important;
	color: var(--ink) !important;
	-webkit-text-fill-color: var(--ink) !important;
	text-shadow: none !important;
}

.contact-heading em {
	font-style: italic;
}

.contact-body {
	font-size: 13px;
	color: var(--ink-mid);
	line-height: 1.75;
	margin: 0 0 28px;
}

.contact-direct {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: 28px;
}

.contact-direct p {
	font-size: 13px;
	color: var(--ink);
	margin: 4px 0;
}

.contact-link {
	font-size: 11px;
	letter-spacing: 0.08em;
	color: var(--ink);
	border-bottom: 1px solid var(--ink);
	padding-bottom: 1px;
}

.contact-services .pane-label {
	margin-bottom: 12px;
}

.contact-services ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.contact-services li {
	font-size: 12px;
	color: var(--ink-mid);
	padding-left: 12px;
	position: relative;
}

.contact-services li::before {
	content: '—';
	position: absolute;
	left: 0;
	color: var(--rule);
}

/* ── Contact form ───────────────────────────────────────────── */
.contact-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.contact-form__group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.form-label {
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-mid);
}

.form-input,
.form-textarea {
	width: 100%;
	border: none;
	border-bottom: 1px solid var(--rule);
	background: transparent;
	padding: 8px 0;
	font-size: 13px;
	color: var(--ink);
	font-family: var(--font-body);
	outline: none;
	transition: border-color 0.15s ease;
}

.form-input:focus,
.form-textarea:focus {
	border-bottom-color: var(--ink);
}

.form-input::placeholder,
.form-textarea::placeholder {
	color: var(--ink-light);
}

.form-input.is-invalid,
.form-textarea.is-invalid {
	border-bottom-color: #c0392b;
}

.form-textarea {
	resize: none;
	height: 80px;
}

/* ── Response container ─────────────────────────────────────── */
.response-container {
	margin-top: 16px;
	padding: 12px 16px;
	font-size: 13px;
	border: 1px solid var(--rule);
	border-radius: 1px;
}

.response-container--hidden {
	display: none;
}

.response-container.success {
	border-color: #27ae60;
	color: #27ae60;
}

.response-container.error {
	border-color: #c0392b;
	color: #c0392b;
}

/* ═══════════════════════════════════════════════════════════════
   PROJECT PAGES  (preserve cinematic layout, retheme colours)
   ═══════════════════════════════════════════════════════════════ */
.project-page {
	background: var(--paper);
	color: var(--ink);
	border: none;
	box-shadow: none;
	width: 100%;
	max-width: var(--page-max);
	margin: 0 auto;
	padding: 80px 40px 60px;
}

.project-page__content {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.project-page__header {
	text-align: left;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--rule);
}

.project-page__header h2 {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(24px, 3.5vw, 40px);
	font-weight: 400;
	color: var(--ink);
	background: none !important;
	-webkit-background-clip: unset !important;
	background-clip: unset !important;
	color: var(--ink) !important;
	-webkit-text-fill-color: var(--ink) !important;
	text-shadow: none !important;
}

.project-page__info {
	text-align: left;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.project-page__meta {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	color: var(--ink-mid);
	font-size: 13px;
}

.project-page__meta li strong {
	color: var(--ink);
	font-weight: 500;
}

.project-page__summary {
	margin: 0;
	color: var(--ink-mid);
	max-width: 46rem;
	line-height: 1.7;
	font-size: 14px;
}

.project-page__label {
	margin: 0 0 0.9rem;
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 500;
	color: var(--ink);
	background: none !important;
	-webkit-background-clip: unset !important;
	background-clip: unset !important;
	color: var(--ink) !important;
	-webkit-text-fill-color: var(--ink) !important;
	text-shadow: none !important;
}

.project-placeholder {
	border-radius: 2px;
	border: 1px solid var(--rule);
	background-color: #e8e5de;
	overflow: hidden;
}

.project-placeholder img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.project-placeholder--hero {
	height: clamp(12rem, 28vw, 17rem);
	width: 100%;
}

.project-overview,
.project-page__body {
	text-align: left;
	color: var(--ink-mid);
	line-height: 1.75;
	font-size: 14px;
}

.project-overview {
	margin: 0;
}

.project-overview p,
.project-page__body p {
	margin: 0;
}

.project-overview {
	display: grid;
	gap: 1.15rem;
}

.project-overview__intro {
	color: var(--ink-mid);
	line-height: 1.7;
}

.project-overview__heading {
	margin: 0 0 0.25rem;
	color: var(--ink);
	font-family: var(--font-display);
}

.project-overview__meta {
	display: grid;
	gap: 0.95rem;
}

.project-overview__row {
	display: grid;
	grid-template-columns: 5.25rem 1fr;
	gap: 0.65rem;
	align-items: start;
	padding-top: 0.65rem;
	border-top: 1px solid var(--rule);
}

.project-overview__label {
	margin: 0;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-light);
}

.project-overview__value {
	margin: 0;
	color: var(--ink-mid);
	line-height: 1.55;
}

/* ── Cinematic project layout ───────────────────────────────── */
.project-page--cinematic {
	background: var(--paper);
	border-radius: 0;
	box-shadow: none;
}

.project-page--cinematic .project-page__content {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.85fr);
	grid-template-areas:
		"header header"
		"hero overview"
		"showcase showcase"
		"extras extras";
	gap: 1.4rem 1.5rem;
}

.project-page--cinematic .project-page__header {
	grid-area: header;
}

.project-page--cinematic .project-placeholder--hero {
	grid-area: hero;
	height: clamp(13rem, 30vw, 18rem);
	border-radius: 2px;
}

.project-page--cinematic .project-overview {
	grid-area: overview;
	margin: 0;
}

.project-page--cinematic .project-showcase {
	grid-area: showcase;
	gap: 40px;
}

.project-page__extras {
	grid-area: extras;
}

.project-page--cinematic .project-section {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr);
	grid-template-areas: "media body";
	align-items: stretch;
	gap: 0.7rem;
	background: #f0ede6;
	border: 1px solid var(--rule);
	border-radius: 2px;
	padding: 0.55rem;
	overflow: hidden;
}

.project-page--cinematic .project-section--reverse {
	grid-template-areas: "body media";
}

.project-page--cinematic .project-section__media {
	grid-area: media;
	height: 17rem;
	min-height: 17rem;
	border-radius: 2px;
	position: relative;
	overflow: hidden;
}

.project-page--cinematic .project-page__body {
	grid-area: body;
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0.35rem 0.25rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 17rem;
	overflow: auto;
}

.project-page--cinematic .project-page__body p {
	border-top: 1px solid var(--rule);
	padding-top: 0.65rem;
}

.project-section__media {
	flex: 1 1 22rem;
}

.project-showcase {
	display: flex;
	flex-direction: column;
}

.project-section {
	display: flex;
	flex-wrap: wrap;
	gap: 1.75rem;
	align-items: center;
}

.project-section--reverse {
	flex-direction: row-reverse;
}

/* Deliverable placeholder */
.project-placeholder--deliverable {
	height: 20rem;
	width: 100%;
	display: grid;
	place-items: center;
	position: relative;
	border-radius: 2px;
	border: 1px dashed var(--rule);
	background: var(--paper-2);
	padding: 1.25rem;
	text-align: center;
}

.project-placeholder__slot {
	width: min(100%, 38rem);
	min-height: 9rem;
	border-radius: 2px;
	border: 1px dashed var(--rule);
	background: var(--paper);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	color: var(--ink-mid);
	font-size: 1rem;
	letter-spacing: 0.02rem;
}

.project-placeholder--deliverable .project-placeholder__slot {
	width: 100%;
	min-height: 14rem;
}

.project-placeholder__cta {
	position: absolute;
	bottom: 0.95rem;
	left: 50%;
	transform: translateX(-50%);
	padding: 0.5rem 0.85rem;
	border-radius: 2px;
	border: 1px solid var(--rule);
	background: var(--paper);
	color: var(--ink-mid);
	font-size: 0.85rem;
	letter-spacing: 0.03rem;
}

.project-page__deliverable-link {
	display: block;
	text-decoration: none;
	color: inherit;
	margin-bottom: 1rem;
}

.project-page__prototype-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 0.75rem;
	padding: 0.75rem 1.2rem;
	border-radius: 2px;
	border: 1px solid var(--rule);
	background: var(--paper);
	color: var(--ink);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.03rem;
	transition: border-color 0.18s ease, background 0.18s ease;
}

.project-page__prototype-button:hover {
	border-color: var(--ink);
	background: var(--paper-2);
}

.project-page__extras-title {
	margin: 0 0 0.85rem;
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 400;
	text-align: left;
	color: var(--ink);
	letter-spacing: 0.03rem;
}

.project-page__tiles {
	margin-top: 1.75rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	gap: 1.5rem;
}

.project-page__tiles img {
	cursor: zoom-in;
}

.project-placeholder--tile {
	height: 17rem;
}

/* Project 1 special media overrides */
.show-project-1 .project-section__media--foe-case {
	background: linear-gradient(155deg, rgba(230, 228, 220, 0.8), rgba(210, 208, 200, 0.9));
}

.show-project-1 .project-section__media--foe-case img {
	background: transparent;
	padding: 1rem;
	object-fit: contain;
}

.show-project-1.project-page--cinematic .project-section {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
}

@media (min-width: 993px) {
	.project-page--cinematic .project-placeholder--hero {
		height: auto;
		align-self: start;
	}

	.project-page--cinematic .project-placeholder--hero img {
		height: auto;
		width: 100%;
	}

	.project-page--cinematic .project-overview {
		background: transparent;
		border: none;
		padding: 0;
		align-self: center;
	}

	.project-page--cinematic .project-page__header {
		background: transparent;
		border: none;
		padding: 0 0 1rem;
		justify-self: center;
		width: min(100%, 48rem);
		border-bottom: 1px solid var(--rule);
	}

	.project-page--cinematic .project-page__info {
		align-items: center;
		text-align: center;
	}

	.project-page--cinematic .project-page__meta {
		justify-content: center;
	}

	.project-page--cinematic .project-overview__row {
		grid-template-columns: 4.75rem 1fr;
	}

	.show-project-1 .project-section__media--foe-outcome {
		height: 21rem;
		min-height: 21rem;
		width: 82%;
		justify-self: center;
		border: none;
		box-shadow: none;
		background: transparent;
	}
}

/* ── Image lightbox ─────────────────────────────────────────── */
.image-lightbox {
	position: fixed;
	inset: 0;
	z-index: 4000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.image-lightbox--hidden {
	display: none;
}

.image-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(247, 245, 240, 0.92);
	backdrop-filter: blur(4px);
}

.image-lightbox__close {
	position: absolute;
	top: 20px;
	right: 24px;
	background: var(--paper);
	border: 1px solid var(--rule);
	color: var(--ink);
	font-size: 16px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 1px;
	cursor: pointer;
	z-index: 2;
}

.image-lightbox__img {
	max-width: 90vw;
	max-height: 88vh;
	border-radius: 2px;
	border: 1px solid var(--rule);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
	position: relative;
	z-index: 2;
	object-fit: contain;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
	background: var(--paper);
	border-top: 1px solid var(--rule);
	padding: 20px 40px 24px;
	max-width: var(--page-max);
	margin: 0 auto;
}

.site-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 12px;
}

.site-footer__copy {
	font-size: 11px;
	color: var(--ink-light);
	letter-spacing: 0.04em;
}

.site-footer__links {
	display: flex;
	gap: 20px;
}

.site-footer__link {
	font-size: 11px;
	color: var(--ink-mid);
	letter-spacing: 0.08em;
	cursor: pointer;
	transition: color 0.15s ease;
}

.site-footer__link:hover {
	color: var(--ink);
}

.site-footer__note {
	font-size: 11px;
	color: var(--ink-light);
	line-height: 1.6;
	margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 992px) {
	.project-page--cinematic .project-page__content {
		grid-template-columns: 1fr;
		grid-template-areas: "header" "hero" "overview" "showcase";
	}

	.projects-showcase {
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}
}

@media (max-width: 768px) {
	body>header {
		height: auto;
		padding: 12px 0;
	}

	main {
		padding-top: 80px;
	}

	.header-container {
		padding: 0 20px;
		flex-direction: column;
		align-items: center;
		gap: 8px;
	}

	.header-brand {
		margin-right: 0;
	}

	.header-links {
		gap: 20px;
		flex-wrap: wrap;
		justify-content: center;
	}

	.hero-section {
		grid-template-columns: 1fr;
		padding: 40px 24px 36px;
		gap: 32px;
	}

	.hero-section__right {
		justify-content: flex-start;
	}

	.hero-section__identity {
		min-height: 280px;
		padding: 24px 0 16px 24px;
	}

	.hero-section__name {
		font-size: clamp(58px, 15vw, 86px);
	}

	.hero-section__identity-statement {
		font-size: clamp(36px, 10vw, 56px);
	}

	.hero-section__identity-mark {
		font-size: clamp(118px, 31vw, 170px);
	}

	.projects-grid__header {
		padding: 24px 24px 16px;
	}

	.projects-showcase {
		grid-template-columns: 1fr;
	}

	.project-card:nth-child(even) {
		border-right: 1px solid var(--rule);
	}

	.project-card {
		border-right: none;
	}

	.skills-about-container {
		grid-template-columns: 1fr;
	}

	.about-section {
		border-right: none;
		border-bottom: 1px solid var(--rule);
		padding: 32px 24px;
	}

	.skills-bars-pane {
		padding: 32px 24px;
	}

	.contact-me {
		padding: 40px 24px;
	}

	.contact-card {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.project-page {
		padding: 56px 24px 40px;
	}

	.project-page--cinematic .project-section {
		grid-template-columns: 1fr;
		grid-template-areas: "media" "body";
		gap: 0.75rem;
		padding: 0.75rem;
	}

	.project-page--cinematic .project-section--reverse {
		grid-template-areas: "media" "body";
	}

	.project-page--cinematic .project-section__media {
		height: auto;
		min-height: 14rem;
	}

	.project-page--cinematic .project-page__body {
		height: auto;
		overflow: visible;
	}

	.site-footer {
		padding: 16px 24px 20px;
	}
}

@media (max-width: 480px) {
	.header-container {
		padding: 0 16px;
	}

	.site-loader {
		padding: 22px;
	}

	.site-loader__inner {
		min-height: min(360px, 68vh);
		padding: 18px 0 22px;
	}

	.site-loader__topline {
		flex-direction: column;
		gap: 8px;
	}

	.site-loader__portfolio {
		margin-top: 0;
	}

	.site-loader__count {
		gap: 10px;
		font-size: clamp(46px, 18vw, 72px);
	}

	.site-loader__count span:not(:first-child) {
		font-size: clamp(18px, 7vw, 28px);
	}

	.hero-section {
		padding: 32px 16px 28px;
	}

	.hero-section__identity {
		min-height: 250px;
		padding-left: 18px;
	}

	.hero-section__disciplines {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.hero-section__disciplines li {
		font-size: 12px;
	}

	.projects-grid__header {
		padding: 20px 16px 12px;
	}

	.project-card__details {
		padding: 16px;
	}

	.about-section,
	.skills-bars-pane {
		padding: 24px 16px;
	}

	.contact-me {
		padding: 32px 16px;
	}

	.project-page {
		padding: 48px 16px 32px;
	}

	.site-footer {
		padding: 14px 16px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.ticker-inner,
	.certifications-track {
		animation: none;
	}
}