/*
Theme Name: Index Spark
Theme URI: https://index-spark.com/
Author: Index Spark
Author URI: https://index-spark.com/
Description: A dark, red-accented block theme built for Index Spark — a creative production and experience company. One-page layout covering Hero, Why Us, Who We Are, Services, Projects, Insights and Contact, fully editable through the WordPress block editor.
Requires at least: 6.6
Tested up to: 6.6
Requires PHP: 5.7
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: index-spark
Tags: one-page, dark, full-site-editing, block-patterns, block-styles, custom-logo, wide-blocks, translation-ready

/* Progresive enhancement to reduce widows and orphans.
/* https://github.com/WordPress/gutenberg/issues/55190
*/

h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption {
    text-wrap: balance;
}
p {
    text-wrap: pretty;
}

/*
 * Control the hover stylings of outline block style.
 * Unnecessary once block styles are configurable via theme.json
 * https://github.com/WordPress/gutenberg/issues/42794
 */

/*
 * Control the hover stylings of outline block style.
 * Unnecessary once block styles are configurable via theme.json
 * https://github.com/WordPress/gutenberg/issues/42794
 */
.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover {
	background-color: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--base);
	border-color: var(--wp--preset--color--secondary);
}

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: .0625em !important;
	text-underline-offset: .15em;
}

/* =========================================================
   Index Spark — one-page design layer (built on Index Spark)
   ========================================================= */

:root {
	--ix-red: var(--wp--preset--color--primary);
	--ix-red-dark: var(--wp--preset--color--secondary);
	--ix-black: var(--wp--preset--color--base);
	--ix-white: var(--wp--preset--color--contrast);
	--ix-muted: rgba(255, 255, 255, .62);
	--ix-faint: rgba(255, 255, 255, .38);
	--ix-line: rgba(255, 255, 255, .14);
	--ix-mono: var(--wp--preset--font-family--martian-mono);
	--ix-head: var(--wp--preset--font-family--d-din-condensed);
	--ix-body: var(--wp--preset--font-family--haskoy);
}

html {
	scroll-behavior: smooth;
}

.ix-section[id] {
	scroll-margin-top: clamp(4.5rem, 11vw, 6.75rem);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body.home .site-header + main,
.ix-section {
	position: relative;
}

.ix-icon {
	width: 1em;
	height: 1em;
}

/* ---------- shared layout helpers ---------- */

.ix-container {
	max-width: 1320px;
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 3.5rem);
}

.ix-section {
	padding-block: clamp(3rem, 7vw, 6rem);
	background-color: var(--ix-black);
	overflow: hidden;
}

.ix-eyebrow {
	display: flex;
	align-items: center;
	gap: .85rem;
	font-family: var(--ix-mono);
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ix-red);
	margin: 0 0 1.25rem;
}

.ix-eyebrow::after {
	content: "";
	display: block;
	width: 2.5rem;
	height: 2px;
	background: var(--ix-red);
}

.ix-eyebrow-num {
	color: var(--ix-white);
}

.ix-eyebrow:has(.ix-eyebrow-num)::after {
	content: none;
}

.ix-eyebrow-num::after {
	content: "";
	display: inline-block;
	width: 2.5rem;
	height: 2px;
	background: var(--ix-red);
	margin-inline-start: .85rem;
	vertical-align: middle;
}

.ix-h2 {
	font-family: var(--ix-head);
	font-weight: 700;
	text-transform: uppercase;
	line-height: .95;
	letter-spacing: 0;
	font-size: clamp(2rem, 4.2vw, 3.4rem);
	margin: 0 0 1.25rem;
	color: var(--ix-white);
}

.ix-h2 mark,
.ix-h1 mark {
	background: none;
	color: var(--ix-red);
}

.ix-lead {
	color: var(--ix-muted);
	font-size: 1.05rem;
	line-height: 1.65;
	max-width: 42ch;
}

