/* ==========================================================================
   VlumeTech Design System
   Dark technical authority. Zero dependencies.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
	/* Surfaces — deepened from the old #14192D for stronger contrast ratios */
	--bg:            #080B14;
	--bg-alt:        #0C111F;
	--surface:       #0F1524;
	--surface-2:     #141B2D;
	--surface-3:     #1A2337;

	/* Lines */
	--line:          rgba(255, 255, 255, .07);
	--line-strong:   rgba(255, 255, 255, .13);
	--line-accent:   rgba(24, 254, 245, .25);

	/* Text */
	--text:          #E9EEF9;
	--text-2:        #9AA6BF;
	--text-3:        #66738D;

	/* Brand — carried over from the original palette */
	--cyan:          #18FEF5;
	--cyan-dim:      #0FD8D0;
	--teal:          #00A8A3;
	--teal-deep:     #007875;
	--navy:          #14192D;

	/* Signal */
	--danger:        #FF5C6E;
	--warn:          #FFB44D;
	--ok:            #35E08B;

	/* Glow */
	--glow-cyan:     0 0 0 1px rgba(24, 254, 245, .18), 0 8px 40px -12px rgba(24, 254, 245, .35);

	/* Type */
	--font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--mono:          'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

	/* Fluid type scale */
	--fs-display:    clamp(2.5rem, 1.35rem + 4.6vw, 4.75rem);
	--fs-h1:         clamp(2.1rem, 1.35rem + 3vw, 3.5rem);
	--fs-h2:         clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
	--fs-h3:         clamp(1.25rem, 1.05rem + .8vw, 1.6rem);
	--fs-lede:       clamp(1.02rem, .96rem + .35vw, 1.2rem);
	--fs-body:       1rem;
	--fs-sm:         .9rem;
	--fs-xs:         .8rem;
	--fs-micro:      .72rem;

	/* Space */
	--sp-1: .25rem;  --sp-2: .5rem;   --sp-3: .75rem;  --sp-4: 1rem;
	--sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4rem;
	--sp-9: 6rem;    --sp-10: 8rem;

	/* Section rhythm */
	--section-y:     clamp(4rem, 2.5rem + 6vw, 7.5rem);

	/* Shape */
	--r-sm: 8px;  --r: 12px;  --r-lg: 18px;  --r-xl: 26px;  --r-pill: 999px;

	/* Motion */
	--ease:          cubic-bezier(.22, .61, .36, 1);
	--ease-out:      cubic-bezier(.16, 1, .3, 1);

	/* Layout */
	--container:     1200px;
	--container-nar: 900px;
	--header-h:      76px;
}

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

* { margin: 0; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
	font-family: var(--font);
	font-size: var(--fs-body);
	line-height: 1.65;
	color: var(--text-2);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	text-rendering: optimizeLegibility;
}

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

button, input, select, textarea { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

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

ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
	color: var(--text);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -.025em;
	text-wrap: balance;
}

p { text-wrap: pretty; }

::selection { background: var(--cyan); color: var(--navy); }

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

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: clamp(1.15rem, .6rem + 2.2vw, 2.5rem);
}

.container--narrow { max-width: var(--container-nar); }

.section { padding-block: var(--section-y); position: relative; }

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

.section--line { border-top: 1px solid var(--line); }

.grid { display: grid; gap: var(--sp-5); }

/* Grid and flex children default to min-width:auto, which lets wide content
   (the terminal's no-wrap rows, long unbroken strings) stretch the track and
   push the whole page sideways. Opt every child back to a shrinkable floor. */
.grid > *, .split > *, .hero__layout > *, .stats > *, .footer__grid > * { min-width: 0; }

@media (min-width: 640px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px)  { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	padding: .75rem 1.25rem;
	background: var(--cyan);
	color: var(--navy);
	font-weight: 600;
	border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   4. Type helpers
   -------------------------------------------------------------------------- */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	font-family: var(--mono);
	font-size: var(--fs-micro);
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--cyan);
	margin-bottom: var(--sp-4);
}

.eyebrow::before {
	content: "";
	width: 22px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--cyan));
}

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }

.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

.section-title { font-size: var(--fs-h2); margin-bottom: var(--sp-4); }

