/*
 * YGT Core – front-end components.
 * Colours, fonts and sizes come from CSS custom properties generated from
 * YGT Website › Settings (printed inline after this file). The values below
 * are fallbacks only.
 */

/* ------------------------------------------------------------------ Tokens */
:root {
	--ygt-primary: #43B7E8;
	--ygt-primary-hover: #2A9FD4;
	--ygt-graphite: #343A40;
	--ygt-graphite-deep: #252A2E;
	--ygt-secondary-text: #626B73;
	--ygt-background: #F5F7F9;
	--ygt-surface: #FFFFFF;
	--ygt-pale: #EAF7FD;
	--ygt-border: #DCE3E8;
	--ygt-heading: #252A2E;
	--ygt-text: #303840;
	--ygt-link: #156F99;
	--ygt-button-text: #1E2327;
	--ygt-footer-bg: #252A2E;
	--ygt-footer-text: #C5CDD3;
	--ygt-header-bg: #FFFFFF;
	--ygt-nav-color: #343A40;
	--ygt-cta-bg: var(--ygt-primary);
	--ygt-cta-color: var(--ygt-button-text);
	--ygt-input-border: #8A949C;
	--ygt-error: #B42318;
	--ygt-font-heading: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--ygt-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--ygt-fs-base: 16px;
	--ygt-h1: clamp(30px, calc(30px + 18 * ((100vw - 320px) / 1120)), 48px);
	--ygt-h2: clamp(22px, calc(22px + 14 * ((100vw - 320px) / 1120)), 36px);
	--ygt-h3: 22px;
	--ygt-lh: 1.65;
	--ygt-heading-weight: 700;
	--ygt-fs-button: 15px;
	--ygt-fs-nav: 15px;
	--ygt-logo-h: 56px;
	--ygt-logo-h-mobile: 40px;
	--ygt-hero-max-h: 640px;
	--ygt-hero-min-h-mobile: 540px;
	--ygt-hero-transition: 500ms;

	/* Spacing scale */
	--ygt-s1: 4px;
	--ygt-s2: 8px;
	--ygt-s3: 12px;
	--ygt-s4: 16px;
	--ygt-s5: 24px;
	--ygt-s6: 32px;
	--ygt-s7: 48px;
	--ygt-s8: 64px;
	--ygt-section-y: clamp(48px, 7vw, 96px);
	--ygt-gutter: 16px;
	--ygt-radius: 4px;
	--ygt-radius-lg: 8px;
	--ygt-shadow: 0 1px 2px rgba(37, 42, 46, .06), 0 8px 24px rgba(37, 42, 46, .08);
	--ygt-container: 1240px;
	--ygt-topbar-h: 40px;
}

@media (min-width: 768px) {
	:root { --ygt-gutter: 24px; }
}

@media (min-width: 1280px) {
	:root { --ygt-gutter: 32px; }
}

/* ------------------------------------------------------------------- Base */
body.ygt-site {
	margin: 0;
	background: var(--ygt-surface);
	color: var(--ygt-text);
	font-family: var(--ygt-font-body);
	font-size: var(--ygt-fs-base);
	line-height: var(--ygt-lh);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

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

.ygt-site :where(h1, h2, h3, h4, h5, h6) {
	font-family: var(--ygt-font-heading);
	font-weight: var(--ygt-heading-weight);
	color: var(--ygt-heading);
	line-height: 1.2;
	text-wrap: balance;
}

.ygt-site :where(a) {
	color: var(--ygt-link);
}

.ygt-site :focus-visible {
	outline: 3px solid var(--ygt-primary);
	outline-offset: 2px;
}

.ygt-site .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.ygt-site .screen-reader-text:focus {
	background: var(--ygt-surface);
	clip: auto !important;
	clip-path: none;
	color: var(--ygt-heading);
	display: block;
	height: auto;
	left: 8px;
	padding: 12px 20px;
	top: 8px;
	width: auto;
	z-index: 100000;
}

.ygt-container {
	width: 100%;
	max-width: calc(var(--ygt-container) + 2 * var(--ygt-gutter));
	margin-inline: auto;
	padding-inline: var(--ygt-gutter);
}

.ygt-container--narrow {
	max-width: calc(880px + 2 * var(--ygt-gutter));
}

.ygt-icon {
	width: 1.25em;
	height: 1.25em;
	flex-shrink: 0;
	vertical-align: middle;
}

/* Sections rendered inside block templates/pages sit flush. */
.ygt-site .wp-site-blocks > * {
	margin-block: 0;
}

.ygt-site :is(.is-layout-flow, .is-layout-constrained) > :is(.ygt-section, .ygt-trust, .ygt-cta, .ygt-hero, .ygt-form-section, .ygt-page-header) {
	margin-block: 0;
	max-width: none;
}

/* ---------------------------------------------------------------- Buttons */
.ygt-btn {
	--_bg: var(--ygt-primary);
	--_fg: var(--ygt-button-text);
	--_bd: var(--ygt-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 20px;
	border: 2px solid var(--_bd);
	border-radius: var(--ygt-radius);
	background: var(--_bg);
	color: var(--_fg);
	font-family: var(--ygt-font-heading);
	font-size: var(--ygt-fs-button);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .01em;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}

.ygt-btn:hover {
	--_bg: var(--ygt-primary-hover);
	--_bd: var(--ygt-primary-hover);
	color: var(--_fg);
}

.ygt-btn:active {
	transform: translateY(1px);
}

.ygt-btn:focus-visible {
	outline-color: var(--ygt-graphite-deep);
	box-shadow: 0 0 0 5px var(--ygt-primary);
}

.ygt-btn .ygt-icon {
	width: 18px;
	height: 18px;
}

.ygt-btn--secondary {
	--_bg: transparent;
	--_fg: var(--ygt-graphite-deep);
	--_bd: var(--ygt-graphite);
}

.ygt-btn--secondary:hover {
	--_bg: var(--ygt-graphite-deep);
	--_bd: var(--ygt-graphite-deep);
	--_fg: #fff;
}

.ygt-btn--outline-light {
	--_bg: transparent;
	--_fg: #fff;
	--_bd: rgba(255, 255, 255, .85);
}

.ygt-btn--outline-light:hover {
	--_bg: #fff;
	--_bd: #fff;
	--_fg: var(--ygt-graphite-deep);
}

.ygt-btn--cta {
	--_bg: var(--ygt-cta-bg);
	--_bd: var(--ygt-cta-bg);
	--_fg: var(--ygt-cta-color);
}

.ygt-btn--cta:hover {
	--_bg: var(--ygt-primary-hover);
	--_bd: var(--ygt-primary-hover);
}

.ygt-btn--sm {
	min-height: 40px;
	padding: 8px 14px;
	font-size: calc(var(--ygt-fs-button) - 1px);
}

.ygt-btn--lg {
	min-height: 52px;
	padding: 14px 26px;
	font-size: calc(var(--ygt-fs-button) + 1px);
}

.ygt-btn--block {
	width: 100%;
}

.ygt-btn[aria-disabled="true"] {
	opacity: .7;
	cursor: progress;
}

.ygt-btn__meta {
	font-weight: 400;
	opacity: .8;
}

.ygt-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	color: var(--ygt-link);
	font-weight: 700;
	text-decoration: none;
}

.ygt-link-arrow:hover {
	text-decoration: underline;
}

.ygt-link-arrow .ygt-icon {
	width: 16px;
	height: 16px;
}

/* ---------------------------------------------------------------- Top bar */
.ygt-topbar {
	display: none;
	background: var(--ygt-graphite-deep);
	color: rgba(255, 255, 255, .82);
	font-size: 13px;
}

.ygt-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--ygt-topbar-h);
}