.ix-btn,
.wp-block-button.ix-btn-primary .wp-block-button__link,
.wp-block-button.ix-btn-outline .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	font-family: var(--ix-mono);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none !important;
	padding: 1rem 1.6rem;
	border-radius: 3px;
	border: 1px solid transparent;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
	white-space: nowrap;
}

.ix-btn:hover,
.wp-block-button.ix-btn-primary .wp-block-button__link:hover,
.wp-block-button.ix-btn-outline .wp-block-button__link:hover {
	transform: translateY(-2px);
}

.ix-btn-primary,
.wp-block-button.ix-btn-primary .wp-block-button__link {
	background: var(--ix-red);
	color: var(--ix-white);
}

.ix-btn-primary:hover,
.wp-block-button.ix-btn-primary .wp-block-button__link:hover {
	background: var(--ix-red-dark);
	color: var(--ix-white);
}

.ix-btn-outline,
.wp-block-button.ix-btn-outline .wp-block-button__link {
	background: transparent;
	color: var(--ix-white);
	border-color: rgba(255, 255, 255, .35);
}

.ix-btn-outline:hover,
.wp-block-button.ix-btn-outline .wp-block-button__link:hover {
	border-color: var(--ix-red);
	color: var(--ix-red);
}

.ix-btn .ix-icon {
	width: .95em;
	height: .95em;
}

.wp-block-button.ix-btn-primary .wp-block-button__link::after,
.wp-block-button.ix-btn-outline .wp-block-button__link::after {
	content: "\2192";
	font-size: 1em;
}

.wp-block-buttons.ix-actions {
	margin: 0 0 2.25rem;
	gap: 1rem;
}

