/*
Theme Name: Clément Vitrine
Theme URI: https://example.com
Author: Clément
Description: Landing page vitrine pour développeur WordPress freelance - thèmes sur mesure, back-office simplifié, maintenance.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vitrine
*/

/* ==========================================================
   Reset & variables
   ========================================================== */
*, *::before, *::after {
	box-sizing: border-box;
}

/* Sombre par défaut. */
:root {
	--color-bg: #121217;
	--color-bg-alt: #1a1a21;
	--color-bg-raised: #1c1c24;
	--color-text: #f2f1f6;
	--color-text-muted: #9c9ba6;
	--color-border: #2c2c35;
	--color-accent: #8a7fff;
	--color-accent-dark: #a89fff;
	--color-accent-contrast: #14161a;
	--color-accent-2: #ff9576;
	--color-accent-soft: #262340;
	--color-success: #15803d;
	--color-success-bg: #ecfdf3;
	--color-error: #b91c1c;
	--color-error-bg: #fef2f2;
	--shadow-color: 20, 20, 30;
	--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--font-display: Arial, "Helvetica Neue", sans-serif;
	--font-heading: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
	--container-width: 1120px;
	--radius: 6px;
	--header-height: 88px;
	color-scheme: dark;
}

/* Bascule claire, activée via le bouton dans la nav. */
:root[data-theme="light"] {
	--color-bg: #ffffff;
	--color-bg-alt: #f3f2f7;
	--color-bg-raised: #ffffff;
	--color-text: #14161a;
	--color-text-muted: #656a74;
	--color-border: #e4e3ea;
	--color-accent: #5b4fe8;
	--color-accent-dark: #4638d1;
	--color-accent-contrast: #ffffff;
	--color-accent-2: #ff7a59;
	--color-accent-soft: #ece9fc;
	--shadow-color: 234, 232, 250;
	color-scheme: light;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-family);
	color: var(--color-text);
	background: var(--color-bg);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	transition: background-color 0.2s ease, color 0.2s ease;
}

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

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

h1, h2 {
	font-family: var(--font-display);
	line-height: 1.05;
	margin: 0 0 0.5em;
	font-weight: 800;
	letter-spacing: -0.02em;
}

h3, h4 {
	line-height: 1.2;
	margin: 0 0 0.6em;
	font-weight: 700;
}

em, .accent-italic {
	font-family: var(--font-heading);
	font-style: italic;
	font-weight: 400;
	color: var(--color-accent);
}

.arrow-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.85rem;
	color: var(--color-text);
	position: relative;
	padding-bottom: 2px;
}

.arrow-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	background: var(--color-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.2s ease;
}

.arrow-link:hover::after {
	transform: scaleX(1);
}

.arrow-link:hover {
	color: var(--color-accent);
}

.arrow-link__glyph {
	display: inline-flex;
	width: 14px;
	height: 14px;
	color: var(--color-accent);
	transition: transform 0.15s ease;
}

.arrow-link:hover .arrow-link__glyph {
	transform: translate(3px, -3px);
}

p {
	margin: 0 0 1em;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

button {
	font-family: inherit;
}

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

.container {
	width: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 24px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--color-text-muted);
	margin: 0 0 0.8em;
}

.eyebrow::before {
	content: "";
	display: inline-block;
	width: 16px;
	height: 2px;
	background: var(--color-accent-2);
}

.section {
	padding: 96px 0;
	scroll-margin-top: var(--header-height);
}

.section--alt {
	background: var(--color-bg-alt);
}

.section-title {
	font-size: clamp(1.7rem, 3vw, 2.3rem);
	max-width: 700px;
	margin-bottom: 48px;
}

