/* ==========================================================================
   Transit Logistics Express: components
   Buttons, forms, cards, steps, tracking UI and content styles.
   ========================================================================== */

/* Buttons */
.btn {
	--btn-bg: var(--accent);
	--btn-fg: #fff;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	min-height: 50px;
	padding: 0.7em 1.5em;
	overflow: hidden;
	isolation: isolate;
	background: var(--btn-bg);
	color: var(--btn-fg);
	border: 2px solid var(--btn-bg);
	border-radius: var(--radius);
	font-family: var(--font-head);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.07em;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
}

.btn .icon {
	width: 1.2em;
	height: 1.2em;
	transition: transform 0.3s var(--ease);
}

.btn:hover {
	text-decoration: none;
}

.btn:hover .icon--arrow-right {
	transform: translateX(5px);
}

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

.btn--primary {
	--btn-bg: var(--accent);
}

.btn--primary::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
	transform: translateX(-120%);
	transition: transform 0.7s var(--ease);
}

.btn--primary:hover {
	--btn-bg: var(--accent-hover);
	box-shadow: 0 12px 24px -12px var(--accent);
	transform: translateY(-2px);
}

.btn--primary:hover::after {
	transform: translateX(120%);
}

.btn--dark {
	--btn-bg: var(--ink);
	--btn-fg: var(--page);
}

.btn--dark:hover {
	--btn-bg: var(--accent);
	--btn-fg: #fff;
	transform: translateY(-2px);
}

.btn--ghost {
	--btn-bg: transparent;
	--btn-fg: var(--ink);
	border-color: currentColor;
}

.btn--ghost:hover {
	background: var(--ink);
	color: var(--page);
	border-color: var(--ink);
	transform: translateY(-2px);
}

.on-dark .btn--ghost:hover,
.hero .btn--ghost:hover {
	background: #fff;
	color: #14171c;
	border-color: #fff;
}

/* Ghost buttons sit on photos: a translucent dark fill keeps the white label readable. */
.hero .btn--ghost,
.cta .btn--ghost {
	--btn-fg: #fff;
	background: rgba(14, 16, 20, 0.62);
}

.btn--lg {
	min-height: 58px;
	padding: 0.75em 1.8em;
	font-size: 1.25rem;
}

.btn--sm {
	min-height: 44px;
	padding: 0.55em 1.1em;
	font-size: 1rem;
}

.btn[disabled],
.btn.is-sending {
	opacity: 0.75;
	pointer-events: none;
}

/* Toggle buttons (dark mode, pause animations) */
.icon-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	padding: 6px 14px 6px 10px;
	background: transparent;
	color: var(--ink);
	border: 1px solid var(--line);
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.icon-btn:hover {
	border-color: var(--ink);
}

.icon-btn__icon {
	display: inline-flex;
}

.icon-btn__icon .icon {
	width: 16px;
	height: 16px;
}

html[data-theme="dark"] .icon-btn__icon--moon,
html:not([data-theme="dark"]) .icon-btn__icon--sun,
html[data-theme="dark"] .icon-btn__label--to-dark,
html:not([data-theme="dark"]) .icon-btn__label--to-light,
html[data-motion="paused"] .icon-btn__icon--pause,
html:not([data-motion="paused"]) .icon-btn__icon--play,
html[data-motion="paused"] .icon-btn__label--pause,
html:not([data-motion="paused"]) .icon-btn__label--play {
	display: none;
}

/* The buttons do nothing without JavaScript, so do not show them. */
html:not(.js) [data-tlx-toggle] {
	display: none;
}

.nav__tools .icon-btn,
.footer__tools .icon-btn {
	min-height: 44px;
	padding-inline: 14px;
}

.footer__tools .icon-btn {
	color: var(--ink-2);
}

/* Text link with arrow */
.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 4px;
	color: var(--ink);
	border-bottom: 2px solid var(--accent);
	font-family: var(--font-head);
	font-size: 1.1875rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.07em;
	text-decoration: none;
	text-transform: uppercase;
}