.lede { font-size: var(--fs-lede); color: var(--text-2); line-height: 1.7; }

.accent { color: var(--cyan); }

.grad-text {
	background: linear-gradient(120deg, var(--text) 20%, var(--cyan) 55%, var(--teal) 90%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.mono { font-family: var(--mono); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6rem;
	padding: .95rem 1.65rem;
	border-radius: var(--r-pill);
	font-size: var(--fs-sm);
	font-weight: 600;
	letter-spacing: .01em;
	white-space: nowrap;
	cursor: pointer;
	position: relative;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease),
	            background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}

.btn svg { width: 17px; height: 17px; flex: none; transition: transform .25s var(--ease); }

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:hover svg.arrow { transform: translateX(3px); }

.btn--primary {
	background: linear-gradient(135deg, var(--cyan), var(--teal));
	color: #04121A;
	box-shadow: 0 6px 26px -10px rgba(24, 254, 245, .65);
}
.btn--primary:hover { box-shadow: 0 12px 36px -10px rgba(24, 254, 245, .8); }

.btn--ghost {
	border: 1px solid var(--line-strong);
	color: var(--text);
	background: rgba(255, 255, 255, .02);
}
.btn--ghost:hover { border-color: var(--line-accent); background: rgba(24, 254, 245, .06); color: var(--cyan); }

.btn--sm { padding: .7rem 1.25rem; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	font-size: var(--fs-sm);
	font-weight: 600;
	color: var(--cyan);
	transition: gap .25s var(--ease);
}
.link-arrow svg { width: 15px; height: 15px; }
.link-arrow:hover { gap: .8rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* --------------------------------------------------------------------------
   6. Decorative backdrops
   -------------------------------------------------------------------------- */
.grid-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 30%, transparent 78%);
	mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 30%, transparent 78%);
	pointer-events: none;
}

.glow-bg::after {
	content: "";
	position: absolute;
	top: -30%;
	left: 50%;
	width: min(1100px, 120vw);
	aspect-ratio: 1;
	transform: translateX(-50%);
	background: radial-gradient(circle, rgba(0, 168, 163, .16) 0%, rgba(24, 254, 245, .06) 38%, transparent 68%);
	pointer-events: none;
	z-index: 0;
}

/* --------------------------------------------------------------------------
   7. Header
   -------------------------------------------------------------------------- */
.topbar {
	background: var(--bg-alt);
	border-bottom: 1px solid var(--line);
	font-size: var(--fs-micro);
	font-family: var(--mono);
	color: var(--text-3);
	letter-spacing: .04em;
}

.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	height: 36px;
}

.topbar__item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar__item svg { width: 13px; height: 13px; opacity: .7; }

@media (max-width: 720px) { .topbar__item--hide { display: none; } }

.pulse {
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--ok);
	box-shadow: 0 0 0 0 rgba(53, 224, 139, .6);
	animation: pulse 2.4s infinite;
	flex: none;
}

@keyframes pulse {
	70%  { box-shadow: 0 0 0 8px rgba(53, 224, 139, 0); }
	100% { box-shadow: 0 0 0 0 rgba(53, 224, 139, 0); }
}

.header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(8, 11, 20, .72);
	backdrop-filter: blur(16px) saturate(180%);
	-webkit-backdrop-filter: blur(16px) saturate(180%);
	border-bottom: 1px solid transparent;
	transition: border-color .3s var(--ease), background .3s var(--ease);
}

.header.is-stuck {
	border-bottom-color: var(--line);
	background: rgba(8, 11, 20, .92);
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-5);
	height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: .7rem; flex: none; }
.logo img { height: 34px; width: auto; }

.logo__text {
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -.03em;
	color: var(--text);
}
.logo__text span { color: var(--cyan); }

.nav { display: none; }

@media (min-width: 992px) {
	.nav { display: flex; align-items: center; gap: var(--sp-2); }
}

.nav__link {
	position: relative;
	padding: .55rem .9rem;
	font-size: var(--fs-sm);
	font-weight: 500;
	color: var(--text-2);
	border-radius: var(--r-sm);
	transition: color .2s var(--ease), background .2s var(--ease);
}

