/* =========================================================
   77t — Apple-inspired theme
   Design tokens, base, components, sections, motion, responsive
   ========================================================= */

:root {
	color-scheme: light;

	/* Brand */
	--blue: #0072CE;
	--blue-hover: #1a83de;
	--blue-press: #005fb0;
	--blue-rgb: 0, 114, 206;

	/* Colour — light (default) */
	--bg: #ffffff;
	--bg-alt: #f5f5f7;
	--ink: #1d1d1f;
	--ink-soft: #6e6e73;
	--ink-faint: #86868b;
	--line: #e5e5e7;

	/* Semantic surfaces (themeable) */
	--surface: #ffffff;
	--surface-line: #d6d6db;
	--icon-bg: #ffffff;
	--nav-bg: rgba(255, 255, 255, 0.72);
	--nav-bg-scrolled: rgba(255, 255, 255, 0.85);
	--nav-border: rgba(0, 0, 0, 0.06);
	--hover-tint: rgba(0, 0, 0, 0.05);
	--pill-bg: rgba(0, 0, 0, 0.06);
	--pill-bg-hover: rgba(0, 0, 0, 0.10);
	--menu-bg: rgba(255, 255, 255, 0.92);

	/* Intentionally-dark blocks (contact section, feature card, mockup) */
	--dark: #0b0b0c;
	--dark-soft: #161618;
	--feature-bg: #1d1d1f;
	--mock-grad: linear-gradient(120deg, #e9f1ff, #efeaff);

	/* Type */
	--font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
		"Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

	/* Radius */
	--r-pill: 980px;
	--r-card: 22px;
	--r-md: 14px;

	/* Layout */
	--container: 1120px;
	--nav-h: 56px;

	/* Motion */
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

	/* Shadow */
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.06);
	--shadow-md: 0 10px 40px rgba(0, 0, 0, 0.10);
	--shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.16);
}

/* ---------- Dark theme ---------- */
[data-theme="dark"] {
	color-scheme: dark;

	--bg: #0a0a0b;
	--bg-alt: #151517;
	--ink: #f5f5f7;
	--ink-soft: #a1a1a6;
	--ink-faint: #8a8a8f;
	--line: #2a2a2e;

	--surface: #1a1a1d;
	--surface-line: #3a3a40;
	--icon-bg: #2a2a2f;
	--nav-bg: rgba(22, 22, 24, 0.72);
	--nav-bg-scrolled: rgba(22, 22, 24, 0.86);
	--nav-border: rgba(255, 255, 255, 0.08);
	--hover-tint: rgba(255, 255, 255, 0.07);
	--pill-bg: rgba(255, 255, 255, 0.10);
	--pill-bg-hover: rgba(255, 255, 255, 0.16);
	--menu-bg: rgba(22, 22, 24, 0.92);

	--dark: #151517;
	--dark-soft: #1f1f23;
	--feature-bg: #202024;
	--mock-grad: linear-gradient(120deg, #1d2740, #251f40);

	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.45);
	--shadow-md: 0 10px 40px rgba(0, 0, 0, 0.55);
	--shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.65);
}

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	letter-spacing: -0.01em;
	overflow-x: hidden;
	transition: background-color 0.3s var(--ease-soft), color 0.3s var(--ease-soft);
}

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

a { color: var(--blue); text-decoration: none; transition: color 0.2s var(--ease-soft); }
a:hover { color: var(--blue-hover); }

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.07; letter-spacing: -0.025em; }

p { margin: 0 0 1em; }

::selection { background: rgba(var(--blue-rgb), 0.18); }

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

.section { padding-block: clamp(72px, 11vw, 140px); }
.section--alt { background: var(--bg-alt); }