.link-arrow .icon {
	transition: transform 0.3s var(--ease);
}

.link-arrow:hover .icon {
	transform: translateX(5px);
}

/* Tracking form */
.track-form {
	margin: 0;
}

.track-form__label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
}

.track-form__row {
	display: flex;
	align-items: stretch;
	overflow: hidden;
	background: var(--surface);
	border: 2px solid var(--field);
	border-radius: var(--radius);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.track-form__row:focus-within {
	border-color: var(--accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 24%, transparent);
}

.track-form__icon {
	display: grid;
	place-items: center;
	padding-left: 16px;
	color: var(--muted);
}

.track-form__icon .icon {
	width: 24px;
	height: 24px;
}

.track-form__input {
	flex: 1;
	width: 100%;
	min-width: 0;
	min-height: 58px;
	padding: 0 14px;
	background: transparent;
	color: var(--ink);
	border: 0;
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.track-form__input::placeholder {
	color: var(--muted);
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	opacity: 1;
}

.track-form__input:focus,
.track-form__input:focus-visible {
	outline: 2px solid transparent;
}

.track-form__btn {
	min-height: 58px;
	padding-inline: 22px;
	border-radius: 0;
	border-width: 0;
}

.track-form__truck {
	display: inline-flex;
}

.track-form__truck .icon {
	width: 24px;
	height: 24px;
}

@media (max-width: 479px) {
	.track-form__row {
		flex-wrap: wrap;
	}

	.track-form__input {
		flex: 1 1 0;
	}

	.track-form__btn {
		flex: 1 0 100%;
		justify-content: center;
	}
}

.tlx-inline-track {
	margin-block: 1.5em;
}

/* Tracking card in the home hero */
.trackcard {
	display: grid;
	gap: 22px 40px;
	align-items: center;
	padding: 28px clamp(20px, 3vw, 40px);
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 5px solid var(--accent);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
}

@media (min-width: 900px) {
	.trackcard {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	}
}

.trackcard__intro {
	display: flex;
	align-items: center;
	gap: 16px;
}

.trackcard__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 58px;
	height: 58px;
	background: var(--ink);
	color: var(--page);
	border-radius: var(--radius);
}

.trackcard__icon .icon {
	width: 28px;
	height: 28px;
}

.trackcard__title {
	margin: 0 0 4px;
	font-size: 1.875rem;
	line-height: 1;
}

.trackcard__help {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--muted);
}

/* Service cards */
.cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
	gap: 24px;
}

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

.card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	z-index: 3;
	height: 4px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.5s var(--ease);
}

.card:hover,
.card:focus-within {
	transform: translateY(-6px);
	border-color: transparent;
	box-shadow: var(--shadow-lg);
}

.card:hover::before,
.card:focus-within::before {
	transform: scaleX(1);
}

.card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--surface-2);
}

.card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--ease);
}

.card:hover .card__media img {
	transform: scale(1.07);
}

.card__icon {
	position: absolute;
	left: 16px;
	bottom: 16px;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	background: var(--accent);
	color: #fff;
	border-radius: var(--radius);
	box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.6);
	transition: transform 0.4s var(--ease);
}

.card:hover .card__icon {
	transform: rotate(-8deg) scale(1.08);
}

.card__icon .icon {
	width: 26px;
	height: 26px;
}

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

