/*
Theme Name: Azur Data Systems
Theme URI: https://azur-data-systems.fr
Author: Azur Data Systems
Author URI: https://azur-data-systems.fr
Description: Custom one-page theme for Azur Data Systems — AI engineered into the industrial process. Light, instrumentation-inspired, bold & modern.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: azur-data-systems
*/

/* =================================================================
   1. Tokens
   ================================================================= */
:root {
	--bg: #f4f6fb;
	--bg-2: #e9edf5;
	--surface: #ffffff;
	--surface-2: #eef2fa;
	--border: rgba(16, 27, 52, 0.12);
	--border-strong: rgba(16, 27, 52, 0.22);

	--text: #14203a;
	--text-muted: #4d5970;
	--text-dim: #6c7589;

	--azur: #2e7bff;
	--azur-bright: #1f63e0;
	--cyan: #25d3ee;
	--signal: #b3680a;

	--grad: linear-gradient(115deg, var(--azur) 10%, var(--cyan) 90%);
	--glow-azur: rgba(46, 123, 255, 0.45);
	--glow-cyan: rgba(37, 211, 238, 0.32);

	--font-display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
	--font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
	--font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

	--maxw: 1200px;
	--radius: 18px;
	--radius-sm: 11px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =================================================================
   2. Reset & base
   ================================================================= */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--font-body);
	background: var(--bg);
	color: var(--text);
	font-size: 17px;
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	position: relative;
}

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

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

ul {
	list-style: none;
}

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

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

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	z-index: 999;
	background: var(--azur);
	color: #fff;
	padding: 10px 18px;
	font-family: var(--font-mono);
	font-size: 13px;
}

.skip-link:focus {
	left: 12px;
	top: 12px;
}

/* =================================================================
   3. Background atmosphere
   ================================================================= */
/* Faint blueprint grid, fading out toward the edges. */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image:
		linear-gradient(to right, rgba(16, 27, 52, 0.06) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(16, 27, 52, 0.06) 1px, transparent 1px);
	background-size: 74px 74px;
	-webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 18%, #000 35%, transparent 85%);
	mask-image: radial-gradient(ellipse 90% 70% at 50% 18%, #000 35%, transparent 85%);
}

/* Subtle film grain. */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	opacity: 0.025;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =================================================================
   4. Layout helpers
   ================================================================= */
.container {
	width: 100%;
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 28px;
}

main {
	position: relative;
	z-index: 2;
}

.section {
	position: relative;
	padding: clamp(80px, 11vw, 150px) 0;
}

.section-head {
	max-width: 680px;
	margin-bottom: 56px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-mono);
	font-size: 12.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--text-dim);
	margin-bottom: 22px;
}

.eyebrow::before {
	content: "";
	width: 26px;
	height: 1px;
	background: var(--azur);
}

.section-head h2 {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(2rem, 4.2vw, 3.1rem);
	line-height: 1.08;
	letter-spacing: -0.02em;
}

.section-head p {
	margin-top: 18px;
	color: var(--text-muted);
	font-size: 1.05rem;
	max-width: 560px;
}

.grad-text {
	background: linear-gradient(115deg, #1f63e0, #0a7da6);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* =================================================================
   5. Buttons
   ================================================================= */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--font-mono);
	font-size: 13.5px;
	font-weight: 500;
	letter-spacing: 0.02em;
	padding: 14px 24px;
	border-radius: 999px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease),
		background 0.3s var(--ease), border-color 0.3s var(--ease);
	white-space: nowrap;
}

.btn--primary {
	background: var(--grad);
	color: #04070f;
	font-weight: 600;
	box-shadow: 0 10px 36px -10px var(--glow-azur);
}

.btn--primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 44px -8px var(--glow-azur);
}

.btn--ghost {
	background: rgba(16, 27, 52, 0.03);
	border-color: var(--border-strong);
	color: var(--text);
}

.btn--ghost:hover {
	border-color: var(--azur-bright);
	background: rgba(46, 123, 255, 0.08);
	transform: translateY(-2px);
}

.btn--small {
	padding: 10px 18px;
	font-size: 12.5px;
}

.btn .arrow {
	transition: transform 0.25s var(--ease);
}

.btn:hover .arrow {
	transform: translateX(3px);
}

/* =================================================================
   6. Navigation
   ================================================================= */
.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
		backdrop-filter 0.35s var(--ease);
	border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
	background: rgba(244, 246, 251, 0.85);
	border-bottom-color: var(--border);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

.nav__inner {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 16px 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.brand__mark {
	width: 30px;
	height: 30px;
	flex: none;
}

.brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1;
	font-family: var(--font-display);
}

