/*
Theme Name: Shank Theme
Theme URI: https://shankmarketing.com
Author: Shank Marketing
Description: Custom block theme for Shank Marketing.
Version: 1.2.8
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shank-theme
*/

/* ------------------------------------------------------------------
   Button: Arrow style
   Adds a long-tail SVG arrow after the button label, matching the
   Shank mockup. Apply via the "Arrow" block style on any Button.
------------------------------------------------------------------ */

.is-style-arrow .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 0.75em;
}

.is-style-arrow .wp-block-button__link::after {
	content: "";
	display: inline-block;
	width: 1.5em;
	height: 1em;
	background-color: currentColor;
	-webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 16" fill="none"><path d="M1 8h21M15 1.5 22 8l-7 6.5" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
	mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 16" fill="none"><path d="M1 8h21M15 1.5 22 8l-7 6.5" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center / contain;
	transition: transform 0.2s ease;
}

.is-style-arrow .wp-block-button__link:hover::after {
	transform: translateX(4px);
}

/* ------------------------------------------------------------------
   SVG logo fix
   SVGs without stored dimensions can render at 0 size; force the
   Site Logo image to fill its container width.
------------------------------------------------------------------ */

.wp-block-site-logo img {
	width: 100%;
	height: auto;
}

.wp-block-site-logo a {
	display: block;
}

/* ------------------------------------------------------------------
   Split statement (headline | paragraph divider)
------------------------------------------------------------------ */

.shank-split-statement .wp-block-column:last-child {
	border-left: 1px solid rgba(77, 168, 232, 0.35);
	padding-left: 2.5rem;
}

@media (max-width: 781px) {
	.shank-split-statement .wp-block-column:last-child {
		border-left: none;
		padding-left: 0;
	}
}

/* ------------------------------------------------------------------
   Services section watermark
   Apply the class "shank-services-section" to the section's outer
   full-width Group.
------------------------------------------------------------------ */

.shank-services-section {
	position: relative;
	overflow: hidden;
}

.shank-services-section::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 700px;
	height: 700px;
	opacity: 0.05;
	pointer-events: none;
}

.shank-services-section > * {
	position: relative;
}

/* ------------------------------------------------------------------
   Services grid — inner hairline dividers only (no outer box)
------------------------------------------------------------------ */

.shank-services-grid .shank-service {
	padding: 2.5rem 2rem;
	gap: 1.5rem;
}

/* vertical dividers: every item except the last in each row of 3 */
.shank-services-grid .shank-service:not(:nth-child(3n)) {
	border-right: 1px solid rgba(255, 255, 255, 0.08);
}