.nav__link:hover { color: var(--text); background: rgba(255, 255, 255, .04); }

.nav__link.is-active { color: var(--cyan); }

.nav__link.is-active::after {
	content: "";
	position: absolute;
	left: .9rem; right: .9rem; bottom: .25rem;
	height: 1.5px;
	background: var(--cyan);
	border-radius: 2px;
}

.header__cta { display: none; }
@media (min-width: 992px) { .header__cta { display: inline-flex; } }

/* Burger */
.burger {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px; height: 44px;
	padding: 0 10px;
	border-radius: var(--r-sm);
	border: 1px solid var(--line-strong);
}
@media (min-width: 992px) { .burger { display: none; } }

.burger span {
	display: block;
	height: 1.5px;
	background: var(--text);
	border-radius: 2px;
	transition: transform .3s var(--ease), opacity .2s var(--ease);
}

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
	position: fixed;
	inset: 0;
	z-index: 99;
	background: rgba(4, 6, 12, .6);
	backdrop-filter: blur(6px);
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s var(--ease), visibility .3s;
}
.drawer.is-open { opacity: 1; visibility: visible; }

.drawer__panel {
	position: absolute;
	top: 0; right: 0;
	width: min(360px, 88vw);
	height: 100%;
	padding: calc(var(--header-h) + 1.5rem) var(--sp-6) var(--sp-6);
	background: var(--surface);
	border-left: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	gap: var(--sp-2);
	transform: translateX(100%);
	transition: transform .38s var(--ease-out);
	overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }

.drawer__link {
	padding: .95rem 0;
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--text-2);
	border-bottom: 1px solid var(--line);
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.drawer__link:hover, .drawer__link.is-active { color: var(--cyan); padding-left: .4rem; }
.drawer__link svg { width: 15px; height: 15px; opacity: .4; }

.drawer .btn { margin-top: var(--sp-5); }

body.no-scroll { overflow: hidden; }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	padding-block: clamp(3.5rem, 2rem + 7vw, 7rem) clamp(3.5rem, 2rem + 5vw, 6rem);
	overflow: hidden;
	background: var(--bg);
}

.hero__inner { position: relative; z-index: 1; }

.hero__layout { display: grid; gap: clamp(2.5rem, 1rem + 5vw, 4.5rem); align-items: center; }

@media (min-width: 1000px) {
	.hero__layout { grid-template-columns: 1.08fr .92fr; }
}

.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	padding: .45rem 1rem .45rem .6rem;
	margin-bottom: var(--sp-5);
	border: 1px solid var(--line-accent);
	border-radius: var(--r-pill);
	background: rgba(24, 254, 245, .05);
	font-family: var(--mono);
	font-size: var(--fs-micro);
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--cyan);
}

.hero__badge b {
	padding: .18rem .5rem;
	border-radius: var(--r-pill);
	background: var(--cyan);
	color: var(--navy);
	font-weight: 700;
	font-size: .68rem;
}

.hero__title { font-size: var(--fs-display); margin-bottom: var(--sp-5); letter-spacing: -.04em; }

.hero__lede { font-size: var(--fs-lede); max-width: 56ch; margin-bottom: var(--sp-6); }

.hero__proof {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3) var(--sp-6);
	margin-top: var(--sp-7);
	padding-top: var(--sp-5);
	border-top: 1px solid var(--line);
}

.hero__proof li {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-size: var(--fs-xs);
	font-family: var(--mono);
	letter-spacing: .05em;
	color: var(--text-2);
}
.hero__proof svg { width: 15px; height: 15px; color: var(--cyan); flex: none; }

/* Hero terminal panel */
.terminal {
	min-width: 0;
	max-width: 100%;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-lg);
	background: linear-gradient(180deg, var(--surface-2), var(--surface));
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), var(--glow-cyan);
	overflow: hidden;
}

.terminal__bar {
	display: flex;
	align-items: center;
	gap: .45rem;
	padding: .75rem 1rem;
	border-bottom: 1px solid var(--line);
	background: rgba(255, 255, 255, .02);
}