.brand__text strong {
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.brand__text span {
	font-family: var(--font-mono);
	font-size: 9.5px;
	letter-spacing: 0.26em;
	color: var(--text-dim);
	margin-top: 3px;
}

.nav__links {
	display: flex;
	align-items: center;
	gap: 34px;
}

.nav__links > a:not(.btn) {
	font-size: 14.5px;
	color: var(--text-muted);
	transition: color 0.2s var(--ease);
	position: relative;
}

.nav__links > a:not(.btn)::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 0;
	height: 1.5px;
	background: var(--grad);
	transition: width 0.28s var(--ease);
}

.nav__links > a:not(.btn):hover {
	color: var(--text);
}

.nav__links > a:not(.btn):hover::after {
	width: 100%;
}

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

/* Language switcher — flag of the language you switch to, top-right */
.lang-switch {
	display: inline-flex;
	flex: none;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 0 0 1px var(--border-strong);
	transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.lang-switch:hover {
	transform: translateY(-1px);
	box-shadow: 0 0 0 1px var(--azur);
}

.lang-switch svg {
	display: block;
	height: 18px;
	width: auto;
}

.nav__toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px;
	height: 42px;
	background: rgba(16, 27, 52, 0.04);
	border: 1px solid var(--border);
	border-radius: 11px;
	cursor: pointer;
}

.nav__toggle span {
	display: block;
	width: 17px;
	height: 1.6px;
	margin: 0 auto;
	background: var(--text);
	transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(6.6px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-6.6px) rotate(-45deg);
}

.nav__mobile {
	display: none;
	flex-direction: column;
	gap: 4px;
	padding: 12px 28px 26px;
	background: rgba(244, 246, 251, 0.97);
	border-bottom: 1px solid var(--border);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

.nav__mobile a:not(.btn) {
	padding: 14px 4px;
	font-size: 17px;
	border-bottom: 1px solid var(--border);
	color: var(--text-muted);
}

.nav__mobile .btn {
	margin-top: 16px;
	justify-content: center;
}

.nav__mobile.is-open {
	display: flex;
}

/* =================================================================
   7. Hero
   ================================================================= */
.hero {
	position: relative;
	padding: clamp(150px, 21vw, 230px) 0 clamp(70px, 9vw, 120px);
	overflow: hidden;
}

.hero::before,
.hero::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	filter: blur(110px);
	pointer-events: none;
	z-index: 0;
	opacity: 0.5;
	animation: drift 19s ease-in-out infinite alternate;
}

.hero::before {
	width: 620px;
	height: 620px;
	top: -260px;
	left: -120px;
	background: var(--glow-azur);
}

.hero::after {
	width: 480px;
	height: 480px;
	top: 40px;
	right: -160px;
	background: var(--glow-cyan);
	animation-delay: -7s;
}

@keyframes drift {
	from {
		transform: translate3d(0, 0, 0) scale(1);
	}
	to {
		transform: translate3d(40px, 50px, 0) scale(1.12);
	}
}

.hero__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 64px;
	align-items: center;
}

.kicker {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	font-family: var(--font-mono);
	font-size: 12.5px;
	letter-spacing: 0.17em;
	text-transform: uppercase;
	color: var(--text-muted);
	padding: 8px 16px 8px 12px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: rgba(16, 27, 52, 0.025);
}

.kicker__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--cyan);
	box-shadow: 0 0 0 0 var(--glow-cyan);
	animation: pulse 2.6s ease-out infinite;
}

@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(37, 211, 238, 0.55);
	}
	70%,
	100% {
		box-shadow: 0 0 0 11px rgba(37, 211, 238, 0);
	}
}

.hero h1 {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(2.7rem, 6.2vw, 5.1rem);
	line-height: 1.03;
	letter-spacing: -0.032em;
	margin: 26px 0 24px;
}

.hero h1 .line {
	display: block;
	overflow: hidden;
}

.hero h1 .line > span {
	display: block;
}

.hero__lead {
	font-size: 1.16rem;
	color: var(--text-muted);
	max-width: 520px;
	margin-bottom: 36px;
}

.hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* Instrument panel — faux process monitor */
.panel {
	position: relative;
	background: linear-gradient(170deg, var(--surface-2), var(--surface));
	border: 1px solid var(--border-strong);
	border-radius: var(--radius);
	padding: 24px;
	box-shadow: 0 30px 60px -28px rgba(16, 27, 52, 0.18);
}

.panel::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: var(--radius);
	padding: 1px;
	background: linear-gradient(150deg, rgba(46, 123, 255, 0.5), transparent 45%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.panel__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	color: var(--text-dim);
	text-transform: uppercase;
}