.eyebrow {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--blue);
	margin: 0 0 14px;
	text-transform: none;
}
.eyebrow--light { color: #5ea0ff; }

.section-title {
	font-size: clamp(30px, 4.6vw, 52px);
	letter-spacing: -0.03em;
}

.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.section-head .section-title { margin-inline: auto; }

.lead {
	font-size: clamp(18px, 2.2vw, 21px);
	line-height: 1.5;
	color: var(--ink-soft);
	letter-spacing: -0.015em;
}
.lead--light { color: #b8b8bf; }

.text-grad {
	background: linear-gradient(120deg, #0072CE 0%, #42a5ff 50%, #8e7bff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

/* Accessibility helpers */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; top: 12px; left: 12px;
	width: auto; height: auto; clip: auto;
	z-index: 1000; padding: 10px 18px;
	background: var(--surface); color: var(--ink); border-radius: 10px;
	box-shadow: var(--shadow-md);
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: -0.01em;
	border: 0;
	border-radius: var(--r-pill);
	padding: 11px 22px;
	cursor: pointer;
	transition: background 0.22s var(--ease-soft), color 0.22s var(--ease-soft),
		transform 0.22s var(--ease), box-shadow 0.22s var(--ease-soft);
	will-change: transform;
}
.btn--lg { font-size: 17px; padding: 14px 28px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(var(--blue-rgb), 0.30); }
.btn--primary:active { background: var(--blue-press); transform: translateY(0); }

.btn--ghost { background: transparent; color: var(--blue); }
.btn--ghost:hover { color: var(--blue-hover); transform: translateX(2px); }

.btn--pill { background: var(--pill-bg); color: var(--ink); padding: 8px 16px; font-size: 14px; }
.btn--pill:hover { background: var(--pill-bg-hover); color: var(--ink); }

/* ---------- Header / nav ---------- */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 50;
}
.nav-shell { padding: 10px 16px 0; }

.site-nav {
	max-width: var(--container);
	margin-inline: auto;
	height: var(--nav-h);
	padding: 0 20px;
	display: flex;
	align-items: center;
	gap: 20px;
	border-radius: var(--r-pill);
	background: var(--nav-bg);
	backdrop-filter: saturate(180%) blur(20px);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	border: 1px solid var(--nav-border);
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.02);
	transition: box-shadow 0.3s var(--ease-soft), background 0.3s var(--ease-soft);
}
.is-scrolled .site-nav {
	box-shadow: var(--shadow-sm);
	background: var(--nav-bg-scrolled);
}

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 26px; width: auto; display: block; }
.brand-logo--footer { height: 36px; }
/* WordPress custom-logo (Customizer) — match the bundled logo sizing */
.custom-logo { height: 26px; width: auto; display: block; }
.brand-mark {
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.04em;
	color: var(--ink);
	line-height: 1;
}
.brand-mark::after {
	content: "";
	display: inline-block;
	width: 6px; height: 6px;
	margin-left: 2px;
	border-radius: 50%;
	background: var(--blue);
	vertical-align: 2px;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 6px;
	list-style: none;
	margin: 0 auto 0 12px;
	padding: 0;
}
.nav-links a {
	display: block;
	padding: 8px 12px;
	font-size: 14px;
	font-weight: 400;
	color: var(--ink);
	border-radius: 10px;
	transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: var(--hover-tint); color: var(--ink); }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

/* Theme toggle (light/dark) */
.theme-toggle {
	width: 36px; height: 36px;
	display: grid; place-items: center;
	border: 0; border-radius: 50%;
	background: var(--pill-bg);
	color: var(--ink);
	cursor: pointer;
	flex-shrink: 0;
	transition: background 0.2s var(--ease-soft), color 0.2s var(--ease-soft);
}
.theme-toggle:hover { background: var(--pill-bg-hover); }
.theme-toggle svg { width: 18px; height: 18px; display: block; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* Mobile toggle */
.nav-toggle {
	display: none;
	margin-left: auto;
	width: 40px; height: 40px;
	border: 0; background: transparent;
	cursor: pointer;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
}
.nav-toggle__bar {
	display: block;
	width: 20px; height: 1.5px;
	background: var(--ink);
	transition: transform 0.3s var(--ease), opacity 0.2s;
}
.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.is-open .nav-toggle__bar:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-menu {
	margin: 8px 16px 0;
	padding: 16px;
	border-radius: 24px;
	background: var(--menu-bg);
	backdrop-filter: saturate(180%) blur(20px);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	border: 1px solid var(--nav-border);
	box-shadow: var(--shadow-md);
	animation: menuIn 0.3s var(--ease);
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.mobile-links { list-style: none; margin: 0 0 12px; padding: 0; }
.mobile-links a {
	display: block;
	padding: 12px 14px;
	font-size: 17px;
	color: var(--ink);
	border-radius: 12px;
}
.mobile-links a:hover { background: var(--hover-tint); }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	padding-top: calc(var(--nav-h) + 90px);
	padding-bottom: clamp(80px, 12vw, 150px);
	text-align: center;
	overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
	opacity: 0.5;
	will-change: transform;
}
.hero__orb--1 {
	width: 520px; height: 520px;
	top: -180px; left: -120px;
	background: radial-gradient(circle at 30% 30%, #cfe4ff, transparent 70%);
	animation: float1 18s ease-in-out infinite;
}
.hero__orb--2 {
	width: 460px; height: 460px;
	top: -120px; right: -100px;
	background: radial-gradient(circle at 70% 30%, #e3dbff, transparent 70%);
	animation: float2 22s ease-in-out infinite;
}
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px, 30px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-30px, 40px); } }

