/* ================================================================
   IWT homepage (index.htm) - v2, Nov 2026
   Loaded by index.htm only. Everything is scoped under .iwt-home so
   nothing here can reach the inner pages. Colours come from the
   site's own tokens in custom.css (--iwt-blue, --iwt-navy, ...).
   ================================================================ */

.iwt-home {
	--h-ink: #10212f;
	--h-body: #5b6672;
	--h-line: #e4e8ec;
	--h-soft: #f3f6f8;
	--h-radius: 14px;
	--h-accent: 'Space Grotesk', 'Inter', sans-serif;
	/* Canvas names Playfair as its secondary font; keep it off this page */
	--cnvs-secondary-font: var(--h-accent);
}

/* ---------- shared bits ---------- */
.iwt-home .h-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--iwt-bright);
	margin-bottom: 1rem;
}
.iwt-home .h-eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	background: currentColor;
}
.iwt-home .h-title {
	font-size: clamp(2rem, 3.4vw, 2.9rem);
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--h-ink);
	margin-bottom: 1.25rem;
}
.iwt-home .h-title em,
.iwt-home .h-hero-title em {
	font-family: var(--h-accent);
	font-style: normal;
	font-weight: 600;
	letter-spacing: -.015em;
	color: var(--iwt-bright);
}
.iwt-home .h-lead { font-size: 1.0625rem; line-height: 1.7; color: var(--h-body); }
.iwt-home .h-section { padding: 6.5rem 0; }
.iwt-home .h-section-soft { background: var(--h-soft); }

.iwt-home .h-btn {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	padding: .95rem 1.6rem;
	border-radius: 999px;
	background: var(--iwt-bright);
	color: #fff;
	font-weight: 600;
	font-size: .9375rem;
	text-decoration: none;
	transition: background .25s, transform .25s;
}
.iwt-home .h-btn:hover { background: var(--iwt-blue); color: #fff; transform: translateY(-2px); }
.iwt-home .h-btn i { transition: transform .25s; }
.iwt-home .h-btn:hover i { transform: translateX(3px); }
.iwt-home .h-btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.iwt-home .h-btn-ghost:hover { background: #fff; color: var(--h-ink); }
.iwt-home .h-link {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-weight: 600;
	color: var(--iwt-blue);
	text-decoration: none;
}
.iwt-home .h-link i { transition: transform .25s; }
.iwt-home .h-link:hover i { transform: translateX(4px); }

/* ---------- 1. hero ---------- */
.iwt-home #slider .swiper-slide-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(6, 22, 36, .88) 0%, rgba(6, 22, 36, .6) 45%, rgba(6, 22, 36, .1) 100%);
}
.iwt-home #slider .slider-caption {
	max-width: 46rem;
	text-align: left;
	margin: 0;
	padding-bottom: 5rem;      /* room for the credentials strip that overlaps the bottom */
}
.iwt-home #slider .slider-caption .h-eyebrow { color: #7cc4ff; }
.iwt-home .h-hero-title {
	font-size: clamp(2.4rem, 5vw, 4.1rem);
	line-height: 1.04;
	font-weight: 700;
	letter-spacing: -.025em;
	color: #fff;
	text-shadow: none;
	margin-bottom: 1.5rem;
}
.iwt-home .h-hero-title em { color: #7cc4ff; }
.iwt-home #slider .slider-caption p {
	font-size: 1.125rem;
	line-height: 1.65;
	max-width: 36rem;
	margin: 0 0 2rem;
	color: rgba(255,255,255,.85);
	text-shadow: none;
}
.iwt-home #slider .h-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }
.iwt-home #slider .slider-arrow-left,
.iwt-home #slider .slider-arrow-right { display: none; }
.iwt-home #slider .slide-number { bottom: 8.5rem; }

/* credentials strip overlapping the hero */
.iwt-home .h-creds { position: relative; z-index: 3; margin-top: -4.5rem; }
.iwt-home .h-creds-inner {
	background: #fff;
	border-radius: var(--h-radius);
	box-shadow: 0 24px 60px -20px rgba(16, 33, 47, .35);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}
.iwt-home .h-cred {
	padding: 1.75rem 1.75rem 1.6rem;
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}
.iwt-home .h-cred + .h-cred { border-left: 1px solid var(--h-line); }
.iwt-home .h-cred i {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: rgba(0, 121, 192, .1);
	color: var(--iwt-bright);
	font-size: 1.25rem;
}
.iwt-home .h-cred strong { display: block; color: var(--h-ink); font-size: 1rem; line-height: 1.3; }
.iwt-home .h-cred span { display: block; color: var(--h-body); font-size: .875rem; line-height: 1.45; margin-top: .2rem; }

