/**
 * Networking Solutions page — scoped styles
 *
 * Loaded by hifocus_networking_assets() on the single networking-solutions
 * solution post only, with hifocus-main as its declared dependency.
 *
 * The page reuses main.css components wholesale — sw-hero, sw-crumbs, sw-band,
 * section-head, sw-faq and cta-panel. This sheet adds only the patterns
 * main.css has no equivalent for:
 *
 *   1. .net-hero__media / .net-hero__grid — hero image hook + graphic overlay
 *   2. .net-hero__meta      — the hero highlight line
 *   3. .net-core            — the three core solutions, one featured
 *   4. .net-venue           — the "where we deploy" cards (light band)
 *   5. .net-brand           — text-first brand cards (dark band)
 *   6. .net-process         — the five-step timeline (plain white section)
 *   7. .net-contact         — the contact grid inside the closing CTA
 *
 * Every rule is scoped under .networking-page, so no other page is affected —
 * including the six other solution posts, which render through
 * single-solution.php and never load this sheet.
 *
 * All colours, radii, spacing and easing come from the existing :root tokens.
 * No new palette, no new fonts, no third-party framework.
 *
 * .net-process and .net-contact intentionally restate the shapes in
 * security-surveillance.css: those rules are scoped under .security-page and
 * cannot be reached from here without editing that sheet, which would put a
 * second page at risk for no gain. .net-process is the light-background
 * variant, so its type colours differ from the .sec-process original.
 */

/* -------------------------------------------------- *
 * 1. Hero — photograph, tint hook and graphic overlay
 *
 * The hero photograph is NOT a background image. It is a real <img> in the
 * right-hand column of .sw-hero__inner, which main.css already lays out as
 * 1fr 1fr and collapses to one column when .sw-hero__visual is absent. The
 * template prints that column only when the attachment resolves, so a deleted
 * image degrades to the original single-column hero rather than a blank half.
 *
 * .net-hero__media stays an empty, transparent layer between .sw-hero__bg and
 * the copy, kept as a hook for a future tint or texture. It previously carried
 * a recipe for a full-bleed url("../images/networking-solutions/hero.jpg")
 * background; that approach was dropped for the two-column treatment and no
 * such file is coming. Do not reinstate it — a full-bleed background behind the
 * copy would fight the photograph now sitting beside it.
 * -------------------------------------------------- */

.networking-page .net-hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

/*
 * 4/3 against a 1200x1097 (1.094:1) source: the crop takes about 18% off the
 * height and nothing off the width, which is the widest this image survives.
 * The subject is a technician's hands terminating cable into a patch panel, so
 * object-position holds the middle of the frame where hands and panel meet
 * rather than defaulting to a centre that can clip the panel.
 */
.networking-page .net-hero__figure {
	position: relative;
	z-index: 1;
	margin: 0;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-lg);
	border: 1px solid rgba(120, 170, 255, 0.18);
	box-shadow: 0 26px 56px rgba(0, 0, 0, 0.42);
}

.networking-page .net-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 45%;
}