.card__meta {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

.card__title {
	margin: 0;
	font-size: 1.875rem;
	line-height: 1;
}

.card__link {
	color: inherit;
	text-decoration: none;
}

.card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.card__link:focus-visible {
	outline: none;
}

.card__link:focus-visible::after {
	outline: 3px solid var(--focus);
	outline-offset: -3px;
	border-radius: var(--radius-lg);
}

.card__text {
	margin: 0;
	color: var(--ink-2);
}

.card__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 8px;
	color: var(--accent-ink);
	font-family: var(--font-head);
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.card__more .icon {
	transition: transform 0.3s var(--ease);
}

.card:hover .card__more .icon {
	transform: translateX(6px);
}

/* Ticker */
.marquee {
	overflow: hidden;
	padding: 20px 0;
	background: var(--accent);
	color: #fff;
}

.marquee__track {
	display: flex;
	width: max-content;
}

.marquee__list {
	display: flex;
	align-items: center;
	gap: 30px;
	margin: 0;
	padding: 0 15px;
	list-style: none;
	font-family: var(--font-head);
	font-size: clamp(1.625rem, 1rem + 1.8vw, 2.5rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	white-space: nowrap;
}

.marquee__sep {
	display: inline-flex;
	opacity: 0.7;
}

.marquee__sep .icon {
	width: 1.1em;
	height: 1.1em;
	stroke-width: 2.5;
}

/* Why us */
.why__media {
	position: relative;
	margin-right: 12%;
	padding-bottom: 56px;
	isolation: isolate;
}

.why__img {
	object-fit: cover;
	border-radius: var(--radius-lg);
}

.why__img--main {
	width: 100%;
	aspect-ratio: 4 / 5;
	box-shadow: var(--shadow-lg);
}

.why__img--inset {
	position: absolute;
	right: -14%;
	bottom: 0;
	width: 52%;
	aspect-ratio: 1;
	border: 8px solid var(--page);
	box-shadow: var(--shadow);
}

.why__ring {
	position: absolute;
	z-index: -1;
	top: -8%;
	left: -12%;
	width: 72%;
	aspect-ratio: 1;
	border: 3px dashed var(--accent);
	border-radius: 50%;
	opacity: 0.5;
}

.why__badge {
	position: absolute;
	top: 20px;
	left: 20px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 11px 18px 11px 14px;
	background: #14171c;
	color: #fff;
	border-radius: 999px;
	box-shadow: var(--shadow);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1;
}

.why__dot {
	position: relative;
	flex: none;
	width: 10px;
	height: 10px;
	background: #ee7681;
	border-radius: 50%;
}

.why__dot::after {
	content: "";
	position: absolute;
	inset: 0;
	background: #ee7681;
	border-radius: 50%;
	opacity: 0;
}

.points {
	display: grid;
	gap: 30px 32px;
	margin: 34px 0 38px;
	padding: 0;
	list-style: none;
}

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

.point {
	display: flex;
	gap: 16px;
}

.point__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 54px;
	height: 54px;
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.35s var(--ease);
}

.point:hover .point__icon {
	background: var(--accent);
	color: #fff;
	border-color: var(--accent);
	transform: rotate(-7deg);
}

.point__title {
	margin: 0 0 6px;
	font-size: 1.375rem;
	line-height: 1.05;
}

.point p {
	margin: 0;
	color: var(--ink-2);
}

/* Process steps */
.steps__line {
	position: absolute;
	inset: 0;
	border-top: 2px dashed var(--ink);
	opacity: 0.35;
}

.steps__vehicle {
	position: absolute;
	top: -26px;
	left: 0;
	width: 84px;
}

.step {
	position: relative;
	z-index: 1;
}

.step__num {
	position: absolute;
	top: -6px;
	right: 0;
	color: transparent;
	-webkit-text-stroke: 2px var(--ink);
	font-family: var(--font-head);
	font-size: 4.75rem;
	font-weight: 800;
	line-height: 1;
	opacity: 0.22;
	user-select: none;
}

.step__icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin-bottom: 22px;
	background: var(--ink);
	color: var(--page);
	border-radius: 50%;
	box-shadow: 0 0 0 8px var(--surface-2);
	transition: background-color 0.3s, transform 0.4s var(--ease);
}

.step:hover .step__icon {
	background: var(--accent);
	color: #fff;
	transform: scale(1.1) rotate(-6deg);
}

.step__icon .icon {
	width: 28px;
	height: 28px;
}