.ygt-topbar__tagline {
	margin: 0;
	letter-spacing: .02em;
}

.ygt-topbar__links {
	display: flex;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ygt-topbar__links a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: inherit;
	text-decoration: none;
}

.ygt-topbar__links a:hover {
	color: var(--ygt-primary);
}

.ygt-topbar .ygt-icon {
	width: 15px;
	height: 15px;
	color: var(--ygt-primary);
}

@media (min-width: 1100px) {
	.ygt-topbar { display: block; }
}

/* ----------------------------------------------------------------- Header */
.ygt-header {
	position: relative;
	z-index: 50;
	background: var(--ygt-header-bg);
	border-bottom: 1px solid var(--ygt-border);
}

.ygt-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 64px;
}

@media (min-width: 1100px) {
	.ygt-header__inner {
		min-height: 80px;
		gap: 24px;
	}
}

/* Sticky header: the template-part wrapper sticks; the top bar scrolls away. */
body.ygt-sticky-header .wp-site-blocks > header.wp-block-template-part,
body.ygt-sticky-header .wp-site-blocks > .ygt-site-header-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
}

@media (min-width: 1100px) {
	body.ygt-sticky-header.ygt-header-topbar .wp-site-blocks > header.wp-block-template-part,
	body.ygt-sticky-header.ygt-header-topbar .wp-site-blocks > .ygt-site-header-part {
		top: calc(var(--wp-admin--admin-bar--height, 0px) - var(--ygt-topbar-h));
	}
}

@media (max-width: 600px) {
	/* WordPress makes the admin bar non-fixed on small screens. */
	body.admin-bar.ygt-sticky-header .wp-site-blocks > header.wp-block-template-part {
		top: 0;
	}
}

/* Brand */
.ygt-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	color: var(--ygt-heading);
	text-decoration: none;
}

.ygt-brand__logo {
	display: block;
	width: auto;
	height: var(--ygt-logo-h-mobile);
	max-width: 200px;
	object-fit: contain;
}

.ygt-brand__logo--desktop { display: none; }

@media (min-width: 1100px) {
	.ygt-brand__logo {
		height: var(--ygt-logo-h);
		max-width: 260px;
	}
	.ygt-brand__logo--desktop { display: block; }
	.ygt-brand__logo--mobile { display: none; }
}

.ygt-brand__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: var(--ygt-radius);
	background: var(--ygt-graphite-deep);
	box-shadow: inset 0 -3px 0 var(--ygt-primary);
	color: var(--ygt-primary);
	font-family: var(--ygt-font-heading);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .06em;
}

.ygt-brand__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.15;
}

.ygt-brand__name {
	font-family: var(--ygt-font-heading);
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -.01em;
	white-space: nowrap;
}

.ygt-brand__tagline {
	display: none;
	margin-top: 3px;
	color: var(--ygt-secondary-text);
	font-size: 12px;
	white-space: nowrap;
}

@media (min-width: 1280px) {
	.ygt-header .ygt-brand__tagline { display: block; }
}

@media (min-width: 1100px) {
	.ygt-brand__mark {
		width: 50px;
		height: 50px;
		font-size: 17px;
	}
	.ygt-brand__name { font-size: 20px; }
}

/* Primary navigation */
.ygt-nav__menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ygt-nav__menu a {
	display: flex;
	align-items: center;
	color: var(--ygt-nav-color);
	font-family: var(--ygt-font-heading);
	font-size: var(--ygt-fs-nav);
	font-weight: 600;
	text-decoration: none;
}

.ygt-nav__menu a:hover {
	color: var(--ygt-link);
}

.ygt-nav__contact {
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.ygt-nav__contact a {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	color: var(--ygt-text);
	text-decoration: none;
}

.ygt-nav__contact .ygt-icon {
	color: var(--ygt-link);
}

.ygt-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.ygt-header__cta {
	display: none;
	white-space: nowrap;
}

@media (min-width: 600px) {
	.ygt-header__cta { display: inline-flex; }
}

.ygt-menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--ygt-border);
	border-radius: var(--ygt-radius);
	background: var(--ygt-surface);
	color: var(--ygt-graphite-deep);
	cursor: pointer;
}