/* Faint cyan grid, masked so it never competes with the headline. */
.networking-page .net-hero__grid {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(34, 211, 238, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(34, 211, 238, 0.07) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(80% 70% at 50% 0%, #000 0%, transparent 75%);
	mask-image: radial-gradient(80% 70% at 50% 0%, #000 0%, transparent 75%);
	pointer-events: none;
}

/* -------------------------------------------------- *
 * 2. Hero highlight line
 * -------------------------------------------------- */

.networking-page .net-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 0.6rem 1.4rem;
	margin: var(--space-lg) 0 0;
	padding: 0;
	list-style: none;
	color: rgba(255, 255, 255, 0.6);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.networking-page .net-hero__meta li {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.networking-page .net-hero__meta svg {
	width: 16px;
	height: 16px;
	color: var(--cyan-400);
}

/* -------------------------------------------------- *
 * 3. Three core solutions
 *
 * Two equal cards on the first row, then the featured segmentation card
 * spanning the full width beneath them. Same glass treatment as .sw-module so
 * the page does not fork the design system; the featured variant only adds
 * width, a larger icon, a brighter edge and the capability list.
 * -------------------------------------------------- */

/*
 * Two-column intro row: heading left, photograph right, with the three core
 * cards keeping the full container width beneath.
 *
 * The image sits here rather than inside the Structured Cabling card, which is
 * where it belongs by subject. .net-core-grid is two tracks and Network
 * Segmentation already spans 1 / -1, so widening Structured Cabling to hold an
 * image would strand Switching and Routing alone on a row with a visible gap.
 */
.networking-page .net-core__intro {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: var(--space-lg);
	margin-bottom: var(--space-lg);
}

/* The section-head carries its own bottom margin, which the row supplies. */
.networking-page .net-core__intro .section-head {
	margin-bottom: 0;
}

/* Dark band, so the edge matches .net-core rather than the light-band border. */
.networking-page .net-core__intro-figure {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-lg);
	border: 1px solid rgba(120, 170, 255, 0.18);
	box-shadow: 0 20px 44px rgba(0, 0, 0, 0.38);
}

.networking-page .net-core__intro-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.networking-page .net-core-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--space-md);
}

.networking-page .net-core {
	position: relative;
	isolation: isolate;
	display: flex;
	gap: var(--space-sm);
	padding: var(--space-md);
	border-radius: var(--radius-lg);
	border: 1px solid rgba(120, 170, 255, 0.18);
	background-color: rgba(255, 255, 255, 0.04);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	transition: transform 0.35s var(--ease-out), border-color var(--transition),
		background-color var(--transition);
}

.networking-page .net-core:hover {
	transform: translateY(-6px);
	border-color: rgba(34, 211, 238, 0.45);
	background-color: rgba(255, 255, 255, 0.07);
}

.networking-page .net-core__icon {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: var(--radius-md);
	background-color: rgba(34, 211, 238, 0.1);
	color: var(--cyan-400);
	transition: background-image var(--transition), color var(--transition);
}

.networking-page .net-core__icon svg {
	width: 24px;
	height: 24px;
}

.networking-page .net-core:hover .net-core__icon {
	background-image: var(--gradient-brand);
	color: var(--color-inverse);
}

.networking-page .net-core__title {
	margin: 0;
	color: var(--color-inverse);
	font-size: 1.05rem;
	font-weight: 700;
}

.networking-page .net-core__desc {
	margin: 0.4rem 0 0;
	color: rgba(255, 255, 255, 0.62);
	font-size: var(--fs-sm);
	line-height: 1.7;
}

/* ---------- Featured: network segmentation ---------- */

.networking-page .net-core--featured {
	grid-column: 1 / -1;
	padding: clamp(1.5rem, 3.5vw, 2.25rem);
	border-color: rgba(34, 211, 238, 0.35);
	background:
		radial-gradient(90% 140% at 0% 0%, rgba(34, 211, 238, 0.12) 0%, transparent 60%),
		rgba(255, 255, 255, 0.05);
}

.networking-page .net-core--featured .net-core__icon {
	width: 60px;
	height: 60px;
	background-image: var(--gradient-brand);
	color: var(--color-inverse);
	box-shadow: 0 10px 28px rgba(22, 102, 232, 0.38);
}

.networking-page .net-core--featured .net-core__icon svg {
	width: 30px;
	height: 30px;
}

.networking-page .net-core--featured .net-core__title {
	font-size: clamp(1.15rem, 2.2vw, 1.5rem);
}

.networking-page .net-core--featured .net-core__desc {
	max-width: 68ch;
	font-size: var(--fs-base);
}

.networking-page .net-core__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.6rem 1.5rem;
	margin: var(--space-md) 0 0;
	padding: 0;
	list-style: none;
}

.networking-page .net-core__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	color: rgba(255, 255, 255, 0.78);
	font-size: var(--fs-sm);
	font-weight: 600;
	line-height: 1.5;
}

.networking-page .net-core__check {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	margin-top: 0.1rem;
	color: var(--cyan-400);
}

.networking-page .net-core__check svg {
	width: 18px;
	height: 18px;
}

/* -------------------------------------------------- *
 * 4. Where we deploy — light band cards
 * -------------------------------------------------- */

/*
 * Four venues now fill a single row of four exactly. This was seven, where no
 * column count filled every row - hence flex with justify-content: center,
 * which centred whatever the last row happened to hold instead of leaving it
 * hanging on the left.
 *
 * The flex layout is kept rather than swapped for a grid: it still produces
 * the clean four-across row, the responsive rules below already step the
 * flex-basis down, and it degrades correctly if a fifth venue is ever added.
 *
 * The flex-basis calc reproduces the track width a grid would give, and
 * matches the pattern .pj-cat and .pj-ind already use in projects.css.
 */
.networking-page .net-venue-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--space-md);
}

.networking-page .net-venue-grid > * {
	flex: 0 1 calc((100% - 3 * var(--space-md)) / 4);
}

.networking-page .net-venue {
	display: flex;
	flex-direction: column;
	padding: var(--space-md);
	border-radius: var(--radius-lg);
	border: 1px solid var(--color-border);
	background-color: var(--color-bg);
	box-shadow: var(--shadow-sm);
	transition: transform 0.35s var(--ease-out), border-color var(--transition),
		box-shadow 0.35s var(--ease-out);
}

.networking-page .net-venue:hover {
	transform: translateY(-6px);
	border-color: rgba(22, 102, 232, 0.35);
	box-shadow: var(--shadow-md);
}