.hero__inner { position: relative; max-width: 880px; }
.hero__title {
	font-size: clamp(44px, 8vw, 88px);
	letter-spacing: -0.04em;
	line-height: 1.04;
	margin: 0 0 22px;
}
.hero__lead {
	font-size: clamp(19px, 2.6vw, 24px);
	line-height: 1.45;
	color: var(--ink-soft);
	max-width: 620px;
	margin: 0 auto 34px;
	letter-spacing: -0.015em;
}
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero__stats {
	display: flex;
	justify-content: center;
	gap: clamp(28px, 6vw, 72px);
	margin-top: clamp(48px, 8vw, 88px);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__num {
	font-size: clamp(30px, 4.4vw, 46px);
	font-weight: 600;
	letter-spacing: -0.03em;
	color: var(--ink);
	font-variant-numeric: tabular-nums;
}
.stat__label { font-size: 14px; color: var(--ink-faint); }

.scroll-cue {
	position: absolute;
	left: 50%;
	bottom: 28px;
	transform: translateX(-50%);
	width: 26px; height: 42px;
	border: 1.5px solid var(--surface-line);
	border-radius: 14px;
	display: flex; justify-content: center;
}
.scroll-cue__dot {
	width: 4px; height: 8px;
	margin-top: 7px;
	border-radius: 4px;
	background: var(--ink-faint);
	animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(-3px); } 40% { opacity: 1; } 80%,100% { opacity: 0; transform: translateY(10px); } }

/* ---------- Marquee ---------- */
.trust { border-block: 1px solid var(--line); padding-block: 22px; overflow: hidden; }
.marquee { position: relative; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track {
	display: inline-flex;
	align-items: center;
	gap: 22px;
	white-space: nowrap;
	font-size: 18px;
	font-weight: 500;
	color: var(--ink-faint);
	animation: scrollX 32s linear infinite;
}
.marquee__track .dot { color: var(--blue); }
@keyframes scrollX { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.service-card {
	background: var(--bg-alt);
	border-radius: var(--r-card);
	padding: 36px 32px;
	border: 1px solid transparent;
	transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease-soft), border-color 0.4s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line); }
