/* ============================================================
   Kiran Technologies
   Flat-square, Carbon-inspired. One accent. IBM Plex Sans.
   ============================================================ */

/* ---- Self-hosted type ---- */

@font-face {
	font-family: "IBM Plex Sans";
	font-style: normal;
	font-weight: 300 600;
	font-display: swap;
	src: url("../fonts/ibm-plex-sans-latin.woff2") format("woff2");
}

/* ---- Tokens ---- */

:root {
	--ink: #161616;
	--muted: #525252;
	--ink-subtle: #8c8c8c;
	--line: #d0d0d0;
	--soft: #f4f4f4;
	--blue: #0f62fe;
	--blue-hover: #0050e6;
	--blue-strong: #002d9c;
	--white: #ffffff;
	--canvas: #ffffff;
	--inverse-canvas: #161616;
	--inverse-ink-muted: #c6c6c6;
	--semantic-success: #24a148;
	--semantic-warning: #f1c21b;
	--semantic-error: #da1e28;
	--font: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
	--container: 1344px;
	--gutter: 24px;
	--section: 120px;
}

/* ---- Base ---- */

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: 0.16px;
	color: var(--ink);
	background: var(--canvas);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, p {
	margin-top: 0;
}

h1, h2 {
	font-weight: 300;
	letter-spacing: -1.7px;
}

h1 {
	font-size: clamp(44px, 5.2vw, 76px);
	line-height: 1.08;
	margin-bottom: 28px;
	max-width: 750px;
}

h2 {
	font-size: clamp(35px, 4vw, 56px);
	line-height: 1.13;
	margin-bottom: 0;
}

h3 {
	font-size: 21px;
	font-weight: 400;
}

a {
	color: var(--blue);
}

em {
	font-style: normal;
	color: var(--blue);
}

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

::selection {
	background: var(--blue);
	color: var(--white);
}

:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 2px;
}

/* ---- Buttons & links ---- */

.button {
	display: inline-block;
	border: 0;
	background: none;
	font: inherit;
	font-size: 14px;
	letter-spacing: 0.16px;
	padding: 15px 17px;
	text-decoration: none;
	cursor: pointer;
	border-radius: 0;
}

.button.primary {
	background: var(--blue);
	color: var(--white);
	transition: background-color 120ms ease;
}

.button.primary:hover,
.button.primary:focus-visible {
	background: var(--blue-hover);
}

.button.primary:active {
	background: var(--blue-strong);
}

.button span,
.nav-cta span {
	margin-left: 15px;
	font-size: 18px;
}

.text-link {
	font-size: 14px;
	letter-spacing: 0.16px;
	color: var(--blue);
	text-decoration: none;
}

.text-link span {
	font-size: 19px;
	margin-left: 9px;
}