.networking-page .net-venue__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: var(--space-sm);
	border-radius: var(--radius-md);
	background-color: rgba(22, 102, 232, 0.09);
	color: var(--color-primary);
	transition: background-image var(--transition), color var(--transition);
}

.networking-page .net-venue__icon svg {
	width: 23px;
	height: 23px;
}

.networking-page .net-venue:hover .net-venue__icon {
	background-image: var(--gradient-brand);
	color: var(--color-inverse);
}

.networking-page .net-venue__title {
	margin: 0;
	color: var(--color-text);
	font-size: 1rem;
	font-weight: 700;
}

.networking-page .net-venue__desc {
	margin: 0.4rem 0 0;
	color: var(--color-muted);
	font-size: var(--fs-sm);
	line-height: 1.65;
}

/* -------------------------------------------------- *
 * 5. Brands — text-first cards on the dark band
 *
 * A logo renders only when the brand taxonomy holds a real attachment for
 * that term. Otherwise .net-brand--text styles the name itself, so the row
 * stays even whether or not any logo exists.
 * -------------------------------------------------- */

.networking-page .net-brand-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--space-sm);
}

.networking-page .net-brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 132px;
	padding: var(--space-md);
	border-radius: var(--radius-lg);
	border: 1px solid rgba(120, 170, 255, 0.18);
	background-color: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	text-align: center;
	transition: transform 0.35s var(--ease-out), border-color var(--transition),
		background-color var(--transition);
}

.networking-page a.net-brand:hover,
.networking-page a.net-brand:focus-visible {
	transform: translateY(-6px);
	border-color: rgba(34, 211, 238, 0.5);
	background-color: rgba(255, 255, 255, 0.08);
}