.ix-dotgrid {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
	background-size: 22px 22px;
	-webkit-mask-image: radial-gradient(ellipse 70% 70% at 75% 40%, #000 40%, transparent 78%);
	mask-image: radial-gradient(ellipse 70% 70% at 75% 40%, #000 40%, transparent 78%);
	pointer-events: none;
}

/* ---------- header ---------- */

.ix-header-shell {
	position: sticky;
	top: 0;
	z-index: 100;
}

.ix-header {
	background: rgba(10, 10, 10, .85);
	border-bottom: 1px solid var(--ix-line);
}

/* backdrop-filter lives on a pseudo-element, not .ix-header itself, because
   an element with backdrop-filter becomes a containing block for its
   position:fixed descendants (the mobile nav overlay) and traps it inside
   the header's own height instead of the full viewport. */
.ix-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	backdrop-filter: saturate(140%) blur(10px);
}

.ix-topbar {
	max-width: 1320px;
	margin-inline: auto;
	padding: .5rem clamp(1.25rem, 4vw, 3.5rem) 0;
	display: flex;
	justify-content: flex-end;
}

.ix-header-inner {
	max-width: 1320px;
	margin-inline: auto;
	padding: .6rem clamp(1.25rem, 4vw, 3.5rem) 1.1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.ix-logo {
	display: flex;
	align-items: center;
	cursor: pointer;
	color: var(--ix-white);
	line-height: 1;
}

.ix-logo .wp-block-site-logo {
	display: flex;
	align-items: center;
}

.ix-logo .wp-block-site-logo img,
.ix-logo .custom-logo {
	height: auto;
	display: block;
}

/* The navigation block applies the "ix-nav" className to both the outer
   <nav> landmark and its inner <ul> container, so structural rules that
   must apply only once (position, transform, background) are qualified
   with the "nav" tag to avoid being applied twice. */
nav.ix-nav {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.4vw, 2.1rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.ix-nav a {
	font-family: var(--ix-mono);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ix-white);
	text-decoration: none !important;
	padding-bottom: .4rem;
	border-bottom: 2px solid transparent;
	transition: color .2s ease, border-color .2s ease;
}

.ix-nav a:hover,
.ix-nav a.is-active {
	color: var(--ix-red);
	border-color: var(--ix-red);
}

.ix-lang {
	display: flex;
	align-items: center;
	gap: .3rem;
	font-family: var(--ix-mono);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .06em;
	color: var(--ix-white);
}

.ix-lang .ix-icon {
	width: .85rem;
	height: .85rem;
}

.ix-burger {
	display: none;
	background: none;
	border: 0;
	color: var(--ix-white);
	width: 2rem;
	height: 2rem;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex: none;
}

.ix-burger-close {
	position: fixed;
	top: 1.4rem;
	right: clamp(1.25rem, 6vw, 3.5rem);
	z-index: 160;
}

.ix-burger .ix-icon {
	width: 1.4rem;
	height: 1.4rem;
}

@media (max-width: 900px) {
	.ix-burger-open {
		display: inline-flex;
	}

	.ix-burger-close[aria-expanded="true"] {
		display: inline-flex;
	}

	nav.ix-nav {
		position: fixed;
		inset: 0;
		top: 0;
		z-index: 150;
		flex-direction: column;
		justify-content: flex-start;
		align-items: flex-start;
		gap: 1.5rem;
		padding: 5rem clamp(1.25rem, 6vw, 3.5rem) 2.5rem;
		background: var(--ix-black);
		transform: translateX(100%);
		transition: transform .25s ease;
	}

	nav.ix-nav.is-open {
		transform: translateX(0);
	}

	.wp-block-navigation__container.ix-nav {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.5rem;
	}

	.ix-nav a {
		font-size: 1rem;
	}
}

/* ---------- hero ---------- */

.ix-hero {
	padding-block: clamp(1.25rem, 3vw, 2.25rem) clamp(2.5rem, 6vw, 4rem);
}

.ix-hero-inner {
	position: relative;
	display: grid;
	grid-template-columns: 2.1fr 2.4fr 1fr;
	gap: clamp(1.5rem, 3.5vw, 3rem);
	align-items: center;
	padding-block: 0;
}

.ix-h1 {
	margin: 0 0 1.75rem;
	font-family: var(--ix-head);
	font-weight: 700;
	text-transform: uppercase;
	line-height: .92;
	font-size: clamp(2.6rem, 5.4vw, 4.6rem);
	color: var(--ix-white);
}

.ix-hero-sub {
	position: relative;
	font-family: var(--ix-body);
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--ix-white);
	max-width: 34ch;
	margin: 0 0 1.25rem;
	padding-top: 1.1rem;
}

.ix-hero-sub::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 2.75rem;
	height: 2px;
	background: var(--ix-red);
}

.ix-hero-desc {
	color: var(--ix-muted);
	max-width: 44ch;
	line-height: 1.7;
	margin: 0 0 2.25rem;
}

.ix-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.ix-hero-visual.wp-block-image {
	position: relative;
	aspect-ratio: 4 / 3;
	margin: 0;
	box-shadow: 0 0 60px rgba(226, 21, 31, .25);
}

.ix-hero-visual.wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.ix-crosshair {
	position: absolute;
	inset: 0;
	color: rgba(255, 255, 255, .3);
}

.ix-scroll {
	display: flex;
	align-items: center;
	gap: 1.1rem;
	margin-top: clamp(2.5rem, 6vw, 4rem);
	font-family: var(--ix-mono);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ix-muted);
}

.ix-scroll .ix-icon {
	width: 1rem;
	height: 1rem;
	color: var(--ix-white);
	animation: ix-scroll-bounce 1.8s ease-in-out infinite;
}

.ix-scroll::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--ix-line);
}

@keyframes ix-scroll-bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(4px); }
}

.ix-features {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1.9rem;
}

.ix-feature {
	display: flex;
	gap: .85rem;
	align-items: flex-start;
}

.ix-feature-icon {
	flex: none;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 50%;
	border: 1.5px solid var(--ix-red);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ix-red);
}

.ix-feature-icon .ix-icon {
	width: 1.15rem;
	height: 1.15rem;
}