.service-card--feature { background: var(--feature-bg); color: #fff; border: 1px solid var(--line); }
.service-card--feature .service-card__body { color: #c7c7cc; }
.service-card--feature .ticks li { color: #e5e5e7; }
.service-card--feature .ticks li::before { background: #5ea0ff; }

.service-card__icon {
	width: 56px; height: 56px;
	display: grid; place-items: center;
	border-radius: 16px;
	background: var(--icon-bg);
	color: var(--blue);
	margin-bottom: 22px;
	box-shadow: var(--shadow-sm);
}
.service-card--feature .service-card__icon { background: rgba(255,255,255,0.1); color: #5ea0ff; box-shadow: none; }
.service-card__title { font-size: 24px; margin-bottom: 10px; }
.service-card__body { color: var(--ink-soft); font-size: 16px; margin-bottom: 18px; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 24px; font-size: 15px; color: var(--ink-soft); }
.ticks li::before {
	content: "";
	position: absolute; left: 0; top: 8px;
	width: 14px; height: 8px;
	border-left: 2px solid var(--blue);
	border-bottom: 2px solid var(--blue);
	transform: rotate(-45deg);
	border-radius: 1px;
}

/* ---------- Showcase ---------- */
.showcase__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 6vw, 80px);
	align-items: center;
}
.showcase__text .lead { margin-bottom: 32px; }
.feature-list { display: grid; gap: 22px; }
.feature-row { display: flex; gap: 18px; align-items: flex-start; }
.feature-row__k {
	font-size: 14px; font-weight: 600;
	color: var(--blue);
	font-variant-numeric: tabular-nums;
	padding-top: 3px;
	min-width: 24px;
}
.feature-row h4 { font-size: 19px; margin-bottom: 2px; }
.feature-row p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* Device mock */
.showcase__visual { perspective: 1200px; }
.device {
	background: var(--surface);
	border-radius: 20px;
	box-shadow: var(--shadow-lg);
	overflow: hidden;
	border: 1px solid var(--line);
	transition: transform 0.5s var(--ease);
	transform-style: preserve-3d;
}
.device__bar {
	height: 38px;
	display: flex; align-items: center; gap: 7px;
	padding-inline: 16px;
	background: var(--bg-alt);
	border-bottom: 1px solid var(--line);
}
.device__bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-line); }
.device__screen { padding: 22px; display: grid; gap: 14px; }
.device__screen img { width: 100%; height: auto; display: block; border-radius: 10px; }
.device--image .device__screen { padding: 0; }
.device--image .device__screen img { border-radius: 0; }
.mock-hero { height: 110px; border-radius: 14px; background: var(--mock-grad); }
.mock-row { height: 14px; border-radius: 7px; background: var(--bg-alt); }
.mock-row--short { width: 60%; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 4px; }
.mock-card { height: 76px; border-radius: 12px; background: var(--bg-alt); }

/* Showcase image card (replaces the mock when a real image is used) */
.showcase__media {
	border-radius: var(--r-card);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	border: 1px solid var(--line);
	transition: transform 0.5s var(--ease);
	transform-style: preserve-3d;
}
.showcase__media img { width: 100%; height: auto; display: block; }

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	overflow: hidden;
	transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease-soft);
}
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.case__media {
	position: relative;
	aspect-ratio: 16 / 10;
	display: flex; align-items: flex-end;
	padding: 16px;
	overflow: hidden;
	background: var(--bg-alt);
}
.case__media img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	z-index: 0;
	transition: transform 0.6s var(--ease);
}
.case:hover .case__media img { transform: scale(1.06); }
/* Legibility scrim so the tag chip reads over any photo */
.case__media::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.38), transparent 48%);
	z-index: 1;
	pointer-events: none;
}
.case__tag {
	position: relative;
	z-index: 2;
	font-size: 12px; font-weight: 600;
	color: #fff;
	background: rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	padding: 5px 11px; border-radius: var(--r-pill);
}
.case__body { padding: 24px; }
.case__body h3 { font-size: 21px; margin-bottom: 8px; }
.case__body p { font-size: 15px; color: var(--ink-soft); margin-bottom: 12px; }
.case__metric { font-size: 15px; color: var(--ink) !important; }
.case__metric strong { color: var(--blue); font-weight: 600; }
.work-note { text-align: center; font-size: 14px; color: var(--ink-faint); margin-top: 36px; }

/* ---------- Band ---------- */
.band { padding-block: clamp(56px, 8vw, 96px); }
.band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.band__item { display: flex; flex-direction: column; gap: 6px; }
.band__num { font-size: clamp(34px, 5vw, 56px); font-weight: 600; letter-spacing: -0.03em; }
.band__label { font-size: 15px; color: var(--ink-soft); }