.networking-page .net-brand__logo {
	max-width: 120px;
	max-height: 44px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.networking-page .net-brand__name {
	color: var(--color-inverse);
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.networking-page .net-brand__note {
	color: rgba(255, 255, 255, 0.55);
	font-size: var(--fs-sm);
	line-height: 1.5;
}

/* -------------------------------------------------- *
 * 6. Process — five-step timeline on a plain white section
 *
 * The light-background sibling of .sec-process: same geometry, but the type
 * colours come from --color-text / --color-muted rather than white.
 * -------------------------------------------------- */

.networking-page .net-process {
	--pgap: clamp(1rem, 2.5vw, 1.75rem);
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: var(--pgap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.networking-page .net-process__step {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 0.5rem;
	text-align: center;
}

/*
 * Connector: a gradient hairline from this step's badge centre to the next.
 * The badge is 52px, so its centre sits 0.5rem + 26px below the step top. The
 * line bridges the column width plus the grid gap to reach the next badge, and
 * the last step drops it.
 */
.networking-page .net-process__step::before {
	content: "";
	position: absolute;
	top: calc(0.5rem + 26px);
	left: 50%;
	z-index: 0;
	width: calc(100% + var(--pgap));
	height: 2px;
	background: linear-gradient(90deg, rgba(22, 102, 232, 0.45), rgba(22, 102, 232, 0.12));
}

.networking-page .net-process__step:last-child::before {
	display: none;
}

.networking-page .net-process__num {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 999px;
	background-image: var(--gradient-brand);
	color: var(--color-inverse);
	font-size: 1rem;
	font-weight: 800;
	box-shadow: 0 8px 24px rgba(22, 102, 232, 0.32);
}

.networking-page .net-process__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-top: 1rem;
	border-radius: 14px;
	background-color: rgba(22, 102, 232, 0.09);
	color: var(--color-primary);
}

.networking-page .net-process__icon svg {
	width: 22px;
	height: 22px;
}

.networking-page .net-process__title {
	margin: 0.9rem 0 0;
	color: var(--color-text);
	font-size: 1.02rem;
	font-weight: 700;
}

.networking-page .net-process__desc {
	max-width: 24ch;
	margin: 0.4rem 0 0;
	color: var(--color-muted);
	font-size: var(--fs-sm);
	line-height: 1.6;
}

/* -------------------------------------------------- *
 * 7. Contact grid inside the closing CTA
 * -------------------------------------------------- */

.networking-page .net-contact {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--space-sm);
	margin-top: var(--space-lg);
	text-align: left;
}

.networking-page .net-contact__card {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: var(--space-md);
	border-radius: var(--radius-lg);
	border: 1px solid rgba(120, 170, 255, 0.18);
	background-color: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: transform 0.35s var(--ease-out), border-color var(--transition),
		background-color var(--transition);
}

.networking-page .net-contact__card:hover {
	transform: translateY(-6px);
	border-color: rgba(34, 211, 238, 0.5);
	background-color: rgba(255, 255, 255, 0.08);
}

.networking-page .net-contact__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-bottom: 0.35rem;
	border-radius: 12px;
	background-color: rgba(34, 211, 238, 0.12);
	color: var(--cyan-400);
}

.networking-page .net-contact__icon svg {
	width: 20px;
	height: 20px;
}

.networking-page .net-contact__label {
	margin: 0;
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.networking-page .net-contact__value {
	margin: 0;
	color: var(--color-inverse);
	font-size: 0.98rem;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.networking-page .net-contact__value a {
	color: var(--color-inverse);
}

.networking-page .net-contact__value a:hover,
.networking-page .net-contact__value a:focus-visible {
	color: var(--cyan-300);
}

/* -------------------------------------------------- *
 * 8. Cross-link panel — "Looking for WiFi?"
 *
 * The route across to single-solution-wifi-solutions.php. Mirrored there as
 * .wifi-crosslink pointing back here; the two are the same shape so the pair
 * reads as one deliberate relationship rather than two ad-hoc banners.
 *
 * A row of icon / copy / button that becomes a centred stack on mobile.
 * -------------------------------------------------- */

.networking-page .net-crosslink__panel {
	display: flex;
	align-items: center;
	gap: var(--space-md);
	padding: var(--space-md) clamp(1.25rem, 3vw, 2rem);
	border-radius: var(--radius-lg);
	border: 1px solid rgba(22, 102, 232, 0.22);
	background:
		radial-gradient(70% 160% at 0% 50%, rgba(34, 211, 238, 0.10) 0%, transparent 62%),
		var(--color-bg);
	box-shadow: var(--shadow-sm);
}

.networking-page .net-crosslink__icon {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: var(--radius-md);
	background-image: var(--gradient-brand);
	color: var(--color-inverse);
	box-shadow: 0 10px 26px rgba(22, 102, 232, 0.32);
}

.networking-page .net-crosslink__icon svg {
	width: 27px;
	height: 27px;
}

.networking-page .net-crosslink__body {
	flex: 1 1 auto;
	min-width: 0;
}

.networking-page .net-crosslink__title {
	margin: 0;
	color: var(--color-text);
	font-size: clamp(1.1rem, 2.2vw, 1.35rem);
	font-weight: 800;
	letter-spacing: -0.015em;
}

.networking-page .net-crosslink__lead {
	max-width: 68ch;
	margin: 0.35rem 0 0;
	color: var(--color-muted);
	font-size: var(--fs-sm);
	line-height: 1.7;
}

.networking-page .net-crosslink__btn {
	flex-shrink: 0;
}

@media (max-width: 760px) {
	.networking-page .net-crosslink__panel {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.networking-page .net-crosslink__lead {
		margin-inline: auto;
	}
}

/* -------------------------------------------------- *
 * Motion + responsive
 * -------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.networking-page .net-core:hover,
	.networking-page .net-venue:hover,
	.networking-page a.net-brand:hover,
	.networking-page .net-contact__card:hover {
		transform: none;
	}
}

/* Laptop: brands and the contact grid halve. */
@media (max-width: 1024px) {
	.networking-page .net-brand-grid,
	.networking-page .net-contact {
		grid-template-columns: repeat(2, 1fr);
	}

	.networking-page .net-venue-grid > * {
		flex-basis: calc((100% - 2 * var(--space-md)) / 3);
	}
}

/* Tablet: core cards stack and the process timeline goes vertical. */
@media (max-width: 900px) {
	.networking-page .net-core-grid {
		grid-template-columns: 1fr;
	}

	/*
	 * Intro row stacks: heading over photograph. The heading gets its own
	 * bottom margin back, since the row's column gap no longer separates them
	 * horizontally.
	 */
	.networking-page .net-core__intro {
		grid-template-columns: 1fr;
		gap: var(--space-md);
	}

	.networking-page .net-core__intro .section-head {
		margin-bottom: 0;
	}

	.networking-page .net-venue-grid > * {
		flex-basis: calc((100% - var(--space-md)) / 2);
	}

	.networking-page .net-core__list {
		grid-template-columns: 1fr;
	}

	.networking-page .net-process {
		grid-template-columns: 1fr;
		max-width: 30rem;
		margin-inline: auto;
		gap: var(--space-md);
	}

	/* Vertical stack: the horizontal connector no longer applies. */
	.networking-page .net-process__step::before {
		display: none;
	}

	.networking-page .net-process__desc {
		max-width: 40ch;
	}
}

/* Mobile: single column throughout. */
@media (max-width: 620px) {
	.networking-page .net-brand-grid,
	.networking-page .net-contact {
		grid-template-columns: 1fr;
	}

	.networking-page .net-venue-grid > * {
		flex-basis: 100%;
	}

	.networking-page .net-core {
		flex-direction: column;
	}
}