/* ==========================================================
   Boutons
   ========================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 32px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn--primary {
	background: var(--color-accent);
	color: var(--color-accent-contrast);
	box-shadow: 0 8px 20px -6px rgba(91, 79, 232, 0.55);
}

.btn--primary:hover {
	background: var(--color-accent-dark);
	box-shadow: 0 12px 24px -6px rgba(91, 79, 232, 0.6);
}

.btn--ghost {
	background: transparent;
	border-color: var(--color-text);
	color: var(--color-text);
}

.btn--ghost:hover {
	background: var(--color-text);
	color: var(--color-bg);
}

/* ==========================================================
   Header
   ========================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--color-bg) 88%, transparent);
	border-bottom: 1px solid var(--color-border);
	backdrop-filter: saturate(180%) blur(10px);
	height: var(--header-height);
	display: flex;
	align-items: center;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.site-logo {
	display: flex;
	align-items: center;
	gap: 12px;
}

.site-logo__img {
	height: 40px;
	width: auto;
}

.site-logo__photo {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--color-bg);
	box-shadow: 0 0 0 1.5px var(--color-accent);
}

.site-logo__text {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.site-logo__name {
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--color-text);
}

.site-logo__role {
	font-size: 0.72rem;
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 32px;
	font-weight: 600;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.site-nav a {
	color: var(--color-text-muted);
	transition: color 0.15s ease;
}

.site-nav a:hover {
	color: var(--color-accent);
}

.site-nav__cta {
	background: var(--color-accent);
	color: var(--color-accent-contrast) !important;
	padding: 12px 22px;
	border-radius: 999px;
	box-shadow: 0 8px 20px -6px rgba(91, 79, 232, 0.5);
}

.site-nav__cta:hover {
	background: var(--color-accent-dark);
	color: var(--color-accent-contrast) !important;
}

.theme-toggle {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	margin: 0;
	border-radius: 999px;
	border: 1px solid var(--color-border);
	background: var(--color-bg-raised);
	color: var(--color-text);
	cursor: pointer;
	line-height: 1;
	transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.theme-toggle:hover {
	border-color: var(--color-accent);
	color: var(--color-accent);
}

.theme-toggle svg {
	width: 18px;
	height: 18px;
}

/* Sombre par défaut : icône soleil visible (clique pour passer en clair). */
.theme-toggle .icon-moon {
	display: none;
}

:root[data-theme="light"] .theme-toggle .icon-sun {
	display: none;
}

:root[data-theme="light"] .theme-toggle .icon-moon {
	display: block;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: transparent;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	cursor: pointer;
}

.nav-toggle__bar {
	display: block;
	width: 18px;
	height: 2px;
	margin: 0 auto;
	background: var(--color-text);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ==========================================================
   Hero
   ========================================================== */
.hero {
	position: relative;
	padding: 88px 0 80px;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	top: -140px;
	right: -120px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, var(--color-accent-soft), transparent 70%);
	z-index: -1;
}

.hero__grid {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
}

.hero__inner {
	max-width: 660px;
}

.hero__photo {
	position: relative;
	flex-shrink: 0;
	width: 240px;
	aspect-ratio: 1 / 1;
	margin-bottom: 4px;
	border-radius: calc(var(--radius) * 2);
	overflow: hidden;
	box-shadow: 0 28px 48px -20px rgba(var(--shadow-color), 1);
	transform: rotate(-3deg);
}

.hero__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

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

.hero h1 {
	font-size: clamp(2.3rem, 5vw, 3.6rem);
	letter-spacing: -0.01em;
}

.hero__highlight {
	font-family: var(--font-heading);
	font-style: italic;
	font-weight: 400;
	color: var(--color-accent);
}

.type-reveal .word {
	display: inline-block;
}

.type-reveal .char {
	display: inline-block;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.type-reveal.is-visible .char {
	opacity: 1;
	transform: translateY(0);
}

.hero__lead {
	font-size: 1.15rem;
	color: var(--color-text-muted);
	max-width: 620px;
}

.hero__actions {
	display: flex;
	align-items: center;
	gap: 28px;
	flex-wrap: wrap;
	margin-top: 36px;
}

/* ==========================================================
   Bandeau call-to-action
   ========================================================== */
.cta-break {
	padding: 64px 0;
	background: var(--color-bg-alt);
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
	text-align: center;
}

.cta-break__title {
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	margin-bottom: 28px;
}

/* ==========================================================
   À propos
   ========================================================== */
.about {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 64px;
	align-items: center;
}

.about__text h2 {
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	max-width: 560px;
}

.about__text p {
	color: var(--color-text-muted);
	max-width: 560px;
}

.about__stats {
	display: grid;
	gap: 24px;
}

.stat {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	background: linear-gradient(135deg, var(--color-accent-soft), var(--color-bg-raised) 70%);
	border: 1px solid var(--color-border);
	border-radius: calc(var(--radius) * 2);
	padding: 20px 24px;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 32px -20px rgba(var(--shadow-color), 1);
}

.stat__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--color-bg-raised);
	color: var(--color-accent);
	box-shadow: 0 0 0 1px var(--color-border);
}

.stat__icon svg {
	width: 22px;
	height: 22px;
}

.stat__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.stat__value {
	display: block;
	font-family: var(--font-heading);
	font-size: 1.9rem;
	font-weight: 400;
	color: var(--color-text);
}