/* ---------- 2. local expertise ---------- */
.iwt-home .h-media { position: relative; }
.iwt-home .h-media img { width: 100%; border-radius: var(--h-radius); display: block; }
.iwt-home .h-media::before {        /* offset frame behind the photo */
	content: "";
	position: absolute;
	inset: 1.75rem -1.75rem -1.75rem 1.75rem;
	border: 2px solid rgba(0, 121, 192, .25);
	border-radius: var(--h-radius);
	z-index: -1;
}
.iwt-home .h-badge {
	position: absolute;
	left: -1.5rem;
	bottom: 2rem;
	background: var(--iwt-navy);
	color: #fff;
	border-radius: 12px;
	padding: 1rem 1.25rem;
	display: flex;
	align-items: center;
	gap: .85rem;
	box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .45);
}
.iwt-home .h-badge img { width: 84px; border-radius: 0; }
.iwt-home .h-badge small { display: block; color: rgba(255,255,255,.7); font-size: .75rem; }
.iwt-home .h-badge strong { font-size: .9375rem; }
.iwt-home .h-steps { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 2rem; padding: 0; list-style: none; }
.iwt-home .h-steps li {
	padding: .45rem 1rem;
	border-radius: 999px;
	background: var(--h-soft);
	color: var(--h-ink);
	font-weight: 600;
	font-size: .875rem;
}
.iwt-home .h-steps li span { color: var(--iwt-bright); margin-right: .35rem; }