.ygt-menu-toggle .ygt-icon {
	width: 24px;
	height: 24px;
}

.ygt-menu-toggle__icon--close,
.ygt-menu-toggle[aria-expanded="true"] .ygt-menu-toggle__icon--open {
	display: none;
}

.ygt-menu-toggle[aria-expanded="true"] .ygt-menu-toggle__icon--close {
	display: inline-flex;
}

/* Mobile / tablet navigation (< 1100px) */
@media (max-width: 1099.98px) {
	/* Without JavaScript the menu is simply shown below the header. */
	html:not(.ygt-js) .ygt-header__inner { flex-wrap: wrap; }
	html:not(.ygt-js) .ygt-nav { order: 3; width: 100%; padding-bottom: 16px; }
	html:not(.ygt-js) .ygt-menu-toggle { display: none; }

	.ygt-js .ygt-nav {
		display: none;
		position: fixed;
		top: var(--ygt-header-bottom, 64px);
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 99;
		padding: 8px var(--ygt-gutter) 32px;
		overflow-y: auto;
		overscroll-behavior: contain;
		background: var(--ygt-surface);
		border-top: 1px solid var(--ygt-border);
	}

	.ygt-js .ygt-nav.is-open { display: block; }

	.ygt-nav__menu > li { border-bottom: 1px solid var(--ygt-border); }

	.ygt-nav__menu a {
		min-height: 52px;
		padding: 12px 4px;
		font-size: 17px;
	}

	.ygt-nav__menu .current-menu-item > a,
	.ygt-nav__menu .current-menu-ancestor > a {
		color: var(--ygt-link);
		box-shadow: inset 4px 0 0 var(--ygt-primary);
		padding-left: 14px;
	}

	.ygt-nav__menu .sub-menu {
		margin: 0 0 8px;
		padding: 0 0 0 16px;
		list-style: none;
	}

	.ygt-nav__menu .sub-menu a {
		min-height: 44px;
		padding: 8px 4px;
		color: var(--ygt-secondary-text);
		font-size: 15px;
		font-weight: 500;
	}

	.ygt-nav__extras { padding-top: 20px; }

	body.ygt-menu-open { overflow: hidden; }
	body.ygt-menu-open .ygt-action-bar { display: none; }
}

/* Desktop navigation (>= 1100px) */
@media (min-width: 1100px) {
	.ygt-menu-toggle,
	.ygt-nav__extras { display: none; }

	.ygt-nav {
		display: flex;
		flex: 1;
		justify-content: flex-end;
	}

	.ygt-nav__menu {
		display: flex;
		align-items: center;
		gap: 2px;
	}

	.ygt-nav__menu > li { position: relative; }

	.ygt-nav__menu > li > a {
		position: relative;
		min-height: 80px;
		padding: 0 11px;
	}

	.ygt-nav__menu > li > a::after {
		content: "";
		position: absolute;
		left: 11px;
		right: 11px;
		bottom: 0;
		height: 3px;
		background: var(--ygt-primary);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform .2s ease;
	}

	.ygt-nav__menu > li > a:hover::after,
	.ygt-nav__menu > .current-menu-item > a::after,
	.ygt-nav__menu > .current-menu-ancestor > a::after,
	.ygt-nav__menu > .current-menu-parent > a::after {
		transform: scaleX(1);
	}

	.ygt-nav__menu > .current-menu-item > a,
	.ygt-nav__menu > .current-menu-ancestor > a {
		color: var(--ygt-heading);
	}

	.ygt-nav__menu .menu-item-has-children > a::before {
		content: "";
		order: 2;
		width: 6px;
		height: 6px;
		margin-left: 7px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: translateY(-2px) rotate(45deg);
	}

	.ygt-nav__menu .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 10;
		min-width: 300px;
		margin: 0;
		padding: 8px 0;
		list-style: none;
		background: var(--ygt-surface);
		border: 1px solid var(--ygt-border);
		border-top: 3px solid var(--ygt-primary);
		box-shadow: var(--ygt-shadow);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
	}

	.ygt-nav__menu li:hover > .sub-menu,
	.ygt-nav__menu li:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition-delay: 0s;
	}

	.ygt-nav__menu .sub-menu a {
		min-height: 42px;
		padding: 8px 18px;
		font-size: 14px;
		font-weight: 500;
	}

	.ygt-nav__menu .sub-menu a:hover {
		background: var(--ygt-background);
	}

	.ygt-header__cta { margin-left: 8px; }
}

/* ------------------------------------------------------------------- Hero */
.ygt-hero {
	position: relative;
	overflow: hidden;
	background: var(--ygt-graphite-deep);
	color: #fff;
	isolation: isolate;
}

.ygt-hero__slides {
	display: grid;
}

.ygt-hero__slide {
	position: relative;
	grid-area: 1 / 1;
	display: flex;
	align-items: flex-end;
	min-height: var(--ygt-hero-min-h-mobile);
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--ygt-hero-transition) ease, visibility 0s linear var(--ygt-hero-transition);
}

.ygt-hero__slide.is-active {
	z-index: 1;
	opacity: 1;
	visibility: visible;
	transition: opacity var(--ygt-hero-transition) ease, visibility 0s;
}

.ygt-hero__media {
	position: absolute;
	inset: 0;
	display: block;
}

.ygt-hero__img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: var(--ygt-mfx, 60%) var(--ygt-mfy, 50%);
}

.ygt-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg,
		rgba(37, 42, 46, calc(var(--ygt-overlay, .6) * .45)) 0%,
		rgba(37, 42, 46, calc(var(--ygt-overlay, .6) + .15)) 50%,
		rgba(37, 42, 46, .94) 100%);
}

.ygt-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	padding-top: 64px;
	padding-bottom: 104px;
}

.ygt-hero__content {
	max-width: 660px;
}

.ygt-hero__slide--center .ygt-hero__content {
	margin-inline: auto;
	text-align: center;
}