.ix-feature h3 {
	position: relative;
	font-family: var(--ix-body);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	font-size: .8rem;
	margin: 0 0 .5rem;
	padding-top: .55rem;
}

.ix-feature h3::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 1.5rem;
	height: 2px;
	background: var(--ix-red);
}

.ix-feature p {
	margin: 0;
	color: var(--ix-muted);
	font-size: .82rem;
	line-height: 1.55;
}

/* ---------- why / stats (inside home) ---------- */

.ix-why-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1.75rem;
	margin-top: 2.5rem;
}

.ix-why-item h3 {
	font-family: var(--ix-body);
	font-weight: 700;
	text-transform: uppercase;
	font-size: .95rem;
	letter-spacing: .02em;
	margin: .9rem 0 .6rem;
}

.ix-why-item p {
	color: var(--ix-muted);
	font-size: .88rem;
	line-height: 1.55;
	margin: 0;
}

.ix-why-icon {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	border: 1.5px solid var(--ix-red);
	color: var(--ix-red);
	display: flex;
	align-items: center;
	justify-content: center;
}

.ix-why-icon .ix-icon {
	width: 1.4rem;
	height: 1.4rem;
}

.ix-stats {
	margin-top: clamp(2.5rem, 6vw, 4rem);
	padding-top: clamp(2rem, 5vw, 3rem);
	border-top: 1px solid var(--ix-line);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.ix-stat-num {
	display: block;
	font-family: var(--ix-head);
	font-weight: 700;
	font-size: clamp(2.2rem, 4.5vw, 3.4rem);
	color: var(--ix-white);
	line-height: 1;
	margin: 0;
}

.ix-stat-label {
	display: block;
	margin: .6rem 0 0;
	font-family: var(--ix-mono);
	font-size: .75rem;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--ix-muted);
}

/* ---------- who we are ---------- */

.ix-about-inner {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: clamp(2rem, 6vw, 5rem);
	align-items: center;
}

.ix-about-visual {
	position: relative;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ix-about-visual .ix-crosshair {
	width: 85%;
	height: 85%;
	position: static;
}

.ix-about p {
	color: var(--ix-muted);
	line-height: 1.7;
	max-width: 46ch;
	margin: 0 0 1.35rem;
}

/* ---------- services ---------- */

.ix-services-inner {
	display: grid;
	grid-template-columns: .8fr 1.6fr;
	gap: clamp(2rem, 5vw, 3.5rem);
}

.ix-services-side p {
	color: var(--ix-muted);
	line-height: 1.7;
	max-width: 34ch;
}

.ix-services-path {
	margin: 2.5rem 0 1.5rem;
	max-width: 19rem;
}

.ix-services-path svg {
	width: 100%;
	height: auto;
	display: block;
}

.ix-services-tag {
	font-family: var(--ix-body);
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.5;
	color: var(--ix-white);
	margin: 0;
}

.ix-services-tag strong {
	color: var(--ix-red);
	font-weight: 700;
}

.ix-services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: rgba(226, 21, 31, .28);
	border: 1px solid rgba(226, 21, 31, .28);
}

.ix-services-grid > * {
	margin-block: 0 !important;
}

.ix-service-card {
	background: var(--ix-black);
	padding: 2.1rem 1.7rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: .9rem;
}

.ix-service-icon {
	width: 2.5rem;
	height: 2.5rem;
	color: var(--ix-red);
}

.ix-service-icon .ix-icon {
	width: 100%;
	height: 100%;
}

.ix-service-card h3 {
	font-family: var(--ix-body);
	font-weight: 700;
	text-transform: uppercase;
	font-size: .9rem;
	letter-spacing: .02em;
	line-height: 1.35;
	margin: 0;
}

.ix-service-card p {
	color: var(--ix-muted);
	font-size: .85rem;
	line-height: 1.55;
	margin: 0;
}