/* ---------- 3. solutions: tall photo cards ---------- */
.iwt-home .h-sol {
	position: relative;
	display: block;
	height: 100%;
	min-height: 460px;
	border-radius: var(--h-radius);
	overflow: hidden;
	color: #fff;
	text-decoration: none;
	isolation: isolate;
}
.iwt-home .h-sol img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
	transition: transform .6s ease;
}
.iwt-home .h-sol::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(6,22,36,0) 25%, rgba(6,22,36,.92) 100%);
	transition: background .4s;
}
.iwt-home .h-sol:hover img { transform: scale(1.06); }
.iwt-home .h-sol:hover::after { background: linear-gradient(180deg, rgba(0,58,98,.25) 0%, rgba(0,58,98,.95) 100%); }
.iwt-home .h-sol-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem; }
.iwt-home .h-sol-num { font-family: var(--h-accent); font-weight: 600; font-size: .9375rem; letter-spacing: .08em; color: #7cc4ff; }
.iwt-home .h-sol h3 { color: #fff; font-size: 1.4rem; font-weight: 700; margin: .35rem 0 .6rem; }
.iwt-home .h-sol p { color: rgba(255,255,255,.82); font-size: .9375rem; line-height: 1.6; margin: 0 0 1.1rem; }
.iwt-home .h-sol-more { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .9rem; }
.iwt-home .h-sol-more i {
	width: 34px; height: 34px; border-radius: 50%;
	display: grid; place-items: center;
	background: rgba(255,255,255,.15);
	transition: background .3s, transform .3s;
}
.iwt-home .h-sol:hover .h-sol-more i { background: var(--iwt-bright); transform: rotate(-45deg); }

/* ---------- 4. services: sticky intro + numbered tiles ---------- */
.iwt-home .h-sticky { position: sticky; top: 120px; }
.iwt-home .h-svc {
	display: block;
	height: 100%;
	padding: 2rem 1.75rem;
	background: #fff;
	border: 1px solid var(--h-line);
	border-radius: var(--h-radius);
	text-decoration: none;
	transition: transform .3s, box-shadow .3s, border-color .3s;
	position: relative;
}
.iwt-home .h-svc:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -22px rgba(16,33,47,.35); border-color: transparent; }
.iwt-home .h-svc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; }
.iwt-home .h-svc-icon {
	width: 58px; height: 58px; border-radius: 14px;
	display: grid; place-items: center;
	background: var(--iwt-blue);
	transition: background .3s;
}
.iwt-home .h-svc:hover .h-svc-icon { background: var(--iwt-bright); }
.iwt-home .h-svc-icon img { width: 34px; height: 34px; }
.iwt-home .h-svc-num { font-family: var(--h-accent); font-weight: 600; color: #a9b4be; font-size: .9375rem; letter-spacing: .08em; }
.iwt-home .h-svc h3 { font-size: 1.125rem; font-weight: 700; color: var(--h-ink); margin: 0 0 .5rem; }
.iwt-home .h-svc p { color: var(--h-body); font-size: .9375rem; line-height: 1.6; margin: 0; }
.iwt-home .h-svc .uil-arrow-right {
	position: absolute; right: 1.5rem; bottom: 1.5rem;
	color: var(--iwt-bright); font-size: 1.25rem;
	opacity: 0; transform: translateX(-6px); transition: .3s;
}
.iwt-home .h-svc:hover .uil-arrow-right { opacity: 1; transform: none; }

/* ---------- 5. ecosystem: filter pills + cards ---------- */
.iwt-home .h-eco-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
.iwt-home .grid-filter-wrap { margin: 0; }
.iwt-home .grid-filter {
	border: 0 !important;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0;
}
.iwt-home .grid-filter li { border: 0 !important; margin: 0; }
.iwt-home .grid-filter li a {
	border-radius: 999px !important;
	padding: .55rem 1.1rem !important;
	background: #fff;
	color: var(--h-ink) !important;
	font-size: .875rem;
	font-weight: 600;
	border: 1px solid var(--h-line) !important;
	line-height: 1.2;
}
.iwt-home .grid-filter li.activeFilter a,
.iwt-home .grid-filter li a:hover { background: var(--iwt-navy) !important; border-color: var(--iwt-navy) !important; color: #fff !important; }
.iwt-home .h-eco .portfolio-item { padding: .6rem; }
.iwt-home .h-eco .grid-inner {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	height: 100%;
	transition: box-shadow .3s, transform .3s;
}
.iwt-home .h-eco .grid-inner:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(16,33,47,.4); }
.iwt-home .h-eco .portfolio-image { background: #fff; padding: 1.25rem 1.25rem .5rem; }
.iwt-home .h-eco .portfolio-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.iwt-home .h-eco .portfolio-desc { padding: .75rem 1.25rem 1.4rem; }
.iwt-home .h-eco .portfolio-desc span {
	display: block;
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--iwt-bright);
	margin-bottom: .35rem;
}
.iwt-home .h-eco .portfolio-desc h3 { font-size: 1rem; font-weight: 700; line-height: 1.35; margin: 0; }
.iwt-home .h-eco .portfolio-desc h3 a { color: var(--h-ink); }
.iwt-home .h-eco .portfolio-desc h3 a:hover { color: var(--iwt-bright); }

/* ---------- 6. industries: photo tiles ---------- */
.iwt-home .h-ind {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	border-radius: var(--h-radius);
	overflow: hidden;
	isolation: isolate;
	text-decoration: none;
}
.iwt-home .h-ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.iwt-home .h-ind::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,22,36,0) 50%, rgba(6,22,36,.85) 100%); }
.iwt-home .h-ind:hover img { transform: scale(1.06); }
.iwt-home .h-ind span {
	position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.1rem;
	display: flex; justify-content: space-between; align-items: center;
	color: #fff; font-weight: 700; font-size: 1.0625rem;
}
.iwt-home .h-ind span i {
	width: 32px; height: 32px; border-radius: 50%;
	display: grid; place-items: center;
	background: rgba(255,255,255,.18);
	transition: background .3s, transform .3s;
}
.iwt-home .h-ind:hover span i { background: var(--iwt-bright); transform: rotate(-45deg); }