.ygt-hero__slide--center .ygt-hero__actions { justify-content: center; }

.ygt-hero__slide--center .ygt-hero__eyebrow::before { display: none; }

.ygt-hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	color: var(--ygt-primary);
	font-family: var(--ygt-font-heading);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.ygt-hero__eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	background: currentColor;
	flex-shrink: 0;
}

.ygt-site .ygt-hero__title {
	margin: 0 0 16px;
	color: #fff;
	font-size: var(--ygt-h1);
	line-height: 1.12;
	letter-spacing: -.015em;
}

.ygt-hero__text {
	margin: 0 0 28px;
	max-width: 580px;
	color: rgba(255, 255, 255, .9);
	font-size: clamp(16px, calc(15px + .35vw), 19px);
	line-height: 1.6;
}

.ygt-hero__slide--center .ygt-hero__text { margin-inline: auto; }

.ygt-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

@media (max-width: 479.98px) {
	.ygt-hero__actions .ygt-btn { width: 100%; }
}

.ygt-hero__controls {
	position: absolute;
	right: 0;
	bottom: 20px;
	left: 0;
	z-index: 3;
	pointer-events: none;
}

.ygt-hero__controls-inner {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ygt-hero__controls button {
	pointer-events: auto;
}

.ygt-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: var(--ygt-radius);
	background: rgba(37, 42, 46, .55);
	color: #fff;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease;
}

.ygt-hero__btn:hover {
	border-color: var(--ygt-primary);
	background: var(--ygt-primary);
	color: var(--ygt-button-text);
}

.ygt-hero__toggle-play,
.ygt-hero__toggle.is-paused .ygt-hero__toggle-pause { display: none; }

.ygt-hero__toggle.is-paused .ygt-hero__toggle-play { display: inline-flex; }

.ygt-hero__dots {
	display: flex;
	align-items: center;
}

.ygt-hero__dot {
	position: relative;
	width: 36px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.ygt-hero__dot::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 6px;
	right: 6px;
	height: 4px;
	margin-top: -2px;
	border-radius: 2px;
	background: rgba(255, 255, 255, .45);
	transition: background-color .2s ease;
}

.ygt-hero__dot:hover::before { background: rgba(255, 255, 255, .8); }

.ygt-hero__dot[aria-current="true"]::before { background: var(--ygt-primary); }

.ygt-hero__arrows {
	display: flex;
	gap: 8px;
	margin-left: auto;
}

@media (min-width: 768px) {
	.ygt-hero__slide {
		align-items: center;
		min-height: clamp(460px, 42vw, var(--ygt-hero-max-h));
	}

	.ygt-hero__img {
		object-position: var(--ygt-fx, 50%) var(--ygt-fy, 50%);
	}

	.ygt-hero__overlay {
		background: linear-gradient(90deg,
			rgba(37, 42, 46, calc(var(--ygt-overlay, .6) + .25)) 0%,
			rgba(37, 42, 46, var(--ygt-overlay, .6)) 45%,
			rgba(37, 42, 46, calc(var(--ygt-overlay, .6) * .3)) 100%);
	}

	.ygt-hero__slide--center .ygt-hero__overlay {
		background: rgba(37, 42, 46, var(--ygt-overlay, .6));
	}

	.ygt-hero__slide--right .ygt-hero__overlay {
		background: linear-gradient(270deg,
			rgba(37, 42, 46, calc(var(--ygt-overlay, .6) + .25)) 0%,
			rgba(37, 42, 46, var(--ygt-overlay, .6)) 45%,
			rgba(37, 42, 46, calc(var(--ygt-overlay, .6) * .3)) 100%);
	}

	.ygt-hero__slide--right .ygt-hero__content {
		margin-left: auto;
		text-align: right;
	}

	.ygt-hero__slide--right .ygt-hero__actions { justify-content: flex-end; }

	.ygt-hero__slide--right .ygt-hero__eyebrow { justify-content: flex-end; }

	.ygt-hero__inner {
		padding-top: 72px;
		padding-bottom: 112px;
	}

	.ygt-hero__controls { bottom: 32px; }
}

.ygt-hero.is-reduced-motion .ygt-hero__slide { transition: none; }

/* ---------------------------------------------------------------- Sections */
.ygt-section {
	padding-block: var(--ygt-section-y);
	background: var(--ygt-surface);
}

.ygt-section--alt { background: var(--ygt-background); }

.ygt-section--pale { background: var(--ygt-pale); }

.ygt-section__head {
	max-width: 760px;
	margin-bottom: clamp(28px, 4vw, 48px);
}

.ygt-section__head--center {
	margin-inline: auto;
	text-align: center;
}

.ygt-section__head--center .ygt-eyebrow { justify-content: center; }

.ygt-eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px;
	color: var(--ygt-link);
	font-family: var(--ygt-font-heading);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.ygt-eyebrow::before {
	content: "";
	width: 24px;
	height: 2px;
	background: var(--ygt-primary);
	flex-shrink: 0;
}

.ygt-site .ygt-section__title {
	margin: 0 0 12px;
	font-size: var(--ygt-h2);
}

.ygt-section__intro {
	margin: 0;
	color: var(--ygt-secondary-text);
	font-size: 17px;
}

.ygt-section__more {
	margin: 40px 0 0;
	text-align: center;
}

.ygt-empty {
	padding: 24px;
	border: 1px dashed var(--ygt-border);
	color: var(--ygt-secondary-text);
	text-align: center;
}

.ygt-prose > :first-child { margin-top: 0; }

.ygt-prose p { margin: 0 0 1em; }

.ygt-lead,
.ygt-site p.ygt-lead {
	color: var(--ygt-graphite);
	font-size: clamp(17px, calc(16px + .3vw), 20px);
	line-height: 1.6;
}

.ygt-site .ygt-subtitle {
	margin: 40px 0 20px;
	font-size: clamp(20px, 2.2vw, 26px);
}