.ix-services-strap {
	margin-top: 2.5rem;
	padding-top: 1.75rem;
	border-top: 1px solid var(--ix-line);
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 1rem;
	font-family: var(--ix-body);
	font-weight: 700;
	text-transform: uppercase;
	font-size: .95rem;
	text-align: left;
	color: var(--ix-white);
}

.ix-services-strap .ix-icon {
	color: var(--ix-red);
	width: 1.3rem;
	height: 1.3rem;
	transform: rotate(-45deg);
	flex: none;
}

.ix-services-strap-divider {
	width: 1px;
	height: 1.5rem;
	background: var(--ix-line);
	flex: none;
}

.ix-services-strap strong {
	color: var(--ix-red);
}

/* ---------- projects ---------- */

.ix-projects-head {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 2rem;
	align-items: end;
	margin-bottom: 2.5rem;
}

.ix-projects-head .ix-lead {
	max-width: 34ch;
	margin-left: auto;
}

.ix-projects-row {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1.25rem;
}

.ix-project-card {
	display: flex;
	flex-direction: column;
	color: var(--ix-white);
	text-decoration: none !important;
	transition: transform .3s ease;
}

.ix-project-card:hover {
	transform: translateY(-6px);
}

.ix-project-photo {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 4px 4px 0 0;
	margin: 0;
}

/* Image blocks are sometimes linked (wrapping the img in an <a>) depending on
   each image's own "Link to" setting. Absolute-filling both the optional <a>
   and the img (instead of relying on percentage height, which needs a
   definite parent height to resolve against) guarantees every photo fills
   the exact same box regardless of that per-image setting or its own
   intrinsic dimensions. */
.ix-project-photo img,
.ix-project-photo a {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
}

.ix-project-photo img {
	object-fit: cover;
	transition: transform .5s ease;
}

.ix-project-card:hover .ix-project-photo img {
	transform: scale(1.06);
}

.ix-project-panel {
	position: relative;
	flex: 1;
	background: var(--ix-black);
	border: 1px solid var(--ix-line);
	border-top: none;
	padding: 1.35rem 3rem 1.5rem 1.75rem;
	overflow: hidden;
	transition: border-color .3s ease;
}

.ix-project-card:hover .ix-project-panel {
	border-color: var(--ix-red);
}

.ix-project-panel::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 1.25rem;
	background-image: repeating-linear-gradient(-45deg, var(--ix-red) 0 2px, transparent 2px 9px);
}

.ix-project-body h3 {
	font-family: var(--ix-body);
	font-weight: 700;
	text-transform: uppercase;
	font-size: .85rem;
	line-height: 1.3;
	margin: 0 0 .5rem;
}

.ix-project-body p {
	font-size: .78rem;
	color: var(--ix-muted);
	line-height: 1.4;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ix-project-cta {
	margin: 0;
}

.ix-project-arrow {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	margin: 0;
}

.ix-project-arrow .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.1rem;
	height: 2.1rem;
	padding: 0;
	background: var(--ix-red);
	color: var(--ix-white);
	border-radius: 3px;
	font-size: 1.1rem;
	line-height: 1;
	text-decoration: none !important;
	transition: background-color .3s ease, color .3s ease, transform .3s ease;
}

.ix-project-card:hover .ix-project-arrow .wp-block-button__link {
	background: var(--ix-white);
	color: var(--ix-red);
	transform: translateX(3px);
}

.ix-projects-more {
	display: flex;
	justify-content: center;
	margin-top: 2.5rem;
}

.ix-dots {
	display: flex;
	justify-content: center;
	gap: .5rem;
	margin-top: 1.75rem;
}

.ix-dots span {
	width: .4rem;
	height: .4rem;
	border-radius: 50%;
	background: var(--ix-line);
}

.ix-dots span.is-active {
	background: var(--ix-red);
}

/* ---------- insights ---------- */