.step__title {
	margin: 0 0 8px;
	font-size: 1.625rem;
}

.step__text {
	margin: 0;
	color: var(--ink-2);
}

/* Stats */
.stat {
	min-width: 0;
	padding-left: 20px;
	border-left: 3px solid var(--accent);
}

.stat__num {
	margin: 0;
	font-family: var(--font-head);
	font-size: clamp(2.5rem, 1.2rem + 3.2vw, 4.5rem);
	font-variant-numeric: tabular-nums;
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.005em;
	white-space: nowrap;
}

.stat__suffix {
	margin-left: 2px;
	color: var(--accent-ink);
}

.stat__label {
	margin: 10px 0 0;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

/* About */
.about__lead {
	margin: 0 0 22px;
	font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
	font-weight: 500;
	line-height: 1.35;
}

.about__p {
	max-width: 38em;
	margin: 0 0 30px;
	color: var(--ink-2);
}

.about__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
}

.collage__img {
	position: absolute;
	object-fit: cover;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
}

.collage__img--a {
	top: 0;
	left: 0;
	width: 74%;
	height: 62%;
}

.collage__img--b {
	top: 20%;
	right: 0;
	width: 46%;
	height: 40%;
	border: 6px solid var(--page);
}

.collage__img--c {
	bottom: 0;
	left: 10%;
	width: 52%;
	height: 36%;
	border: 6px solid var(--page);
}

.collage__block {
	position: absolute;
	z-index: -1;
	right: 4%;
	bottom: 5%;
	width: 44%;
	height: 36%;
	background: var(--accent);
	border-radius: var(--radius-lg);
}

.values {
	display: grid;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

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

.value {
	padding: 30px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 4px solid var(--accent);
	border-radius: var(--radius-lg);
}

.value__icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin-bottom: 22px;
	background: var(--ink);
	color: var(--page);
	border-radius: var(--radius);
	transition: transform 0.4s var(--ease), background-color 0.3s;
}

.value:hover .value__icon {
	background: var(--accent);
	color: #fff;
	transform: translateY(-4px) rotate(-6deg);
}

.value__icon .icon {
	width: 28px;
	height: 28px;
}

.value__title {
	margin: 0 0 8px;
	font-size: 1.75rem;
}

.value p {
	margin: 0;
	color: var(--ink-2);
}

/* Services page */
.chips {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 12px 0;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: thin;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 8px 18px;
	color: var(--ink);
	border: 2px solid var(--line);
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

.chip:hover {
	color: var(--accent-ink);
	border-color: var(--accent);
}

.chip .icon {
	width: 18px;
	height: 18px;
}

.svc-row__media {
	position: relative;
	isolation: isolate;
}

.svc-row__media::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 22px -16px -16px 22px;
	border: 3px solid var(--accent);
	border-radius: var(--radius-lg);
}

.svc-row--flip .svc-row__media::before {
	inset: 22px 22px -16px -16px;
}

.svc-row__img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
}

.svc-row__badge {
	position: absolute;
	top: 20px;
	left: 20px;
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	background: var(--accent);
	color: #fff;
	border-radius: var(--radius);
	box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.7);
}

.svc-row__badge .icon {
	width: 30px;
	height: 30px;
}

.svc-row__title {
	margin: 0 0 14px;
	font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.25rem);
	line-height: 0.96;
}

.svc-row__lead {
	margin: 0 0 14px;
	font-size: 1.25rem;
	font-weight: 500;
}

.svc-row__text p {
	color: var(--ink-2);
}

.svc-row__text .svc-row__lead {
	color: var(--ink);
}

.ticks {
	display: grid;
	gap: 11px;
	margin: 22px 0 30px;
	padding: 0;
	list-style: none;
}

.ticks li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.ticks .icon {
	width: 24px;
	height: 24px;
	margin-top: 1px;
	padding: 4px;
	background: var(--accent);
	color: #fff;
	border-radius: 50%;
	stroke-width: 3;
}