/* ---------- About ---------- */
.about__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about__text .lead { margin-bottom: 18px; }
.about__text p { color: var(--ink-soft); }
.about__text .btn { margin-top: 18px; }
.about__quote {
	margin: 0;
	background: var(--bg-alt);
	border-radius: var(--r-card);
	padding: clamp(28px, 4vw, 44px);
}
.about__quote blockquote {
	margin: 0 0 24px;
	font-size: clamp(20px, 2.6vw, 26px);
	line-height: 1.4;
	letter-spacing: -0.02em;
	font-weight: 500;
}
.about__quote figcaption { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--ink-soft); }
.avatar {
	width: 46px; height: 46px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: linear-gradient(135deg, #1b3a6b, #2e6fc7);
	color: #fff; font-weight: 600; font-size: 15px;
	flex-shrink: 0;
}

/* ---------- Contact / dark ---------- */
.section--dark { background: var(--dark); color: #fff; }
.section--dark .section-title { color: #fff; }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__details { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; font-size: 16px; }
.contact__details a { color: #5ea0ff; }
.contact__details li { color: #b8b8bf; }

.contact__form-wrap {
	background: var(--dark-soft);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: var(--r-card);
	padding: clamp(24px, 3.5vw, 40px);
}
.contact-form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: 14px; color: #c7c7cc; font-weight: 500; }
.field .optional { color: var(--ink-faint); font-weight: 400; }
.field input,
.field textarea {
	width: 100%;
	font-family: inherit;
	font-size: 16px;
	color: #fff;
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: var(--r-md);
	padding: 13px 15px;
	transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field input::placeholder,
.field textarea::placeholder { color: #6e6e73; }
.field input:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--blue);
	background: rgba(255,255,255,0.08);
	box-shadow: 0 0 0 3px rgba(var(--blue-rgb), 0.25);
}
.field textarea { resize: vertical; min-height: 110px; }
.contact-form .btn { margin-top: 6px; }
.form-fineprint { font-size: 13px; color: var(--ink-faint); text-align: center; margin: 4px 0 0; }

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

.form-status {
	border-radius: var(--r-md);
	padding: 14px 16px;
	font-size: 15px;
	margin-bottom: 18px;
}
.form-status--success { background: rgba(48, 209, 88, 0.15); color: #7ee29a; border: 1px solid rgba(48, 209, 88, 0.3); }
.form-status--error { background: rgba(255, 69, 58, 0.14); color: #ff8b80; border: 1px solid rgba(255, 69, 58, 0.3); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); padding-block: clamp(48px, 7vw, 80px) 32px; border-top: 1px solid var(--line); }
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.2fr;
	gap: 32px;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--line);
}
.brand-mark--footer { font-size: 28px; }
.footer-tagline { margin-top: 14px; max-width: 320px; color: var(--ink-soft); font-size: 15px; }
.footer-heading { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a, .footer-col span { font-size: 15px; color: var(--ink-soft); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 24px; }
.footer-bottom p { margin: 0; font-size: 13px; color: var(--ink-faint); }

/* ---------- Generic page ---------- */
.page-hero { padding-top: calc(var(--nav-h) + 90px); padding-bottom: 20px; }
.page-hero__title { font-size: clamp(36px, 6vw, 64px); letter-spacing: -0.035em; }
.content-narrow { max-width: 720px; }
.post-list { display: grid; gap: 32px; }
.post-card { display: grid; gap: 16px; }
.post-card__title { font-size: 26px; }
.link-arrow { font-weight: 500; }

/* =========================================================
   Motion — reveal on scroll
   ========================================================= */
[data-reveal] {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
	will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Stagger children that share a grid */
.service-grid [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.service-grid [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
.work-grid [data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.work-grid [data-reveal]:nth-child(3) { transition-delay: 0.16s; }
.band__grid [data-reveal]:nth-child(2) { transition-delay: 0.06s; }
.band__grid [data-reveal]:nth-child(3) { transition-delay: 0.12s; }
.band__grid [data-reveal]:nth-child(4) { transition-delay: 0.18s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
	.service-grid, .work-grid { grid-template-columns: 1fr 1fr; }
	.service-card--feature { grid-column: span 2; }
	.showcase__inner, .about__inner, .contact__inner { grid-template-columns: 1fr; }
	.showcase__visual { order: -1; max-width: 520px; }
	.band__grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
	.nav-links { display: none; }
	.nav-actions .btn--pill { display: none; }
	.nav-toggle { display: flex; }
	.service-grid, .work-grid { grid-template-columns: 1fr; }
	.service-card--feature { grid-column: auto; }
	.field-row { grid-template-columns: 1fr; }
	.hero__stats { gap: 26px; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
	.footer-brand { grid-column: span 2; }
}

@media (max-width: 460px) {
	body { font-size: 16px; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-brand { grid-column: auto; }
	.hero__stats { flex-wrap: wrap; }
}

/* =========================================================
   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;
		scroll-behavior: auto !important;
	}
	[data-reveal] { opacity: 1; transform: none; }
	.hero__orb { animation: none; }
	.marquee__track { animation: none; }
}