/* Split layout */
.ygt-split {
	display: grid;
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}

.ygt-split--top { align-items: start; }

@media (min-width: 900px) {
	.ygt-split { grid-template-columns: 5fr 6fr; }
}

.ygt-split__media img,
.ygt-split__media .ygt-placeholder {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--ygt-radius-lg);
}

.ygt-split__media img { display: block; }

/* ------------------------------------------------------------------ Grids */
.ygt-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 600px) {
	.ygt-grid--3,
	.ygt-grid--4,
	.ygt-grid--industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
	.ygt-grid--industries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
	.ygt-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
	.ygt-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
	.ygt-grid--industries { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ------------------------------------------------------------------ Cards */
.ygt-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--ygt-surface);
	border: 1px solid var(--ygt-border);
	border-radius: var(--ygt-radius-lg);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ygt-card:hover {
	border-color: var(--ygt-primary);
	box-shadow: var(--ygt-shadow);
	transform: translateY(-2px);
}

.ygt-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--ygt-graphite);
}

.ygt-card__media img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform .4s ease;
}

.ygt-card:hover .ygt-card__media img { transform: scale(1.03); }

.ygt-card--industry .ygt-card__media { aspect-ratio: 4 / 3; }

.ygt-card__badge {
	position: absolute;
	left: 16px;
	bottom: -1px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: var(--ygt-radius) var(--ygt-radius) 0 0;
	background: var(--ygt-primary);
	color: var(--ygt-button-text);
}

.ygt-card__badge .ygt-icon {
	width: 26px;
	height: 26px;
}

/* The placeholder already shows the icon large; avoid repeating it. */
.ygt-card__media:has(.ygt-placeholder) .ygt-card__badge {
	display: none;
}

/* Icon placeholder used whenever an image is missing. */
.ygt-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 160px;
	background-color: var(--ygt-graphite-deep);
	background-image:
		linear-gradient(rgba(67, 183, 232, .08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(67, 183, 232, .08) 1px, transparent 1px),
		linear-gradient(135deg, var(--ygt-graphite) 0%, var(--ygt-graphite-deep) 100%);
	background-size: 24px 24px, 24px 24px, auto;
	color: var(--ygt-primary);
}

.ygt-placeholder__icon {
	width: 30%;
	max-width: 96px;
	height: auto;
	aspect-ratio: 1;
	opacity: .9;
}

.ygt-card .ygt-placeholder__icon { stroke-width: 1.25; }

.ygt-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 24px 22px 22px;
}

.ygt-site .ygt-card__title {
	margin: 0;
	font-size: clamp(18px, 1.6vw, var(--ygt-h3));
}

.ygt-card__title a {
	color: var(--ygt-heading);
	text-decoration: none;
}

.ygt-card__title a:hover { color: var(--ygt-link); }

.ygt-card__text {
	margin: 0;
	color: var(--ygt-secondary-text);
	font-size: 15px;
	line-height: 1.6;
}

.ygt-card__meta {
	margin: 0;
	color: var(--ygt-link);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ygt-card__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 12px;
	margin-top: auto;
	padding-top: 8px;
}

.ygt-taglist {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 2px 0 4px;
	padding: 0;
	list-style: none;
}

.ygt-taglist li {
	padding: 3px 9px;
	border: 1px solid var(--ygt-border);
	border-radius: 3px;
	background: var(--ygt-background);
	color: var(--ygt-graphite);
	font-size: 13px;
	line-height: 1.5;
}

.ygt-taglist__more {
	border-style: dashed !important;
	background: transparent !important;
}

.ygt-demo-badge {
	align-self: flex-start;
	margin: 0;
	padding: 3px 10px;
	border: 1px solid #E8C35A;
	border-radius: 3px;
	background: #FFF6DB;
	color: #6B4A00;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.ygt-demo-badge--light {
	display: inline-block;
	margin-top: 16px;
}

/* ---------------------------------------------------------- Trust strip */
.ygt-trust {
	position: relative;
	z-index: 2;
	background: var(--ygt-surface);
	border-bottom: 1px solid var(--ygt-border);
}

.ygt-trust__list {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ygt-trust__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 22px 0;
	border-bottom: 1px solid var(--ygt-border);
}

.ygt-trust__item:last-child { border-bottom: 0; }

.ygt-trust__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: var(--ygt-radius);
	background: var(--ygt-graphite-deep);
	color: var(--ygt-primary);
}

.ygt-site .ygt-trust__title {
	margin: 2px 0 4px;
	font-size: 16px;
}

.ygt-trust__text {
	margin: 0;
	color: var(--ygt-secondary-text);
	font-size: 14px;
	line-height: 1.5;
}

@media (min-width: 600px) {
	.ygt-trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
	.ygt-trust__item:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (min-width: 1100px) {
	.ygt-trust__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.ygt-trust__item {
		padding: 30px 24px 30px 0;
		border-bottom: 0;
	}
	.ygt-trust__item + .ygt-trust__item {
		padding-left: 24px;
		border-left: 1px solid var(--ygt-border);
	}
}

/* ------------------------------------------------------------------ About */
.ygt-about__media {
	position: relative;
}

.ygt-about__stat {
	position: absolute;
	left: 16px;
	bottom: 16px;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: calc(100% - 32px);
	padding: 14px 18px;
	border-radius: var(--ygt-radius);
	background: var(--ygt-primary);
	color: var(--ygt-button-text);
	box-shadow: var(--ygt-shadow);
}

.ygt-about__stat strong {
	font-family: var(--ygt-font-heading);
	font-size: 34px;
	line-height: 1;
}

.ygt-about__stat span {
	max-width: 140px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

/* -------------------------------------------------------------------- Why */
.ygt-why__grid {
	display: grid;
	gap: 40px;
}

@media (min-width: 960px) {
	.ygt-why__grid {
		grid-template-columns: 5fr 7fr;
		gap: 64px;
		align-items: start;
	}
	.ygt-why__intro {
		position: sticky;
		top: 120px;
	}
}

.ygt-why__media img {
	display: block;
	width: 100%;
	margin: 8px 0 24px;
	border-radius: var(--ygt-radius-lg);
}

.ygt-why__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--ygt-border);
}