.terminal__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.terminal__dot:nth-child(1) { background: #FF5F57; }
.terminal__dot:nth-child(2) { background: #FEBC2E; }
.terminal__dot:nth-child(3) { background: #28C840; }

.terminal__title {
	margin-left: auto;
	font-family: var(--mono);
	font-size: var(--fs-micro);
	color: var(--text-3);
	letter-spacing: .05em;
}

.terminal__body {
	padding: var(--sp-5);
	font-family: var(--mono);
	font-size: .8rem;
	line-height: 2;
	color: var(--text-2);
	overflow-x: auto;
}

.terminal__body .c-cyan { color: var(--cyan); }
.terminal__body .c-ok   { color: var(--ok); }
.terminal__body .c-warn { color: var(--warn); }
.terminal__body .c-red  { color: var(--danger); }
.terminal__body .c-dim  { color: var(--text-3); }

.terminal__row { display: flex; gap: .6rem; white-space: nowrap; }

.caret {
	display: inline-block;
	width: 8px; height: 1em;
	background: var(--cyan);
	vertical-align: text-bottom;
	animation: blink 1.1s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: var(--sp-6);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--surface);
	transition: border-color .35s var(--ease), transform .35s var(--ease), background .35s var(--ease);
	overflow: hidden;
	height: 100%;
}

.card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(24, 254, 245, .07), transparent 42%);
	opacity: 0;
	transition: opacity .4s var(--ease);
	pointer-events: none;
}

.card:hover { transform: translateY(-4px); border-color: var(--line-accent); background: var(--surface-2); }
.card:hover::before { opacity: 1; }

.card__icon {
	display: grid;
	place-items: center;
	width: 52px; height: 52px;
	margin-bottom: var(--sp-5);
	border-radius: var(--r);
	border: 1px solid var(--line-accent);
	background: linear-gradient(140deg, rgba(24, 254, 245, .12), rgba(0, 168, 163, .04));
	color: var(--cyan);
	transition: transform .35s var(--ease);
}
.card__icon svg { width: 24px; height: 24px; }
.card:hover .card__icon { transform: scale(1.06) rotate(-4deg); }

.card__title { font-size: var(--fs-h3); margin-bottom: var(--sp-3); }

.card__text { font-size: var(--fs-sm); line-height: 1.7; margin-bottom: var(--sp-5); }

/* Keeps the "Explore service" links on one baseline when card copy differs in length */
.card > .link-arrow { margin-top: auto; align-self: flex-start; padding-top: var(--sp-2); }

.card__num {
	position: absolute;
	top: var(--sp-5); right: var(--sp-6);
	font-family: var(--mono);
	font-size: var(--fs-micro);
	color: var(--text-3);
	letter-spacing: .1em;
}

/* Feature list inside cards */
.tick-list { display: grid; gap: .6rem; margin-bottom: var(--sp-5); }

.tick-list li {
	display: flex;
	align-items: flex-start;
	gap: .6rem;
	font-size: var(--fs-sm);
	color: var(--text-2);
}
.tick-list svg { width: 16px; height: 16px; color: var(--cyan); flex: none; margin-top: .3rem; }

/* --------------------------------------------------------------------------
   10. Split feature blocks
   -------------------------------------------------------------------------- */
.split { display: grid; gap: clamp(2.5rem, 1rem + 4vw, 4.5rem); align-items: center; }

@media (min-width: 900px) {
	.split { grid-template-columns: 1fr 1fr; }
	.split--reverse .split__visual { order: -1; }
}

.split__visual { position: relative; }

.split__visual img { border-radius: var(--r-lg); border: 1px solid var(--line); width: 100%; }

.feature-row {
	display: flex;
	gap: var(--sp-4);
	padding: var(--sp-5) 0;
	border-bottom: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: 0; }

.feature-row__icon {
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	flex: none;
	border-radius: var(--r-sm);
	background: rgba(24, 254, 245, .08);
	border: 1px solid var(--line-accent);
	color: var(--cyan);
}
.feature-row__icon svg { width: 20px; height: 20px; }

.feature-row h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.feature-row p { font-size: var(--fs-sm); line-height: 1.7; }

/* --------------------------------------------------------------------------
   11. Stats
   -------------------------------------------------------------------------- */
.stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--surface);
	overflow: hidden;
}