/* ---------- 7. closing CTA + contact ---------- */
.iwt-home .h-cta {
	position: relative;
	overflow: hidden;
	background: var(--iwt-navy);
	color: #fff;
	padding: 6rem 0;
	isolation: isolate;
}
.iwt-home .h-cta::before {            /* soft radio-wave rings */
	content: "";
	position: absolute;
	right: -14rem;
	top: 50%;
	width: 52rem;
	height: 52rem;
	transform: translateY(-50%);
	border-radius: 50%;
	background: repeating-radial-gradient(circle, rgba(124,196,255,.10) 0 2px, transparent 2px 64px);
	z-index: -1;
}
.iwt-home .h-cta .h-title { color: #fff; }
.iwt-home .h-cta .h-title em { color: #7cc4ff; }
.iwt-home .h-cta .h-eyebrow { color: #7cc4ff; }
.iwt-home .h-cta p { color: rgba(255,255,255,.78); font-size: 1.0625rem; line-height: 1.7; }
.iwt-home .h-contact {
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.14);
	border-radius: var(--h-radius);
	padding: 2rem;
	backdrop-filter: blur(4px);
}
.iwt-home .h-contact h4 { color: #fff; font-size: 1.0625rem; margin-bottom: 1.1rem; }
.iwt-home .h-contact ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.iwt-home .h-contact li { display: flex; gap: .85rem; color: rgba(255,255,255,.85); margin-bottom: .85rem; line-height: 1.5; }
.iwt-home .h-contact li i { color: #7cc4ff; font-size: 1.2rem; line-height: 1.3; }
.iwt-home .h-contact a { color: #fff; }
.iwt-home .h-contact .h-quick { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.25rem; }
.iwt-home .h-contact .h-quick a { color: #7cc4ff; font-weight: 600; font-size: .9375rem; text-decoration: none; }
.iwt-home .h-contact .h-quick a:hover { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
	.iwt-home .h-section { padding: 4.5rem 0; }
	.iwt-home .h-creds-inner { grid-template-columns: repeat(2, 1fr); }
	.iwt-home .h-cred:nth-child(3) { border-left: 0; }
	.iwt-home .h-cred:nth-child(n+3) { border-top: 1px solid var(--h-line); }
	.iwt-home .h-sticky { position: static; }
	.iwt-home .h-sol { min-height: 400px; }
	.iwt-home .h-media::before { display: none; }
	.iwt-home .h-badge { left: 1rem; bottom: 1rem; }
}
@media (max-width: 575.98px) {
	.iwt-home #slider .slider-caption { padding-bottom: 6rem; }
	.iwt-home .h-creds { margin-top: -3.5rem; }
	.iwt-home .h-creds-inner { grid-template-columns: 1fr; }
	.iwt-home .h-cred + .h-cred { border-left: 0; border-top: 1px solid var(--h-line); }
	.iwt-home .h-cred { padding: 1.25rem 1.4rem; }
	.iwt-home .h-cta { padding: 4.5rem 0; }
}

/* ---------- fixes after first preview ---------- */
/* Canvas stacks #slider above the content; lift the content so the
   credentials strip can overlap the hero instead of hiding under it */
.iwt-home #content { position: relative; z-index: 5; overflow: visible; }
.iwt-home #content .content-wrap { overflow: visible; }
.iwt-home .h-cred { text-align: left; }

/* stronger scrim so the card copy never sits on a busy photo */
.iwt-home .h-sol::after { background: linear-gradient(180deg, rgba(6,22,36,.05) 0%, rgba(6,22,36,.55) 40%, rgba(6,22,36,.95) 100%); }

/* services intro sits in a narrower column */
.iwt-home #h-services .h-title { font-size: clamp(1.9rem, 2.6vw, 2.4rem); }
/* custom.css gives every grid column a 32px bottom margin; the homepage
   grids space themselves with Bootstrap gutters instead */
.iwt-home .h-section .row > *,
.iwt-home .h-cta .row > * { margin-bottom: 0; }
/* phones: credentials as a compact 2 x 2 grid, icon above text */
@media (max-width: 575.98px) {
	.iwt-home .h-creds-inner { grid-template-columns: 1fr 1fr; }
	.iwt-home .h-cred { flex-direction: column; gap: .6rem; padding: 1.1rem 1rem; }
	.iwt-home .h-cred + .h-cred { border-top: 0; }
	.iwt-home .h-cred:nth-child(even) { border-left: 1px solid var(--h-line); }
	.iwt-home .h-cred:nth-child(n+3) { border-top: 1px solid var(--h-line); }
	.iwt-home .h-cred i { width: 38px; height: 38px; font-size: 1.1rem; }
	.iwt-home .h-cred strong { font-size: .9375rem; }
	.iwt-home .h-cred span { font-size: .8125rem; }
}
/* phones: the hero is 75vh, and Safari's toolbars make that short (~475px on a
   375 x 812 iPhone), so slide 1 overflowed - headline under the menu bar,
   button into the credentials strip. Smaller type plus a height floor that
   always fits the longest slide. */
@media (max-width: 575.98px) {
	.iwt-home #slider { min-height: max(620px, 75vh) !important; }
	.iwt-home .h-hero-title { font-size: 2.05rem; line-height: 1.08; margin-bottom: 1rem; }
	.iwt-home #slider .slider-caption p { font-size: 1rem; line-height: 1.55; margin-bottom: 1.5rem; }
	.iwt-home #slider .slider-caption .h-eyebrow { margin-bottom: .75rem; }
	.iwt-home #slider .slider-caption { padding-bottom: 4.5rem; }
	.iwt-home #slider .slide-number { display: none; }
}