.stat__label {
	display: block;
	color: var(--color-text-muted);
	font-size: 0.88rem;
	line-height: 1.3;
}

/* ==========================================================
   Services
   ========================================================== */
.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.card {
	background: var(--color-bg-raised);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 32px;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
	transform: translateY(-3px);
	border-color: var(--color-accent);
	box-shadow: 0 16px 32px -18px rgba(var(--shadow-color), 0.9);
}

.card__icon {
	width: 48px;
	height: 48px;
	border-radius: 999px;
	background: var(--color-accent);
	color: var(--color-accent-contrast);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}

.card__icon svg {
	width: 24px;
	height: 24px;
}

.card h3 {
	font-size: 1.1rem;
}

.card p {
	color: var(--color-text-muted);
	margin: 0;
}

/* ==========================================================
   Projets — liste éditoriale
   ========================================================== */
.project-list {
	display: flex;
	flex-direction: column;
}

.project-row {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 48px;
	align-items: center;
	padding: 48px 0;
	border-top: 1px solid var(--color-border);
}

.project-row:last-child {
	border-bottom: 1px solid var(--color-border);
}

.project-row__media {
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--color-bg-alt);
	overflow: hidden;
	order: 2;
	border-radius: var(--radius);
	border: 1px solid var(--color-border);
}

.project-row:nth-child(even) .project-row__media {
	order: -1;
}

.project-row__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	transition: transform 0.4s ease;
}

.project-row__media:hover img {
	transform: scale(1.04);
}

.project-row__text h3 {
	font-size: 1.4rem;
	margin-bottom: 0.3em;
}

.project-row__meta {
	font-family: var(--font-family);
	font-weight: 400;
	font-size: 0.6em;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-accent);
	margin-left: 6px;
}

.project-row__text p {
	color: var(--color-text-muted);
	max-width: 46ch;
}

/* ==========================================================
   Contact
   ========================================================== */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.3fr;
	gap: 40px;
	align-items: start;
}

.contact-malt,
.contact-form-wrap {
	background: var(--color-bg-raised);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 32px;
}

.contact-malt p,
.contact-form-wrap > p {
	color: var(--color-text-muted);
}

.contact-malt__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 8px;
}

.contact-malt__links .btn--ghost {
	padding: 12px 22px;
}

.social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 999px;
	border: 1px solid var(--color-border);
	color: var(--color-text-muted);
	transition: border-color 0.15s ease, color 0.15s ease;
}

.social-icon svg {
	width: 18px;
	height: 18px;
}

.social-icon:hover {
	border-color: var(--color-accent);
	color: var(--color-accent);
}

.social-icon--inline {
	width: 22px;
	height: 22px;
	border: none;
}

.social-icon--inline svg {
	width: 16px;
	height: 16px;
}

.contact-form .form-row {
	margin-bottom: 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.contact-form label {
	font-weight: 600;
	font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
	font-family: inherit;
	font-size: 1rem;
	padding: 12px 14px;
	border-radius: 8px;
	border: 1px solid var(--color-border);
	background: var(--color-bg-alt);
	color: var(--color-text);
	resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--color-accent);
	background: var(--color-bg-raised);
	box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.form-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-notice {
	padding: 12px 16px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 0.92rem;
	margin-bottom: 20px;
}

.form-notice--success {
	background: var(--color-success-bg);
	color: var(--color-success);
}

.form-notice--error {
	background: var(--color-error-bg);
	color: var(--color-error);
}

/* ==========================================================
   Portfolio recruteurs (blocs Gutenberg vitrine/*)
   ========================================================== */
.section-title--tight {
	margin-bottom: 16px;
}

.section-intro {
	color: var(--color-text-muted);
	max-width: 640px;
	margin-bottom: 48px;
}

/* Infos clés sous le hero */
.facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 1px;
	margin: 56px 0 0;
	background: var(--color-border);
	border: 1px solid var(--color-border);
	border-radius: calc(var(--radius) * 2);
	overflow: hidden;
}

.facts__item {
	background: var(--color-bg-raised);
	padding: 18px 20px;
}

.facts dt {
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--color-text-muted);
	margin-bottom: 6px;
}

.facts dd {
	margin: 0;
	font-weight: 600;
	line-height: 1.35;
}

/* Parcours */
.timeline {
	list-style: none;
	margin: 0;
	padding: 0;
	border-left: 2px solid var(--color-border);
}

.timeline__item {
	position: relative;
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 24px;
	padding: 0 0 40px 32px;
}