.stat {
	padding: var(--sp-6) var(--sp-5);
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	text-align: center;
	transition: background .3s var(--ease);
}
.stat:hover { background: var(--surface-2); }

.stat__num {
	display: block;
	font-family: var(--mono);
	font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem);
	font-weight: 700;
	line-height: 1;
	color: var(--text);
	letter-spacing: -.03em;
	margin-bottom: .5rem;
}
.stat__num i { font-style: normal; color: var(--cyan); font-size: .55em; }

.stat__label {
	font-size: var(--fs-xs);
	color: var(--text-3);
	letter-spacing: .04em;
}

/* --------------------------------------------------------------------------
   12. Testimonials
   -------------------------------------------------------------------------- */
.quote-card {
	display: flex;
	flex-direction: column;
	padding: var(--sp-6);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--surface);
	height: 100%;
	transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.quote-card:hover { border-color: var(--line-accent); transform: translateY(-4px); }

.quote-card__mark { color: var(--cyan); opacity: .35; margin-bottom: var(--sp-4); }
.quote-card__mark svg { width: 32px; height: 32px; }

.quote-card__text {
	font-size: var(--fs-sm);
	line-height: 1.8;
	color: var(--text-2);
	margin-bottom: var(--sp-5);
	flex: 1;
}

.quote-card__metric {
	padding: var(--sp-4);
	margin-bottom: var(--sp-5);
	border-radius: var(--r);
	background: linear-gradient(135deg, rgba(24, 254, 245, .09), rgba(0, 168, 163, .03));
	border: 1px solid var(--line-accent);
	text-align: center;
}

.quote-card__metric b {
	display: block;
	font-family: var(--mono);
	font-size: 1.75rem;
	line-height: 1;
	color: var(--cyan);
	margin-bottom: .3rem;
}

.quote-card__metric span { font-size: var(--fs-micro); letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); }

.quote-card__who { display: flex; align-items: center; gap: var(--sp-3); padding-top: var(--sp-4); border-top: 1px solid var(--line); }

.avatar {
	display: grid;
	place-items: center;
	width: 42px; height: 42px;
	flex: none;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--teal), var(--teal-deep));
	color: #04121A;
	font-weight: 700;
	font-size: .85rem;
	font-family: var(--mono);
}

.quote-card__who strong { display: block; font-size: var(--fs-sm); color: var(--text); font-weight: 600; }
.quote-card__who span { font-size: var(--fs-xs); color: var(--text-3); }

/* --------------------------------------------------------------------------
   13. Client logos
   -------------------------------------------------------------------------- */
.clients {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	overflow: hidden;
}

.clients__item {
	display: grid;
	place-items: center;
	padding: var(--sp-6) var(--sp-4);
	background: var(--surface);
	transition: background .3s var(--ease);
}
.clients__item:hover { background: var(--surface-2); }

/* These are full-colour brand assets (Konga ships as a solid magenta tile,
   CCNL as a colour illustration) — a grayscale filter destroys them, so show
   them as-is and use opacity alone for the resting state. */
.clients__item img {
	max-height: 46px;
	width: auto;
	object-fit: contain;
	border-radius: 6px;
	opacity: .78;
	transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.clients__item:hover img { opacity: 1; transform: scale(1.04); }

/* --------------------------------------------------------------------------
   14. Forms
   -------------------------------------------------------------------------- */
.form-panel {
	padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
	border: 1px solid var(--line-strong);
	border-radius: var(--r-xl);
	background: linear-gradient(180deg, var(--surface-2), var(--surface));
	box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
}

.field { margin-bottom: var(--sp-4); }

.field__label {
	display: block;
	font-size: var(--fs-xs);
	font-weight: 500;
	color: var(--text-2);
	margin-bottom: .45rem;
	letter-spacing: .02em;
}
.field__label .req { color: var(--cyan); }

.input {
	width: 100%;
	padding: .85rem 1rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-sm);
	background: rgba(8, 11, 20, .6);
	color: var(--text);
	font-size: var(--fs-sm);
	transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
	appearance: none;
}

.input::placeholder { color: var(--text-3); }