.ix-insight {
	position: relative;
	border-radius: 6px;
	overflow: hidden;
	padding: clamp(2rem, 6vw, 4rem);
	display: grid;
	grid-template-columns: 1.3fr .7fr;
	gap: 2rem;
}

.ix-insight-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(circle at 85% 15%, rgba(226, 21, 31, .25), transparent 45%),
		linear-gradient(160deg, #1a1a1a 0%, #0a0a0a 60%);
}

.ix-insight-eyebrow {
	font-family: var(--ix-mono);
	font-size: .78rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ix-red);
	margin: 0 0 1.5rem;
}

.ix-insight h2 {
	font-family: var(--ix-head);
	font-weight: 700;
	text-transform: uppercase;
	font-size: clamp(1.8rem, 3.6vw, 2.8rem);
	line-height: .98;
	margin: 0 0 1rem;
}

.ix-insight h2 .line-red {
	color: var(--ix-red);
	display: block;
}

.ix-insight-kicker {
	font-family: var(--ix-mono);
	font-size: .85rem;
	letter-spacing: .04em;
	color: var(--ix-white);
	margin: 0 0 1.5rem;
}

.ix-insight p {
	color: var(--ix-muted);
	line-height: 1.7;
	max-width: 50ch;
	margin: 0 0 1.25rem;
}

.ix-insight-quote {
	border-left: 3px solid var(--ix-red);
	padding-left: 1rem;
	margin-top: 1.5rem;
}

.ix-insight-quote-title {
	display: block;
	text-transform: uppercase;
	font-family: var(--ix-body);
	font-weight: 700;
	color: var(--ix-white);
	margin: 0;
}

.ix-insight-quote-sub {
	color: var(--ix-muted);
	font-size: .9rem;
	margin: 0;
}

.ix-insight-logo {
	justify-self: end;
	align-self: start;
	display: flex;
	align-items: center;
	gap: .5rem;
	color: rgba(255, 255, 255, .5);
}

.ix-insight-logo .ix-logo-badge {
	width: 2.6rem;
	height: 2.6rem;
	border-color: var(--ix-red);
	color: var(--ix-red);
}

.ix-insight-solutions {
	margin-top: 2.5rem;
	padding-top: 1.75rem;
	border-top: 1px solid rgba(255, 255, 255, .18);
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 1rem;
}

.ix-insight-solutions .label {
	grid-column: 1 / -1;
	font-family: var(--ix-mono);
	font-size: .72rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ix-muted);
	margin: 0 0 .5rem;
}

.ix-solution {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .6rem;
	text-align: center;
	color: var(--ix-white);
}

.ix-solution .ix-icon {
	color: var(--ix-red);
	width: 1.6rem;
	height: 1.6rem;
}

.ix-solution p {
	font-size: .72rem;
	line-height: 1.3;
	margin: 0;
	color: var(--ix-muted);
}

.ix-insight-note {
	grid-column: 1 / -1;
	margin-top: 1rem;
	color: var(--ix-muted);
	font-size: .85rem;
	line-height: 1.6;
	max-width: 60ch;
}

/* ---------- contact / footer ---------- */

.ix-contact-inner {
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	gap: clamp(2rem, 6vw, 4rem);
	align-items: center;
	margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.ix-contact p {
	color: var(--ix-muted);
	max-width: 42ch;
	line-height: 1.7;
	margin: 1.25rem 0 2rem;
}

.ix-contact-visual {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: 6px;
	overflow: hidden;
	background: linear-gradient(100deg, #050505 0%, #141414 45%, #050505 100%);
}

.ix-contact-visual::before {
	content: "";
	position: absolute;
	inset: 0 45% 0 45%;
	background: linear-gradient(180deg, var(--ix-red), rgba(226, 21, 31, .1));
	filter: blur(2px);
	opacity: .8;
}

.ix-contact-visual::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 12%;
	width: 14%;
	height: 32%;
	background: #000;
	border-radius: 40% 40% 10% 10%;
	transform: translateX(-50%);
}

.ix-footer-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	padding-top: clamp(2rem, 5vw, 3rem);
	border-top: 1px solid var(--ix-line);
}