.panel__live {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--azur-bright);
}

.panel__live i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--cyan);
	animation: blink 1.5s steps(1) infinite;
}

@keyframes blink {
	50% {
		opacity: 0.25;
	}
}

.panel__metric {
	margin: 20px 0 6px;
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.panel__metric b {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 3.4rem;
	line-height: 1;
	letter-spacing: -0.03em;
}

.panel__metric .unit {
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--text-dim);
}

.panel__metric .trend {
	margin-left: auto;
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--azur-bright);
}

.panel__label {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-dim);
}

.panel__spark {
	margin: 16px 0 18px;
}

.panel__spark svg {
	width: 100%;
	height: 76px;
	overflow: visible;
}

.spark-line {
	stroke-dasharray: 600;
	stroke-dashoffset: 600;
	animation: draw 2.4s var(--ease) forwards;
	animation-delay: 0.8s;
}

@keyframes draw {
	to {
		stroke-dashoffset: 0;
	}
}

.spark-dot {
	animation: pulse 2.6s ease-out infinite;
	animation-delay: 3s;
}

.panel__chips {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.chip {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.05em;
	padding: 6px 11px;
	border-radius: 7px;
	border: 1px solid var(--border);
	background: rgba(16, 27, 52, 0.025);
	color: var(--text-muted);
}

.chip b {
	color: var(--azur-bright);
	font-weight: 600;
}

/* =================================================================
   8. Marquee
   ================================================================= */
.marquee {
	position: relative;
	z-index: 2;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	padding: 18px 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
	display: flex;
	gap: 0;
	width: max-content;
	animation: scroll 38s linear infinite;
}

.marquee__track span {
	font-family: var(--font-mono);
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-dim);
	padding: 0 30px;
	white-space: nowrap;
}

.marquee__track span::after {
	content: "/";
	margin-left: 60px;
	color: var(--azur);
}

@keyframes scroll {
	to {
		transform: translateX(-50%);
	}
}

/* =================================================================
   9. Capabilities
   ================================================================= */
.cap-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.cap-card {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 32px 28px 30px;
	overflow: hidden;
	transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
		background 0.4s var(--ease);
}

.cap-card::after {
	content: "";
	position: absolute;
	top: -1px;
	left: 24px;
	right: 24px;
	height: 1px;
	background: var(--grad);
	opacity: 0;
	transition: opacity 0.4s var(--ease);
}

.cap-card:hover {
	transform: translateY(-6px);
	border-color: var(--border-strong);
	background: var(--surface-2);
}

.cap-card:hover::after {
	opacity: 1;
}

.cap-card__num {
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--text-dim);
	letter-spacing: 0.1em;
}

.cap-card__icon {
	width: 46px;
	height: 46px;
	margin: 18px 0 22px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	border: 1px solid var(--border-strong);
	background: rgba(46, 123, 255, 0.07);
	color: var(--azur-bright);
}

.cap-card h3 {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.32rem;
	letter-spacing: -0.015em;
	margin-bottom: 11px;
}

.cap-card p {
	color: var(--text-muted);
	font-size: 0.99rem;
	margin-bottom: 20px;
}

.cap-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.cap-card__tags li {
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--text-dim);
	padding: 4px 9px;
	border: 1px solid var(--border);
	border-radius: 6px;
}

/* =================================================================
   10. Realizations
   ================================================================= */
.work {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.work-card {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color 0.4s var(--ease);
}

.work-card:hover {
	border-color: var(--border-strong);
}

.work-card__body {
	padding: clamp(30px, 4vw, 52px);
}

.work-card__index {
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--azur-bright);
	letter-spacing: 0.1em;
}

.work-card__domain {
	font-family: var(--font-mono);
	font-size: 11.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--text-dim);
	margin: 20px 0 12px;
}

.work-card__body h3 {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	line-height: 1.12;
	letter-spacing: -0.022em;
}

.work-card__body > p {
	color: var(--text-muted);
	margin: 16px 0 24px;
	font-size: 1.02rem;
}

.work-card__outcome {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 16px 18px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border);
	background: rgba(179, 104, 10, 0.08);
	margin-bottom: 24px;
}

.work-card__outcome svg {
	flex: none;
	margin-top: 2px;
	color: var(--signal);
}

.work-card__outcome span {
	font-size: 0.96rem;
	color: var(--text);
}

.work-card__outcome b {
	color: var(--signal);
	font-weight: 600;
}