/* horizontal dividers: everything except the last row */
.shank-services-grid .shank-service:nth-child(-n+6) {
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.shank-service__icon {
	color: var(--wp--preset--color--blue, #4DA8E8);
	flex-shrink: 0;
}

.shank-service h3 {
	margin-bottom: 0.75rem;
}

/* orange dash under each service title */
.shank-service h3::after {
	content: "";
	display: block;
	width: 22px;
	height: 3px;
	margin-top: 0.6rem;
	background: var(--wp--preset--color--orange, #F26522);
}

.shank-service p {
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
}

@media (max-width: 900px) {
	.shank-services-grid {
		grid-template-columns: 1fr !important;
	}

	/* single column: kill vertical dividers, put a divider under all but the last */
	.shank-services-grid .shank-service {
		border-right: none !important;
	}

	.shank-services-grid .shank-service:not(:last-child) {
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}
}

/* ------------------------------------------------------------------
   Eyebrow text (Trusted Across Indian Country)
------------------------------------------------------------------ */

.shank-eyebrow {
	color: var(--wp--preset--color--orange, #F26522);
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-size: 0.75rem !important;
}

.shank-eyebrow::before,
.shank-eyebrow::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--wp--preset--color--orange, #F26522);
	vertical-align: middle;
	margin: 0 0.75rem;
}

/* ------------------------------------------------------------------
   Logo bar / marquee
   The static row is progressively enhanced into an infinite
   marquee by assets/js/marquee.js on the front end.
------------------------------------------------------------------ */

.shank-logo-row .wp-block-image {
	margin: 0;
	padding: 0.5rem 2.5rem;
	border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.shank-logo-row .wp-block-image:last-child {
	border-right: none;
}

.shank-logo-row img {
	opacity: 0.75;
	transition: opacity 0.2s ease;
}

.shank-logo-row img:hover {
	opacity: 1;
}

/* --- marquee enhancement --- */

.shank-logo-row.is-marquee {
	display: block !important;
}

.shank-marquee-mask {
	overflow: hidden;
	/* soft fade at both edges */
	-webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
	mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.shank-marquee-track {
	display: flex;
	align-items: center;
	width: max-content;
	animation: shank-marquee var(--marquee-duration, 24s) linear infinite;
}

.shank-marquee-track .wp-block-image:last-child {
	border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.shank-marquee-track:hover {
	animation-play-state: paused;
}

@keyframes shank-marquee {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

/* Accessibility: no motion for users who opt out */
@media (prefers-reduced-motion: reduce) {
	.shank-marquee-track {
		animation: none;
		flex-wrap: wrap;
		justify-content: center;
	}
}

@media (max-width: 781px) {
	.shank-logo-row .wp-block-image {
		padding: 0.5rem 1.25rem;
	}
}


/* ------------------------------------------------------------------
   Industry tiles
------------------------------------------------------------------ */

.shank-industry-tile {
	background: var(--wp--preset--color--navy-2, #0E1B2E);
	border: 1px solid rgba(77, 168, 232, 0.12);
	border-radius: 6px;
	overflow: hidden;
	transition: transform 0.25s ease, border-color 0.25s ease;
}

.shank-industry-tile:hover {
	transform: translateY(-4px);
	border-color: rgba(77, 168, 232, 0.4);
}

.shank-industry-tile__img {
	margin: 0;
}

.shank-industry-tile__img img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	display: block;
}

.shank-industry-tile__label {
	padding: 0.875rem 1rem;
	gap: 0.5rem;
}

.shank-industry-tile__icon {
	color: var(--wp--preset--color--blue, #4DA8E8);
	display: inline-flex;
	flex-shrink: 0;
}

.shank-industry-tile__label p {
	margin: 0;
	white-space: nowrap;
}

@media (max-width: 1080px) {
	.shank-industry-grid {
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

@media (max-width: 600px) {
	.shank-industry-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

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

.shank-cta-banner {
	background-image: url('https://nicholasm269.sg-host.com/wp-content/uploads/2026/08/banner-background.jpg');
	background-size: cover;
	background-position: center;
	background-color: var(--wp--preset--color--orange, #F26522); /* fallback */
	border-radius: 12px;
	margin-top: 5rem;
	margin-bottom: 5rem;
}

.shank-cta-banner h2 {
	margin-bottom: 0.5rem;
}

.shank-cta-banner p {
	margin: 0;
	opacity: 0.95;
	max-width: 30em;
}

.shank-cta-banner__icon {
	margin: 0;
	flex-shrink: 0;
}

/* Navy button on the banner: rounder corners + blue arrow, per mockup */
.shank-cta-banner .wp-block-button__link {
	border-radius: 10px;
	padding: 1.1rem 2rem;
}

.shank-cta-banner .is-style-arrow .wp-block-button__link::after {
	background-color: var(--wp--preset--color--blue, #4DA8E8);
}

@media (max-width: 900px) {
	.shank-cta-banner {
		padding-left: 2.5rem !important;
		padding-right: 2.5rem !important;
	}

	.shank-cta-banner__content {
		flex-wrap: wrap;
	}
}

/* Text column yields before the button wraps:
   let the content group shrink and its headline wrap. */
.shank-cta-banner {
	flex-wrap: nowrap !important;
	gap: 2.5rem;
}

.shank-cta-banner__content {
	flex: 1 1 auto;
	min-width: 0; /* allows the text to actually shrink inside flex */
}

.shank-cta-banner .wp-block-buttons {
	flex-shrink: 0; /* button never gets squeezed or wrapped */
}

.shank-cta-banner .wp-block-button__link {
	white-space: nowrap; /* button label stays on one line */
}

/* Below tablet: stack deliberately (icon+text above, button below) */
@media (max-width: 700px) {
	.shank-cta-banner {
		flex-wrap: wrap !important;
	}
}


/* ------------------------------------------------------------------
   Heading: Accent Line style
   Short orange underline beneath a heading, per the mockup.
   Apply via the "Accent Line" block style on any Heading.
------------------------------------------------------------------ */

.is-style-accent-line::after {
	content: "";
	display: block;
	width: 50px;
	height: 3px;
	margin-top: 0.75rem;
	background: var(--wp--preset--color--orange, #F26522);
}

/* ------------------------------------------------------------------
   Hero collage — three angled images (uniform parallelograms)
   Height matches the text column via flex stretching.
------------------------------------------------------------------ */

.shank-hero-collage {
	--slant: 60px;
	--seam: 10px;
}

/* Make the collage's column a stretching flex container.
   !important beats WP's .is-vertically-aligned-center rule. */
.wp-block-column:has(.shank-hero-collage) {
	align-self: stretch !important;
	display: flex;
	flex-direction: column;
}

/* The collage fills the stretched column */
.shank-hero-collage {
	flex: 1;
	align-items: stretch !important; /* panels match the group's height */
}

.shank-hero-collage .wp-block-image {
	margin: 0;
	flex: 1;
	min-width: 0;
	display: flex; /* figure passes stretch down to the img */
}

.shank-hero-collage .wp-block-image img {
	width: 100%;
	height: auto;
	min-height: 480px; /* floor: never smaller than the old fixed look */
	object-fit: cover;
	display: block;
	clip-path: polygon(var(--slant) 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
}

.shank-hero-collage .wp-block-image:nth-child(2),
.shank-hero-collage .wp-block-image:nth-child(3) {
	margin-left: calc(-1 * var(--slant) + var(--seam));
}

@media (max-width: 781px) {
	.wp-block-column:has(.shank-hero-collage) {
		display: block;
	}

	.shank-hero-collage .wp-block-image img {
		min-height: 0;
		height: 320px;
	}

	.shank-hero-collage {
		--slant: 32px;
		--seam: 6px;
	}
}

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

.shank-footer-contact__item {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0 0 0.75rem;
	font-size: 0.875rem;
}

.shank-footer-contact__item svg {
	color: var(--wp--preset--color--blue, #4DA8E8);
	flex-shrink: 0;
}

.shank-footer-contact__item a {
	color: var(--wp--preset--color--white, #fff);
	text-decoration: none;
}

.shank-footer-contact__item a:hover {
	color: var(--wp--preset--color--blue, #4DA8E8);
}

.shank-footer-social {
	display: flex;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.shank-footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	color: var(--wp--preset--color--white, #fff);
	transition: border-color 0.2s ease, color 0.2s ease;
}

.shank-footer-social a:hover {
	border-color: var(--wp--preset--color--blue, #4DA8E8);
	color: var(--wp--preset--color--blue, #4DA8E8);
}

.shank-footer-rule {
	border: none !important;
	height: 1px !important;
	background: rgba(255, 255, 255, 0.1) !important;
	margin: 2.5rem 0 1.5rem !important;
}

.shank-footer-bottom p {
	margin: 0;
	color: rgba(255, 255, 255, 0.6);
}

.shank-footer-bottom a {
	color: rgba(255, 255, 255, 0.6);
	text-decoration: none;
}

.shank-footer-bottom a:hover {
	color: var(--wp--preset--color--blue, #4DA8E8);
}

@media (max-width: 781px) {
	.shank-footer-nav {
		justify-content: flex-start !important;
	}
}

/* ------------------------------------------------------------------
   Header: sticky + shrink, social stack, hamburger, off-canvas
------------------------------------------------------------------ */

/* Sticky lives on the template-part wrapper — the .shank-header group
   is the same height as its parent, so sticky on it has no travel. */
header.wp-block-template-part:has(.shank-header) {
	position: sticky;
	top: 0;
	z-index: 1000;
}

body.admin-bar header.wp-block-template-part:has(.shank-header) {
	top: 32px;
}

.shank-header {
	position: relative;
	z-index: 10;
	transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.shank-header__logo img {
	transition: width 0.3s ease;
}

/* Right stack: socials above CTA, right-aligned */
.shank-header__right {
	align-items: flex-end !important;
}

.shank-social {
	display: flex;
	align-items: center;
	gap: 0.9rem;
}

.shank-social a {
	color: var(--wp--preset--color--white, #fff);
	display: inline-flex;
	transition: color 0.2s ease;
}

.shank-social a:hover {
	color: var(--wp--preset--color--orange, #F26522);
}

/* Shrunk state: tighter bar, everything on one line */
@media (min-width: 1025px) {
	.shank-header.is-shrunk {
		padding-top: 0.5rem !important;
		padding-bottom: 0.5rem !important;
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
	}

	.shank-header.is-shrunk .shank-header__logo img {
		width: 120px !important;
	}

	.shank-header.is-shrunk .shank-header__right {
		flex-direction: row !important;
		align-items: center !important;
	}

	.shank-header.is-shrunk .shank-header__right {
		gap: 1.5rem;
	}
}

/* Hamburger (hidden on desktop) */
.shank-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 9px;
	width: 44px;
	height: 44px;
	padding: 4px;
	background: none;
	border: none;
	cursor: pointer;
}

.shank-burger span {
	display: block;
	width: 34px;
	height: 3px;
	border-radius: 2px;
	background: var(--wp--preset--color--white, #fff);
	transition: transform 0.5s cubic-bezier(0.68, -0.6, 0.32, 1.6), background-color 0.2s ease;
}

.shank-burger:hover span {
	background: var(--wp--preset--color--orange, #F26522);
}

/* Boomerang into an X: bars spin 225° with overshoot */
.shank-burger.is-open span:nth-child(1) {
	transform: translateY(6px) rotate(225deg);
}

.shank-burger.is-open span:nth-child(2) {
	transform: translateY(-6px) rotate(-225deg);
}

/* Off-canvas panel — hidden off-screen from first paint; JS toggles .is-open.
   The editor neutralizes this via assets/css/editor.css. */

.shank-offcanvas {
	position: fixed;
	inset: 0;
	z-index: 1;
	padding: 8.5rem 2rem 3rem;
	transform: translateY(-100%);
	visibility: hidden;
	overflow-y: auto;
	transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1), visibility 0s 0.5s;
}

.shank-offcanvas.is-open {
	transform: translateY(0);
	visibility: visible;
	transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1), visibility 0s 0s;
}

/* Orange rule under the header while the menu is open */
.shank-header.has-open-menu {
	box-shadow: 0 3px 0 var(--wp--preset--color--orange, #F26522);
}

html.shank-no-scroll {
	overflow: hidden;
}

/* Panel contents */
.shank-offcanvas__title {
	font-family: var(--wp--preset--font-family--display, "Playfair Display", serif);
	font-size: 2.75rem;
	font-weight: 500;
	color: var(--wp--preset--color--white, #fff);
	margin: 0 0 1.5rem;
}

.shank-offcanvas__title::after {
	content: "";
	display: block;
	width: 50px;
	height: 3px;
	margin: 0.9rem auto 0;
	background: var(--wp--preset--color--orange, #F26522);
}

.shank-offcanvas__nav {
	align-items: center;
}

.shank-offcanvas__nav .wp-block-navigation-item a {
	font-size: 1.5rem;
	color: var(--wp--preset--color--white, #fff);
}

.shank-offcanvas__nav .wp-block-navigation-item a:hover {
	color: var(--wp--preset--color--orange, #F26522);
}

li .wp-block-navigation-item {
	background-color:#091220 !important;
	color: #FFFFFF !important;
}

li .wp-block-navigation-item:hover {
	background-color:#F26522 !important;
	color: #FFFFFF !important;
	font-weight:600;
}

.wp-block-navigation-item:hover {
	color: #F26522 !important;
	font-weight:600;
}

.wp-block-navigation-item__content a:hover {
	color: var(--wp--preset--color--orange, #F26522);
}

.shank-offcanvas .shank-social {
	justify-content: center;
	margin-top: 2.25rem;
}

/* Mobile: one-line header — logo and burger only */
@media (max-width: 1024px) {
	.shank-header__nav {
		display: none !important;
	}

	.shank-header .shank-social {
		display: none;
	}

	/* CTA lives in the off-canvas menu on mobile */
	.shank-header .wp-block-buttons {
		display: none;
	}

	.shank-burger {
		display: flex;
	}

	.shank-header__right {
		flex-direction: row !important;
		align-items: center !important;
	}

	.shank-header__logo img {
		width: 200px !important;
	}
}


/* Mobile CTA: compact, one line, no arrow */
@media (max-width: 600px) {
	.shank-header .wp-block-button__link {
		font-size: 0.8125rem;
		padding: 0.75rem 1.1rem;
		white-space: nowrap;
	}

	.shank-header .is-style-arrow .wp-block-button__link::after {
		display: none;
	}

	.shank-header .is-style-arrow .wp-block-button__link {
		gap: 0;
	}
	
	.shank-offcanvas {
		padding-top: 7.5rem;
	}
}


/* ------------------------------------------------------------------
   Page transition: fade with centered logo icon
------------------------------------------------------------------ */

.shank-transition {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: var(--wp--preset--color--navy, #0A1220);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.45s ease, visibility 0s 0.45s;
}

.shank-transition__icon {
	width: clamp(72px, 12vw, 120px);
	height: auto;
}

/* Fade IN (leaving the old page) */
.shank-transition.is-entering {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.45s ease, visibility 0s 0s;
}

/* Covering state on page load (set pre-paint, no animation) */
html.shank-transition-in .shank-transition {
	opacity: 1;
	visibility: visible;
	transition: none;
}

/* Fade OUT (revealing the page) */
html.shank-transition-in .shank-transition.is-leaving {
	opacity: 0;
	transition: opacity 0.45s ease;
}

@media (prefers-reduced-motion: reduce) {
	.shank-transition {
		display: none;
	}
}

/* ------------------------------------------------------------------
   Single post: let the sidebar's column stretch to the full row
   height so the sticky Latest Insights has room to travel.
------------------------------------------------------------------ */

.wp-block-column:has(.shank-latest-insights) {
	align-self: stretch !important;
}

/* ------------------------------------------------------------------
   Case study body components
------------------------------------------------------------------ */

.shank-csb-eyebrow {
	color: var(--wp--preset--color--orange, #F26522);
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-size: 0.75rem !important;
	margin-bottom: 10px !important;
}

/* Kill the headline's inherited top margin so the 10px gap is exact */
.shank-csb-eyebrow + .shank-headline,
.shank-csb-eyebrow + .wp-block-shank-headline {
	margin-top: 0;
}

/* Icon cards — centered content, large icons, accent line under title */
.shank-csb-card {
	background: rgba(77, 168, 232, 0.04);
	border: 1px solid rgba(77, 168, 232, 0.15);
	border-radius: 8px;
	padding: 1.75rem 1.5rem;
	text-align: center;
}

.shank-csb-card__icon {
	color: var(--wp--preset--color--blue, #4DA8E8);
	margin-bottom: 1.25rem;
}

.shank-csb-card__icon svg {
	width: 70%;
	height: auto;
}

.shank-csb-card__num {
	display: block;
	font-family: var(--wp--preset--font-family--display, "Playfair Display", serif);
	font-size: 0.9375rem;
	color: var(--wp--preset--color--orange, #F26522);
	margin-bottom: 0.4rem;
}

.shank-csb-card h3 {
	margin-bottom: 0.9rem;
	font-size: 1rem !important;
}

.shank-csb-card h3::after {
	content: "";
	display: block;
	width: 28px;
	height: 3px;
	margin: 0.6rem auto 0; /* auto = centered */
	background: var(--wp--preset--color--orange, #F26522);
}

.shank-csb-card p {
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
}

/* Journey line — 150px circles, icons scale to 80% */
.shank-csb-journey {
	position: relative;
}

.shank-csb-journey::before {
	content: "";
	position: absolute;
	top: 75px; /* center of the 150px circles */
	left: 4%;
	right: 4%;
	height: 1px;
	background: rgba(77, 168, 232, 0.35);
}

.shank-csb-stage {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.shank-csb-stage__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	border: 1px solid rgba(77, 168, 232, 0.4);
	background: var(--wp--preset--color--navy-2, #0E1B2E);
	color: var(--wp--preset--color--blue, #4DA8E8);
}

.shank-csb-stage__icon svg {
	width: 80%;
	height: auto;
}

.shank-csb-stage__label {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

@media (max-width: 1100px) {
	.shank-csb-stage__icon {
		width: 110px;
		height: 110px;
	}

	.shank-csb-journey::before {
		top: 55px;
	}
}

@media (max-width: 900px) {
	.shank-csb-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}

	.shank-csb-journey {
		flex-wrap: wrap !important;
		justify-content: center !important;
		gap: 1.5rem;
	}

	.shank-csb-journey::before {
		display: none;
	}
}

@media (max-width: 560px) {
	.shank-csb-grid {
		grid-template-columns: 1fr !important;
	}
}

/* ------------------------------------------------------------------
   Icon Block support inside case study components
   Pasted icons inherit brand blue + card sizing automatically.
------------------------------------------------------------------ */

.shank-csb-card .wp-block-outermost-icon-block {
	color: var(--wp--preset--color--blue, #4DA8E8);
	margin-bottom: 1.25rem;
	display: flex;
	justify-content: center;
}

.shank-csb-card .wp-block-outermost-icon-block svg {
	width: 70%;
	height: auto;
	fill: none;
	stroke: currentColor;
}

/* Filled-style icons (e.g. Font Awesome) — let them fill instead */
.shank-csb-card .wp-block-outermost-icon-block svg:not([stroke-width]) {
	fill: currentColor;
	stroke: none;
}

.shank-csb-stage__icon .wp-block-outermost-icon-block svg {
	width: 80%;
	height: auto;
}

/* ------------------------------------------------------------------
   Expertise page
------------------------------------------------------------------ */

.shank-expertise-hero {
	background-image: url('https://nicholasm269.sg-host.com/wp-content/uploads/2026/09/expertise-background.webp');
	background-size: cover;
	background-position: center right;
	background-color: var(--wp--preset--color--navy, #0A1220);
}

.shank-expertise-hero__cols .wp-block-column p {
	color: rgba(255, 255, 255, 0.85);
}

/* On mobile the empty column collapses away naturally */
@media (max-width: 781px) {
	.shank-expertise-hero__cols .wp-block-column:last-child {
		display: none;
	}
}

/* Capability cards */
.shank-exp-card {
	background: rgba(77, 168, 232, 0.04);
	border: 1px solid rgba(77, 168, 232, 0.15);
	border-radius: 8px;
	padding: 2rem 1.75rem;
}

.shank-exp-card__icon { color: var(--wp--preset--color--blue, #4DA8E8); margin-bottom: 1.25rem; }
.shank-exp-card h3 { font-size: 1.25rem !important; margin-bottom: 0.6rem; }
.shank-exp-card p { color: rgba(255, 255, 255, 0.7); margin: 0 0 1rem; }

.shank-exp-card__more { margin: 0 !important; }
.shank-exp-card__more a {
	color: var(--wp--preset--color--orange, #F26522);
	font-weight: 700;
	text-decoration: none;
}
.shank-exp-card__more a:hover { color: var(--wp--preset--color--blue, #4DA8E8); }

/* Approach steps */
.shank-exp-step__icon { color: var(--wp--preset--color--blue, #4DA8E8); margin-bottom: 1.25rem; }

.shank-exp-step__num {
	color: var(--wp--preset--color--orange, #F26522);
	font-size: 0.8em;
	margin-right: 0.35rem;
}

.shank-exp-step__title { line-height: 1.25; margin-bottom: 0.75rem; }
.shank-exp-step p { color: rgba(255, 255, 255, 0.7); }

.shank-exp-step__list {
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 0;
	font-size: 0.8125rem;
}

.shank-exp-step__list li {
	padding: 0.7rem 0 0.7rem 1.2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	position: relative;
}

.shank-exp-step__list li::before {
	content: "\203A"; /* › */
	position: absolute;
	left: 0;
	color: var(--wp--preset--color--blue, #4DA8E8);
	font-weight: 700;
}

@media (max-width: 1024px) {
	.shank-exp-grid  { grid-template-columns: repeat(2, 1fr) !important; }
	.shank-exp-steps { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 600px) {
	.shank-exp-grid,
	.shank-exp-steps { grid-template-columns: 1fr !important; }

	.shank-expertise-hero { background-position: center; }
}

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

.shank-ind-intro__right { border-left: 1px solid rgba(255,255,255,0.1); padding-left: 2.5rem; }

.shank-ind-features { margin-top: 2rem; }
.shank-ind-feature {
	display: flex; gap: 1rem; align-items: flex-start;
	padding: 1rem 0; border-top: 1px solid rgba(255,255,255,0.08);
	font-size: 0.9375rem; color: rgba(255,255,255,0.75);
}
.shank-ind-feature strong { color: var(--wp--preset--color--white, #fff); }
.shank-ind-feature__icon { color: var(--wp--preset--color--orange, #F26522); flex-shrink: 0; }

.shank-ind-row {
	display: flex; gap: 1.25rem; align-items: flex-start;
	padding: 1.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.shank-ind-row:last-child { border-bottom: none; }
.shank-ind-row__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 62px; height: 62px; border-radius: 50%; flex-shrink: 0;
	border: 1px solid rgba(77,168,232,0.4); color: var(--wp--preset--color--blue, #4DA8E8);
}
.shank-ind-row__body { border-left: 3px solid var(--wp--preset--color--orange, #F26522); padding-left: 1.1rem; }
.shank-ind-row__title {
	display: block; font-family: var(--wp--preset--font-family--display, serif);
	font-size: 1.4rem; color: var(--wp--preset--color--white, #fff); margin-bottom: 0.25rem;
}
.shank-ind-row__text { font-size: 0.875rem; color: rgba(255,255,255,0.7); }

/* Industry cards */
.shank-ind-card {
	background: rgba(77,168,232,0.04); border: 1px solid rgba(77,168,232,0.15);
	border-radius: 8px; padding: 1.25rem; 
}
.shank-ind-card__img { margin: 0 0 1.25rem; }
.shank-ind-card__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 5px; display: block; }
.shank-ind-card__head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.6rem; }
.shank-ind-card__head h3 {
	font-family: var(--wp--preset--font-family--display, serif);
	font-size: 1.3rem; font-weight: 500; margin: 0; color: var(--wp--preset--color--white, #fff);
}
.shank-ind-card__icon { color: var(--wp--preset--color--blue, #4DA8E8); display: inline-flex; }
.shank-ind-card p { color: rgba(255,255,255,0.7); margin: 0 0 1rem; }
.shank-ind-card__link { color: var(--wp--preset--color--orange, #F26522); font-weight: 700; font-size: 0.9375rem; text-decoration: none; }
.shank-modal-trigger,
.shank-ind-card {
	touch-action: manipulation;
}

@media (hover: hover) {
	.shank-ind-card__link:hover { color: var(--wp--preset--color--blue, #4DA8E8); }
}

@media (max-width: 1024px) { .shank-ind-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 640px)  { .shank-ind-grid { grid-template-columns: 1fr !important; }
	.shank-ind-intro__right { border-left: none; padding-left: 0; } }

/* ------------------------------------------------------------------
   Modals — zoom in, fade out (template-part version)
------------------------------------------------------------------ */

.shank-modal {
	position: fixed; inset: 0; z-index: 9000;
	display: flex; align-items: center; justify-content: center;
	padding: 1.5rem;
	background: rgba(4, 10, 20, 0.75);
	opacity: 0; visibility: hidden;
	transition: opacity 0.25s ease, visibility 0s 0.25s;
}

.shank-modal.is-open {
	opacity: 1; visibility: visible;
	transition: opacity 0.25s ease, visibility 0s 0s;
}

.shank-modal__dialog {
	background: var(--wp--preset--color--navy, #0A1220);
	border: 1px solid rgba(77, 168, 232, 0.5);
	border-radius: 10px;
	max-width: 1100px; width: 100%;
	max-height: 90vh; overflow-y: auto;
	position: relative;
	transform: scale(0.82);
	transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.shank-modal.is-open .shank-modal__dialog { transform: scale(1); }
.shank-modal.is-closing .shank-modal__dialog { transform: scale(1); }

.shank-modal__close {
	position: absolute; top: 1.25rem; right: 1.25rem; z-index: 5;
	width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid rgba(77, 168, 232, 0.5); background: none;
	color: var(--wp--preset--color--white, #fff); font-size: 1.5rem; line-height: 1;
	cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease;
}
.shank-modal__close:hover { border-color: var(--wp--preset--color--orange, #F26522); color: var(--wp--preset--color--orange, #F26522); }

/* Columns inside the dialog handle the two-panel layout */
.shank-modal__cols { gap: 0 !important; margin: 0; }

.shank-modal__left { padding: 3rem; }

.shank-modal__right {
	border-left: 1px solid rgba(255, 255, 255, 0.1);
	background: url('MODAL_BG_URL_HERE') no-repeat center bottom / cover;
	display: flex; flex-direction: column;
	align-items: center; justify-content: space-between;
	padding: 3.5rem 2.5rem;
}

.shank-modal__eyebrow {
	color: var(--wp--preset--color--orange, #F26522) !important;
	font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
	margin: 0 0 10px;
}

.shank-modal__cap {
	padding: 1.1rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.shank-modal__cap-body {
	border-left: 3px solid var(--wp--preset--color--orange, #F26522);
	padding-left: 1rem;
}

.shank-modal__cap-title {
	font-family: var(--wp--preset--font-family--display, serif);
	font-size: 1.1rem !important;
	font-weight: 500;
	color: var(--wp--preset--color--white, #fff);
	margin: 0 0 0.3rem;
}

.shank-modal__cap p { color: rgba(255, 255, 255, 0.7); margin: 0; }

.shank-modal__bigicon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 300px; height: 300px; border-radius: 50%;
	border: 1px solid rgba(77, 168, 232, 0.5);
	color: var(--wp--preset--color--blue, #4DA8E8);
}

@media (max-width: 860px) {
	.shank-modal__left { padding: 2rem; }

	.shank-modal__right {
		border-left: none;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		padding: 2rem;
	}

	.shank-modal__bigicon { width: 160px; height: 160px; }
}


/* Modal template-part variant: columns handle the layout */
.shank-modal__cols { gap: 0; }
.shank-modal__cols .shank-modal__left { padding: 3rem; }
.shank-modal__cols .shank-modal__right {
	display: flex; flex-direction: column;
	align-items: center; justify-content: space-between;
	padding: 3.5rem 2.5rem;
}

/* Editor placeholder for the modal block */
.shank-modal-editor {
	border: 1px dashed rgba(77, 168, 232, 0.6);
	border-radius: 6px; padding: 1rem; margin: 1rem 0;
}
.shank-modal-editor__label {
	font-size: 12px; font-weight: 700; color: #4DA8E8;
	text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem;
}


/* ------------------------------------------------------------------
   Modal: single-column layout refinements
------------------------------------------------------------------ */

.shank-modal__dialog {
	max-width: 800px;
}

/* Capability rows: icon and text always share a line */
.shank-modal__cap {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center;
	gap: 2rem;
}

/* The Icon Block never shrinks or wraps; text column absorbs squeeze */
.shank-modal__cap .wp-block-outermost-icon-block {
	flex-shrink: 0;
}

/* Fluid icon size: ~140px on desktop, scaling down to 72px on phones.
   Overrides the fixed width set in the Icon Block's controls. */
.shank-modal__cap .wp-block-outermost-icon-block svg {
	width: clamp(72px, 3vw, 140px) !important;
	height: auto !important;
}

.shank-modal__cap-body {
	min-width: 0; /* lets text shrink inside flex instead of forcing wrap */
}

@media (max-width: 600px) {
	.shank-modal__cap {
		gap: 1.25rem;
	}
}

/* Icon Block wrapper hugs the scaled SVG instead of keeping its
   fixed configured width (kills the phantom gap on mobile) */
.shank-modal__cap .wp-block-outermost-icon-block {
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
}

.shank-modal__cap .wp-block-outermost-icon-block .icon-container {
	width: auto !important;
	height: auto !important;
	padding: 0 !important;
	display: inline-flex;
}

/* Placeholder SVG icons in modal capability rows (pre-Icon-Block swap) */
.shank-modal__cap .shank-modal__cap-icon {
	flex-shrink: 0;
	color: var(--wp--preset--color--blue, #4DA8E8);
	display: inline-flex;
}

.shank-modal__cap .shank-modal__cap-icon svg {
	width: clamp(72px, 3vw, 140px);
	height: auto;
}

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

.nf-form-fields-required {
	display: none;
}

/* Divider between info and form columns */
.shank-contact-cols .wp-block-column:last-child {
	border-left: 1px solid rgba(255, 255, 255, 0.15);
	padding-left: 3rem;
}

/* Square social icon variant */
.shank-social--square .shank-social a {
	width: 52px;
	height: 52px;
	border: 1px solid var(--wp--preset--color--blue, #4DA8E8);
	border-radius: 8px;
	color: var(--wp--preset--color--blue, #4DA8E8);
}

.shank-social--square .shank-social a:hover {
	border-color: var(--wp--preset--color--orange, #F26522);
	color: var(--wp--preset--color--orange, #F26522);
}

/* ------------------------------------------------------------------
   Ninja Forms: Shank skin
   Scoped to .shank-gc-form (set as the form's custom class and/or
   per-field classes).
------------------------------------------------------------------ */

/* Labels */
.shank-gc-form .nf-field-label label,
.nf-form-cont .shank-gc-form label {
	color: var(--wp--preset--color--white, #fff);
	font-family: var(--wp--preset--font-family--body, Montserrat, sans-serif);
	font-size: 0.9375rem;
	font-weight: 600;
}

/* Inputs + textarea */
.shank-gc-form input[type="text"],
.shank-gc-form input[type="email"],
.shank-gc-form input[type="tel"],
.shank-gc-form textarea {
	background: rgba(10, 18, 32, 0.6) !important;
	border: 1px solid rgba(77, 168, 232, 0.45) !important;
	border-radius: 6px !important;
	color: var(--wp--preset--color--white, #fff) !important;
	font-family: var(--wp--preset--font-family--body, Montserrat, sans-serif);
	font-size: 0.9375rem;
	padding: 0.9rem 1rem !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shank-gc-form textarea {
	min-height: 170px;
}

/* Focus state */
.shank-gc-form input:focus,
.shank-gc-form textarea:focus {
	border-color: var(--wp--preset--color--blue, #4DA8E8) !important;
	box-shadow: 0 0 0 3px rgba(77, 168, 232, 0.2);
	outline: none;
}

/* Submit button */
.shank-gc-form input[type="button"],
.shank-gc-form input[type="submit"],
.shank-gc-form .nf-element[type="button"] {
	width: 100%;
	background: var(--wp--preset--color--orange, #F26522) !important;
	border: none !important;
	border-radius: 6px !important;
	color: var(--wp--preset--color--white, #fff) !important;
	font-family: var(--wp--preset--font-family--body, Montserrat, sans-serif);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 1.1rem !important;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.shank-gc-form input[type="button"]:hover,
.shank-gc-form input[type="submit"]:hover {
	opacity: 0.9;
}

/* Field spacing */
.shank-gc-form .nf-field-container {
	margin-bottom: 1.5rem;
}

/* Validation errors on-brand */
.shank-gc-form .nf-error-msg {
	color: var(--wp--preset--color--orange, #F26522);
	font-size: 0.8125rem;
}

.shank-gc-form .nf-error .ninja-forms-field {
	border-color: var(--wp--preset--color--orange, #F26522) !important;
}

/* Success message */
.nf-response-msg {
	color: var(--wp--preset--color--white, #fff);
	font-size: 1.0625rem;
}

@media (max-width: 900px) {
	.shank-contact-cols .wp-block-column:last-child {
		border-left: none;
		padding-left: 0;
	}
}

.fx-bar {
	width: 3px;
	align-self: stretch;
	background: var(--wp--preset--color--orange, #F26522);
	flex-shrink: 0;
	border-radius: 2px;
}

.fx-bar-reveal {
	display: flex;
	gap: 1.1rem;
	align-items: center;
}

/* Pre-hide bar-reveal pieces from first paint (GSAP animates them in).
   Scoped so non-JS/reduced-motion users still see content. */
html:not(.no-js) .fx-bar-reveal {
	overflow: hidden;
}

html:not(.no-js) .fx-bar-reveal .fx-bar {
	transform: scaleY(0);
}

html:not(.no-js) .fx-bar-reveal .fx-bar-content {
	transform: translateX(-105%);
}

@media (prefers-reduced-motion: reduce) {
	html:not(.no-js) .fx-bar-reveal .fx-bar { transform: none; }
	html:not(.no-js) .fx-bar-reveal .fx-bar-content { transform: none; }
}

.fx-content-holder {
	overflow: hidden;
}

/* ------------------------------------------------------------------
   Expert form: stack side-by-side fields into single rows on mobile
------------------------------------------------------------------ */

@media (max-width: 700px) {
	/* Ninja Forms layout designer builds rows of .nf-cell columns
	   with inline percentage widths — override them to full width */
	.shank-expert-form .nf-row {
		display: block !important;
	}

	.shank-expert-form .nf-cell {
		display: block !important;
		width: 100% !important;
	}

	.shank-expert-form .nf-cell .nf-field-container {
		margin-bottom: 1.25rem;
	}
}

/* ------------------------------------------------------------------
   Sticky CTA — hidden until 600px of scroll, slides up into view,
   releases above the footer.
------------------------------------------------------------------ */

/* ------------------------------------------------------------------
   Sticky CTA — wrapper: fixed position + instant footer lift.
   Button inside: animated reveal only.
------------------------------------------------------------------ */

.shank-sticky-cta-wrap {
	position: fixed;
	right: 2rem;
	bottom: 2rem;
	z-index: 800;
	/* no transition here — footer lift must track scroll exactly */
}

.shank-sticky-cta {
	display: block;
	text-decoration: none;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
	border-radius: 4px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(16px);
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.shank-sticky-cta.is-revealed {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

@media (max-width: 781px) {
	.shank-sticky-cta-wrap {
		right: auto;
		left: 50%;
		bottom: 1.25rem;
		margin-left: -110px; /* half the button's ~220px width */
	}
}

@media (prefers-reduced-motion: reduce) {
	.shank-sticky-cta {
		transition: opacity 0.2s ease, visibility 0s 0.2s;
	}
}


/* ------------------------------------------------------------------
   Expert form skin — same treatment as the contact form
------------------------------------------------------------------ */

.shank-expert-form .nf-field-label label {
	color: var(--wp--preset--color--white, #fff);
	font-family: var(--wp--preset--font-family--body, Montserrat, sans-serif);
	font-size: 0.9375rem;
	font-weight: 600;
}

.shank-expert-form input[type="text"],
.shank-expert-form input[type="email"],
.shank-expert-form input[type="tel"],
.shank-expert-form select,
.shank-expert-form textarea {
	background: rgba(10, 18, 32, 0.6) !important;
	border: 1px solid rgba(77, 168, 232, 0.45) !important;
	border-radius: 6px !important;
	color: var(--wp--preset--color--white, #fff) !important;
	font-family: var(--wp--preset--font-family--body, Montserrat, sans-serif);
	font-size: 0.9375rem;
	padding: 0.9rem 1rem !important;
}

.shank-expert-form select option {
	background: var(--wp--preset--color--navy, #0A1220);
}

.shank-expert-form input:focus,
.shank-expert-form select:focus,
.shank-expert-form textarea:focus {
	border-color: var(--wp--preset--color--blue, #4DA8E8) !important;
	box-shadow: 0 0 0 3px rgba(77, 168, 232, 0.2);
	outline: none;
}

.shank-expert-form input[type="button"],
.shank-expert-form input[type="submit"] {
	background: var(--wp--preset--color--orange, #F26522) !important;
	border: none !important;
	border-radius: 6px !important;
	color: var(--wp--preset--color--white, #fff) !important;
	font-weight: 700;
	padding: 1rem 2.5rem !important;
	cursor: pointer;
	display: block;
	margin: 0 auto;
}

.shank-expert-form .nf-field-container {
	margin-bottom: 1.25rem;
}

.shank-expert-form .nf-error-msg {
	color: var(--wp--preset--color--orange, #F26522);
	font-size: 0.8125rem;
}