.input:focus {
	outline: none;
	border-color: var(--cyan);
	background: rgba(8, 11, 20, .9);
	box-shadow: 0 0 0 3px rgba(24, 254, 245, .13);
}

textarea.input { resize: vertical; min-height: 130px; line-height: 1.6; }

select.input {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239AA6BF' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 16px;
	padding-right: 2.75rem;
	cursor: pointer;
}
select.input option { background: var(--surface-2); color: var(--text); }

.field-grid { display: grid; gap: var(--sp-4); }
@media (min-width: 560px) { .field-grid--2 { grid-template-columns: 1fr 1fr; } }

.form-note {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin-top: var(--sp-4);
	font-size: var(--fs-xs);
	color: var(--text-3);
}
.form-note svg { width: 14px; height: 14px; color: var(--ok); flex: none; }

.form-status {
	display: none;
	align-items: flex-start;
	gap: .6rem;
	margin-bottom: var(--sp-4);
	padding: .85rem 1rem;
	border-radius: var(--r-sm);
	font-size: var(--fs-sm);
	border: 1px solid transparent;
}
.form-status.is-visible { display: flex; }
.form-status svg { width: 17px; height: 17px; flex: none; margin-top: .18rem; }
.form-status--ok  { background: rgba(53, 224, 139, .1); border-color: rgba(53, 224, 139, .35); color: var(--ok); }
.form-status--err { background: rgba(255, 92, 110, .1); border-color: rgba(255, 92, 110, .35); color: var(--danger); }

.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading .btn__label { opacity: .55; }

.spinner {
	display: none;
	width: 15px; height: 15px;
	border: 2px solid rgba(4, 18, 26, .3);
	border-top-color: #04121A;
	border-radius: 50%;
	animation: spin .7s linear infinite;
}
.btn.is-loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* honeypot */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* --------------------------------------------------------------------------
   15. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
	position: relative;
	padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
	border-bottom: 1px solid var(--line);
	overflow: hidden;
	background: var(--bg-alt);
}

/* This element carries both .container and .page-hero__inner, so capping its
   width here would inherit the container's auto margins and centre the block,
   pushing the heading off the page's left grid line. Cap the children instead. */
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__inner > h1,
.page-hero__inner > .lede { max-width: 780px; }

.page-hero h1 { font-size: var(--fs-h1); margin-bottom: var(--sp-4); }

.crumbs {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin-top: var(--sp-5);
	font-family: var(--mono);
	font-size: var(--fs-micro);
	color: var(--text-3);
	letter-spacing: .06em;
}
.crumbs a:hover { color: var(--cyan); }
.crumbs span { opacity: .45; }

/* --------------------------------------------------------------------------
   16. Blog
   -------------------------------------------------------------------------- */
.post {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--surface);
	overflow: hidden;
	height: 100%;
	transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.post:hover { border-color: var(--line-accent); transform: translateY(-4px); }

.post__top {
	padding: var(--sp-5) var(--sp-6) 0;
	display: flex;
	align-items: center;
	gap: var(--sp-3);
	flex-wrap: wrap;
}

.tag {
	padding: .28rem .7rem;
	border-radius: var(--r-pill);
	background: rgba(24, 254, 245, .1);
	border: 1px solid var(--line-accent);
	font-family: var(--mono);
	font-size: var(--fs-micro);
	letter-spacing: .05em;
	color: var(--cyan);
}

.post__meta { font-family: var(--mono); font-size: var(--fs-micro); color: var(--text-3); letter-spacing: .04em; }

.post__body { padding: var(--sp-5) var(--sp-6) var(--sp-6); display: flex; flex-direction: column; flex: 1; }

.post__title { font-size: 1.22rem; line-height: 1.3; margin-bottom: var(--sp-3); }
.post:hover .post__title { color: var(--cyan); }

.post__excerpt { font-size: var(--fs-sm); line-height: 1.7; margin-bottom: var(--sp-5); flex: 1; }