.ix-footer-col .ix-eyebrow {
	margin-bottom: 1.1rem;
}

.ix-footer-row {
	display: flex;
	align-items: center;
	gap: .7rem;
	margin: 0 0 .9rem;
	color: var(--ix-white);
}

.ix-footer-row .ix-icon {
	color: var(--ix-red);
	width: 1.1rem;
	height: 1.1rem;
	flex: none;
}

.ix-footer-row p {
	margin: 0;
}

.ix-footer-row a {
	color: var(--ix-white);
	text-decoration: none !important;
}

.ix-footer-office {
	margin: 0 0 1.1rem;
}

.ix-footer-office-name {
	display: block;
	font-family: var(--ix-mono);
	font-size: .75rem;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--ix-red);
	margin: 0 0 .3rem;
}

.ix-footer-office-addr {
	color: var(--ix-muted);
	font-size: .9rem;
	margin: 0;
}

.ix-social {
	display: flex;
	gap: .75rem;
}

.ix-social a {
	width: 2.4rem;
	height: 2.4rem;
	border: 1px solid var(--ix-line);
	border-radius: 3px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ix-white);
	text-decoration: none !important;
	transition: border-color .2s ease, color .2s ease;
}

.ix-social a:hover {
	border-color: var(--ix-red);
	color: var(--ix-red);
}

.ix-social .ix-icon {
	width: 1.15rem;
	height: 1.15rem;
}

.ix-footer-bottom {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--ix-line);
	display: flex;
	flex-wrap: wrap;
	gap: .75rem 1.5rem;
	align-items: center;
	font-family: var(--ix-mono);
	font-size: .72rem;
	letter-spacing: .03em;
	color: var(--ix-muted);
}

.ix-footer-bottom strong {
	color: var(--ix-red);
}

.ix-footer-bottom p {
	margin: 0;
}

.ix-footer-bottom .sep {
	color: var(--ix-line);
}

.ix-footer-bottom .ix-icon {
	width: .9em;
	height: .9em;
	vertical-align: -.1em;
	color: var(--ix-red);
	margin-right: .3rem;
}

.ix-footer-bottom-item {
	display: inline-flex;
	align-items: center;
}

.ix-footer-bottom-item .ix-icon {
	margin-right: .3rem;
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
	.ix-hero-inner {
		grid-template-columns: 1.3fr 1fr;
	}

	.ix-features {
		grid-column: 1 / -1;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 1.5rem 2rem;
	}

	.ix-feature {
		flex: 1 1 220px;
	}

	.ix-why-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.ix-stats {
		grid-template-columns: repeat(2, 1fr);
	}

	.ix-services-inner {
		grid-template-columns: 1fr;
	}

	.ix-services-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ix-projects-row {
		grid-template-columns: repeat(3, 1fr);
	}

	.ix-insight-solutions {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 780px) {
	.ix-hero-inner,
	.ix-about-inner,
	.ix-contact-inner,
	.ix-insight,
	.ix-projects-head {
		grid-template-columns: 1fr;
	}

	.ix-features {
		flex-direction: column;
	}

	.ix-why-grid,
	.ix-services-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ix-projects-row {
		grid-template-columns: repeat(2, 1fr);
	}

	.ix-insight-solutions {
		grid-template-columns: repeat(3, 1fr);
	}

	.ix-insight-logo {
		justify-self: start;
	}

	.ix-footer-grid {
		grid-template-columns: 1fr;
	}

	.ix-projects-head .ix-lead {
		margin-left: 0;
	}
}

@media (max-width: 520px) {
	.ix-why-grid,
	.ix-services-grid,
	.ix-projects-row,
	.ix-insight-solutions {
		grid-template-columns: repeat(2, 1fr);
	}

	.ix-stats {
		grid-template-columns: repeat(2, 1fr);
	}
}