/* Track & Trace page */
.track-panel {
	padding: clamp(24px, 4vw, 44px);
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 5px solid var(--accent);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}

.track-panel__title {
	margin: 0 0 22px;
	font-size: 2rem;
}

.help-card {
	padding: 28px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
}

.help-card__title {
	margin: 0 0 14px;
	font-size: 1.625rem;
}

.help-card p {
	color: var(--ink-2);
}

.help-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0 0;
}

.help-card .ticks {
	margin: 0;
}

.journey {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.journey::before {
	content: "";
	position: absolute;
	top: 31px;
	right: 10%;
	left: 10%;
	height: 3px;
	background: repeating-linear-gradient(90deg, var(--ink) 0 10px, transparent 10px 20px);
	opacity: 0.35;
}

.journey__stage {
	position: relative;
	display: grid;
	justify-items: center;
	gap: 14px;
	text-align: center;
}

.journey__dot {
	position: relative;
	z-index: 1;
	isolation: isolate;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	background: var(--surface);
	color: var(--ink);
	border: 3px solid var(--ink);
	border-radius: 50%;
}

.journey__dot .icon {
	width: 26px;
	height: 26px;
}

/* The highlight is a second layer that fades in (opacity only), with a white copy of the icon on top. */
.journey__dot::before {
	content: "";
	position: absolute;
	inset: -3px;
	z-index: -1;
	background: var(--accent);
	border-radius: 50%;
	opacity: 0;
}

.journey__dot .icon--on {
	position: absolute;
	color: #fff;
	opacity: 0;
}

.journey__label {
	font-family: var(--font-head);
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

@media (max-width: 639px) {
	.journey {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.journey::before {
		top: 0;
		bottom: 0;
		left: 31px;
		right: auto;
		width: 3px;
		height: auto;
		background: repeating-linear-gradient(180deg, var(--ink) 0 10px, transparent 10px 20px);
	}

	.journey__stage {
		grid-template-columns: 64px 1fr;
		justify-items: start;
		align-items: center;
		gap: 18px;
		text-align: left;
	}
}

.notice-card {
	display: flex;
	gap: 16px;
	margin-top: 24px;
	padding: 20px 22px;
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-left: 5px solid var(--accent);
	border-radius: var(--radius);
}

.notice-card__icon {
	flex: none;
	color: var(--accent-ink);
}

.notice-card__icon .icon {
	width: 28px;
	height: 28px;
}

.notice-card__title {
	margin: 0 0 6px;
	font-size: 1.5rem;
}

.notice-card p {
	margin: 0 0 10px;
	color: var(--ink-2);
}

.notice-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 14px 0 0 !important;
}

.admin-hint {
	margin: 0 0 20px;
	padding: 12px 16px;
	background: #fff7d6;
	color: #4a3b00;
	border: 1px dashed #b58a00;
	border-radius: var(--radius);
	font-size: 0.9375rem;
}

.track-result {
	margin-top: 24px;
}

.tlx-plugin.is-empty {
	display: none;
}

/* Your tracking plugin's output, skinned to match. Plain element rules only (one class of
   specificity), so a plugin's own more specific styles still win. */
.tlx-plugin {
	color: var(--ink);
}

.tlx-plugin > :where(* + *) {
	margin-top: 20px;
}

.tlx-plugin :where(form) {
	display: grid;
	gap: 12px;
	margin: 0;
}

.tlx-plugin :where(h1, h2, h3, h4) {
	color: var(--ink);
}

/* In the home page bar, an input plus a button sit on one row from tablet width up. */
@media (min-width: 640px) {
	.tlx-plugin--bar :where(form) {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: stretch;
	}
}

.tlx-plugin :where(input[type="text"], input[type="search"], input[type="email"], input[type="number"], input[type="tel"], input:not([type]), select, textarea) {
	width: 100%;
	min-height: 54px;
	padding: 12px 14px;
	background: var(--surface);
	color: var(--ink);
	border: 2px solid var(--field);
	border-radius: var(--radius);
	font: inherit;
}

.tlx-plugin :where(input:focus, select:focus, textarea:focus) {
	border-color: var(--accent);
	outline: 2px solid transparent;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 24%, transparent);
}

.tlx-plugin :where(button, input[type="submit"], input[type="button"], .button) {
	min-height: 54px;
	padding: 0 28px;
	background: var(--accent);
	color: #fff;
	border: 2px solid var(--accent);
	border-radius: var(--radius);
	font-family: var(--font-head);
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	cursor: pointer;
	justify-self: start;
}

.tlx-plugin :where(button:hover, input[type="submit"]:hover, input[type="button"]:hover, .button:hover) {
	background: var(--accent-hover);
	border-color: var(--accent-hover);
}

.tlx-plugin :where(table) {
	width: 100%;
	border-collapse: collapse;
}

.tlx-plugin :where(th, td) {
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	text-align: left;
}

.tlx-plugin :where(th) {
	background: var(--surface-2);
}

.tlx-plugin :where(label) {
	font-weight: 600;
}

/* Shipment Tracker Pro, the plugin this theme was built for: left-aligned and in the theme's
   colours. Its result card is white by design, so the text inside stays dark in dark mode too. */
.tlx-plugin .stp-front {
	max-width: none;
	margin: 0;
	font-family: inherit;
	color: var(--ink);
}

.tlx-plugin .stp-track-form {
	margin: 0 0 24px;
}

.tlx-plugin .stp-track-form:last-child {
	margin-bottom: 0;
}

.tlx-plugin .stp-track-form input[type="text"] {
	min-height: 54px;
	background: var(--surface);
	color: var(--ink);
	border: 2px solid var(--field);
	border-radius: var(--radius);
}

.tlx-plugin .stp-track-form button {
	min-height: 54px;
	background: var(--accent);
	border-radius: var(--radius);
	font-family: var(--font-head);
	font-size: 1.125rem;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.tlx-plugin .stp-track-form button:hover {
	background: var(--accent-hover);
}

.tlx-plugin .stp-front .stp-result {
	color: #1e293b;
}

.tlx-plugin .stp-front .stp-result :where(h1, h2, h3, h4) {
	color: #0f172a;
}

/* Contact page */
.contact-cards {
	display: grid;
	gap: 16px;
	margin: 30px 0;
	padding: 0;
	list-style: none;
}

.contact-card {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 22px;
	background: var(--surface);
	color: var(--ink);
	border: 1px solid var(--line);
	border-left: 5px solid var(--accent);
	border-radius: var(--radius-lg);
	text-decoration: none;
	transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.contact-card:hover {
	box-shadow: var(--shadow);
	transform: translateX(6px);
}

.contact-card__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 58px;
	height: 58px;
	background: var(--ink);
	color: var(--page);
	border-radius: 50%;
}

.contact-card__icon .icon {
	width: 26px;
	height: 26px;
}

.contact-card__body {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.contact-card__label {
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

.contact-card__value {
	font-family: var(--font-head);
	font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.125rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: 0.02em;
	overflow-wrap: anywhere;
}

.contact-card__value--email {
	font-family: var(--font-body);
	font-size: clamp(1rem, 0.85rem + 0.45vw, 1.0625rem);
	font-weight: 700;
	letter-spacing: 0;
}

.contact-card__go {
	flex: none;
	margin-left: auto;
	color: var(--accent-ink);
	transition: transform 0.3s var(--ease);
}

.contact-card:hover .contact-card__go {
	transform: translateX(4px);
}

@media (max-width: 479px) {
	.contact-card {
		gap: 12px;
		padding: 16px;
	}

	.contact-card__icon {
		width: 44px;
		height: 44px;
	}

	.contact-card__icon .icon {
		width: 22px;
		height: 22px;
	}

	.contact-card__go {
		display: none;
	}
}

.contact__track {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	border: 2px dashed var(--line);
	border-radius: var(--radius-lg);
}

.contact__track p {
	margin: 0;
}

.contact__track-icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 48px;
	height: 48px;
	color: var(--accent-ink);
}

.contact__track-icon .icon {
	width: 32px;
	height: 32px;
}

.quote-card {
	padding: clamp(24px, 4vw, 44px);
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 5px solid var(--accent);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
}

.quote-card__title {
	margin: 0 0 8px;
	font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem);
}

.quote-card__lead {
	margin: 0 0 26px;
	color: var(--ink-2);
}

/* Quote form */
.qform__grid {
	display: grid;
	gap: 20px;
}

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

	.field--full {
		grid-column: 1 / -1;
	}
}

.field {
	display: grid;
	gap: 7px;
	align-content: start;
}

.field label {
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.3;
}

.req {
	color: var(--accent-ink);
}

.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 54px;
	padding: 12px 14px;
	background: var(--surface);
	color: var(--ink);
	border: 2px solid var(--field);
	border-radius: var(--radius);
	font-size: 1.0625rem;
	line-height: 1.3;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
	min-height: 150px;
	line-height: 1.5;
	resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
	color: var(--muted);
	opacity: 1;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	border-color: var(--accent);
	outline: 3px solid transparent;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 24%, transparent);
}