/* --------------------------------------------------------------------------
   17. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
	position: relative;
	padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
	border: 1px solid var(--line-accent);
	border-radius: var(--r-xl);
	background: linear-gradient(135deg, rgba(0, 168, 163, .14), rgba(24, 254, 245, .04) 45%, transparent 75%), var(--surface);
	overflow: hidden;
	text-align: center;
}

.cta-band__inner { position: relative; z-index: 1; max-width: 660px; margin-inline: auto; }
.cta-band h2 { font-size: var(--fs-h2); margin-bottom: var(--sp-4); }
.cta-band .btn-row { justify-content: center; margin-top: var(--sp-6); }

/* --------------------------------------------------------------------------
   18. Contact info cards
   -------------------------------------------------------------------------- */
.info-card {
	padding: var(--sp-6);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--surface);
	height: 100%;
	transition: border-color .3s var(--ease);
}
.info-card:hover { border-color: var(--line-accent); }

.info-card__icon {
	display: grid;
	place-items: center;
	width: 46px; height: 46px;
	margin-bottom: var(--sp-4);
	border-radius: var(--r-sm);
	background: rgba(24, 254, 245, .08);
	border: 1px solid var(--line-accent);
	color: var(--cyan);
}
.info-card__icon svg { width: 21px; height: 21px; }

.info-card h3 { font-size: 1.02rem; margin-bottom: var(--sp-3); }
.info-card a, .info-card p { display: block; font-size: var(--fs-sm); color: var(--text-2); line-height: 1.9; }
.info-card a:hover { color: var(--cyan); }

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.footer {
	position: relative;
	padding-top: var(--section-y);
	border-top: 1px solid var(--line);
	background: var(--bg-alt);
	overflow: hidden;
}

.footer__grid {
	display: grid;
	gap: var(--sp-7);
	padding-bottom: var(--sp-8);
}

@media (min-width: 700px)  { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

.footer__about p { font-size: var(--fs-sm); line-height: 1.75; margin: var(--sp-4) 0 var(--sp-5); max-width: 42ch; }

.footer h4 {
	font-size: var(--fs-xs);
	font-family: var(--mono);
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--text);
	margin-bottom: var(--sp-4);
}

.footer__links { display: grid; gap: .7rem; }

.footer__links a {
	font-size: var(--fs-sm);
	color: var(--text-2);
	transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.footer__links a:hover { color: var(--cyan); padding-left: .3rem; }

.socials { display: flex; gap: .6rem; }

.socials a {
	display: grid;
	place-items: center;
	width: 38px; height: 38px;
	border-radius: var(--r-sm);
	border: 1px solid var(--line-strong);
	color: var(--text-2);
	transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.socials a:hover { color: var(--cyan); border-color: var(--line-accent); background: rgba(24, 254, 245, .07); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }

.footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	padding-block: var(--sp-5);
	border-top: 1px solid var(--line);
	font-size: var(--fs-xs);
	color: var(--text-3);
}

.footer__bottom nav { display: flex; flex-wrap: wrap; gap: var(--sp-5); }
.footer__bottom a:hover { color: var(--cyan); }

.certs { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }

.cert {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .35rem .7rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-sm);
	font-family: var(--mono);
	font-size: var(--fs-micro);
	letter-spacing: .05em;
	color: var(--text-3);
}
.cert svg { width: 13px; height: 13px; color: var(--teal); }

/* --------------------------------------------------------------------------
   20. Scroll-to-top
   -------------------------------------------------------------------------- */
.to-top {
	position: fixed;
	right: clamp(1rem, .5rem + 1vw, 1.75rem);
	bottom: clamp(1rem, .5rem + 1vw, 1.75rem);
	z-index: 90;
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	border-radius: 50%;
	border: 1px solid var(--line-accent);
	background: rgba(15, 21, 36, .9);
	backdrop-filter: blur(10px);
	color: var(--cyan);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--cyan); color: var(--navy); }
.to-top svg { width: 19px; height: 19px; }

/* --------------------------------------------------------------------------
   21. Scroll reveal
   -------------------------------------------------------------------------- */
[data-reveal] {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
	[data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   22. 404
   -------------------------------------------------------------------------- */
.err {
	display: grid;
	place-items: center;
	min-height: 70vh;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.err__code {
	font-family: var(--mono);
	font-size: clamp(5rem, 3rem + 14vw, 12rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.05em;
	background: linear-gradient(180deg, var(--cyan), transparent 145%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
