/*
 * NLC About Nick (template-nlc-about-nick.php)
 * Loaded after the Trydo parent and child styles. Trydo sets body/p to 22px #717173
 * and h1-h3 to #000, so dark sections force their colors with !important.
 */

@font-face {
	font-family: "NLC Anton";
	src: url("../fonts/Anton-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

.nlc-about {
	--nlc-dark: #0b0d11;
	--nlc-dark-card: #14171f;
	--nlc-yellow: #ffc500;
	--nlc-white: #ffffff;
	--nlc-text-on-dark: #c5c8d0;
	--nlc-ink: #111111;
	--nlc-display: "NLC Anton", "Anton", Impact, "Arial Narrow Bold", sans-serif;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

/* Trydo prints a page-title banner above every page; the hero replaces it here. */
body.nlc-about-nick .breadcrumb-area {
	display: none !important;
}

.nlc-about *,
.nlc-about *::before,
.nlc-about *::after {
	box-sizing: border-box;
}

.nlc-about img {
	max-width: 100%;
}

.nlc-about ul,
.nlc-about ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nlc-about ul li,
.nlc-about ol li {
	margin: 0;
	padding: 0;
}

.nlc-about ul li::before,
.nlc-about ol li::before {
	content: none;
}

.nlc-about-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- Hero (dark) ---------- */

.nlc-about .nlc-about-hero {
	background: #0b0d11 !important;
	color: #c5c8d0 !important;
	padding: 72px 0 0 !important;
	margin: 0 !important;
	position: relative;
	overflow: hidden;
}

.nlc-about-hero .nlc-about-hero__inner {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 24px !important;
	padding-bottom: 0 !important;
}

.nlc-about-hero .nlc-about-hero__copy {
	position: relative;
	z-index: 2;
	flex: 1 1 0;
	min-width: 0;
	align-self: flex-start;
	padding-top: 20px;
	padding-bottom: 70px;
}

.nlc-about-hero h1.nlc-about-hero__title {
	font-family: var(--nlc-display) !important;
	font-weight: 400 !important;
	font-size: clamp(30px, 3.1vw, 46px) !important;
	line-height: 1.08 !important;
	letter-spacing: 0.01em !important;
	text-transform: uppercase !important;
	color: #ffffff !important;
	margin: 0 0 28px !important;
	padding: 0 !important;
}

.nlc-about-hero .nlc-about-hero__line {
	display: block;
	white-space: nowrap;
	color: #ffffff !important;
}

.nlc-about-hero .nlc-about-hero__line--accent {
	color: #ffc500 !important;
}

.nlc-about-hero p.nlc-about-hero__lede {
	font-size: 18px !important;
	line-height: 1.65 !important;
	color: #c5c8d0 !important;
	max-width: 640px;
	margin: 0 0 36px !important;
	padding: 0 !important;
	/* Even line lengths with no short last line; pretty is the fallback where balance is unsupported. */
	text-wrap: pretty;
	text-wrap: balance;
}

.nlc-about-hero a.nlc-about-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #ffc500 !important;
	color: #0b0d11 !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	letter-spacing: 0.02em;
	text-transform: uppercase !important;
	white-space: nowrap;
	padding: 16px 30px !important;
	border: 0 !important;
	border-radius: 999px !important;
	text-decoration: none !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nlc-about-hero a.nlc-about-pill:hover,
.nlc-about-hero a.nlc-about-pill:focus-visible {
	color: #0b0d11 !important;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(255, 197, 0, 0.28);
}

/* Portrait is capped at 700px wide and 580px tall. The media box is sized to the portrait's
   real footprint (580px x 434/453 aspect) so the percentage-sized layers keep framing him. */
.nlc-about-hero {
	--nlc-hero-media-w: min(700px, calc(580px * 434 / 453));
}

.nlc-about-hero .nlc-about-hero__media {
	flex: 0 1 var(--nlc-hero-media-w) !important;
	width: 100%;
	max-width: var(--nlc-hero-media-w) !important;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	line-height: 0;
	margin-bottom: 0 !important;
	padding: 0 !important;
	position: relative;
	z-index: 1;
}

/* Decorative layers behind the portrait: backdrop SVG, then three brush-plate slashes. */
.nlc-about-hero .nlc-about-hero__layer {
	position: absolute !important;
	pointer-events: none;
	user-select: none;
	max-width: none !important;
	margin: 0 !important;
	z-index: 0;
}

.nlc-about-hero svg.nlc-about-hero__backdrop {
	top: -72px;
	left: -12%;
	width: calc(112% + 360px);
	height: calc(100% + 72px);
	display: block;
}

.nlc-about-hero img.nlc-about-hero__brush {
	height: auto !important;
}

.nlc-about-hero img.nlc-about-hero__brush--back {
	width: 80%;
	top: 0;
	right: -10%;
	opacity: 0.6;
	transform: rotate(-6deg);
}

.nlc-about-hero img.nlc-about-hero__brush--main {
	width: 104%;
	top: 30%;
	left: -2%;
	opacity: 0.92;
	transform: rotate(-16deg) scale(1, 0.3);
}

.nlc-about-hero img.nlc-about-hero__brush--accent {
	width: 72%;
	top: 50%;
	right: -14%;
	opacity: 0.8;
	transform: rotate(-12deg) scale(-1, 0.28);
}

.nlc-about-hero img.nlc-about-hero__img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100% !important;
	max-width: 700px !important;
	max-height: 580px !important;
	height: auto !important;
	object-fit: contain;
	object-position: center bottom;
	margin: 0 !important;
	margin-bottom: 0 !important;
	vertical-align: bottom;
	/* Overlaps the hero's clipped bottom edge so no sub-pixel dark line shows above the partner bar. */
	transform: translateY(2px);
}

/* ---------- Trusted & Partnered With (dark) ---------- */

.nlc-about .nlc-about-partners {
	background: #0b0d11 !important;
	color: #c5c8d0 !important;
	padding: 24px 0 30px !important;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	text-align: center;
}

.nlc-about-partners h2.nlc-about-partners__title {
	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	letter-spacing: 0.2em !important;
	text-transform: uppercase !important;
	color: #ffffff !important;
	margin: 0 0 28px !important;
}

.nlc-about-partners .nlc-logo-ticker {
	position: relative;
	overflow: hidden;
	white-space: nowrap;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%);
}

/* The track holds the logo set twice. padding-right repeats the 50px gap after the last
   logo so -50% lands exactly on the start of the second copy: no jump at the loop point. */
.nlc-about-partners .nlc-logo-track {
	display: flex;
	align-items: center;
	gap: 50px;
	width: max-content;
	padding-right: 50px !important;
	/* ~3.2s per logo (20 logos); keep proportional if the set changes. */
	animation: nlcScroll 64s linear infinite;
}

.nlc-about-partners .nlc-logo-ticker:hover .nlc-logo-track {
	animation-play-state: paused;
}

.nlc-about-partners .nlc-logo-track img {
	display: block;
	flex: 0 0 auto;
	/* Per-logo height comes from the template (--nlc-logo-h) to balance visual weight. */
	height: var(--nlc-logo-h, 24px) !important;
	width: auto !important;
	max-height: 32px !important;
	max-width: 150px !important;
	margin: 0 !important;
	object-fit: contain;
	filter: brightness(0) invert(1);
	opacity: 0.7 !important;
}

@keyframes nlcScroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/* No motion: show one static, wrapped set of logos instead of a frozen strip. */
@media (prefers-reduced-motion: reduce) {
	.nlc-about-partners .nlc-logo-ticker {
		white-space: normal;
		-webkit-mask-image: none;
		mask-image: none;
	}

	.nlc-about-partners .nlc-logo-track {
		animation: none;
		width: auto;
		flex-wrap: wrap;
		justify-content: center;
		gap: 20px 40px;
		padding-right: 0 !important;
	}

	.nlc-about-partners .nlc-logo-track img[aria-hidden="true"] {
		display: none;
	}
}

/* ---------- Find Nick LeRoy Online (light) ---------- */

.nlc-about .nlc-about-online {
	background: #f5f6f8 !important;
	color: #3a3d44;
	padding: 88px 0 !important;
}

.nlc-about-online h2.nlc-about-online__title {
	font-family: var(--nlc-display) !important;
	font-weight: 400 !important;
	font-size: clamp(34px, 4.2vw, 56px) !important;
	line-height: 1.05 !important;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	text-align: center;
	color: #111111 !important;
	margin: 0 0 12px !important;
}

.nlc-about-online p.nlc-about-online__sub {
	font-size: 16px !important;
	line-height: 1.5 !important;
	text-align: center;
	margin: 0 0 40px !important;
}

.nlc-about-online .nlc-about-online__sub a {
	color: #3a3d44 !important;
	text-decoration: underline !important;
	text-decoration-color: #ffc500 !important;
	text-decoration-thickness: 2px !important;
	text-underline-offset: 4px;
}

.nlc-about-online .nlc-about-online__sub a:hover {
	color: #111111 !important;
}

.nlc-about-online .nlc-about-socials {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0 0 28px;
}

.nlc-about-online a.nlc-about-social {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 104px;
	padding: 24px 28px !important;
	border-radius: 14px;
	color: #ffffff !important;
	text-decoration: none !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nlc-about-online a.nlc-about-social:hover,
.nlc-about-online a.nlc-about-social:focus-visible {
	color: #ffffff !important;
	transform: translateY(-3px);
	box-shadow: 0 14px 28px rgba(11, 13, 17, 0.18);
}

.nlc-about-online .nlc-about-social--linkedin { background: #0a66c2 !important; }
.nlc-about-online .nlc-about-social--x { background: #0f1419 !important; }
.nlc-about-online .nlc-about-social--bluesky { background: #0285ff !important; }

.nlc-about-online .nlc-about-social svg {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	fill: #ffffff;
}

.nlc-about-online .nlc-about-social__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.nlc-about-online .nlc-about-social__text strong {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	color: #ffffff !important;
}

.nlc-about-online .nlc-about-social__text span {
	font-size: 15px;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.85) !important;
	overflow-wrap: anywhere;
}

.nlc-about-online .nlc-about-chips {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-template-rows: repeat(7, auto);
	grid-auto-flow: column;
	gap: 12px 20px;
}

.nlc-about-online a.nlc-about-chip {
	display: flex;
	align-items: center;
	min-height: 52px;
	height: 100%;
	padding: 12px 18px !important;
	background: #ffffff !important;
	border: 1px solid #e2e4e8 !important;
	border-radius: 10px;
	color: #1d2027 !important;
	font-size: 16px !important;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nlc-about-online a.nlc-about-chip::after {
	content: "\2197";
	margin-left: auto;
	padding-left: 12px;
	color: #9aa0ab;
	font-weight: 400;
}

.nlc-about-online a.nlc-about-chip:hover,
.nlc-about-online a.nlc-about-chip:focus-visible {
	color: #111111 !important;
	border-color: #ffc500 !important;
	box-shadow: 0 6px 16px rgba(11, 13, 17, 0.08);
}

/* ---------- Journey (dark) ---------- */

.nlc-about .nlc-about-journey {
	position: relative;
	overflow: hidden;
	background: #0b0d11 !important;
	color: #c5c8d0 !important;
	padding: 100px 0 140px !important;
}

.nlc-about-journey .nlc-about-container {
	position: relative;
	z-index: 1;
}

.nlc-about-journey img.nlc-about-journey__mountain {
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 0;
	width: 46%;
	max-width: 640px !important;
	height: auto;
	opacity: 0.35;
	pointer-events: none;
	user-select: none;
}

.nlc-about-journey h2.nlc-about-journey__title {
	font-family: var(--nlc-display) !important;
	font-weight: 400 !important;
	font-size: clamp(32px, 4.2vw, 58px) !important;
	line-height: 1.08 !important;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	text-align: center;
	color: #ffffff !important;
	margin: 0 auto 72px !important;
	max-width: 900px;
}

.nlc-about-journey .nlc-about-timeline {
	position: relative;
	max-width: 1000px;
	margin: 0 auto !important;
}

.nlc-about-journey .nlc-about-timeline::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	background: #ffc500;
	transform: translateX(-50%);
}

.nlc-about-journey .nlc-about-timeline__item {
	position: relative;
	width: 50%;
	margin: 0 0 40px !important;
}

.nlc-about-journey .nlc-about-timeline__item:last-child {
	margin-bottom: 0 !important;
}

.nlc-about-journey .nlc-about-timeline__item--left {
	margin-right: auto !important;
	padding-right: 48px !important;
}

.nlc-about-journey .nlc-about-timeline__item--right {
	margin-left: auto !important;
	padding-left: 48px !important;
}

.nlc-about-journey .nlc-about-timeline__node {
	position: absolute;
	top: 28px;
	width: 20px;
	height: 20px;
	border: 3px solid #ffc500;
	border-radius: 50%;
	background: #0b0d11;
	z-index: 2;
}

.nlc-about-journey .nlc-about-timeline__item--left .nlc-about-timeline__node {
	right: 0;
	transform: translateX(50%);
}

.nlc-about-journey .nlc-about-timeline__item--right .nlc-about-timeline__node {
	left: 0;
	transform: translateX(-50%);
}

.nlc-about-journey .nlc-about-timeline__card {
	background: #14171f !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
	border-radius: 14px;
	padding: 26px 28px !important;
	color: #ffffff !important;
}

.nlc-about-journey p.nlc-about-timeline__when {
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #ffc500 !important;
	margin: 0 0 8px !important;
}

.nlc-about-journey h3.nlc-about-timeline__role {
	font-family: inherit !important;
	font-size: 22px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	color: #ffffff !important;
	margin: 0 0 10px !important;
}

.nlc-about-journey p.nlc-about-timeline__body {
	font-size: 16px !important;
	line-height: 1.6 !important;
	color: #c5c8d0 !important;
	margin: 0 !important;
}

.nlc-about-journey .nlc-about-timeline__item--featured .nlc-about-timeline__card {
	background: #ffffff !important;
	border-color: #ffffff !important;
	color: #111111 !important;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.nlc-about-journey .nlc-about-timeline__item--featured h3.nlc-about-timeline__role,
.nlc-about-journey .nlc-about-timeline__item--featured p.nlc-about-timeline__body {
	color: #111111 !important;
}

.nlc-about-journey .nlc-about-timeline__item--featured p.nlc-about-timeline__when {
	color: #8a6a00 !important;
}

/* Equal pills: two equal columns, equal rows; drops to one per row when a cell would be
   narrower than the longest label ("$1B+ Revenue Generated") needs. */
.nlc-about-journey .nlc-about-timeline__pills {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(max(190px, calc(50% - 4px)), 1fr));
	grid-auto-rows: 1fr;
	gap: 8px;
	margin: 18px 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.nlc-about-journey .nlc-about-timeline__pills li {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin: 0 !important;
	background: #ffc500 !important;
	color: #111111 !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	white-space: nowrap;
	padding: 7px 8px !important;
	border-radius: 999px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1199px) {
	.nlc-about-hero .nlc-about-hero__media {
		flex: 0 1 min(50%, var(--nlc-hero-media-w)) !important;
		max-width: min(50%, var(--nlc-hero-media-w)) !important;
	}
}

@media (max-width: 991px) {
	.nlc-about .nlc-about-hero {
		padding-top: 56px !important;
	}

	.nlc-about-hero .nlc-about-hero__inner {
		flex-direction: column;
		align-items: center;
		gap: 40px;
		text-align: center;
	}

	.nlc-about-hero .nlc-about-hero__copy {
		flex: 0 0 auto;
		width: 100%;
		padding-bottom: 0;
	}

	.nlc-about-hero h1.nlc-about-hero__title {
		font-size: clamp(26px, 7vw, 56px) !important;
	}

	.nlc-about-hero p.nlc-about-hero__lede {
		margin-left: auto !important;
		margin-right: auto !important;
	}

	.nlc-about-hero .nlc-about-hero__media {
		flex: 0 0 auto !important;
		max-width: var(--nlc-hero-media-w) !important;
		justify-content: center;
	}

	.nlc-about-hero svg.nlc-about-hero__backdrop {
		top: -24px;
		left: -24px;
		width: calc(100% + 48px);
		height: calc(100% + 24px);
	}

	.nlc-about-online .nlc-about-socials {
		grid-template-columns: 1fr;
	}

	.nlc-about-online .nlc-about-chips {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: none;
		grid-auto-flow: row;
	}
}

@media (max-width: 900px) {
	.nlc-about-journey .nlc-about-timeline::before {
		left: 10px;
		transform: none;
	}

	.nlc-about-journey .nlc-about-timeline__item,
	.nlc-about-journey .nlc-about-timeline__item--left,
	.nlc-about-journey .nlc-about-timeline__item--right {
		width: 100%;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 44px !important;
		padding-right: 0 !important;
	}

	.nlc-about-journey .nlc-about-timeline__item--left .nlc-about-timeline__node,
	.nlc-about-journey .nlc-about-timeline__item--right .nlc-about-timeline__node {
		left: 11px;
		right: auto;
		transform: translateX(-50%);
	}

	.nlc-about-journey img.nlc-about-journey__mountain {
		width: 80%;
	}
}

@media (max-width: 600px) {
	.nlc-about-container,
	.nlc-about-hero .nlc-about-hero__inner {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}

	.nlc-about-hero h1.nlc-about-hero__title {
		font-size: clamp(24px, 7.4vw, 40px) !important;
	}

	/* Chrome only balances up to 6 lines; at this width the paragraph runs ~10, so use pretty. */
	.nlc-about-hero p.nlc-about-hero__lede {
		font-size: 16px !important;
		text-wrap: pretty;
	}

	.nlc-about-hero a.nlc-about-pill {
		font-size: 14px !important;
		letter-spacing: 0;
		padding: 16px 22px !important;
	}

	.nlc-about .nlc-about-online {
		padding: 64px 0 !important;
	}

	.nlc-about-online .nlc-about-chips {
		grid-template-columns: 1fr;
	}

	.nlc-about-online a.nlc-about-social {
		min-height: 0;
		padding: 20px 22px !important;
	}

	.nlc-about .nlc-about-journey {
		padding: 72px 0 96px !important;
	}

	.nlc-about-journey h2.nlc-about-journey__title {
		margin-bottom: 48px !important;
	}

	.nlc-about-journey .nlc-about-timeline__card {
		padding: 22px 20px !important;
	}

	.nlc-about-journey h3.nlc-about-timeline__role {
		font-size: 19px !important;
	}
}