.field [aria-invalid="true"] {
	border-color: var(--bad);
}

.field__error {
	margin: 0;
	color: var(--bad);
	font-size: 0.9375rem;
	font-weight: 600;
}

.qform__summary {
	margin-bottom: 22px;
	padding: 16px 18px;
	background: color-mix(in srgb, var(--bad) 9%, var(--surface));
	border: 2px solid var(--bad);
	border-radius: var(--radius);
}

.qform__summary p {
	margin: 0 0 6px;
	font-weight: 700;
}

.qform__summary ul {
	margin: 0;
	padding-left: 1.2em;
}

.qform__summary a {
	color: var(--ink);
}

.qform__hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.qform__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
	margin-top: 26px;
}

.qform__fine {
	max-width: 22em;
	margin: 0;
	font-size: 0.875rem;
	color: var(--muted);
}

.qform__submit .qform__plane {
	width: 1.3em;
	height: 1.3em;
}

.qform__done {
	padding: 36px 12px 12px;
	text-align: center;
}

.qform__done:focus {
	outline: none;
}

.qform__done h3 {
	margin: 0 0 8px;
	font-size: 2.25rem;
}

.qform__done p {
	margin: 0 0 10px;
	color: var(--ink-2);
}

.qform__check {
	display: inline-grid;
	place-items: center;
	width: 88px;
	height: 88px;
	margin-bottom: 18px;
	background: var(--ok);
	color: #fff;
	border-radius: 50%;
}