.ygt-why__item {
	display: flex;
	gap: 18px;
	padding: 22px 0;
	border-bottom: 1px solid var(--ygt-border);
}

.ygt-why__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	border: 2px solid var(--ygt-primary);
	border-radius: 50%;
	color: var(--ygt-link);
}

.ygt-site .ygt-why__title {
	margin: 4px 0 6px;
	font-size: 18px;
}

.ygt-why__item p {
	margin: 0;
	color: var(--ygt-secondary-text);
}

/* ----------------------------------------------------- Capability features */
.ygt-feature {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px 24px;
	background: var(--ygt-surface);
	border: 1px solid var(--ygt-border);
	border-top: 4px solid var(--ygt-primary);
	border-radius: var(--ygt-radius);
}

.ygt-section--alt .ygt-feature,
.ygt-capabilities .ygt-feature { background: var(--ygt-surface); }

.ygt-capabilities { background: var(--ygt-background); }

.ygt-feature__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: var(--ygt-radius);
	background: var(--ygt-graphite-deep);
	color: var(--ygt-primary);
}

.ygt-feature__icon .ygt-icon {
	width: 28px;
	height: 28px;
}

.ygt-site .ygt-feature__title {
	margin: 4px 0 0;
	font-size: 19px;
}

.ygt-feature__text {
	margin: 0;
	color: var(--ygt-secondary-text);
	font-size: 15px;
}

/* -------------------------------------------------------- Enquiry banner */
.ygt-cta {
	position: relative;
	overflow: hidden;
	padding-block: clamp(56px, 8vw, 96px);
	background-color: var(--ygt-graphite-deep);
	background-image:
		linear-gradient(115deg, transparent 60%, rgba(67, 183, 232, .10) 60%, rgba(67, 183, 232, .10) 61%, transparent 61%),
		linear-gradient(115deg, transparent 70%, rgba(67, 183, 232, .07) 70%, rgba(67, 183, 232, .07) 72%, transparent 72%);
	color: rgba(255, 255, 255, .86);
}

.ygt-cta::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: var(--ygt-primary);
}

.ygt-cta__inner {
	display: grid;
	gap: 28px;
	align-items: center;
}

.ygt-site .ygt-cta__title {
	margin: 0 0 12px;
	color: #fff;
	font-size: var(--ygt-h2);
}

.ygt-cta__text p {
	margin: 0;
	font-size: 18px;
}

.ygt-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.ygt-cta__direct {
	grid-column: 1 / -1;
	margin: 0;
	font-size: 15px;
}

.ygt-cta__direct a {
	color: var(--ygt-primary);
	font-weight: 700;
}

@media (max-width: 479.98px) {
	.ygt-cta__actions .ygt-btn { width: 100%; }
}

@media (min-width: 960px) {
	.ygt-cta__inner { grid-template-columns: 1fr auto; column-gap: 48px; }
	.ygt-cta__actions { justify-content: flex-end; }
}

/* ---------------------------------------------------------------- Contact */
.ygt-contact__grid {
	display: grid;
	gap: 32px;
	align-items: start;
}

@media (min-width: 1024px) {
	.ygt-contact__grid { grid-template-columns: 5fr 7fr; gap: 48px; }
	.ygt-contact__grid--single { grid-template-columns: minmax(0, 760px); justify-content: center; }
}

.ygt-contact-card {
	padding: clamp(22px, 3vw, 32px);
	background: var(--ygt-graphite-deep);
	border-radius: var(--ygt-radius-lg);
	color: rgba(255, 255, 255, .86);
}

.ygt-site .ygt-contact-card__company {
	margin: 0 0 18px;
	color: #fff;
	font-size: 19px;
}

.ygt-contact-card__row,
.ygt-contact-card__links a {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0 0 16px;
	color: inherit;
	font-style: normal;
	line-height: 1.55;
	text-decoration: none;
}

.ygt-contact-card__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ygt-contact-card__links a {
	min-height: 44px;
	align-items: center;
	flex-wrap: wrap;
	row-gap: 0;
}

.ygt-contact-card__links a > span:not(.ygt-contact-links__label) {
	color: #fff;
	font-weight: 600;
}

.ygt-contact-card__links a:hover > span { color: var(--ygt-primary); }

.ygt-contact-card .ygt-icon {
	width: 22px;
	height: 22px;
	margin-top: 2px;
	color: var(--ygt-primary);
}

.ygt-contact-links__label {
	display: block;
	width: 100%;
	color: rgba(255, 255, 255, .6);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ygt-contact-card__links .ygt-contact-links__label {
	width: auto;
	flex-basis: calc(100% - 36px);
	order: 1;
}

.ygt-contact-card__links a .ygt-icon { order: 0; }

.ygt-contact-card__links a > span:not(.ygt-contact-links__label) {
	order: 2;
	margin-left: 36px;
}

.ygt-map {
	position: relative;
	margin-top: 20px;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	border: 1px solid var(--ygt-border);
	border-radius: var(--ygt-radius-lg);
	background: var(--ygt-pale);
}

.ygt-map__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 100%;
	padding: 20px;
	text-align: center;
}

.ygt-map__placeholder > .ygt-icon {
	width: 36px;
	height: 36px;
	color: var(--ygt-link);
}

.ygt-map__placeholder p {
	max-width: 340px;
	margin: 0;
	color: var(--ygt-secondary-text);
	font-size: 14px;
}

.ygt-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ----------------------------------------------------------- Enquiry form */
.ygt-form-section {
	padding-block: clamp(32px, 5vw, 64px);
}

