/* Foxgrid Studio overrides on top of the Squaretype template.
   Colors come from Elementor widget Style controls as CSS variables. */

/* Hero */
.hero_styled
{
	background: var(--hero-bg, #000000);
}
.hero_styled .background_image
{
	background-position: center top;
}
.hero_styled h1
{
	color: var(--hero-heading, #ffffff);
}
.hero_styled .hero_inner p
{
	color: var(--hero-text, #ffffff);
}
.hero_styled .primary_btn,
.hero_styled .primary_btn:hover
{
	background-color: var(--hero-btn1-bg, #ff4d2e);
	color: var(--hero-btn1-color, #ffffff);
}
.hero_styled .secondary_btn,
.hero_styled .secondary_btn:hover
{
	background-color: var(--hero-btn2-bg, #ffffff);
	color: var(--hero-btn2-color, #1f1f1f);
}
.hero_styled .social_container ul li
{
	background-color: var(--hero-social-bg, #ffffff);
}
.hero_styled .social_container ul li a i
{
	color: var(--hero-social-color, #1f1f1f);
}

/* Header while it sits over the hero (before the white "scrolled" state) */
.header_styled:not(.scrolled) .main-nav ul li a,
.header_styled:not(.scrolled) .header-logo a span
{
	color: var(--hdr-top-color, #ffffff);
}
.header_styled:not(.scrolled) .header_btn,
.header_styled:not(.scrolled) .header_btn:hover
{
	background-color: var(--hdr-top-btn-bg, #ffffff);
	color: var(--hdr-top-btn-color, #1f1f1f);
}
.header_styled:not(.scrolled) .hamburger_inner,
.header_styled:not(.scrolled) .hamburger_inner::before,
.header_styled:not(.scrolled) .hamburger_inner::after
{
	background-color: var(--hdr-top-color, #ffffff);
}
.header_styled.logo_white:not(.scrolled) .header-logo img
{
	filter: brightness(0) invert(1);
}
.header_styled.logo_white.scrolled .header-logo img
{
	filter: brightness(0);
}

/* Logo text with optional tagline underneath */
.header-logo .logo_text
{
	display: inline-flex;
	flex-direction: column;
	line-height: 1;
}
.header-logo .logo_tagline
{
	font-family: var(--font1);
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.32em;
	margin-top: 3px;
}

/* Header availability badge */
.header_badge
{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 32px;
	padding: 0 12px;
	margin-right: 28px;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
	color: var(--hdr-top-color, #ffffff);
	border: 1px solid rgba(255,255,255,0.35);
}
.header.scrolled .header_badge
{
	color: var(--black);
	border-color: rgba(31,31,31,0.2);
}
.header_badge i
{
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #22c55e;
	animation: fox-pulse 1.8s infinite;
}
@keyframes fox-pulse
{
	0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
	70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
	100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
@media only screen and (max-width: 1400px)
{
	.header_badge { display: none; }
}
@media only screen and (max-width: 1280px)
{
	.main-nav ul { gap: 18px; }
	.main-nav ul li a { font-size: 16px; }
	.header_btn { margin-left: 28px; }
}

/* Hero extras */
.hero_styled
{
	height: auto;
	min-height: var(--hero-min-h, 818px);
}
.hero_styled .hero_inner
{
	height: auto;
	min-height: var(--hero-min-h, 818px);
	padding: 130px 0 90px;
}
.hero_styled .hero_content
{
	padding: 0 24px;
}
.hero_styled h1
{
	font-size: clamp(32px, 6.4vw, var(--hero-title-size, 80px));
	font-weight: var(--hero-title-weight, 800);
	max-width: 1120px;
}
.hero_styled .hero_inner p
{
	max-width: 760px;
}
.hero_styled .social_container ul li
{
	width: var(--hero-social-size, 28px);
	height: var(--hero-social-size, 28px);
}
.hero_styled .social_container ul li a i
{
	font-size: calc(var(--hero-social-size, 28px) * 0.64);
}

/* Compact square hero buttons */
.hero_btn_square .hero_buttons
{
	gap: 8px;
}
.hero_btn_square .hero_buttons .btn
{
	clip-path: none;
	height: 34px;
	line-height: 34px;
	padding: 0 10px;
	font-size: 15px;
}
.hero_btn_square .social_container
{
	margin-top: 18px;
}
.hero_btn_square .hero_inner p
{
	max-width: 680px;
	font-size: 16px;
}
.hero_styled .social_container ul li a
{
	display: flex;
	align-items: center;
	justify-content: center;
}
.hero_eyebrow
{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	font-family: var(--font2);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--hero-text, #ffffff);
}
.hero_eyebrow i
{
	font-size: 16px;
}
.hero_trust
{
	gap: 8px 28px;
	margin-top: 28px;
	font-size: 14px;
	color: var(--hero-text, #ffffff);
	opacity: 0.85;
}
@media only screen and (max-width: 767px)
{
	.hero_styled .hero_inner { padding: 110px 0 70px; }
}

/* Case study metrics */
.work_metrics
{
	gap: 6px;
	margin-top: 14px;
}
.work_metrics li
{
	height: 30px;
	line-height: 30px;
	padding: 0 10px;
	font-size: 14px;
	color: #ff7a5c;
	background-color: rgba(255,77,46,0.15);
}

/* CTA with two buttons */
.cta_buttons
{
	gap: 12px;
	margin-top: 22px;
}
.cta_buttons .cta_btn
{
	margin-top: 0;
}
.cta_btn_outline,
.cta_btn_outline:hover
{
	background-color: #ffffff;
	color: var(--black);
	box-shadow: inset 0 0 0 1px var(--black);
}

/* Card grid widget */
.cards_intro
{
	max-width: 760px;
	margin-top: -24px;
	margin-bottom: 40px;
	opacity: 0.8;
}
.cards_grid
{
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(3, 1fr);
}
.cards_cols_2 { grid-template-columns: repeat(2, 1fr); }
.cards_cols_4 { grid-template-columns: repeat(4, 1fr); }
.card_item
{
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 32px;
	background-color: var(--bg-light);
}
.card_label
{
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #ff4d2e;
}
.card_title
{
	font-size: 26px;
	line-height: 1.15;
}
.card_text
{
	font-size: 16px;
	opacity: 0.75;
}
.card_badge
{
	position: absolute;
	top: 24px;
	right: 24px;
	padding: 4px 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	color: #ffffff;
	background-color: #ff4d2e;
}
.card_list li
{
	display: flex;
	gap: 10px;
	font-size: 16px;
	margin-bottom: 8px;
}
.card_list li i
{
	margin-top: 5px;
	font-size: 13px;
}
.card_list_check li i { color: #ff4d2e; }
.card_list_cross li i { color: #9a9a9a; }
.card_list_dot li i { font-size: 6px; margin-top: 9px; }
.card_tags
{
	gap: 6px;
	margin-top: auto;
	padding-top: 8px;
}
.card_title + .card_tags
{
	margin-top: 0;
}
.card_tags li
{
	height: 32px;
	line-height: 30px;
	padding: 0 8px;
	font-size: 14px;
	border: 1px dashed rgba(31,31,31,0.2);
}
.card_dark
{
	background-color: var(--black);
	color: #ffffff;
}
.card_dark .card_title { color: #ffffff; }
.card_dark p,
.card_dark .card_list { color: rgba(255,255,255,0.85); }
.card_dark .card_tags li
{
	color: #ffffff;
	border-color: rgba(255,255,255,0.25);
}
.cards_stats
{
	margin-top: 8px;
}
.cards_stats .stats_item
{
	width: calc((100% - 16px) / 3);
}
@media only screen and (max-width: 1199px)
{
	.cards_cols_4 { grid-template-columns: repeat(2, 1fr); }
}
@media only screen and (max-width: 991px)
{
	.cards_cols_3 { grid-template-columns: repeat(2, 1fr); }
}
@media only screen and (max-width: 767px)
{
	.cards_grid { grid-template-columns: 1fr; }
	.cards_stats .stats_item { width: 100%; }
	.card_item { padding: 24px; }
}

/* Unified buttons: every button uses the same pixel-corner shape.
   Primary = brand orange, secondary = white. Change the accent here. */
:root
{
	--fox-accent: #ff4d2e;
	--fox-accent-text: #ffffff;
}
.btn
{
	clip-path: polygon(
		0px 12px, 6px 12px, 6px 6px, 12px 6px, 12px 0px,
		100% 0px, 100% calc(100% - 12px),
		calc(100% - 6px) calc(100% - 12px), calc(100% - 6px) calc(100% - 6px),
		calc(100% - 12px) calc(100% - 6px), calc(100% - 12px) 100%,
		0% 100%
	);
}
.btn.primary_btn,
.btn.primary_btn:hover,
.btn.primary_btn:focus,
.btn.contact_button,
.btn.contact_button:hover,
.btn.contact_button:focus
{
	background-color: var(--fox-accent);
	color: var(--fox-accent-text);
}
.btn.secondary_btn,
.btn.secondary_btn:hover,
.btn.secondary_btn:focus
{
	background-color: #ffffff;
	color: var(--black);
}

/* About widget description */
.about_text
{
	max-width: 760px;
	margin-top: -24px;
	margin-bottom: 40px;
	opacity: 0.8;
}

/* Current page in the header menu */
.main-nav ul li a.current
{
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}

/* Contact form dropdowns */
.contact_select
{
	appearance: none;
	-webkit-appearance: none;
	font-size: 18px;
	color: rgba(31,31,31,0.5);
	cursor: pointer;
	background-image: linear-gradient(45deg, transparent 50%, #1f1f1f 50%), linear-gradient(135deg, #1f1f1f 50%, transparent 50%);
	background-position: calc(100% - 32px) 50%, calc(100% - 26px) 50%;
	background-size: 6px 6px;
	background-repeat: no-repeat;
}
.contact_select:valid
{
	color: var(--black);
}

/* Footer links: separator between every pair */
.footer_bottom ul li span
{
	margin-left: 4px;
}
.footer_bottom ul li span:not(:last-child)::after
{
	display: inline-block;
	content: '|';
	margin-left: 5px;
	color: rgba(31,31,31,0.67);
}
.footer_bottom ul li span:last-child::after
{
	content: none;
}

/* Stat units like "1.7s" or "4 hrs" keep their case */
.stats_item h3
{
	text-transform: none;
}

/* Pricing: every card the same size. Subgrid lines up the top (price) boxes
   and the bottom (features) boxes across a row; the button sits at the bottom. */
.foxgrid-site .pricing_container
{
	display: grid !important; /* beats Bootstrap's .d-flex */
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}
.foxgrid-site .pricing_item
{
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 2;
	width: auto !important;
	row-gap: 8px;
}
.foxgrid-site .pricing_top
{
	margin-bottom: 0;
}
.foxgrid-site .pricing_bottom
{
	display: flex;
	flex-direction: column;
}
.foxgrid-site .pricing_bottom .pricing_btn
{
	margin-top: auto;
}
/* Three across down to tablet; below that one per row, so no card is left alone and uneven. */
@media only screen and (max-width: 991px)
{
	.foxgrid-site .pricing_container { grid-template-columns: 1fr; }
}

/* Spacing: the template's p:last-of-type { margin-bottom: 0 } was eating the
   gap between intro paragraphs and the stats/cards below them. */
.foxgrid-site .about_container > .about_text,
.foxgrid-site .cards_intro
{
	margin-bottom: 48px;
}

/* Marquee plus: the "+" glyph sits below the centre of its text box, so it
   wobbled while spinning. Draw it with two centred bars instead. */
.foxgrid-site .marquee_content .plus
{
	position: relative;
	display: inline-block;
	width: 0.42em;
	height: 0.42em;
	vertical-align: middle;
	overflow: hidden;
	text-indent: -9999px;
	transform-origin: 50% 50%;
	animation: plus_spin 4s infinite linear;
}
.foxgrid-site .marquee_content .plus::before,
.foxgrid-site .marquee_content .plus::after
{
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 22%;
	background-color: currentColor;
	transform: translate(-50%, -50%);
}
.foxgrid-site .marquee_content .plus::after
{
	transform: translate(-50%, -50%) rotate(90deg);
}

/* Case studies: Challenge / Solution lines inside the project card. */
.work_case
{
	margin-top: 10px;
	font-size: 16px;
}
.work_case strong
{
	display: block;
	margin-bottom: 2px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #ff4d2e;
}
.work_details p:first-of-type + .work_case { margin-top: 14px; }

/* Card grid: keep badges inside their card. */
.card_item { position: relative; }
.card_badge + .card_label,
.card_badge + .card_title { padding-right: 150px; }

/* Footer link columns (Capabilities / Studio / Connect). */
.footer_columns
{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-bottom: 8px;
}
.footer_column
{
	padding: 28px 32px 30px;
	background-color: rgba(255,255,255,0.45);
	border: 1px dashed rgba(31,31,31,0.15);
}
.footer_column h3
{
	margin-bottom: 14px;
	font-family: var(--font1);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #ff4d2e;
}
.footer_column li
{
	font-size: 16px;
	line-height: 1.4;
	color: rgba(31,31,31,0.8);
}
.footer_column li + li { margin-top: 8px; }
.footer_column a
{
	color: inherit;
	transition: color 200ms ease;
}
.footer_column a:hover { color: #ff4d2e; }
.footer_bottom .footer_note { font-size: 14px; }
@media only screen and (max-width: 991px)
{
	.footer_bottom ul { height: auto; padding: 20px 0; flex-direction: column !important; gap: 8px; text-align: center; }
}
@media only screen and (max-width: 767px)
{
	.footer_columns { grid-template-columns: 1fr; }
}

/* Three stat boxes fill the row instead of leaving a gap where a fourth would be. */
@media only screen and (min-width: 992px)
{
	.foxgrid-site .stats_item:first-child:nth-last-child(3),
	.foxgrid-site .stats_item:first-child:nth-last-child(3) ~ .stats_item { width: calc((100% - 16px) / 3); }
}

/* Case study links inside project cards. */
.work_title_link { color: inherit; }
.work_title_link:hover { color: #ff7a5c; }
.work_more
{
	display: inline-block;
	margin-top: 16px;
	font-size: 15px;
	font-weight: 600;
	color: #ff7a5c;
}
.work_more:hover { color: #ffffff; }

/* Blog cards. */
.blog_grid
{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}
.blog_item
{
	display: flex;
	flex-direction: column;
	background-color: var(--bg-light);
}
.blog_image
{
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}
.blog_image img
{
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms ease;
}
.blog_item:hover .blog_image img { transform: scale(1.04); }
.blog_body
{
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 10px;
	padding: 28px 32px 32px;
}
.blog_meta
{
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #ff4d2e;
}
.blog_meta time { color: rgba(31,31,31,0.55); }
.blog_body h3
{
	font-size: 24px;
	line-height: 1.2;
	text-transform: none;
}
.blog_body h3 a { color: var(--black); }
.blog_body h3 a:hover { color: #ff4d2e; }
.blog_excerpt { font-size: 16px; opacity: 0.75; }
.blog_more
{
	margin-top: auto;
	padding-top: 6px;
	font-size: 15px;
	font-weight: 600;
	color: var(--black);
}
.blog_more:hover { color: #ff4d2e; }
.blog_btn_wrap { margin-top: 32px; }
.blog_pagination
{
	display: flex;
	gap: 8px;
	margin-top: 32px;
}
.blog_pagination a
{
	width: 44px;
	height: 44px;
	line-height: 44px;
	text-align: center;
	font-weight: 600;
	color: var(--black);
	background-color: var(--bg-light);
}
.blog_pagination a.current,
.blog_pagination a:hover { color: #ffffff; background-color: #ff4d2e; }
@media only screen and (max-width: 991px) { .blog_grid { grid-template-columns: repeat(2, 1fr); } }
@media only screen and (max-width: 767px) { .blog_grid { grid-template-columns: 1fr; } .blog_body { padding: 24px; } }

/* Single case study / blog post. */
.single_media { padding-top: 100px; }
.single_figure
{
	margin: 0;
	aspect-ratio: 21 / 9;
	overflow: hidden;
	background-color: var(--bg-light);
}
.single_figure img { width: 100%; height: 100%; object-fit: cover; }
.single_content { padding-top: 80px; }
.single_prose
{
	max-width: 760px;
	font-size: 18px;
	line-height: 1.7;
}
.single_prose > * + * { margin-top: 1.1em; }
.single_prose h2
{
	margin-top: 1.8em;
	font-size: 36px;
	line-height: 1.1;
}
.single_prose h3 { margin-top: 1.5em; font-size: 24px; }
.single_prose ul,
.single_prose ol { padding-left: 1.2em; }
.single_prose ul { list-style: square; }
.single_prose ol { list-style: decimal; }
.single_prose li + li { margin-top: 0.4em; }
.single_prose li::marker { color: #ff4d2e; }
.single_prose a { color: #ff4d2e; text-decoration: underline; }
.single_prose strong { font-weight: 700; }
.single_prose blockquote
{
	padding: 24px 28px;
	border-left: 4px solid #ff4d2e;
	background-color: var(--bg-light);
}
@media only screen and (max-width: 767px)
{
	.single_media { padding-top: 60px; }
	.single_figure { aspect-ratio: 16 / 10; }
	.single_prose { font-size: 17px; }
	.single_prose h2 { font-size: 28px; }
}

/* About text with several paragraphs. */
.about_text p { margin: 0; }
.about_text p + p { margin-top: 14px; }

/* CTA supporting line. */
.cta_text
{
	max-width: 720px;
	margin-top: 14px;
	font-size: 18px;
	opacity: 0.8;
}

/* Card grids: a lone last card spans the leftover columns instead of leaving a hole. */
@media only screen and (min-width: 992px)
{
	.cards_cols_3 .card_item:last-child:nth-child(3n+2) { grid-column: span 2; }
	.cards_cols_3 .card_item:last-child:nth-child(3n+1) { grid-column: span 3; }
	.cards_cols_2 .card_item:last-child:nth-child(odd) { grid-column: span 2; }
}

/* Case study page: client link under the article. */
.single_client_link
{
	display: inline-block;
	margin-top: 8px;
	font-weight: 600;
	color: #ff4d2e;
}

/* Hero readability: darken behind the text, looser heading, calmer subtitle. */
.foxgrid-site .hero_styled { position: relative; }
.foxgrid-site .hero_styled::after
{
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		radial-gradient(ellipse 62% 58% at 50% 48%, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0) 100%),
		linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.35) 100%);
}
.foxgrid-site .hero_styled .hero_inner { position: relative; z-index: 2; }
.foxgrid-site .hero_styled .hero_content { max-width: 1040px; padding: 0 16px; }
.foxgrid-site .hero_styled h1
{
	font-size: clamp(34px, 5.2vw, min(var(--hero-title-size, 80px), 68px));
	line-height: 1.06;
	letter-spacing: -0.015em;
	word-spacing: 0.06em;
	text-wrap: balance;
	text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.foxgrid-site .hero_styled .hero_inner p
{
	max-width: 680px;
	margin: 22px auto 0;
	font-size: 18px;
	line-height: 1.65;
	opacity: 0.95;
	text-shadow: 0 1px 12px rgba(0,0,0,0.45);
}
.foxgrid-site .hero_styled .hero_eyebrow
{
	display: inline-block;
	margin-bottom: 22px;
	padding: 7px 14px;
	font-size: 13px;
	letter-spacing: 0.16em;
	background-color: rgba(0,0,0,0.35);
	border: 1px solid rgba(255,255,255,0.18);
}
.foxgrid-site .hero_styled .hero_buttons { margin-top: 34px; }
.foxgrid-site .hero_styled .hero_trust
{
	gap: 0;
	margin-top: 34px;
	padding: 12px 8px;
	background-color: rgba(0,0,0,0.35);
	border: 1px solid rgba(255,255,255,0.1);
}
.foxgrid-site .hero_styled .hero_trust li
{
	padding: 2px 16px;
	font-size: 14px;
	opacity: 1;
	color: rgba(255,255,255,0.9);
}
.foxgrid-site .hero_styled .hero_trust li + li { border-left: 1px solid rgba(255,255,255,0.2); }
@media only screen and (max-width: 767px)
{
	.foxgrid-site .hero_styled .hero_inner p { font-size: 16px; }
	.foxgrid-site .hero_styled .hero_trust { padding: 8px 4px; }
	.foxgrid-site .hero_styled .hero_trust li { padding: 4px 10px; font-size: 13px; }
	.foxgrid-site .hero_styled .hero_trust li + li { border-left: 0; }
}

/* Portfolio (Work) grid. */
.pf_filters
{
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 32px;
}
.pf_filter
{
	height: 40px;
	padding: 0 16px;
	font-size: 15px;
	font-weight: 500;
	color: var(--black);
	background-color: var(--bg-light);
	border: 1px dashed rgba(31,31,31,0.15);
	cursor: pointer;
	transition: background-color 200ms ease, color 200ms ease;
}
.pf_filter:hover,
.pf_filter.active { color: #ffffff; background-color: #ff4d2e; border-color: #ff4d2e; }
.pf_grid
{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}
.pf_item
{
	display: flex;
	flex-direction: column;
	background-color: var(--bg-light);
}
.pf_item[hidden] { display: none; }
.pf_image
{
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}
.pf_image img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.pf_item:hover .pf_image img { transform: scale(1.04); }
.pf_platform
{
	position: absolute;
	left: 16px;
	bottom: 16px;
	padding: 4px 10px;
	font-size: 13px;
	font-weight: 600;
	color: #ffffff;
	background-color: rgba(31,31,31,0.85);
}
.pf_body
{
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 8px;
	padding: 24px 28px 28px;
}
.pf_body h3 { font-size: 24px; line-height: 1.15; text-transform: none; }
.pf_body h3 a { color: var(--black); }
.pf_body h3 a:hover { color: #ff4d2e; }
.pf_meta
{
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #ff4d2e;
}
.pf_summary { font-size: 16px; opacity: 0.75; }
.pf_links
{
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: auto;
	padding-top: 8px;
}
.pf_links a { font-size: 15px; font-weight: 600; color: var(--black); }
.pf_links a:hover { color: #ff4d2e; }
@media only screen and (max-width: 991px) { .pf_grid { grid-template-columns: repeat(2, 1fr); } }
@media only screen and (max-width: 767px) { .pf_grid { grid-template-columns: 1fr; } }

/* Hero content never wider than the screen; trust bar on one line on desktop. */
.foxgrid-site .hero_styled { overflow: hidden; }
.foxgrid-site .hero_styled .hero_content { width: 100%; max-width: 1140px; box-sizing: border-box; }
.foxgrid-site .hero_styled h1,
.foxgrid-site .hero_styled .hero_inner p { max-width: 100%; overflow-wrap: break-word; }
.foxgrid-site .hero_styled .hero_inner p { width: 680px; }
.foxgrid-site .hero_styled .hero_trust li { padding: 2px 14px; font-size: 13.5px; }
@media only screen and (max-width: 767px)
{
	.foxgrid-site .hero_styled h1 { font-size: 34px; }
	.foxgrid-site .hero_styled .hero_buttons { flex-wrap: wrap; justify-content: center; }
	.foxgrid-site .hero_styled .hero_eyebrow { font-size: 11px; letter-spacing: 0.12em; }
}


/* Testimonials: every card the same height, author bar aligned at the bottom. */
.testimonials_slider .owl-stage { display: flex; }
.testimonials_slider .owl-item { display: flex; height: auto; }
.testimonials_slider .owl-item > * { display: flex; flex-direction: column; width: 100%; }
.testimonials_slider .testimonials_item { display: flex; flex-direction: column; flex: 1; width: 100%; margin: 0; }
.testimonials_slider .testimonials_content { flex: 1; }

/* Booking (Cal.com) section. */
.booking_layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
.booking_has_points { grid-template-columns: 300px 1fr; align-items: start; }
.booking_points { padding: 28px; background-color: var(--bg-light); }
.booking_frame
{
	min-height: 680px;
	padding: 16px;
	background-color: var(--bg-light);
}
.booking_cal { width: 100%; min-height: 650px; overflow: auto; }
@media only screen and (max-width: 991px)
{
	.booking_has_points { grid-template-columns: 1fr; }
	.booking_frame { padding: 8px; }
}

/* Marquee cross: centre it on the capital letters, not the lowercase middle.
   (overflow:hidden puts its baseline at the bottom edge; 0.15em = cap-height/2 - size/2.) */
.foxgrid-site .marquee_content .plus { vertical-align: 0.15em; }

/* CTA: second button black instead of white. */
.foxgrid-site .cta .btn.secondary_btn.cta_btn_outline,
.foxgrid-site .cta .btn.secondary_btn.cta_btn_outline:hover,
.foxgrid-site .cta .btn.secondary_btn.cta_btn_outline:focus
{
	background-color: var(--black);
	color: #ffffff;
	box-shadow: none;
}

/* Dark footer. */
.footer.footer_dark
{
	position: relative;
	padding-top: 96px;
	color: rgba(255,255,255,0.7);
	background: #111111;
	border-top: 1px solid rgba(255,255,255,0.06);
}
.footer_dark .scroll_top { top: -22px; right: 16px; background-color: #ff4d2e; }
.footer_dark_top
{
	display: grid;
	grid-template-columns: 1.3fr 2fr;
	gap: 64px;
	padding-bottom: 64px;
}
.footer_logo { display: inline-block; color: #ffffff; font-size: 28px; font-weight: 800; }
.footer_logo img { height: 52px; width: auto; }
.footer_brand p
{
	max-width: 360px;
	margin-top: 20px;
	font-size: 16px;
	line-height: 1.6;
	color: rgba(255,255,255,0.7);
}
.footer_brand .social_container { margin-top: 24px; }
.footer_brand .social_container ul { justify-content: flex-start !important; gap: 8px; }
.footer_brand .social_container ul li { width: 36px; height: 36px; margin: 0; background-color: rgba(255,255,255,0.08); transition: background-color 200ms ease; }
.footer_brand .social_container ul li:hover { background-color: #ff4d2e; }
.footer_brand .social_container ul li a { display: flex; align-items: center; justify-content: center; }
.footer_brand .social_container ul li a i { font-size: 16px; color: #ffffff; }
.footer_brand .footer_btn { margin-top: 28px; }
.footer_dark .footer_columns
{
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin: 0;
}
.footer_dark .footer_column
{
	padding: 0;
	background: none;
	border: 0;
}
.footer_dark .footer_column h3
{
	margin-bottom: 20px;
	font-size: 13px;
	letter-spacing: 0.14em;
	color: #ff4d2e;
}
.footer_dark .footer_column li { font-size: 15px; color: rgba(255,255,255,0.75); }
.footer_dark .footer_column li + li { margin-top: 12px; }
.footer_dark .footer_column a { color: rgba(255,255,255,0.75); }
.footer_dark .footer_column a:hover { color: #ffffff; }
.footer_dark_bottom
{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding: 24px 0 32px;
	font-size: 14px;
	color: rgba(255,255,255,0.5);
	border-top: 1px solid rgba(255,255,255,0.1);
}
.footer_dark_bottom p { margin: 0; color: inherit; }
@media only screen and (max-width: 991px)
{
	.footer_dark_top { grid-template-columns: 1fr; gap: 48px; }
}
@media only screen and (max-width: 575px)
{
	.footer.footer_dark { padding-top: 72px; }
	.footer_dark .footer_columns { grid-template-columns: 1fr 1fr; }
	.footer_dark_bottom { flex-direction: column; }
}
/* Back-to-top sits on the footer's top edge (the container is the offset parent). */
.footer_dark .container { position: relative; }
.footer_dark .scroll_top { top: -118px; right: 12px; }
@media only screen and (max-width: 575px) { .footer_dark .scroll_top { top: -94px; } }

/* About sections: description runs the full container width. */
.foxgrid-site .about_container > .about_text { max-width: none; }

/* ===== Letter spacing (readability pass) =====
   Plus Jakarta Sans 800 in capitals needs less negative tracking than the
   template's -0.06em: big display sizes can stay slightly tight, small caps
   titles need normal tracking or words run together ("PRODUCTUI/UX").
   Body copy (Inter) and the small spaced labels are already comfortable. */

/* Section and page headings (40–68px). */
.foxgrid-site h1,
.foxgrid-site h2
{
	letter-spacing: -0.015em;
	word-spacing: 0.05em;
}
/* Small capital titles: cards, services, pricing, case study and FAQ items. */
.foxgrid-site h3,
.foxgrid-site h4,
.foxgrid-site h5,
.foxgrid-site h6
{
	letter-spacing: 0;
	word-spacing: 0.08em;
}
/* Animated headings: each letter is its own box, the gap is a separate span.
   Give that gap a normal word width instead of the wide default. */
.foxgrid-site .ml .space
{
	display: inline-block;
	width: 0.3em;
	letter-spacing: 0;
}
/* Long-form headings inside articles and case studies. */
.foxgrid-site .single_prose h2 { letter-spacing: -0.005em; word-spacing: 0.08em; }
.foxgrid-site .single_prose h3 { letter-spacing: 0.01em; word-spacing: 0.08em; }
/* Mixed-case titles (blog, portfolio cards) read best at near-normal tracking. */
.foxgrid-site .blog_body h3,
.foxgrid-site .pf_body h3,
.foxgrid-site .work_details h3 { letter-spacing: -0.005em; word-spacing: 0.02em; }
/* Very large display text keeps a little tightness. */
.foxgrid-site .marquee_content { letter-spacing: -0.02em; word-spacing: 0.06em; }
.foxgrid-site .price,
.foxgrid-site .stats_item h3 { letter-spacing: -0.02em; }
/* Hero headline keeps its own tuned values. */
.foxgrid-site .hero_styled h1 { letter-spacing: -0.015em; word-spacing: 0.06em; }

/* Tech stack logo grid. */
.tech_grid
{
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.tech_item
{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 160px;
	padding: 24px 12px 20px;
	text-align: center;
	background-color: var(--bg-light);
	transition: background-color 250ms ease;
}
.tech_item[hidden] { display: none; }
.tech_item:hover { background-color: #ebebeb; }
.tech_logo
{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--black);
	transition: color 250ms ease, transform 250ms ease;
}
.tech_logo svg { width: 100%; height: 100%; fill: currentColor; }
.tech_item:hover .tech_logo { color: var(--brand, #ff4d2e); transform: translateY(-2px); }
.tech_logo_text
{
	font-family: var(--font2);
	font-size: 17px;
	font-weight: 800;
	color: #ffffff;
	background-color: var(--black);
}
.tech_item:hover .tech_logo_text { color: #ffffff; background-color: #ff4d2e; }
.tech_name
{
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--black);
}
.tech_cat
{
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(31,31,31,0.45);
}
.tech_filters { margin-bottom: 24px; }
@media only screen and (max-width: 1199px) { .tech_grid { grid-template-columns: repeat(4, 1fr); } }
@media only screen and (max-width: 767px)
{
	.tech_grid { grid-template-columns: repeat(3, 1fr); }
	.tech_item { min-height: 128px; padding: 18px 8px 14px; }
	.tech_logo { width: 34px; height: 34px; }
	.tech_name { font-size: 13px; }
	.tech_cat { display: none; }
}
@media only screen and (max-width: 420px) { .tech_grid { grid-template-columns: repeat(2, 1fr); } }

/* 404 page. */
.nf_section
{
	position: relative;
	display: flex;
	align-items: center;
	min-height: min(860px, 100svh);
	padding: 160px 0 110px;
	overflow: hidden;
	text-align: center;
	color: #ffffff;
	background-color: #050505;
}
.nf_glow
{
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 70% 55% at 50% 0%, rgba(255,77,46,0.55) 0%, rgba(255,77,46,0.12) 45%, rgba(0,0,0,0) 75%),
		repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 64px),
		repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 64px);
}
.nf_inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.nf_code
{
	margin: 0 0 8px;
	font-family: var(--font2);
	font-size: clamp(120px, 22vw, 280px);
	font-weight: 800;
	line-height: 0.85;
	letter-spacing: -0.04em;
	color: transparent;
	-webkit-text-stroke: 2px rgba(255,255,255,0.35);
	background: linear-gradient(180deg, rgba(255,77,46,0.9) 0%, rgba(255,77,46,0) 85%);
	-webkit-background-clip: text;
	background-clip: text;
	user-select: none;
}
.nf_eyebrow
{
	display: inline-block;
	margin: 18px 0 18px;
	padding: 7px 14px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.16em;
	background-color: rgba(0,0,0,0.4);
	border: 1px solid rgba(255,255,255,0.18);
}
.nf_section h1
{
	max-width: 820px;
	font-size: clamp(32px, 4.6vw, 56px);
	line-height: 1.08;
	color: #ffffff;
	text-wrap: balance;
}
.nf_text
{
	max-width: 560px;
	margin-top: 18px;
	font-size: 18px;
	line-height: 1.6;
	color: rgba(255,255,255,0.8);
}
.nf_buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.nf_search
{
	display: flex;
	width: 100%;
	max-width: 460px;
	margin-top: 28px;
	background-color: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.15);
}
.nf_search input
{
	flex: 1;
	min-width: 0;
	height: 52px;
	padding: 0 18px;
	font-size: 16px;
	color: #ffffff;
	background: transparent;
	border: 0;
	outline: none;
}
.nf_search input::placeholder { color: rgba(255,255,255,0.55); }
.nf_search button
{
	width: 56px;
	color: #ffffff;
	background-color: #ff4d2e;
	border: 0;
	cursor: pointer;
}
.nf_links_section { padding: 90px 0 110px; }
.nf_links_title { margin-bottom: 28px; font-size: 32px; }
.nf_links
{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nf_link
{
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	padding: 26px 28px;
	background-color: var(--bg-light);
	transition: background-color 200ms ease;
}
.nf_link:hover { background-color: #ebebeb; }
.nf_link_label
{
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-family: var(--font2);
	font-size: 20px;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--black);
}
.nf_link_label i { font-size: 15px; color: #ff4d2e; transition: transform 200ms ease; }
.nf_link:hover .nf_link_label i { transform: translateX(4px); }
.nf_link_desc { font-size: 15px; color: rgba(31,31,31,0.65); }
@media only screen and (max-width: 991px) { .nf_links { grid-template-columns: repeat(2, 1fr); } }
@media only screen and (max-width: 575px)
{
	.nf_section { padding: 130px 0 80px; }
	.nf_links { grid-template-columns: 1fr; }
}

/* 404: white theme. */
.nf_section { color: var(--black); background-color: #ffffff; }
.nf_glow
{
	background:
		radial-gradient(ellipse 65% 50% at 50% 0%, rgba(255,77,46,0.16) 0%, rgba(255,77,46,0.05) 45%, rgba(255,255,255,0) 75%),
		repeating-linear-gradient(0deg, rgba(31,31,31,0.05) 0 1px, transparent 1px 64px),
		repeating-linear-gradient(90deg, rgba(31,31,31,0.05) 0 1px, transparent 1px 64px);
}
.nf_code
{
	-webkit-text-stroke: 2px rgba(255,77,46,0.55);
	background: linear-gradient(180deg, rgba(255,77,46,0.35) 0%, rgba(255,77,46,0) 85%);
	-webkit-background-clip: text;
	background-clip: text;
}
.nf_eyebrow { color: var(--black); background-color: var(--bg-light); border-color: rgba(31,31,31,0.12); }
.nf_section h1 { color: var(--black); }
.nf_text { color: rgba(31,31,31,0.72); }
.nf_section .btn.secondary_btn { background-color: var(--black); color: #ffffff; }
.nf_search { background-color: var(--bg-light); border-color: rgba(31,31,31,0.12); }
.nf_search input { color: var(--black); }
.nf_search input::placeholder { color: rgba(31,31,31,0.5); }
.nf_links_section { padding-top: 40px; }

/* Header on the white 404 page: dark text, black logo, orange button. */
.foxgrid-404 .header_styled
{
	--hdr-top-color: #1f1f1f !important;
	--hdr-top-btn-bg: #ff4d2e !important;
	--hdr-top-btn-color: #ffffff !important;
}
.foxgrid-404 .header_styled.logo_white:not(.scrolled) .header-logo img { filter: brightness(0); }

/* 404: plain white, solid black code, white header bar. */
.nf_glow { display: none; }
.nf_code
{
	color: var(--black);
	-webkit-text-stroke: 0;
	background: none;
	-webkit-background-clip: border-box;
	background-clip: border-box;
}
.foxgrid-404 .header_styled,
.foxgrid-404 .header_styled:not(.scrolled)
{
	background-color: #ffffff !important;
	border-bottom: 1px solid rgba(31,31,31,0.08);
}

/* 404: header always in the template's floating "scrolled" look (white bar, stepped corners, soft shadow). */
.foxgrid-404 .header_styled,
.foxgrid-404 .header_styled:not(.scrolled)
{
	background-color: transparent !important;
	border-bottom: 0;
}
.foxgrid-404 .header .header_bg_lg
{
	position: absolute;
	top: 0;
	left: 24px;
	width: calc(100% - 48px);
	height: 100%;
	background-color: var(--white);
	box-shadow: 0 2px 6px #13131614;
}
.foxgrid-404 .header .header_bg_l_1,
.foxgrid-404 .header .header_bg_r_1
{
	position: absolute;
	top: 0;
	width: 12px;
	height: calc(100% - 24px);
	background-color: var(--white);
}
.foxgrid-404 .header .header_bg_l_2,
.foxgrid-404 .header .header_bg_r_2
{
	position: absolute;
	top: 0;
	width: 12px;
	height: calc(100% - 12px);
	background-color: var(--white);
}
.foxgrid-404 .header .header_bg_l_1 { left: 0; }
.foxgrid-404 .header .header_bg_l_2 { left: 12px; }
.foxgrid-404 .header .header_bg_r_1 { right: 0; }
.foxgrid-404 .header .header_bg_r_2 { right: 12px; }

/* Hero social icons: hover lifts the tile, fills it orange and gives the icon a small turn. */
.foxgrid-site .hero_styled .social_container ul li
{
	transition: background-color 250ms ease, transform 250ms ease, box-shadow 250ms ease;
}
.foxgrid-site .hero_styled .social_container ul li a i
{
	transition: color 250ms ease, transform 300ms ease;
}
.foxgrid-site .hero_styled .social_container ul li:hover
{
	background-color: #ff4d2e;
	transform: translateY(-4px);
	box-shadow: 0 8px 18px rgba(255,77,46,0.35);
}
.foxgrid-site .hero_styled .social_container ul li:hover a i
{
	color: #ffffff;
	opacity: 1;
	transform: rotate(-8deg) scale(1.1);
}
.foxgrid-site .hero_styled .social_container ul li a:focus-visible
{
	outline: 2px solid #ff4d2e;
	outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce)
{
	.foxgrid-site .hero_styled .social_container ul li,
	.foxgrid-site .hero_styled .social_container ul li a i { transition: none; }
	.foxgrid-site .hero_styled .social_container ul li:hover,
	.foxgrid-site .hero_styled .social_container ul li:hover a i { transform: none; }
}

/* Global presence: compact country tiles (label = time zone). */
#global-presence .card_item { min-height: 150px; justify-content: flex-end; }
#global-presence .card_title { font-size: 30px; }

/* Contact form: hidden spam trap, error state. */
.fg_hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status.is-error { color: #d93025; }
.contact_button[disabled] { opacity: 0.7; cursor: wait; }

/* Mobile sticky call-to-action. */
.fg_sticky_cta { display: none; }
@media only screen and (max-width: 767px)
{
	.fg_sticky_cta
	{
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 900;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background-color: rgba(255,255,255,0.96);
		box-shadow: 0 -4px 18px rgba(0,0,0,0.08);
		transform: translateY(110%);
		transition: transform 300ms ease;
	}
	.fg_sticky_cta.is-visible { transform: translateY(0); }
	.fg_sticky_cta .btn { display: block; width: 100%; text-align: center; }
}

/* Icon fonts: show text immediately while the icon font loads. */
@font-face { font-family: "Font Awesome 6 Free"; font-style: normal; font-weight: 900; font-display: swap; src: url("../plugins/font-awesome-v6.5.1/webfonts/fa-solid-900.woff2") format("woff2"); }
@font-face { font-family: "Font Awesome 6 Brands"; font-style: normal; font-weight: 400; font-display: swap; src: url("../plugins/font-awesome-v6.5.1/webfonts/fa-brands-400.woff2") format("woff2"); }

/* Inline SVG icons (replace Font Awesome): 1em square, inherit text colour. */
.fg-ico
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1em;
	height: 1em;
	font-style: normal;
	line-height: 1;
	vertical-align: -0.125em;
	flex-shrink: 0;
}
.fg-ico svg { display: block; width: 100%; height: 100%; }
.foxgrid-site .social_container ul li a { display: flex; align-items: center; justify-content: center; }
.foxgrid-site .card_list li .fg-ico { margin-top: 4px; }
.foxgrid-site .card_list_dot li .fg-ico { width: 8px; height: 8px; margin-top: 8px; }
.foxgrid-site .pricing_item_features li .fg-ico { width: 14px; height: 14px; margin-right: 6px; }
.foxgrid-site .testimonials_rating li .fg-ico { width: 16px; height: 16px; color: #fbbf24; }
.nf_search button .fg-ico { width: 18px; height: 18px; }

/* ===== Mobile pass (FoxGrid pages, phones) ===== */
@media only screen and (max-width: 767px)
{
	/* Sections: less vertical gap between blocks. */
	.foxgrid-site section { padding-top: 64px; padding-bottom: 64px; }
	.foxgrid-site .section_title_container { margin-bottom: 32px; }
	.foxgrid-site .section_title_container p { font-size: 13px; padding-bottom: 12px; }

	/* Headings sized for a phone screen. */
	.foxgrid-site .section_title_container h2,
	.foxgrid-site .sticky_content h2,
	.foxgrid-site .faq_content h2 { font-size: 30px; line-height: 1.1; }
	.foxgrid-site .cta_content h2 { font-size: 28px; line-height: 1.12; }
	.foxgrid-site .cta_text { font-size: 15px; }
	.foxgrid-site .about_text p,
	.foxgrid-site .cards_intro { font-size: 15px; line-height: 1.6; }

	/* Hero: compact, centred, equal buttons, 2x2 trust bar. */
	.foxgrid-site .hero_styled,
	.foxgrid-site .hero_styled .hero_inner { min-height: auto; }
	.foxgrid-site .hero_styled .hero_inner { padding: 112px 0 56px; }
	.foxgrid-site .hero_styled .hero_content { padding: 0 18px; }
	.foxgrid-site .hero_styled .hero_eyebrow { margin-bottom: 18px; padding: 6px 10px; font-size: 10.5px; letter-spacing: 0.1em; }
	.foxgrid-site .hero_styled h1 { font-size: 31px; line-height: 1.08; letter-spacing: -0.01em; }
	.foxgrid-site .hero_styled .hero_inner p { width: auto; margin-top: 16px; font-size: 15px; line-height: 1.6; }
	.foxgrid-site .hero_styled .hero_buttons
	{
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		max-width: 340px;
		margin: 26px auto 0;
		gap: 10px;
	}
	.foxgrid-site .hero_styled .hero_buttons .btn { width: 100%; text-align: center; }
	.foxgrid-site .hero_styled .hero_trust
	{
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		gap: 0;
		width: 100%;
		max-width: 340px;
		margin: 26px auto 0;
		padding: 0;
	}
	.foxgrid-site .hero_styled .hero_trust li
	{
		padding: 10px 6px;
		font-size: 12.5px;
		line-height: 1.3;
		text-align: center;
		border: 0;
		border-bottom: 1px solid rgba(255,255,255,0.1);
	}
	.foxgrid-site .hero_styled .hero_trust li:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
	.foxgrid-site .hero_styled .hero_trust li:nth-last-child(-n+2) { border-bottom: 0; }
	.foxgrid-site .hero_styled .social_container { margin-top: 22px; }

	/* Stats: 2 x 2 instead of four full-width boxes. */
	.foxgrid-site .stats { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; }
	.foxgrid-site .stats .stats_item { width: auto !important; padding: 26px 8px; }
	.foxgrid-site .stats_item h3 { font-size: 34px; }
	.foxgrid-site .stats_item p { margin-top: 8px; font-size: 13px; line-height: 1.3; height: auto; }

	/* Services accordion. */
	.foxgrid-site .services_item { padding: 20px; }
	.foxgrid-site .services_item h3 { font-size: 22px; line-height: 1.15; }
	.foxgrid-site .services_item p { font-size: 14px; }

	/* Cards, pricing, case studies, blog. */
	.foxgrid-site .card_title { font-size: 21px; }
	.foxgrid-site .card_text { font-size: 15px; }
	.foxgrid-site .card_badge { position: static; align-self: flex-start; }
	.foxgrid-site .card_badge + .card_label,
	.foxgrid-site .card_badge + .card_title { padding-right: 0; }
	.foxgrid-site .price { font-size: 38px; }
	.foxgrid-site .pricing_top,
	.foxgrid-site .pricing_bottom { padding-left: 24px; padding-right: 24px; }
	.foxgrid-site .pf_body,
	.foxgrid-site .blog_body { padding: 20px 22px 24px; }
	.foxgrid-site .pf_body h3,
	.foxgrid-site .blog_body h3 { font-size: 21px; }
	.foxgrid-site .work_details { padding: 20px; }

	/* Marquee and logos. */
	.foxgrid-site .marquee_content { font-size: 40px; }
	.foxgrid-site .tech_name { font-size: 12.5px; }

	/* FAQ and contact. */
	.foxgrid-site .faq_content { margin-bottom: 24px; }
	.foxgrid-site .booking_frame { min-height: 600px; padding: 6px; }
	.foxgrid-site .booking_cal { min-height: 580px; }

	/* Sticky mobile CTA: keep the page end reachable above it. */
	.foxgrid-site .footer_dark_bottom { padding-bottom: 96px; }
}
@media only screen and (max-width: 374px)
{
	.foxgrid-site .hero_styled h1 { font-size: 27px; }
	.foxgrid-site .section_title_container h2,
	.foxgrid-site .sticky_content h2,
	.foxgrid-site .faq_content h2 { font-size: 26px; }
}

/* Mobile: tech logos in a tight 4-column grid; filter chips scroll sideways on one line. */
@media only screen and (max-width: 575px)
{
	.foxgrid-site .tech_grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
	.foxgrid-site .tech_item { min-height: 86px; gap: 6px; padding: 14px 4px 10px; }
	.foxgrid-site .tech_logo { width: 26px; height: 26px; }
	.foxgrid-site .tech_logo_text { font-size: 11px; }
	.foxgrid-site .tech_name { font-size: 10.5px; line-height: 1.2; }
	.foxgrid-site .pf_filters
	{
		flex-wrap: nowrap;
		overflow-x: auto;
		margin-right: -16px;
		padding-right: 16px;
		padding-bottom: 4px;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.foxgrid-site .pf_filters::-webkit-scrollbar { display: none; }
	.foxgrid-site .pf_filter { flex: 0 0 auto; height: 36px; padding: 0 12px; font-size: 14px; }
}
@media only screen and (max-width: 767px)
{
	.foxgrid-site .card_tags { gap: 5px; }
	.foxgrid-site .card_tags li { height: 28px; line-height: 26px; padding: 0 7px; font-size: 12.5px; }
	.foxgrid-site .card_label { font-size: 12px; line-height: 1.4; }
}

/* Services on phones/tablets: no separate picture column; the active service
   opens its own picture and tags inside the card (accordion). */
.service_mobile { display: none; }
@media only screen and (max-width: 991px)
{
	.foxgrid-site .services_pics { display: none !important; }
	.foxgrid-site .services_wrapper > div,
	.foxgrid-site .services_container { width: 100%; }
	.foxgrid-site .services_item { cursor: pointer; }
	.foxgrid-site .service_mobile
	{
		display: grid;
		grid-template-rows: 0fr;
		transition: grid-template-rows 350ms ease;
	}
	.foxgrid-site .services_item.active .service_mobile { grid-template-rows: 1fr; }
	.foxgrid-site .service_mobile_inner { min-height: 0; overflow: hidden; }
	.foxgrid-site .service_mobile img
	{
		display: block;
		width: 100%;
		aspect-ratio: 16 / 10;
		margin-top: 16px;
		object-fit: cover;
	}
	.foxgrid-site .service_mobile_tags
	{
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
		margin: 12px 0 0;
		padding: 0;
		list-style: none;
	}
	.foxgrid-site .service_mobile_tags li
	{
		padding: 5px 9px;
		font-size: 12.5px;
		line-height: 1.2;
		color: var(--black);
		background-color: #ffffff;
		border: 1px dashed rgba(31,31,31,0.18);
	}
}

/* Mobile: preview grid taller with 2 bigger columns; showreel in a portrait frame. */
@media only screen and (max-width: 767px)
{
	.foxgrid-site .preview_container
	{
		aspect-ratio: 4 / 5;
		border-width: 6px;
	}
	.foxgrid-site .preview_container_inner { gap: 6px; }
	.foxgrid-site .preview_col { width: calc((100% - 6px) / 2); gap: 6px; }
	.foxgrid-site .preview_col:nth-child(3) { display: none !important; }
	.foxgrid-site .preview_img img { aspect-ratio: 4 / 3; }

	.foxgrid-site .video_container
	{
		position: relative;
		aspect-ratio: 4 / 5;
	}
	.foxgrid-site .video_container > img
	{
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center 30%;
	}
	.foxgrid-site .play-btn-container { width: auto; height: auto; z-index: 1; }
	.foxgrid-site .play-btn { width: 76px; height: 76px; background-color: rgba(255,77,46,0.85); border-color: rgba(255,255,255,0.6); }
	.foxgrid-site .play-btn img { width: 22px; height: auto; filter: brightness(0) invert(1); }
}

/* Testimonials: arrows centred under the slider in a dark pixel-cornered bar. */
.slider_nav.slider_nav_below
{
	position: static;
	display: flex !important;
	justify-content: center;
	margin-top: 40px;
}
.slider_nav_below ul
{
	gap: 56px;
	padding: 12px 60px;
	background-color: var(--black);
}
.slider_nav_below ul li { padding: 6px 8px; line-height: 0; }
.slider_nav_below ul li img
{
	width: 18px;
	height: 29px;
	filter: brightness(0) invert(1);
	opacity: 0.9;
	transition: opacity 200ms ease, transform 200ms ease;
}
.slider_nav_below ul li:hover { opacity: 1; }
.slider_nav_below ul li:hover img { opacity: 1; }
.slider_nav_below #slider_nav_prev:hover img { transform: translateX(-3px); }
.slider_nav_below #slider_nav_next:hover img { transform: translateX(3px); }
.slider_nav_below ul li:focus-visible { outline: 2px solid #ff4d2e; outline-offset: 2px; }
@media only screen and (max-width: 767px)
{
	.slider_nav.slider_nav_below { margin-top: 28px; }
	.slider_nav_below ul { gap: 40px; padding: 6px 30px; }
	.slider_nav_below ul li img { width: 12px; height: 29px; }
}

/* Services page: alternating image / text rows. */
.srow_list { display: flex; flex-direction: column; gap: 8px; }
.srow
{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	align-items: stretch;
}
.srow_flip .srow_media { order: 2; }
.srow_media
{
	margin: 0;
	min-height: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background-color: var(--bg-light);
}
.srow_media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms ease; }
.srow:hover .srow_media img { transform: scale(1.03); }
.srow_body
{
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 14px;
	padding: 44px 48px;
	background-color: var(--bg-light);
}
.srow_label
{
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #ff4d2e;
}
.srow_body h3 { font-size: 30px; line-height: 1.12; }
.srow_body p { font-size: 16px; line-height: 1.65; opacity: 0.78; }
.srow_tags { display: flex; flex-wrap: wrap; margin-top: 6px; padding: 0; list-style: none; }
.srow_tags li { background-color: #ffffff; }
.srow_link
{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	font-weight: 600;
	color: var(--black);
}
.srow_link .fg-ico { color: #ff4d2e; transition: transform 200ms ease; }
.srow_link:hover { color: #ff4d2e; }
.srow_link:hover .fg-ico { transform: translateX(4px); }
@media only screen and (max-width: 1199px) { .srow_body { padding: 36px; } .srow_body h3 { font-size: 26px; } }
@media only screen and (max-width: 991px)
{
	.srow { grid-template-columns: 1fr; }
	.srow_flip .srow_media { order: 0; }
	.srow_media { aspect-ratio: 16 / 10; min-height: 0; }
}
@media only screen and (max-width: 767px)
{
	.srow_body { padding: 24px 22px 26px; gap: 12px; }
	.srow_body h3 { font-size: 21px; }
	.srow_body p { font-size: 15px; }
	.srow_list { gap: 16px; }
}

/* Service rows: image keeps a true 4:3 (never stretched by long text);
   columns can't be pushed wider than the screen by long tags. */
.srow
{
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
}
.srow_media
{
	min-height: 0;
	height: auto;
	aspect-ratio: 4 / 3;
	align-self: center;
}
.srow_body { min-width: 0; align-self: stretch; }
.srow_body h3 { overflow-wrap: break-word; }
.srow_tags li
{
	height: auto;
	min-height: 32px;
	line-height: 1.3;
	padding: 6px 9px;
	white-space: normal;
}
@media only screen and (max-width: 991px)
{
	.srow { grid-template-columns: minmax(0, 1fr); }
	.srow_media { aspect-ratio: 16 / 10; }
}

/* Service rows: image and text box always the same height on desktop.
   The picture fills the box with object-fit: cover (cropped, never stretched). */
@media only screen and (min-width: 992px)
{
	.srow { align-items: stretch; }
	.srow_media
	{
		position: relative;
		align-self: stretch;
		aspect-ratio: auto;
		height: auto;
		min-height: 420px;
	}
	.srow_media img
	{
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}
}

/* Marquee redesign: slimmer band, smaller type, words alternate solid / outline,
   orange separators, less empty space around it. */
.foxgrid-site .marquee_container
{
	margin-top: 40px;
	margin-bottom: 40px;
	padding-top: 26px;
	padding-bottom: 26px;
	border-top: 1px solid rgba(255,255,255,0.06);
	border-bottom: 1px solid rgba(255,255,255,0.06);
}
.foxgrid-site .marquee { gap: 36px; }
.foxgrid-site .marquee_item { gap: 0; }
.foxgrid-site .marquee_content
{
	font-size: 56px;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.05;
	color: #ffffff;
}
.foxgrid-site .marquee_item:nth-child(even) .marquee_content
{
	color: transparent;
	-webkit-text-stroke: 1.4px rgba(255,255,255,0.85);
}
.foxgrid-site .marquee_content .plus
{
	margin-left: 36px;
	width: 0.36em;
	height: 0.36em;
	color: #ff4d2e;
	-webkit-text-stroke: 0;
}
@media only screen and (max-width: 991px)
{
	.foxgrid-site .marquee_content { font-size: 42px; }
}
@media only screen and (max-width: 767px)
{
	.foxgrid-site .marquee_container { margin-top: 24px; margin-bottom: 24px; padding-top: 18px; padding-bottom: 18px; }
	.foxgrid-site .marquee { gap: 22px; }
	.foxgrid-site .marquee_content { font-size: 30px; }
	.foxgrid-site .marquee_item:nth-child(even) .marquee_content { -webkit-text-stroke-width: 1px; }
	.foxgrid-site .marquee_content .plus { margin-left: 22px; }
}
/* Alternate words: muted white instead of outline (variable-font contours overlap under text-stroke). */
.foxgrid-site .marquee_item:nth-child(even) .marquee_content
{
	color: rgba(255,255,255,0.38);
	-webkit-text-stroke: 0;
}
@media only screen and (max-width: 767px)
{
	.foxgrid-site .marquee_item:nth-child(even) .marquee_content { -webkit-text-stroke: 0; }
}

/* Scroll performance. */
/* Fixed backgrounds repaint the whole CTA on every scroll frame; scroll with the page instead. */
.foxgrid-site .cta_bg { background-attachment: scroll; }
/* Parallax layers get their own GPU layer, so moving them doesn't repaint the blurred hero text. */
.foxgrid-site .hero_styled .background_image.rellax,
.foxgrid-site .hero_styled .hero_inner.rellax { will-change: transform; }
/* Services accordion (phones): closed items are display:none so their lazy
   images don't download until the item is opened. */
@media only screen and (max-width: 991px)
{
	.foxgrid-site .services_item:not(.active) .service_mobile { display: none; }
	.foxgrid-site .services_item.active .service_mobile_inner { animation: fg_open 350ms ease both; }
}
@keyframes fg_open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Home services list: titles at 2rem (phones keep their smaller size). */
@media only screen and (min-width: 768px)
{
	.foxgrid-site .services_item h3 { font-size: 2rem; line-height: 1.12; }
}