.qform__check .icon {
	width: 46px;
	height: 46px;
	stroke-width: 3;
}

.form-notice {
	margin-bottom: 22px;
	padding: 14px 18px;
	border: 2px solid;
	border-radius: var(--radius);
	font-weight: 600;
}

.form-notice--ok {
	background: color-mix(in srgb, var(--ok) 12%, var(--surface));
	border-color: var(--ok);
}

.form-notice--bad {
	background: color-mix(in srgb, var(--bad) 9%, var(--surface));
	border-color: var(--bad);
}

/* Search form and empty states */
.searchform__row {
	display: flex;
	max-width: 520px;
	margin: 24px auto 0;
	overflow: hidden;
	background: var(--surface);
	border: 2px solid var(--field);
	border-radius: var(--radius);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.searchform__row:focus-within {
	border-color: var(--accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 24%, transparent);
}

.searchform__icon {
	display: grid;
	place-items: center;
	padding-left: 14px;
	color: var(--muted);
}

.searchform__input {
	flex: 1;
	min-width: 0;
	min-height: 52px;
	padding: 0 12px;
	background: transparent;
	color: var(--ink);
	border: 0;
	font-size: 1.0625rem;
}

.searchform__input:focus {
	outline: 2px solid transparent;
}

.searchform .btn {
	min-height: 52px;
	border-radius: 0;
}

.empty {
	padding: 24px 0;
	text-align: center;
}

.empty__title {
	margin: 0 0 20px;
	font-family: var(--font-head);
	font-size: 2.25rem;
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}

.empty__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 0;
}