.timeline__item:last-child {
	padding-bottom: 0;
}

.timeline__item::before {
	content: "";
	position: absolute;
	left: -7px;
	top: 6px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--color-accent);
	box-shadow: 0 0 0 4px var(--color-bg-alt);
}

.timeline__period {
	font-family: var(--font-heading);
	font-style: italic;
	color: var(--color-accent);
	font-size: 1.05rem;
	padding-top: 2px;
}

.timeline__body h3 {
	font-size: 1.15rem;
	margin-bottom: 0.2em;
}

.timeline__body p {
	color: var(--color-text-muted);
	max-width: 60ch;
	margin-bottom: 0.4em;
}

.timeline__body .timeline__place {
	color: var(--color-text);
	font-weight: 600;
	font-size: 0.9rem;
}

/* Stack */
.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.chip {
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid var(--color-border);
	background: var(--color-accent-soft);
	font-size: 0.85rem;
	font-weight: 600;
}

/* Études de cas */
.case {
	align-items: start;
}

.case__details {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 6px 16px;
	margin: 12px 0 16px;
	font-size: 0.95rem;
}

.case__details dt {
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--color-accent-2);
	padding-top: 3px;
}

.case__details dd {
	margin: 0;
	color: var(--color-text-muted);
}

.case__points {
	display: grid;
	gap: 8px;
	margin: 0 0 20px;
	font-size: 0.95rem;
}

.case__points li {
	position: relative;
	padding-left: 22px;
}

.case__points li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.6em;
	width: 10px;
	height: 2px;
	background: var(--color-accent);
}

.case__others {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 40px 0 0;
	color: var(--color-text-muted);
}

.case__others a {
	color: var(--color-text);
	font-weight: 600;
	border-bottom: 1px solid var(--color-accent);
}

.case__others a:hover {
	color: var(--color-accent);
}

/* Contact recruteur */
.contact-cta {
	text-align: center;
}

.contact-cta .eyebrow {
	justify-content: center;
}

.contact-cta__title {
	font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.contact-cta__text {
	color: var(--color-text-muted);
	max-width: 560px;
	margin: 0 auto 32px;
}

.contact-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

@media (max-width: 720px) {
	.timeline__item {
		grid-template-columns: 1fr;
		gap: 4px;
		padding-left: 24px;
	}

	.case__details {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.case__details dd {
		margin-bottom: 8px;
	}
}

/* ==========================================================
   Footer
   ========================================================== */
.site-footer {
	border-top: 1px solid var(--color-border);
	padding: 32px 0;
}

.site-footer__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	color: var(--color-text-muted);
	font-size: 0.9rem;
}

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

.site-footer__links a:hover {
	color: var(--color-accent);
	text-decoration: underline;
}

.site-footer__links .social-icon--inline:hover {
	text-decoration: none;
}

/* ==========================================================
   Scroll reveal
   ========================================================== */
.reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.reveal-photo {
	opacity: 0;
	transform: translateX(90px) rotate(-3deg);
	transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-photo.is-visible {
	opacity: 1;
	transform: translateX(0) rotate(-3deg);
}

.reveal-side {
	opacity: 0;
	transform: translateX(70px);
	transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-side.is-visible {
	opacity: 1;
	transform: translateX(0);
}

.project-row:nth-child(even) .reveal-side {
	transform: translateX(-70px);
}

.project-row:nth-child(even) .reveal-side.is-visible {
	transform: translateX(0);
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 900px) {
	.about {
		grid-template-columns: 1fr;
	}

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

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

	.project-row {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.project-row__media,
	.project-row:nth-child(even) .project-row__media {
		order: 0;
	}

	.hero__photo {
		display: none;
	}
}

@media (max-width: 720px) {
	.nav-toggle {
		display: flex;
	}

	.site-nav {
		position: absolute;
		top: var(--header-height);
		left: 0;
		right: 0;
		background: var(--color-bg);
		border-bottom: 1px solid var(--color-border);
		flex-direction: column;
		align-items: flex-start;
		padding: 20px 24px 28px;
		gap: 18px;
		transform: translateY(-8px);
		opacity: 0;
		pointer-events: none;
		transition: transform 0.2s ease, opacity 0.2s ease;
	}

	.site-nav.is-open {
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
	}

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

	.section {
		padding: 64px 0;
	}

	.hero {
		padding: 64px 0 48px;
	}
}

@media (max-width: 420px) {
	.site-logo__role {
		display: none;
	}
}