.text-link:hover,
.text-link:focus-visible {
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* ---- Header ---- */

.site-header {
	height: 72px;
	border-bottom: 1px solid var(--line);
	display: flex;
	align-items: center;
	padding: 0 max(24px, calc((100vw - 1344px) / 2));
	position: sticky;
	top: 0;
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	z-index: 10;
}

.admin-bar .site-header {
	top: 32px;
}

.brand {
	font-size: 18px;
	color: var(--ink);
	text-decoration: none;
	letter-spacing: -0.35px;
	white-space: nowrap;
}

.brand span {
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 24px;
	color: var(--white);
	background: var(--blue);
	font-weight: 600;
	margin-right: 5px;
}

.brand strong {
	font-weight: 600;
}

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

.nav-links {
	display: flex;
	gap: 28px;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-links a {
	font-size: 14px;
	letter-spacing: 0.16px;
	color: var(--ink);
	text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
	color: var(--blue);
}

.nav-links .current-menu-item > a {
	color: var(--blue);
}

.nav-cta {
	background: var(--ink);
	color: var(--white);
	padding: 13px 16px;
	margin-left: 8px;
	text-decoration: none;
	transition: background-color 120ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
	background: var(--blue);
}

.menu-button {
	display: none;
}

/* ---- Layout container ---- */

.section-grid {
	max-width: var(--container);
	margin: auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}

.section {
	padding-top: var(--section);
	padding-bottom: var(--section);
}

.eyebrow {
	font-size: 14px;
	letter-spacing: 0.16px;
	margin: 0 0 24px;
	color: var(--muted);
}

.section-intro h2 {
	max-width: 720px;
}

/* ---- Hero ---- */

.hero {
	min-height: 670px;
	display: grid;
	grid-template-columns: 1.02fr 0.98fr;
	gap: 48px;
	align-items: center;
}

.lead {
	font-size: 19px;
	line-height: 1.5;
	color: var(--muted);
	max-width: 550px;
	margin-bottom: 34px;
}

.actions {
	display: flex;
	gap: 26px;
	align-items: center;
	flex-wrap: wrap;
}

.hero-art {
	height: 450px;
	background: #e8f0ff;
	position: relative;
	overflow: hidden;
}

.art-grid {
	inset: 0;
	position: absolute;
	background:
		linear-gradient(90deg, rgba(203, 218, 248, 0.6) 1px, transparent 1px),
		linear-gradient(rgba(203, 218, 248, 0.6) 1px, transparent 1px);
	background-size: 42px 42px;
}

.art-card {
	position: absolute;
	background: var(--white);
	border: 1px solid #dbe4f7;
	padding: 20px;
	display: grid;
	gap: 7px;
	box-shadow: 0 20px 40px rgba(27, 56, 98, 0.1);
}

.art-card b {
	font-size: 13px;
	font-weight: 400;
}

.art-card strong {
	font-size: 31px;
	font-weight: 300;
}

.art-card small {
	font-size: 12px;
	color: var(--muted);
}

.card-one {
	width: 230px;
	top: 71px;
	left: 72px;
}

.card-one i {
	height: 4px;
	width: 45px;
	background: var(--blue);
}

.card-two {
	right: 38px;
	bottom: 59px;
	width: 218px;
}

.mini-bars {
	height: 90px;
	display: flex;
	gap: 9px;
	align-items: end;
}

.mini-bars i {
	display: block;
	width: 20px;
	background: var(--blue);
}

.mini-bars i:nth-child(1) { height: 35%; }
.mini-bars i:nth-child(2) { height: 54%; }
.mini-bars i:nth-child(3) { height: 47%; }
.mini-bars i:nth-child(4) { height: 78%; }
.mini-bars i:nth-child(5) { height: 100%; }

.art-orbit {
	border: 1px solid rgba(15, 98, 254, 0.4);
	border-radius: 50%;
	height: 330px;
	width: 330px;
	position: absolute;
	right: -100px;
	top: -104px;
}

.art-dot {
	width: 17px;
	height: 17px;
	background: var(--blue);
	position: absolute;
	left: 274px;
	top: 142px;
}

/* ---- Client strip ---- */

.client-strip {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	padding: 25px max(24px, calc((100vw - 1344px) / 2));
	display: flex;
	align-items: center;
	gap: 50px;
}

.client-strip p {
	font-size: 13px;
	color: var(--muted);
	margin: 0;
}

.client-strip div {
	display: flex;
	justify-content: space-between;
	flex: 1;
}

.client-strip span {
	font-weight: 600;
	letter-spacing: 1px;
	color: #767676;
}

/* ---- Services ---- */

.services-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-top: 58px;
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
}

.service-card {
	min-height: 308px;
	padding: 22px;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	display: flex;
	flex-direction: column;
}

.service-card.featured {
	background: var(--soft);
}

.service-card > p:first-child {
	color: var(--muted);
	font-size: 12px;
	letter-spacing: 0.32px;
}

.service-icon {
	font-size: 31px;
	color: var(--blue);
	margin: 11px 0 20px;
}

.service-card h3 {
	font-size: 21px;
	font-weight: 400;
	margin-bottom: 12px;
}

.service-card p {
	font-size: 14px;
	line-height: 1.45;
	color: var(--muted);
}

.service-card a,
.work-card a {
	font-size: 14px;
	letter-spacing: 0.16px;
	color: var(--blue);
	text-decoration: none;
	margin-top: auto;
}

.service-card a span,
.work-card a span {
	font-size: 18px;
	margin-left: 7px;
}

/* ---- Statement band ---- */

.statement {
	padding-top: 100px;
	padding-bottom: 100px;
	background: var(--inverse-canvas);
	color: var(--white);
	display: grid;
	grid-template-columns: 1.3fr 0.7fr;
	gap: 70px;
	max-width: none;
	padding-left: max(24px, calc((100vw - 1344px) / 2));
	padding-right: max(24px, calc((100vw - 1344px) / 2));
}

.statement .eyebrow {
	color: var(--inverse-ink-muted);
}

.statement h2 {
	max-width: 800px;
}

.statement-copy {
	align-self: end;
}

.statement-copy p {
	line-height: 1.6;
	color: var(--inverse-ink-muted);
}

.statement-copy .text-link {
	color: #78a9ff;
}

.statement-copy .text-link:hover,
.statement-copy .text-link:focus-visible {
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* ---- Industries ---- */

.industries {
	background: var(--soft);
	padding: 110px 0;
}

.industry-list {
	margin-top: 60px;
	border-top: 1px solid var(--line);
}

.industry-list a {
	display: grid;
	grid-template-columns: 65px 1fr 1.3fr 30px;
	gap: 20px;
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	text-decoration: none;
	align-items: center;
	transition: background-color 120ms ease;
}

.industry-list a:hover,
.industry-list a:focus-visible {
	background: rgba(15, 98, 254, 0.06);
	outline-offset: -2px;
}

.industry-list span {
	font-size: 12px;
	letter-spacing: 0.32px;
	color: var(--muted);
}

.industry-list b {
	font-size: 20px;
	font-weight: 400;
}

.industry-list i {
	font-style: normal;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.45;
}

.industry-list strong {
	color: var(--blue);
	font-size: 18px;
}

/* ---- Process ---- */

.process ol {
	list-style: none;
	padding: 0;
	margin: 55px 0 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-left: 1px solid var(--line);
	border-top: 1px solid var(--line);
}

.process li {
	padding: 22px;
	min-height: 190px;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.process li span {
	font-size: 12px;
	letter-spacing: 0.32px;
	color: var(--blue);
}

.process h3 {
	font-size: 20px;
	font-weight: 400;
	margin: 38px 0 8px;
}

.process li p {
	font-size: 14px;
	color: var(--muted);
	line-height: 1.45;
}

/* ---- Work ---- */

.work {
	background: var(--soft);
}

.work > .section-grid {
	display: grid;
	grid-template-columns: 0.7fr 1.3fr;
	gap: 70px;
}

.work-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 25px;
}

.work-card {
	display: flex;
	flex-direction: column;
}

.work-card.offset {
	padding-top: 62px;
}

.work-visual {
	height: 250px;
	margin-bottom: 16px;
	position: relative;
	overflow: hidden;
}

.commerce {
	background: #203a89;
	color: var(--white);
	padding: 28px;
}

.commerce span {
	font-size: 38px;
	font-weight: 300;
}

.commerce i {
	position: absolute;
	width: 95px;
	height: 95px;
	border-radius: 50%;
	background: #e8ff65;
}

.commerce i:nth-of-type(1) {
	right: 23px;
	top: 40px;
}

.commerce i:nth-of-type(2) {
	left: 65px;
	bottom: -42px;
	background: #fd834d;
}

.commerce i:nth-of-type(3) {
	right: -22px;
	bottom: -12px;
	background: var(--white);
}

.ledger {
	background: #e5e5e5;
	padding: 28px;
}

.ledger span {
	font-size: 22px;
	letter-spacing: 4px;
}

.ledger div {
	height: 32px;
	background: var(--white);
	margin-top: 14px;
}

.ledger div:nth-of-type(2) {
	width: 80%;
}

.ledger div:nth-of-type(3) {
	width: 57%;
}

.work-card p {
	font-size: 12px;
	letter-spacing: 0.32px;
	color: var(--muted);
	margin-bottom: 7px;
}

.work-card h3 {
	font-size: 22px;
	font-weight: 400;
	margin-bottom: 16px;
}

/* ---- Tech ---- */

.tech {
	padding-top: 100px;
	padding-bottom: 100px;
	display: grid;
	grid-template-columns: 0.7fr 1.3fr;
}

.tech-list {
	display: flex;
	flex-wrap: wrap;
	margin-top: 43px;
}

.tech-list span {
	font-size: 18px;
	padding: 17px 22px;
	border: 1px solid var(--line);
	margin: -1px 0 0 -1px;
}

/* ---- Contact ---- */

.contact {
	background: var(--blue);
	color: var(--white);
	padding: 110px 0;
}

.contact > .section-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 130px;
}

.contact .eyebrow,
.contact p {
	color: #dce8ff;
}

.contact h2 {
	margin-bottom: 30px;
}

.contact h2 em {
	color: var(--white);
}

/* Contact form: native + WPForms */
.contact form,
.contact form.wpforms-form {
	display: grid;
	gap: 20px;
}

.contact label,
.contact .wpforms-field-label {
	font-size: 13px;
	letter-spacing: 0.16px;
	display: grid;
	gap: 8px;
	color: var(--white);
}

.contact input,
.contact textarea,
.contact .wpforms-field input,
.contact .wpforms-field textarea {
	font: inherit;
	font-size: 16px;
	border: 0;
	border-bottom: 2px solid var(--white);
	background: rgba(255, 255, 255, 0.11);
	color: var(--white);
	padding: 12px;
	border-radius: 0;
	width: 100%;
	resize: vertical;
	box-shadow: none;
}

.contact input::placeholder,
.contact textarea::placeholder,
.contact .wpforms-field input::placeholder,
.contact .wpforms-field textarea::placeholder {
	color: #dce8ff;
	opacity: 1;
}

.contact input:focus,
.contact textarea:focus,
.contact .wpforms-field input:focus,
.contact .wpforms-field textarea:focus {
	outline: 2px solid var(--white);
	outline-offset: 2px;
}

.contact .wpforms-field {
	display: grid;
	gap: 8px;
}

.contact .wpforms-submit-container {
	display: flex;
}

.contact .wpforms-submit {
	background: var(--white);
	color: var(--blue);
	width: max-content;
	margin-top: 8px;
	border: 0;
	border-radius: 0;
	font: inherit;
	font-size: 14px;
	letter-spacing: 0.16px;
	padding: 15px 17px;
	cursor: pointer;
	transition: background-color 120ms ease;
}

.contact .wpforms-submit:hover,
.contact .wpforms-submit:focus-visible {
	background: #dce8ff;
}

.contact .wpforms-submit::after {
	content: "↗";
	margin-left: 15px;
	font-size: 18px;
}

.contact .wpforms-error,
.contact .wpforms-error + label,
.contact .wpforms-field-error {
	color: #f1c21b;
}

.contact .wpforms-field input.wpforms-error,
.contact .wpforms-field textarea.wpforms-error {
	border-bottom-color: #f1c21b;
}

.contact .wpforms-required-label {
	color: #f1c21b;
}

.contact .wpforms-confirmation-container-full {
	background: rgba(255, 255, 255, 0.12);
	border: 0;
	border-left: 2px solid var(--white);
	color: var(--white);
	padding: 16px;
}

.contact .wpforms-container .wpforms-honeypot-container {
	position: absolute;
	left: -9999px;
}

.form-message {
	font-size: 14px;
	min-height: 20px;
	margin: 0;
}

/* ---- Footer ---- */

footer {
	background: var(--inverse-canvas);
	color: var(--inverse-ink-muted);
	padding: 48px max(24px, calc((100vw - 1344px) / 2));
	display: grid;
	grid-template-columns: 2fr 2fr 1fr;
	gap: 24px;
}

footer .brand {
	color: var(--white);
}

footer p,
footer small {
	font-size: 13px;
	margin: 0;
}

footer .footer-links {
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

footer .footer-links a {
	font-size: 13px;
	color: var(--white);
	text-decoration: none;
}

footer .footer-links a:hover,
footer .footer-links a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 4px;
}

footer small {
	grid-column: 1 / -1;
	border-top: 1px solid #393939;
	padding-top: 20px;
	margin-top: 20px;
}

/* ---- Subpages ---- */

.page-hero {
	padding: 96px 0 64px;
}

.page-hero h1 {
	max-width: 820px;
}

.page-hero .lead {
	max-width: 640px;
	margin-bottom: 0;
}

.page-body {
	padding-bottom: 120px;
}

.page-body > * {
	max-width: 720px;
}

.page-body h2 {
	font-size: clamp(28px, 3vw, 42px);
	margin: 56px 0 20px;
}

.page-body h3 {
	font-size: 24px;
	font-weight: 400;
	margin: 40px 0 16px;
}

.page-body h4 {
	font-size: 20px;
	font-weight: 600;
	margin: 32px 0 12px;
}

.page-body p {
	font-size: 17px;
	line-height: 1.6;
	color: var(--muted);
	margin-bottom: 1.4em;
}

.page-body ul,
.page-body ol {
	color: var(--muted);
	font-size: 16px;
	line-height: 1.6;
	padding-left: 22px;
	margin-bottom: 1.4em;
}

.page-body li {
	margin-bottom: 0.5em;
}

.page-body a {
	color: var(--blue);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.page-body blockquote {
	margin: 32px 0;
	padding: 0 0 0 24px;
	border-left: 2px solid var(--blue);
	color: var(--muted);
	font-size: 18px;
	line-height: 1.6;
}

.page-body table {
	border-collapse: collapse;
	width: 100%;
	margin-bottom: 1.4em;
}

.page-body th,
.page-body td {
	border: 1px solid var(--line);
	padding: 10px 12px;
	text-align: left;
	font-size: 14px;
}

.page-body th {
	background: var(--soft);
	font-weight: 600;
}

.page-body .wp-block-button__link {
	display: inline-block;
	background: var(--blue);
	color: var(--white);
	padding: 15px 17px;
	font-size: 14px;
	text-decoration: none;
	border-radius: 0;
}

.page-body .wp-block-button__link:hover,
.page-body .wp-block-button__link:focus-visible {
	background: var(--blue-hover);
}

.page-body .alignwide {
	max-width: 100%;
}

/* ---- About ---- */

.about-story {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 70px;
	align-items: start;
}

.about-copy p {
	font-size: 17px;
	line-height: 1.6;
	color: var(--muted);
	margin-bottom: 1.2em;
}

.numbers {
	background: var(--soft);
	padding: 96px 0;
}

.numbers .section-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
}

.stat b {
	display: block;
	font-size: 46px;
	font-weight: 300;
	letter-spacing: -1.2px;
	color: var(--ink);
	margin-bottom: 12px;
}

.stat p {
	font-size: 14px;
	line-height: 1.5;
	color: var(--muted);
	margin: 0;
}

.values-grid {
	margin-top: 58px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
}

.values-grid article {
	padding: 22px;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.values-grid span {
	font-size: 12px;
	letter-spacing: 0.32px;
	color: var(--muted);
}

.values-grid h3 {
	font-size: 21px;
	font-weight: 400;
	margin: 16px 0 12px;
}

.values-grid p {
	font-size: 14px;
	line-height: 1.5;
	color: var(--muted);
	margin: 0;
}

/* ---- Services ---- */

.capability-list {
	margin-top: 58px;
	border-top: 1px solid var(--line);
}

.capability-list article {
	display: grid;
	grid-template-columns: 48px 1fr auto;
	gap: 24px;
	padding: 30px 0;
	border-bottom: 1px solid var(--line);
	align-items: start;
}

.capability-list article > span {
	font-size: 12px;
	letter-spacing: 0.32px;
	color: var(--muted);
	padding-top: 7px;
}

.capability-list h3 {
	font-size: 24px;
	font-weight: 400;
	margin-bottom: 10px;
}

.capability-list p {
	font-size: 15px;
	line-height: 1.5;
	color: var(--muted);
	max-width: 560px;
	margin: 0;
}

.capability-list ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 16px 0 0;
}

.capability-list li {
	font-size: 13px;
	color: var(--ink);
	border: 1px solid var(--line);
	padding: 6px 10px;
}

.capability-list a {
	font-size: 14px;
	letter-spacing: 0.16px;
	color: var(--blue);
	text-decoration: none;
	padding-top: 7px;
	white-space: nowrap;
}

.capability-list a span {
	font-size: 18px;
	margin-left: 7px;
}

/* ---- Split sections (engagement / approach / principles) ---- */

.engagement,
.approach,
.principles {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 70px;
	align-items: start;
}

.engagement > div:first-child p,
.approach > div:first-child p,
.principles > div:first-child p {
	color: var(--muted);
	margin: 18px 0 0;
	max-width: 420px;
}

.engagement-rows,
.approach-rows,
.principles-rows {
	border-top: 1px solid var(--line);
}

.engagement-rows article,
.approach-rows article,
.principles-rows article {
	padding: 24px 0;
	border-bottom: 1px solid var(--line);
}

.engagement-rows b {
	display: block;
	font-size: 20px;
	font-weight: 400;
	margin-bottom: 8px;
}

.engagement-rows p,
.principles-rows p {
	font-size: 14px;
	line-height: 1.5;
	color: var(--muted);
	margin: 0;
}

.approach-rows article {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 16px;
}

.approach-rows span {
	font-size: 12px;
	letter-spacing: 0.32px;
	color: var(--muted);
	padding-top: 6px;
}

.approach-rows h3 {
	font-size: 20px;
	font-weight: 400;
	margin-bottom: 8px;
}

.approach-rows p {
	font-size: 14px;
	line-height: 1.5;
	color: var(--muted);
	margin: 0;
}

/* ---- CTA banner ---- */

.cta-banner {
	background: var(--blue);
	color: var(--white);
	padding: 96px 0;
}

.cta-banner .section-grid {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
}

.cta-banner h2 {
	max-width: 660px;
	color: var(--white);
	margin: 0;
}

.cta-banner p {
	color: #dce8ff;
	margin: 16px 0 0;
}

.cta-banner .button.inverse {
	background: var(--white);
	color: var(--blue);
	flex: none;
}

.cta-banner .button.inverse:hover,
.cta-banner .button.inverse:focus-visible {
	background: var(--soft);
	color: var(--blue-strong);
}

/* ---- Industries ---- */

.industry-rows {
	margin-top: 58px;
	border-top: 1px solid var(--line);
}

.industry-rows article {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 24px;
	padding: 34px 0;
	border-bottom: 1px solid var(--line);
}

.industry-rows article > span {
	font-size: 12px;
	letter-spacing: 0.32px;
	color: var(--muted);
	padding-top: 9px;
}

.industry-rows h3 {
	font-size: 24px;
	font-weight: 400;
	margin-bottom: 10px;
}

.industry-rows p {
	font-size: 15px;
	line-height: 1.5;
	color: var(--muted);
	max-width: 520px;
	margin: 0;
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.tags span {
	font-size: 13px;
	color: var(--ink);
	border: 1px solid var(--line);
	padding: 6px 10px;
}

/* ---- Portfolio ---- */

.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.portfolio-card {
	border: 1px solid var(--line);
	padding: 22px;
	display: flex;
	flex-direction: column;
}

.portfolio-card > p:first-of-type {
	font-size: 12px;
	letter-spacing: 0.32px;
	color: var(--muted);
	margin: 18px 0 8px;
}

.portfolio-card h3 {
	font-size: 24px;
	font-weight: 400;
	margin-bottom: 8px;
}

.portfolio-card .blurb {
	font-size: 14px;
	line-height: 1.5;
	color: var(--muted);
}

.portfolio-card a {
	margin-top: auto;
	padding-top: 18px;
	font-size: 14px;
	letter-spacing: 0.16px;
	color: var(--blue);
	text-decoration: none;
}

.portfolio-card a span {
	font-size: 18px;
	margin-left: 7px;
}

.portfolio-visual {
	height: 210px;
	position: relative;
	overflow: hidden;
	padding: 20px;
	color: var(--white);
}

.portfolio-visual span {
	font-size: 40px;
	font-weight: 300;
	letter-spacing: -1px;
	display: block;
	text-align: right;
	position: relative;
	z-index: 1;
}

.p-com {
	background: #0043ce;
}

.p-com i {
	position: absolute;
	width: 92px;
	height: 92px;
	border-radius: 50%;
}

.p-com i:nth-of-type(1) {
	right: 26px;
	top: 34px;
	background: rgba(255, 255, 255, 0.16);
}

.p-com i:nth-of-type(2) {
	left: 62px;
	bottom: -46px;
	background: #002d9c;
}

.p-com i:nth-of-type(3) {
	right: -26px;
	bottom: -16px;
	background: var(--white);
}

.p-ent {
	background: var(--soft);
	color: var(--ink);
}

.p-ent span {
	letter-spacing: 4px;
	font-size: 24px;
	text-align: left;
}

.p-ent div {
	height: 30px;
	background: var(--white);
	border: 1px solid var(--line);
	margin-top: 14px;
}

.p-ent div:nth-of-type(2) {
	width: 78%;
}

.p-ent div:nth-of-type(3) {
	width: 55%;
}

.p-fn {
	background: var(--blue);
}

.p-fn span {
	position: absolute;
	bottom: 20px;
	left: 20px;
	text-align: left;
	font-size: 54px;
}

.p-fn i {
	position: absolute;
	bottom: 20px;
	width: 34px;
	background: rgba(255, 255, 255, 0.85);
}

.p-fn i:nth-of-type(1) {
	right: 24px;
	height: 52px;
	background: rgba(255, 255, 255, 0.4);
}

.p-fn i:nth-of-type(2) {
	right: 66px;
	height: 84px;
	background: rgba(255, 255, 255, 0.7);
}

.p-fn i:nth-of-type(3) {
	right: 108px;
	height: 118px;
	background: var(--white);
}

.p-saas {
	background: var(--ink);
}

.p-saas span {
	position: absolute;
	top: 20px;
	right: 20px;
}

.p-saas div {
	position: absolute;
	border-radius: 50%;
}

.p-saas div:nth-of-type(1) {
	width: 130px;
	height: 130px;
	left: 24px;
	bottom: -30px;
	background: rgba(255, 255, 255, 0.1);
}

.p-saas div:nth-of-type(2) {
	width: 76px;
	height: 76px;
	right: 60px;
	bottom: 30px;
	background: var(--blue);
}

.p-saas div:nth-of-type(3) {
	width: 34px;
	height: 34px;
	left: 150px;
	top: 40px;
	background: rgba(255, 255, 255, 0.35);
}

.p-ret {
	background: var(--blue-strong);
}

.p-ret span {
	position: absolute;
	top: 20px;
	left: 20px;
}

.p-ret i {
	position: absolute;
	border: 2px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
}

.p-ret i:nth-of-type(1) {
	width: 110px;
	height: 110px;
	right: 26px;
	bottom: -28px;
}

.p-ret i:nth-of-type(2) {
	width: 62px;
	height: 62px;
	right: 86px;
	top: 36px;
	background: var(--white);
	border: 0;
}

.p-ret i:nth-of-type(3) {
	width: 16px;
	height: 16px;
	right: 36px;
	top: 24px;
	background: var(--white);
	border: 0;
}

.p-hea {
	background: var(--white);
	border: 1px solid var(--line);
	color: var(--ink);
}

.p-hea span {
	position: absolute;
	top: 20px;
	left: 20px;
	font-size: 30px;
	letter-spacing: 2px;
}

.p-hea div {
	position: absolute;
	background: var(--soft);
	border: 1px solid var(--line);
}

.p-hea div:nth-of-type(1) {
	width: 120px;
	height: 76px;
	right: 24px;
	top: 24px;
}

.p-hea div:nth-of-type(2) {
	width: 120px;
	height: 76px;
	right: 24px;
	bottom: 24px;
}

.p-hea div:nth-of-type(3) {
	width: 60px;
	height: 76px;
	right: 152px;
	top: 24px;
	background: var(--blue);
	border: 0;
}

.metrics {
	background: var(--soft);
	padding: 96px 0;
}

.metrics .section-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px;
}

.metric b {
	display: block;
	font-size: 48px;
	font-weight: 300;
	letter-spacing: -1.2px;
	color: var(--ink);
	margin-bottom: 12px;
}

.metric p {
	font-size: 14px;
	line-height: 1.5;
	color: var(--muted);
	margin: 0;
	max-width: 260px;
}

/* ---- Technology ---- */

.stack-grid {
	margin-top: 58px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.stack-tile {
	border: 1px solid var(--line);
	padding: 24px;
}

.stack-tile h3 {
	font-size: 20px;
	font-weight: 400;
	margin-bottom: 16px;
}

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

.chips span {
	font-size: 13px;
	color: var(--ink);
	border: 1px solid var(--line);
	padding: 6px 10px;
}

/* ---- Contact page ---- */

.next-list {
	margin-top: 58px;
	border-top: 1px solid var(--line);
	max-width: 900px;
}

.next-list article {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 24px;
	padding: 30px 0;
	border-bottom: 1px solid var(--line);
}

.next-list span {
	font-size: 12px;
	letter-spacing: 0.32px;
	color: var(--muted);
	padding-top: 7px;
}

.next-list h3 {
	font-size: 21px;
	font-weight: 400;
	margin-bottom: 8px;
}

.next-list p {
	font-size: 14px;
	line-height: 1.5;
	color: var(--muted);
	margin: 0;
}

.contact-copy p a {
	color: var(--white);
}

.contact-details {
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	margin-top: 34px;
	padding-top: 10px;
}

.contact-details > div {
	padding: 18px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.contact-details b {
	display: block;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.32px;
	color: #dce8ff;
	margin-bottom: 6px;
}

.contact-details a,
.contact-details p {
	font-size: 16px;
	color: var(--white);
	margin: 0;
	text-decoration: none;
}

.contact-details a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.pagination {
	margin-top: 40px;
}

.pagination .page-numbers {
	display: inline-block;
	padding: 8px 12px;
	border: 1px solid var(--line);
	margin-right: 6px;
	color: var(--ink);
	text-decoration: none;
}

/* ---- Reduced motion ---- */

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

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

/* ---- Responsive: tablet ---- */

@media (max-width: 1024px) {
	.services-grid,
	.process ol {
		grid-template-columns: repeat(2, 1fr);
	}

	.work > .section-grid,
	.statement,
	.tech {
		gap: 48px;
	}

	.numbers .section-grid,
	.values-grid,
	.stack-grid,
	.portfolio-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 960px) {
	.hero {
		grid-template-columns: 1fr;
		padding-top: 64px;
		padding-bottom: 56px;
		gap: 40px;
		min-height: auto;
	}

	.hero-art {
		height: 330px;
	}

	.card-one {
		left: 26px;
		top: 42px;
	}

	.card-two {
		right: 18px;
		bottom: 25px;
	}

	.about-story,
	.engagement,
	.approach,
	.principles {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.cta-banner .section-grid {
		flex-direction: column;
		align-items: flex-start;
		gap: 32px;
	}
}

/* ---- Responsive: mobile ---- */

@media (max-width: 760px) {
	.admin-bar .site-header {
		top: 46px;
	}

	.site-header {
		height: 60px;
	}

	.main-nav {
		display: none;
		position: absolute;
		top: 60px;
		left: 0;
		right: 0;
		background: var(--white);
		border-bottom: 1px solid var(--line);
		padding: 16px 24px;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.main-nav.open {
		display: flex;
	}

	.nav-links {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.nav-links a {
		padding: 14px 0;
		border-bottom: 1px solid var(--line);
		display: block;
	}

	.nav-cta {
		margin: 14px 0 0;
		text-align: center;
		border: 0;
	}

	.menu-button {
		display: block;
		margin-left: auto;
		background: none;
		border: 0;
		font: inherit;
		font-size: 14px;
		color: var(--ink);
		cursor: pointer;
	}

	.menu-button span {
		font-size: 18px;
		margin-left: 8px;
	}

	.client-strip {
		display: block;
	}

	.client-strip div {
		margin-top: 17px;
		gap: 20px;
		overflow: hidden;
	}

	.client-strip span:nth-last-child(-n+2) {
		display: none;
	}

	.section {
		padding-top: 74px;
		padding-bottom: 74px;
	}

	.services-grid,
	.process ol {
		grid-template-columns: 1fr;
	}

	.services-grid {
		margin-top: 36px;
	}

	.service-card {
		min-height: 225px;
	}

	.statement {
		padding-top: 72px;
		padding-bottom: 72px;
		grid-template-columns: 1fr;
		gap: 35px;
	}

	.industries {
		padding: 74px 0;
	}

	.industry-list {
		margin-top: 40px;
	}

	.industry-list a {
		grid-template-columns: 35px 1fr 22px;
		gap: 10px;
	}

	.industry-list i {
		display: none;
	}

	.work > .section-grid,
	.contact > .section-grid {
		grid-template-columns: 1fr;
		gap: 45px;
	}

	.numbers,
	.metrics {
		padding: 74px 0;
	}

	.numbers .section-grid,
	.metrics .section-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.values-grid,
	.stack-grid,
	.portfolio-grid {
		grid-template-columns: 1fr;
	}

	.values-grid {
		margin-top: 36px;
	}

	.capability-list article,
	.industry-rows article {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.capability-list article > span,
	.industry-rows article > span,
	.next-list article {
		padding-top: 0;
	}

	.next-list article {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.cta-banner {
		padding: 74px 0;
	}

	.work-grid {
		gap: 16px;
	}

	.work-card.offset {
		padding-top: 35px;
	}

	.work-visual {
		height: 185px;
	}

	.tech {
		grid-template-columns: 1fr;
		gap: 30px;
		padding-top: 74px;
		padding-bottom: 74px;
	}

	.tech-list {
		margin-top: 28px;
	}

	.tech-list span {
		font-size: 16px;
		padding: 14px 16px;
	}

	.contact {
		padding: 74px 0;
	}

	footer {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	footer small {
		margin-top: 12px;
	}

	h1 {
		letter-spacing: -1.1px;
	}

	.lead {
		font-size: 17px;
	}

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

	.page-body {
		padding-bottom: 74px;
	}
}

/* ============================================================
   Customer portal & support (Kiran Portal plugin)
   Flat-square, Carbon-inspired. One accent. IBM Plex Sans.
   ============================================================ */

/* ---- Portal layout ---- */

.portal-shell {
	display: grid;
	grid-template-columns: 460px 1fr;
	gap: 90px;
	align-items: start;
	padding-bottom: var(--section);
}

.portal-panel {
	border: 1px solid var(--line);
	padding: 26px;
}

.portal-aside {
	background: var(--soft);
	padding: 32px 28px;
}

.portal-aside h2 {
	margin-bottom: 22px;
	max-width: 380px;
}

.portal-aside .engagement-rows {
	margin-top: 8px;
}

/* ---- Google button & divider ---- */

.google-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	border: 1px solid var(--ink);
	background: var(--white);
	color: var(--ink);
	font-size: 14px;
	letter-spacing: 0.16px;
	padding: 13px 17px;
	text-decoration: none;
	transition: background-color 120ms ease;
}

.google-button:hover,
.google-button:focus-visible {
	background: var(--soft);
}

.portal-divider {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 22px 0;
	color: var(--muted);
	font-size: 12px;
	letter-spacing: 0.32px;
}

.portal-divider::before,
.portal-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--line);
}

/* ---- Tabs ---- */

.portal-tabs {
	display: flex;
	border-bottom: 1px solid var(--line);
	margin-bottom: 22px;
}

.portal-tab {
	background: none;
	border: 0;
	border-bottom: 2px solid transparent;
	font: inherit;
	font-size: 14px;
	letter-spacing: 0.16px;
	color: var(--muted);
	padding: 12px 16px;
	margin-bottom: -1px;
	cursor: pointer;
}

.portal-tab.is-active {
	color: var(--blue);
	border-bottom-color: var(--blue);
}

/* ---- Portal forms (white surface) ---- */

.portal-form {
	display: grid;
	gap: 18px;
}

.portal-form label {
	font-size: 13px;
	letter-spacing: 0.16px;
	display: grid;
	gap: 8px;
	color: var(--ink);
}

.portal-form input,
.portal-form textarea {
	font: inherit;
	font-size: 16px;
	border: 0;
	border-bottom: 2px solid var(--line);
	background: var(--soft);
	color: var(--ink);
	padding: 12px;
	border-radius: 0;
	width: 100%;
	resize: vertical;
	box-shadow: none;
}

.portal-form input::placeholder,
.portal-form textarea::placeholder {
	color: var(--ink-subtle);
	opacity: 1;
}

.portal-form input:focus,
.portal-form textarea:focus {
	outline: 2px solid var(--blue);
	outline-offset: 2px;
	border-bottom-color: var(--blue);
}

.portal-foot {
	font-size: 14px;
	color: var(--muted);
	margin: 6px 0 0;
}

.portal-note {
	font-size: 14px;
	color: var(--muted);
}

/* ---- Alerts ---- */

.portal-alert {
	padding: 14px 16px;
	font-size: 14px;
	margin-bottom: 22px;
	border-left: 2px solid var(--line);
	background: var(--soft);
}

.portal-alert.alert-success {
	border-left-color: var(--semantic-success);
}

.portal-alert.alert-error {
	border-left-color: var(--semantic-error);
}

/* ---- Support layout ---- */

.support-grid {
	display: grid;
	grid-template-columns: 1fr 460px;
	gap: 90px;
	align-items: start;
	padding-bottom: var(--section);
}

.support-copy .contact-details {
	margin-top: 24px;
}

.support-form-wrap {
	border: 1px solid var(--line);
	padding: 26px;
}

.support-form-wrap h2 {
	margin-bottom: 8px;
}

/* ---- FAQ ---- */

.faq-list {
	border-top: 1px solid var(--line);
	margin-top: 8px;
}

.faq-item {
	border-bottom: 1px solid var(--line);
}

.faq-item summary {
	font-size: 16px;
	font-weight: 600;
	padding: 16px 34px 16px 0;
	cursor: pointer;
	list-style: none;
	position: relative;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item summary::after {
	content: "+";
	position: absolute;
	right: 4px;
	top: 15px;
	font-size: 22px;
	font-weight: 300;
	color: var(--blue);
}

.faq-item[open] summary::after {
	content: "−";
}

.faq-item summary:hover {
	color: var(--blue);
}

.faq-answer {
	padding: 0 34px 18px 0;
	color: var(--muted);
}

/* ---- Responsive ---- */

@media (max-width: 960px) {
	.portal-shell,
	.support-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

@media (max-width: 760px) {
	.portal-shell,
	.support-grid {
		padding-bottom: 74px;
	}

	.portal-panel,
	.support-form-wrap,
	.portal-aside {
		padding: 22px;
	}
}