.ygt-enquiry {
	scroll-margin-top: 110px;
	padding: clamp(20px, 4vw, 40px);
	background: var(--ygt-surface);
	border: 1px solid var(--ygt-border);
	border-top: 4px solid var(--ygt-primary);
	border-radius: var(--ygt-radius-lg);
	box-shadow: var(--ygt-shadow);
}

.ygt-site .ygt-enquiry__title {
	margin: 0 0 8px;
	font-size: clamp(22px, 2.4vw, 28px);
}

.ygt-enquiry__intro {
	margin: 0 0 24px;
	color: var(--ygt-secondary-text);
}

.ygt-form__group {
	min-width: 0;
	margin: 0 0 24px;
	padding: 0;
	border: 0;
}

.ygt-form__legend {
	display: block;
	width: 100%;
	margin-bottom: 16px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--ygt-border);
	color: var(--ygt-graphite);
	font-family: var(--ygt-font-heading);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ygt-form__grid {
	display: grid;
	gap: 0 20px;
}

@media (min-width: 640px) {
	.ygt-form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.ygt-field {
	margin-bottom: 18px;
}

.ygt-field__label {
	display: block;
	margin-bottom: 6px;
	color: var(--ygt-heading);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}

.ygt-required { color: var(--ygt-error); }

.ygt-optional {
	color: var(--ygt-secondary-text);
	font-size: 13px;
	font-weight: 400;
}

.ygt-field__hint {
	margin: 6px 0 0;
	color: var(--ygt-secondary-text);
	font-size: 13px;
	line-height: 1.45;
}

.ygt-field input:not([type="checkbox"]):not([type="file"]),
.ygt-field select,
.ygt-field textarea {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	border: 1px solid var(--ygt-input-border);
	border-radius: var(--ygt-radius);
	background: var(--ygt-surface);
	color: var(--ygt-text);
	font: inherit;
	font-size: 16px;
	line-height: 1.4;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.ygt-field select {
	appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23343A40' stroke-width='2'/%3E%3C/svg%3E");
	background-position: right 14px center;
	background-repeat: no-repeat;
}

.ygt-field textarea {
	min-height: 120px;
	resize: vertical;
}

.ygt-field input[type="file"] {
	display: block;
	width: 100%;
	padding: 10px;
	border: 1px dashed var(--ygt-input-border);
	border-radius: var(--ygt-radius);
	background: var(--ygt-background);
	font-size: 15px;
}

.ygt-field :is(input, select, textarea):focus {
	border-color: var(--ygt-link);
	outline: 3px solid rgba(67, 183, 232, .45);
	outline-offset: 0;
}

.ygt-field.has-error :is(input, select, textarea) {
	border-color: var(--ygt-error);
	border-width: 2px;
}

.ygt-field__error {
	margin: 6px 0 0;
	color: var(--ygt-error);
	font-size: 14px;
	font-weight: 600;
}

.ygt-field__error[hidden] { display: none; }

.ygt-field--checkbox {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 12px;
	padding: 14px;
	border-radius: var(--ygt-radius);
	background: var(--ygt-background);
}

.ygt-field--checkbox input {
	width: 22px;
	height: 22px;
	margin: 1px 0 0;
	flex-shrink: 0;
	accent-color: var(--ygt-link);
}

.ygt-field--checkbox label {
	flex: 1;
	min-width: 0;
	font-size: 14px;
	line-height: 1.5;
}

.ygt-field--checkbox .ygt-field__error {
	flex-basis: 100%;
	margin: 0;
}

.ygt-form__submit {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 8px;
}

.ygt-form__submit .ygt-btn { width: 100%; }

@media (min-width: 640px) {
	.ygt-form__submit {
		flex-direction: row;
		align-items: center;
		flex-wrap: wrap;
	}
	.ygt-form__submit .ygt-btn { width: auto; }
}

.ygt-form__alt {
	margin: 0;
	color: var(--ygt-secondary-text);
	font-size: 14px;
}

.ygt-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ygt-alert {
	display: flex;
	gap: 12px;
	margin: 0 0 24px;
	padding: 16px 18px;
	border: 1px solid;
	border-radius: var(--ygt-radius);
	font-size: 15px;
}

.ygt-alert[hidden] { display: none; }

.ygt-alert > .ygt-icon {
	width: 24px;
	height: 24px;
	margin-top: 1px;
}

.ygt-alert p { margin: 0; }

.ygt-alert ul {
	margin: 8px 0 0;
	padding-left: 18px;
}

.ygt-alert a { color: inherit; font-weight: 600; }

.ygt-alert__title { font-weight: 700; }

.ygt-alert--success {
	border-color: #A6E9C1;
	background: #ECFDF3;
	color: #05603A;
}

.ygt-alert--success .ygt-alert__title {
	margin-bottom: 8px !important;
	font-size: 18px;
}

.ygt-alert--error {
	border-color: #FDA29B;
	background: #FEF3F2;
	color: #912018;
}

/* -------------------------------------------------- Page header / content */
.ygt-page-header {
	position: relative;
	padding-block: clamp(36px, 6vw, 72px);
	background-color: var(--ygt-graphite-deep);
	background-image:
		linear-gradient(rgba(67, 183, 232, .06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(67, 183, 232, .06) 1px, transparent 1px);
	background-size: 32px 32px;
	color: rgba(255, 255, 255, .85);
}

.ygt-page-header::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: min(220px, 40%);
	height: 4px;
	background: var(--ygt-primary);
}

.ygt-site .ygt-page-header__title {
	margin: 0;
	color: #fff;
	font-size: clamp(28px, calc(24px + 1.6vw), 44px);
}

.ygt-page-header .ygt-eyebrow { color: var(--ygt-primary); }

.ygt-page-header__intro {
	max-width: 720px;
	margin: 14px 0 0;
	font-size: 17px;
}

.ygt-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
	font-size: 14px;
}

.ygt-breadcrumbs li + li::before {
	content: "/";
	margin-right: 4px;
	color: rgba(255, 255, 255, .45);
}

.ygt-breadcrumbs a {
	color: rgba(255, 255, 255, .8);
	text-decoration: none;
}

.ygt-breadcrumbs a:hover {
	color: var(--ygt-primary);
	text-decoration: underline;
}

.ygt-breadcrumbs [aria-current] { color: #fff; }

/* Product / category views */
.ygt-product-detail {
	display: grid;
	gap: clamp(28px, 5vw, 56px);
	align-items: start;
}

@media (min-width: 900px) {
	.ygt-product-detail { grid-template-columns: 1fr 1fr; }
}

.ygt-product-detail__media img { display: block; }

.ygt-product-detail__media img,
.ygt-product-detail__media .ygt-placeholder {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border: 1px solid var(--ygt-border);
	border-radius: var(--ygt-radius-lg);
}

.ygt-product-detail__note {
	padding: 14px 16px;
	border-left: 4px solid var(--ygt-primary);
	background: var(--ygt-pale);
	color: var(--ygt-graphite);
	font-size: 15px;
}

.ygt-product-detail__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 24px 0 16px;
}

@media (max-width: 479.98px) {
	.ygt-product-detail__actions .ygt-btn { width: 100%; }
}

.ygt-specs {
	display: grid;
	gap: 0;
	margin: 0 0 20px;
	border-top: 1px solid var(--ygt-border);
}

.ygt-specs > div {
	display: grid;
	grid-template-columns: minmax(110px, 35%) 1fr;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--ygt-border);
}