.work-card__stack {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.work-card__stack li {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.04em;
	color: var(--text-muted);
	padding: 5px 11px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: rgba(16, 27, 52, 0.025);
}

/* Decorative schematic side */
.work-card__visual {
	position: relative;
	min-height: 280px;
	background:
		radial-gradient(circle at 70% 30%, rgba(46, 123, 255, 0.16), transparent 60%),
		var(--bg-2);
	border-left: 1px solid var(--border);
	display: grid;
	place-items: center;
	overflow: hidden;
}

.work-card:nth-child(even) {
	direction: rtl;
}

.work-card:nth-child(even) > * {
	direction: ltr;
}

.work-card:nth-child(even) .work-card__visual {
	border-left: none;
	border-right: 1px solid var(--border);
}

.work-card__visual svg {
	width: 78%;
	max-width: 320px;
	color: var(--azur-bright);
}

.work-card__visual .schematic-rotate {
	transform-origin: center;
	animation: spin 60s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.work-card__tag {
	position: absolute;
	top: 22px;
	left: 22px;
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0.12em;
	color: var(--text-dim);
	text-transform: uppercase;
}

.work-card:nth-child(even) .work-card__tag {
	left: auto;
	right: 22px;
}

/* =================================================================
   11. Contact
   ================================================================= */
.contact {
	position: relative;
	overflow: hidden;
}

.contact::before {
	content: "";
	position: absolute;
	width: 760px;
	height: 760px;
	border-radius: 50%;
	background: var(--glow-azur);
	filter: blur(150px);
	left: 50%;
	bottom: -480px;
	transform: translateX(-50%);
	opacity: 0.35;
	pointer-events: none;
}

.contact__inner {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 720px;
	margin: 0 auto;
}

.contact__inner h2 {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(2.1rem, 5vw, 3.7rem);
	line-height: 1.06;
	letter-spacing: -0.03em;
	margin: 22px 0 20px;
}

.contact__inner p {
	color: var(--text-muted);
	font-size: 1.1rem;
	max-width: 480px;
	margin: 0 auto 38px;
}

.contact__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
}

.contact__meta {
	margin-top: 44px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 32px;
	font-family: var(--font-mono);
	font-size: 12.5px;
	letter-spacing: 0.06em;
	color: var(--text-dim);
}

.contact__meta a:hover {
	color: var(--azur-bright);
}

/* =================================================================
   12. Footer
   ================================================================= */
.footer {
	position: relative;
	z-index: 2;
	border-top: 1px solid var(--border);
	padding: 40px 0;
}

.footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.footer__brand {
	display: flex;
	align-items: center;
	gap: 11px;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 15px;
	letter-spacing: 0.02em;
}

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

.footer p {
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--text-dim);
	letter-spacing: 0.04em;
}

.footer__top {
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--text-muted);
	transition: color 0.2s var(--ease);
}

.footer__top:hover {
	color: var(--azur-bright);
}

/* =================================================================
   13. Reveal animations
   ================================================================= */
.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
	transition-delay: var(--d, 0s);
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* Page-load stagger for hero */
.load {
	opacity: 0;
	transform: translateY(24px);
	animation: rise 0.9s var(--ease) forwards;
	animation-delay: var(--d, 0s);
}

.hero h1 .line > span {
	transform: translateY(110%);
	animation: lineUp 0.95s var(--ease) forwards;
	animation-delay: var(--d, 0s);
}

@keyframes rise {
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes lineUp {
	to {
		transform: translateY(0);
	}
}

/* =================================================================
   14. Responsive
   ================================================================= */
@media (max-width: 940px) {
	.hero__grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.panel {
		max-width: 420px;
	}

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

	.work-card,
	.work-card:nth-child(even) {
		grid-template-columns: 1fr;
		direction: ltr;
	}

	.work-card__visual {
		grid-row: 1;
		min-height: 200px;
		border-left: none;
		border-bottom: 1px solid var(--border);
	}

	.work-card:nth-child(even) .work-card__visual {
		border-right: none;
		border-bottom: 1px solid var(--border);
	}
}

@media (max-width: 720px) {
	body {
		font-size: 16px;
	}

	.container {
		padding: 0 20px;
	}

	.nav__inner {
		padding: 14px 20px;
	}

	.nav__links {
		display: none;
	}

	.nav__toggle {
		display: flex;
	}

	.hero {
		padding-top: 130px;
	}

	.hero__cta .btn,
	.contact__cta .btn {
		flex: 1 1 auto;
		justify-content: center;
	}
}

/* =================================================================
   15. Reduced motion
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	.reveal,
	.load,
	.hero h1 .line > span {
		opacity: 1;
		transform: none;
	}

	.spark-line {
		stroke-dashoffset: 0;
	}
}