/* Long-form content */
.prose {
	font-size: 1.125rem;
	line-height: 1.7;
}

.prose > * + * {
	margin-top: 1.25em;
	margin-bottom: 0;
}

.prose h2 {
	margin-top: 1.8em;
	font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem);
}

.prose h3 {
	margin-top: 1.6em;
	font-size: 1.75rem;
}

.prose a {
	color: var(--accent-ink);
}

.prose img,
.prose .wp-block-image img {
	border-radius: var(--radius);
}

.prose blockquote {
	margin-inline: 0;
	padding: 0.3em 0 0.3em 1.2em;
	border-left: 4px solid var(--accent);
	color: var(--ink-2);
	font-size: 1.25em;
}

.prose table {
	width: 100%;
	border-collapse: collapse;
}

.prose th,
.prose td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	text-align: left;
}

.prose pre {
	padding: 16px;
	overflow: auto;
	background: var(--surface-2);
	border-radius: var(--radius);
	font-size: 0.9375rem;
}

.prose code {
	font-size: 0.9em;
}

.prose__thumb {
	width: 100%;
	margin-bottom: 1.5em;
	border-radius: var(--radius-lg);
}

.alignleft {
	float: left;
	margin: 0 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.wp-caption,
.wp-block-image {
	max-width: 100%;
}

.wp-caption-text,
figcaption,
.gallery-caption {
	margin-top: 8px;
	font-size: 0.875rem;
	color: var(--muted);
}

.sticky,
.bypostauthor {
	display: block;
}

.page-links,
.post-navigation,
.comments-pagination {
	margin-top: 2em;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 48px;
}

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 46px;
	min-height: 46px;
	padding: 0 14px;
	color: var(--ink);
	border: 2px solid var(--line);
	border-radius: var(--radius);
	font-weight: 600;
	text-decoration: none;
}

.page-numbers.current {
	background: var(--ink);
	color: var(--page);
	border-color: var(--ink);
}

.page-numbers:not(.current):hover {
	border-color: var(--accent);
}

.post-navigation .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
}

.post-navigation a {
	display: block;
	max-width: 22em;
	font-weight: 600;
	text-decoration: none;
}

.nav-subtitle {
	display: block;
	font-size: 0.8125rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

/* Comments */
.comments {
	margin-top: 64px;
	padding-top: 32px;
	border-top: 3px solid var(--ink);
}

.comments__title {
	font-size: 2rem;
}

.comment-list {
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	margin-top: 16px;
	padding-left: 20px;
	list-style: none;
}

.comment-body {
	margin-bottom: 20px;
	padding: 18px 20px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.comment-meta {
	margin-bottom: 8px;
	font-size: 0.875rem;
	color: var(--muted);
}

.comment-meta .avatar {
	float: left;
	margin-right: 12px;
	border-radius: 50%;
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	background: var(--surface);
	border: 2px solid var(--field);
	border-radius: var(--radius);
}

.comment-form .submit {
	min-height: 52px;
	padding: 0 28px;
	background: var(--accent);
	color: #fff;
	border: 0;
	border-radius: var(--radius);
	font-family: var(--font-head);
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

/* Button groups: on phones each button fills the row so the pair lines up. */
@media (max-width: 560px) {
	.hero__cta .btn,
	.about__actions .btn,
	.help-card__actions .btn {
		flex: 1 1 100%;
		justify-content: center;
	}
}