.ygt-specs dt {
	color: var(--ygt-secondary-text);
	font-weight: 600;
}

.ygt-specs dd { margin: 0; }

.ygt-checklist {
	display: grid;
	gap: 10px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.ygt-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.ygt-checklist .ygt-icon {
	width: 20px;
	height: 20px;
	margin-top: 3px;
	color: var(--ygt-link);
}

@media (min-width: 600px) {
	.ygt-checklist--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
}

.ygt-related { margin-top: clamp(40px, 6vw, 72px); }

/* -------------------------------------------------------------- Footer */
.ygt-footer {
	background: var(--ygt-footer-bg);
	color: var(--ygt-footer-text);
	font-size: 15px;
}

.ygt-footer__grid {
	display: grid;
	gap: 36px;
	padding-block: clamp(48px, 7vw, 80px) 40px;
}

@media (min-width: 600px) {
	.ygt-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
	.ygt-footer__grid { grid-template-columns: 1.4fr 1.1fr 1fr 1.3fr; gap: 40px; }
}

.ygt-brand--footer { color: #fff; }

.ygt-brand--footer .ygt-brand__mark { background: var(--ygt-graphite); }

.ygt-brand--footer .ygt-brand__tagline {
	display: block;
	color: var(--ygt-footer-text);
	white-space: normal;
}

.ygt-brand--footer .ygt-brand__logo {
	height: var(--ygt-logo-h);
	max-width: 240px;
}

.ygt-footer__desc {
	margin: 18px 0 20px;
	line-height: 1.65;
}

.ygt-site .ygt-footer__title {
	margin: 0 0 16px;
	color: #fff;
	font-size: 14px;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.ygt-footer__links,
.ygt-footer__contact,
.ygt-footer__legal,
.ygt-social {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ygt-footer__links a,
.ygt-footer__contact a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 36px;
	color: var(--ygt-footer-text);
	text-decoration: none;
}

.ygt-footer__links a:hover,
.ygt-footer__contact a:hover,
.ygt-footer__legal a:hover {
	color: var(--ygt-primary);
	text-decoration: underline;
}

.ygt-footer__address {
	display: flex;
	gap: 10px;
	margin: 0 0 10px;
	font-style: normal;
	line-height: 1.6;
}

.ygt-footer .ygt-icon {
	width: 18px;
	height: 18px;
	color: var(--ygt-primary);
}

.ygt-footer__address .ygt-icon { margin-top: 4px; }

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

.ygt-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: var(--ygt-radius);
	color: #fff;
}

.ygt-social a:hover {
	border-color: var(--ygt-primary);
	background: var(--ygt-primary);
}

.ygt-social a:hover .ygt-icon { color: var(--ygt-button-text); }

.ygt-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: 14px;
}

.ygt-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 18px;
}

.ygt-footer__copyright { margin: 0; }

.ygt-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
}

.ygt-footer__legal a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	color: var(--ygt-footer-text);
}

/* ------------------------------------------------------- Mobile action bar */
.ygt-action-bar {
	display: none;
}

@media (max-width: 767.98px) {
	body.ygt-has-action-bar {
		padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
	}

	.ygt-action-bar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 90;
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		padding-bottom: env(safe-area-inset-bottom, 0px);
		background: var(--ygt-graphite-deep);
		box-shadow: 0 -4px 16px rgba(0, 0, 0, .15);
	}

	.ygt-action-bar__item {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 2px;
		min-height: 60px;
		color: #fff;
		font-size: 13px;
		font-weight: 600;
		text-decoration: none;
	}

	.ygt-action-bar__item + .ygt-action-bar__item { border-left: 1px solid rgba(255, 255, 255, .12); }

	.ygt-action-bar__item .ygt-icon {
		width: 22px;
		height: 22px;
		color: var(--ygt-primary);
	}

	.ygt-action-bar__item--primary {
		background: var(--ygt-primary);
		color: var(--ygt-button-text);
	}

	.ygt-action-bar__item--primary .ygt-icon { color: var(--ygt-button-text); }

	.ygt-action-bar__item:focus-visible { outline-offset: -3px; }
}

/* ----------------------------------------------------- Editor previews */
.ygt-editor-preview { pointer-events: none; }

/* ------------------------------------------------------ Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.ygt-site *,
	.ygt-site *::before,
	.ygt-site *::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
	.ygt-card:hover,
	.ygt-card:hover .ygt-card__media img { transform: none; }
}
