/* =========================================================================
   Tsegas Law — main stylesheet
   Tokens carried over from the Horizons build (index.css) so the identity
   is unchanged; the layout is rebuilt rather than ported.
   ========================================================================= */

:root {
	color-scheme: light;

	--tsl-primary: #07b5d3;
	--tsl-primary-dark: #05879e;
	--tsl-primary-ink: #00505e;
	--tsl-secondary: #3d5f73;
	--tsl-secondary-dark: #2f4a5a;

	--tsl-fg: #181d24;
	--tsl-bg: #ffffff;
	--tsl-surface: #f7f9fa;
	--tsl-muted: #e5e7eb;
	--tsl-muted-fg: #6b7280;
	--tsl-border: #e2e6ea;

	--tsl-radius: 0.5rem;
	--tsl-radius-lg: 1rem;
	--tsl-shell: 1280px;
	--tsl-section-y: 5rem;

	--tsl-shadow-sm: 0 1px 2px rgba(24, 29, 36, .06);
	--tsl-shadow: 0 4px 16px rgba(24, 29, 36, .08);
	--tsl-shadow-lg: 0 12px 40px rgba(24, 29, 36, .1);

	--tsl-serif: "GFS Didot", "GFS Didot Fallback", Georgia, "Times New Roman", serif;
	/* GFS Didot has one weight and no italic — never synthesise either. */
	--tsl-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (min-width: 768px) {
	:root { --tsl-section-y: 7rem; }
}

/* ---------- base ---------- */

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

html { scroll-behavior: smooth; scroll-padding-top: 7rem; }

body {
	margin: 0;
	background: var(--tsl-bg);
	color: var(--tsl-fg);
	font-family: var(--tsl-sans);
	font-size: 1rem;
	line-height: 1.65;
	overflow-x: clip;
	font-feature-settings: "kern" 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* GFS Didot ships one weight (400). Synthetic bold smears a high-contrast
   didone — the thin strokes fatten unevenly against the thick ones — so
   font-synthesis stays off and the extra weight comes from a hairline stroke
   in the same colour instead. It thickens every stroke by an equal amount,
   which is what a real bold cut would not do, but at these sizes it reads as
   a firmer roman rather than a distortion.
   Scaled by size: a fixed stroke is proportionally far heavier on an h4. */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--tsl-serif);
	font-weight: 400;
	letter-spacing: 0;
	text-wrap: balance;
	margin: 0 0 0.5em;
	line-height: 1.25;
	font-synthesis-weight: none;
	-webkit-text-stroke: 0.4px currentColor;
	paint-order: stroke fill;
}

h1, .tsl-hero__title { -webkit-text-stroke-width: 0.6px; }
h2 { -webkit-text-stroke-width: 0.5px; }
h3, h4, h5, h6 { -webkit-text-stroke-width: 0.3px; }

/* Elements set in the serif but not headings. */
.tsl-brand__name,
.tsl-404__code,
.tsl-map__consenttitle {
	-webkit-text-stroke: 0.4px currentColor;
	paint-order: stroke fill;
}

/* The sans has real weights — never stroke those. */
.tsl-prose h4,
.tsl-area__title {
	-webkit-text-stroke: 0;
}

p { text-wrap: pretty; margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--tsl-primary-ink); text-underline-offset: 0.15em; }
a:hover { color: var(--tsl-primary-dark); }

:focus-visible {
	outline: 3px solid var(--tsl-primary);
	outline-offset: 2px;
	border-radius: 2px;
}

::selection { background: rgba(7, 181, 211, .25); }

.tsl-icon { width: 1.25rem; height: 1.25rem; flex: none; }

.tsl-shell {
	max-width: var(--tsl-shell);
	margin-inline: auto;
	padding-inline: 1.25rem;
}

.tsl-section { padding-block: var(--tsl-section-y); }

/* Note for later: .tsl-shell and .tsl-section sit on the SAME element in most
   templates, so anything targeting .tsl-shell must use padding-inline, never
   the padding shorthand — the shorthand resets padding-block to 0 and the
   section's vertical rhythm silently disappears. */

.tsl-section--archive { padding-block: calc(var(--tsl-section-y) + 1rem); }

.tsl-skip {
	position: absolute;
	left: -9999px;
	background: var(--tsl-secondary);
	color: #fff;
	padding: .75rem 1.25rem;
	z-index: 100;
}
.tsl-skip:focus { left: 1rem; top: 1rem; }

/* The header is focused programmatically by the back-to-top button, so it gets
   no focus ring — nothing was tabbed to. Real keyboard focus inside it still
   shows normally. */
.tsl-header:focus { outline: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- header ---------- */

.tsl-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--tsl-secondary);
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
	box-shadow: 0 2px 10px rgba(9, 20, 28, .28);
	transition: box-shadow .25s ease;
}

/* Deeper once the page has scrolled — reads against the dark hero, which a
   soft shadow does not. */
.tsl-header.is-stuck {
	box-shadow: 0 6px 24px rgba(9, 20, 28, .38);
}

/* The nav is centred in the space *between* the brand and the switcher, not in
   the container. Container-centring is mathematically correct but reads as
   off-centre here, because the brand lockup is far wider than the language
   pill — it leaves a 20px gap on one side and 135px on the other. */
.tsl-header__bar {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: 5rem;
}

.tsl-brand {
	display: flex;
	align-items: center;
	gap: .75rem;
	text-decoration: none;
	color: inherit;
}

.tsl-brand__mark {
	display: grid;
	place-items: center;
	padding: .5rem;
	border-radius: var(--tsl-radius);
	background: rgba(7, 181, 211, .18);
	border: 1px solid rgba(7, 181, 211, .3);
	color: var(--tsl-primary);
	transition: transform .2s ease;
}
.tsl-brand:hover .tsl-brand__mark { transform: scale(1.05); }
.tsl-brand__mark .tsl-icon { width: 1.5rem; height: 1.5rem; }

.tsl-brand__text { display: none; }
@media (min-width: 768px) { .tsl-brand__text { display: block; } }

.tsl-brand__name {
	display: block;
	font-family: var(--tsl-serif);
	font-size: 1.1875rem;
	font-weight: 400;
	color: var(--tsl-primary);
	line-height: 1.15;
}

.tsl-brand__sub {
	display: block;
	font-size: .875rem;
	font-weight: 500;
	color: rgba(255, 255, 255, .9);
}

.tsl-nav { display: none; }
@media (min-width: 1024px) {
	.tsl-nav {
		display: flex;
		flex: 1;
		justify-content: center;
		min-width: 0;
	}
}

.tsl-nav__list {
	display: flex;
	align-items: center;
	gap: .25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tsl-nav__list a {
	display: block;
	padding: .5rem .75rem;
	border-radius: var(--tsl-radius);
	font-size: .9375rem;
	font-weight: 500;
	color: rgba(255, 255, 255, .9);
	text-decoration: none;
	transition: color .2s ease, background-color .2s ease;
}

.tsl-nav__list a:hover,
.tsl-nav__list .current-menu-item > a,
.tsl-nav__list .current-menu-ancestor > a,
.tsl-nav__list .current_page_item > a {
	color: var(--tsl-primary);
	background: rgba(7, 181, 211, .12);
}

/* Pinned to the far right of the bar, past the nav. */
.tsl-header__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: .5rem;
	margin-left: auto;
	flex: none;
}

/* Below 1024px the nav is hidden, so nothing pushes the burger right. */
.tsl-brand { flex: none; }

.tsl-lang {
	display: flex;
	align-items: center;
	gap: .125rem;
	padding: .125rem .5rem .125rem .625rem;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 999px;
}

.tsl-lang__globe { color: rgba(255, 255, 255, .65); width: 1rem; height: 1rem; }

.tsl-lang__link {
	display: inline-block;
	padding: .3125rem .5rem;
	border-radius: 999px;
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .05em;
	color: rgba(255, 255, 255, .78);
	text-decoration: none;
	transition: color .2s ease, background-color .2s ease;
}
.tsl-lang__link:hover { color: var(--tsl-primary); }
.tsl-lang__link.is-current { color: #fff; background: rgba(7, 181, 211, .22); }

.tsl-burger {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	background: none;
	border: 0;
	border-radius: var(--tsl-radius);
	color: #fff;
	cursor: pointer;
}
.tsl-burger:hover { background: rgba(7, 181, 211, .12); color: var(--tsl-primary); }
@media (min-width: 1024px) { .tsl-burger { display: none; } }

.tsl-burger .tsl-icon { width: 1.5rem; height: 1.5rem; }
.tsl-burger__close { display: none; }
.tsl-burger[aria-expanded="true"] .tsl-burger__open { display: none; }
.tsl-burger[aria-expanded="true"] .tsl-burger__close { display: block; }

.tsl-mobile-nav {
	border-top: 1px solid rgba(255, 255, 255, .1);
	background: var(--tsl-secondary);
	padding-block: 1rem;
}
.tsl-mobile-nav[hidden] { display: none; }

.tsl-mobile-nav__list { list-style: none; margin: 0; padding: 0; }
.tsl-mobile-nav__list a {
	display: block;
	padding: .875rem 1rem;
	border-radius: var(--tsl-radius);
	color: rgba(255, 255, 255, .9);
	font-weight: 500;
	text-decoration: none;
}
.tsl-mobile-nav__list a:hover,
.tsl-mobile-nav__list .current-menu-item > a {
	color: var(--tsl-primary);
	background: rgba(7, 181, 211, .12);
}

/* ---------- buttons ---------- */

.tsl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .875rem 1.5rem;
	border: 1px solid transparent;
	border-radius: var(--tsl-radius);
	font: inherit;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, transform .1s ease, box-shadow .2s ease;
}
.tsl-btn:active { transform: scale(.985); }
.tsl-btn .tsl-icon { width: 1rem; height: 1rem; }

.tsl-btn--primary {
	background: var(--tsl-primary);
	color: #06222a;
	box-shadow: var(--tsl-shadow-sm);
}
/* Hover deepens to ink rather than primary-dark: white on #05879e is 4.23:1,
   under AA for 1rem/600 text; white on ink is 9.09:1. */
.tsl-btn--primary:hover { background: var(--tsl-primary-ink); color: #fff; }

.tsl-btn--ghost {
	background: transparent;
	border-color: var(--tsl-border);
	color: var(--tsl-fg);
}
.tsl-btn--ghost:hover { border-color: var(--tsl-primary); color: var(--tsl-primary-ink); }

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

/* ---------- hero ---------- */

.tsl-hero {
	position: relative;
	background: var(--tsl-secondary);
	color: #fff;
	padding-block: var(--tsl-section-y);
	border-bottom: 1px solid var(--tsl-border);
	overflow: hidden;
}

.tsl-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 85% 10%, rgba(255, 255, 255, .07), transparent 55%);
	pointer-events: none;
}

/* Home hero fills the viewport below the sticky header and centres its
   content. svh rather than vh so mobile browser chrome doesn't cause a jump. */
.tsl-hero--home {
	display: grid;
	align-items: center;
	min-height: calc(100vh - 5rem);
	min-height: calc(100svh - 5rem);
	text-align: center;
}

.tsl-hero--home .tsl-hero__title,
.tsl-hero--home .tsl-hero__sub {
	margin-inline: auto;
}

/* Smaller than the generic hero so the firm name lands on two lines, as it
   did on the original. 26ch is the break point for this exact string. */
.tsl-hero--home .tsl-hero__title {
	font-size: clamp(1.75rem, 3.6vw, 2.875rem);
	max-width: 26ch;
}
.tsl-hero--home .tsl-hero__sub { max-width: 52ch; }

.tsl-hero__media { position: absolute; inset: 0; }
.tsl-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .18; }

.tsl-hero__inner, .tsl-hero > .tsl-shell { position: relative; z-index: 1; }

/* Archive and interior page heroes are centred; the home hero has its own
   rule and the article hero stays left-aligned with its meta row. */
.tsl-hero--archive,
.tsl-hero--page {
	text-align: center;
}

.tsl-hero--archive .tsl-hero__title,
.tsl-hero--page .tsl-hero__title,
.tsl-hero--archive .tsl-hero__sub,
.tsl-hero--page .tsl-hero__sub {
	margin-inline: auto;
}

.tsl-hero--archive .tsl-hero__title,
.tsl-hero--page .tsl-hero__title {
	max-width: 24ch;
}

/* Interior heroes sit tighter than the home hero.
   Doubled-up class for specificity: the inline critical CSS in inc/setup.php
   targets .tsl-hero and lands AFTER this stylesheet, so a single-class rule
   here loses regardless of the value. Keep both in sync. */
.tsl-hero.tsl-hero--archive,
.tsl-hero.tsl-hero--legal,
.tsl-hero.tsl-hero--page {
	padding-block: 3rem;
}

@media (min-width: 768px) {
	.tsl-hero.tsl-hero--archive,
	.tsl-hero.tsl-hero--legal,
	.tsl-hero.tsl-hero--page {
		padding-block: 5rem 4.75rem;
	}
}

/* Smaller icon tile on the heroes that carry one. */
.tsl-hero--archive .tsl-hero__icon,
.tsl-hero--legal .tsl-hero__icon,
.tsl-hero--page .tsl-hero__icon {
	padding: .8125rem;
	margin-bottom: 1.5rem;
	border-radius: .875rem;
}
.tsl-hero--archive .tsl-hero__icon .tsl-icon,
.tsl-hero--legal .tsl-hero__icon .tsl-icon,
.tsl-hero--page .tsl-hero__icon .tsl-icon {
	width: 1.625rem;
	height: 1.625rem;
}

.tsl-hero__icon {
	display: inline-grid;
	place-items: center;
	padding: 1rem;
	margin-bottom: 2rem;
	border-radius: var(--tsl-radius-lg);
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .2);
	color: var(--tsl-primary);
}
.tsl-hero__icon .tsl-icon { width: 2.25rem; height: 2.25rem; }

/* One size for every interior hero — About, FAQ, Contact, legal, bio, article,
   archives. The home hero keeps its own, slightly larger rule below. */
.tsl-hero__title {
	font-size: clamp(1.75rem, 3.6vw, 2.75rem);
	margin-bottom: .75rem;
	max-width: 22ch;
}

.tsl-hero__sub {
	font-size: clamp(1.0625rem, 2vw, 1.375rem);
	line-height: 1.6;
	color: rgba(255, 255, 255, .82);
	max-width: 60ch;
}

.tsl-hero__actions { margin-top: 2rem; }

.tsl-badge {
	display: inline-block;
	margin-bottom: 1.25rem;
	padding: .375rem .875rem;
	border-radius: 999px;
	background: rgba(7, 181, 211, .18);
	border: 1px solid rgba(7, 181, 211, .35);
	color: var(--tsl-primary);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .03em;
}

.tsl-hero--article .tsl-article__meta,
.tsl-article__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	font-size: .9375rem;
	color: rgba(255, 255, 255, .75);
	margin: 0;
}

/* ---------- sections & grid ---------- */

/* Only the front page uses .tsl-section__head; the related-services headings
   on single templates are bare .tsl-section__title and stay left-aligned. */
.tsl-section__head {
	max-width: 46rem;
	margin: 0 auto 3rem;
	text-align: center;
}
.tsl-section__title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.tsl-section__sub { color: var(--tsl-muted-fg); font-size: 1.0625rem; margin: 0; }
.tsl-section__more { margin-top: 2.5rem; text-align: center; }

.tsl-section--why, .tsl-section--related { background: var(--tsl-surface); }

.tsl-grid { display: grid; gap: 1.5rem; align-items: stretch; }
.tsl-grid > * { height: 100%; }
@media (min-width: 640px) { .tsl-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tsl-grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- cards ---------- */

.tsl-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--tsl-border);
	border-radius: var(--tsl-radius-lg);
	overflow: hidden;
	transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.tsl-card:hover {
	box-shadow: var(--tsl-shadow-lg);
	border-color: rgba(7, 181, 211, .45);
	transform: translateY(-4px);
}

.tsl-card--service { padding: 2.25rem 2rem 2rem; }

/* A hairline that wipes in on hover. Cheap, and it gives the card a direction
   rather than just lifting it. */
.tsl-card--service::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--tsl-primary), rgba(7, 181, 211, 0));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .35s ease;
}
.tsl-card--service:hover::before { transform: scaleX(1); }

.tsl-card__icon {
	display: inline-grid;
	place-items: center;
	width: 3.25rem;
	height: 3.25rem;
	margin-bottom: 1.5rem;
	border-radius: .75rem;
	background: rgba(7, 181, 211, .1);
	box-shadow: inset 0 0 0 1px rgba(7, 181, 211, .22);
	color: var(--tsl-primary-dark);
	transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.tsl-card--service:hover .tsl-card__icon {
	background: var(--tsl-primary);
	box-shadow: inset 0 0 0 1px var(--tsl-primary), 0 6px 16px rgba(7, 181, 211, .3);
	color: #fff;
}
.tsl-card__icon .tsl-icon { width: 1.5rem; height: 1.5rem; }

.tsl-card__title { font-size: 1.3125rem; margin-bottom: .625rem; line-height: 1.3; }
.tsl-card__title a { color: inherit; text-decoration: none; }
.tsl-card__title a:hover { color: var(--tsl-primary-ink); }

.tsl-card__text {
	color: var(--tsl-muted-fg);
	font-size: .9375rem;
	line-height: 1.65;
	margin-bottom: 1.5rem;
}

/* Taglines and benefits vary a lot in length; clamping keeps the three cards
   the same shape without PHP chopping sentences mid-phrase. */
.tsl-card--service .tsl-card__text {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tsl-card__label {
	margin: 0 0 .875rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--tsl-border);
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .09em;
	color: var(--tsl-secondary);
}

.tsl-card__list {
	list-style: none;
	margin: 0 0 1.75rem;
	padding: 0;
	font-size: .875rem;
	color: var(--tsl-muted-fg);
}

.tsl-card__listitem {
	display: flex;
	align-items: flex-start;
	gap: .625rem;
	margin-bottom: .625rem;
	line-height: 1.55;
}

.tsl-card__listitem span {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tsl-card__check {
	width: 1rem;
	height: 1rem;
	margin-top: .225em;
	flex: none;
	color: var(--tsl-primary);
}

.tsl-card__more {
	margin-top: auto;
	padding-top: 1.25rem;
	border-top: 1px solid var(--tsl-border);
}
.tsl-card__more a {
	display: inline-flex;
	align-items: center;
	gap: .375rem;
	font-weight: 600;
	font-size: .9375rem;
	text-decoration: none;
	color: var(--tsl-primary-ink);
}
.tsl-card__more a:hover .tsl-icon { transform: translateX(4px); }
.tsl-card__more .tsl-icon { transition: transform .2s ease; }

/* The whole card is clickable; the link text stays the accessible target. */
.tsl-card--service .tsl-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.tsl-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--tsl-muted);
	overflow: hidden;
}
.tsl-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.tsl-card--post:hover .tsl-card__media img { transform: scale(1.04); }

.tsl-card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--tsl-secondary), var(--tsl-primary-ink)); }

.tsl-card__badge {
	position: absolute;
	top: .875rem;
	left: .875rem;
	padding: .3125rem .75rem;
	border-radius: 999px;
	background: var(--tsl-primary);
	color: #06222a;
	font-size: .75rem;
	font-weight: 600;
	line-height: 1.3;
	box-shadow: 0 2px 8px rgba(9, 20, 28, .25);
}

.tsl-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }

.tsl-card--post .tsl-card__title { font-size: 1.1875rem; line-height: 1.35; }
.tsl-card--post .tsl-card__text {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 1.25rem;
}

.tsl-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .375rem 1.125rem;
	margin: auto 0 0;
	padding: 1rem 0;
	border-top: 1px solid var(--tsl-border);
	font-size: .8125rem;
	color: var(--tsl-muted-fg);
}
.tsl-card__metaitem { display: inline-flex; align-items: center; gap: .375rem; }
.tsl-card__metaitem .tsl-icon { width: .9375rem; height: .9375rem; color: var(--tsl-primary-dark); }

.tsl-card--post .tsl-card__more { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- why ---------- */

.tsl-why {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 2.75rem 2rem 2.5rem;
	background: #fff;
	border: 1px solid var(--tsl-border);
	border-radius: var(--tsl-radius-lg);
	text-align: center;
	transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.tsl-why:hover {
	box-shadow: var(--tsl-shadow-lg);
	border-color: rgba(7, 181, 211, .45);
	transform: translateY(-4px);
}

/* A short centred rule instead of a full-width border-top — less heavy, and it
   reads as a mark rather than an edge. */
.tsl-why__rule {
	width: 2.5rem;
	height: 3px;
	margin-bottom: 1.5rem;
	border-radius: 999px;
	background: var(--tsl-primary);
	transition: width .3s ease;
}
.tsl-why:hover .tsl-why__rule { width: 3.75rem; }

.tsl-why__title { font-size: 1.25rem; margin-bottom: .75rem; }
.tsl-why__text {
	color: var(--tsl-muted-fg);
	font-size: .9375rem;
	line-height: 1.7;
	margin: 0;
	max-width: 32ch;
}

/* ---------- prose ---------- */

.tsl-prose { max-width: 72ch; font-size: 1.0625rem; }
.tsl-prose > *:first-child { margin-top: 0; }
.tsl-prose h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); margin-top: 2.5rem; }
.tsl-prose h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); margin-top: 2rem; }
.tsl-prose h4 { font-family: var(--tsl-sans); font-weight: 700; font-size: 1.0625rem; margin-top: 1.5rem; }
.tsl-prose p, .tsl-prose li { color: #3a444f; }
.tsl-prose ul, .tsl-prose ol { padding-left: 1.25rem; margin-bottom: 1.25rem; }
.tsl-prose li { margin-bottom: .5rem; }
.tsl-prose li::marker { color: var(--tsl-primary-dark); }
.tsl-prose strong { color: var(--tsl-fg); font-weight: 600; }
.tsl-prose a { color: var(--tsl-primary-ink); text-decoration: underline; }

.tsl-prose blockquote {
	margin: 2rem 0;
	padding: 1rem 1.5rem;
	border-left: 3px solid var(--tsl-primary);
	background: var(--tsl-surface);
	border-radius: 0 var(--tsl-radius) var(--tsl-radius) 0;
	font-style: italic;
}

.tsl-prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9375rem; }
.tsl-prose th, .tsl-prose td { padding: .75rem; border: 1px solid var(--tsl-border); text-align: start; }
.tsl-prose th { background: var(--tsl-surface); font-weight: 600; }

/* ---------- service single ---------- */

.tsl-service__body { padding-block: var(--tsl-section-y); }

.tsl-service__layout { display: grid; gap: 3rem; }
@media (min-width: 1024px) {
	.tsl-service__layout { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 4rem; }
}

.tsl-service__aside { align-self: start; }
@media (min-width: 1024px) { .tsl-service__aside { position: sticky; top: 7rem; } }

.tsl-panel {
	padding: 2rem;
	background: var(--tsl-surface);
	border: 1px solid var(--tsl-border);
	border-radius: var(--tsl-radius-lg);
	box-shadow: var(--tsl-shadow-sm);
}
.tsl-panel__title { font-size: 1.375rem; margin-bottom: 1.5rem; }

.tsl-benefits { list-style: none; margin: 0 0 2rem; padding: 0; }
.tsl-benefits__item {
	display: flex;
	gap: .875rem;
	margin-bottom: 1rem;
	font-size: .9375rem;
	color: var(--tsl-muted-fg);
	line-height: 1.6;
}
.tsl-benefits__icon { color: var(--tsl-primary-dark); margin-top: .2em; }

.tsl-panel__cta { padding-top: 1.5rem; border-top: 1px solid var(--tsl-border); }
.tsl-panel__cta p { font-size: .875rem; color: var(--tsl-muted-fg); margin-bottom: 1rem; }

.tsl-areas { display: grid; gap: 1.25rem; margin: 2rem 0; }
@media (min-width: 640px) { .tsl-areas { grid-template-columns: repeat(2, 1fr); } }

.tsl-area {
	padding: 1.5rem;
	background: var(--tsl-surface);
	border: 1px solid var(--tsl-border);
	border-radius: var(--tsl-radius);
}
.tsl-area__title { font-family: var(--tsl-sans); font-size: 1.0625rem; font-weight: 700; margin: 0 0 .5rem; }
.tsl-area__text { font-size: .875rem; color: var(--tsl-muted-fg); margin: 0; }

/* ---------- accordion (replaces Radix) ---------- */

.tsl-accordion { margin: 1.5rem 0; border-top: 1px solid var(--tsl-border); }

.tsl-accordion__item { border-bottom: 1px solid var(--tsl-border); }

.tsl-accordion__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.125rem 0;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
	transition: color .2s ease;
}
.tsl-accordion__q::-webkit-details-marker { display: none; }
.tsl-accordion__q:hover { color: var(--tsl-primary-ink); }

.tsl-accordion__chevron { transition: transform .2s ease; color: var(--tsl-primary-dark); }
.tsl-accordion__item[open] .tsl-accordion__chevron { transform: rotate(180deg); }

/* Chromium 131+ animates the native <details> open/close; elsewhere the
   accordion keeps its instant snap. Pure progressive enhancement. */
@supports (interpolate-size: allow-keywords) {
	:root { interpolate-size: allow-keywords; }

	.tsl-accordion__item::details-content {
		block-size: 0;
		overflow-y: clip;
		transition: content-visibility .3s allow-discrete, block-size .3s ease;
	}
	.tsl-accordion__item[open]::details-content { block-size: auto; }
}

.tsl-accordion__a {
	padding-bottom: 1.25rem;
	color: var(--tsl-muted-fg);
	font-size: .9375rem;
	line-height: 1.7;
}
.tsl-accordion__a p:last-child { margin-bottom: 0; }

/* ---------- FAQ page ---------- */

.tsl-faq__nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 3rem; }
.tsl-faq__navlink {
	padding: .5rem 1rem;
	border: 1px solid var(--tsl-border);
	border-radius: 999px;
	font-size: .875rem;
	font-weight: 500;
	text-decoration: none;
	color: var(--tsl-fg);
	transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.tsl-faq__navlink:hover { border-color: var(--tsl-primary); color: var(--tsl-primary-ink); background: rgba(7, 181, 211, .06); }

.tsl-faq__group { margin-bottom: 3.5rem; }
.tsl-faq__cat { font-size: 1.5rem; }

/* ---------- article ---------- */

/* Two thirds of the measure, so a long Greek headline doesn't break every
   four words. */
.tsl-hero--article .tsl-hero__title { max-width: 100%; }
@media (min-width: 768px) {
	.tsl-hero--article .tsl-hero__title { max-width: 80%; }
}

.tsl-article__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.5rem;
	margin: 1.25rem 0 0;
	font-size: .875rem;
	color: rgba(255, 255, 255, .78);
}
.tsl-article__metaitem { display: inline-flex; align-items: center; gap: .4375rem; }
.tsl-article__metaitem .tsl-icon { width: .9375rem; height: .9375rem; color: var(--tsl-primary); }

.tsl-article__figure { margin: 0; transform: translateY(-3rem); }
.tsl-article__figure img { border-radius: var(--tsl-radius-lg); box-shadow: var(--tsl-shadow-lg); }

.tsl-article__body { padding-bottom: var(--tsl-section-y); }

.tsl-article__layout { display: grid; gap: 3rem; }
@media (min-width: 1024px) {
	.tsl-article__layout {
		grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
		gap: 4rem;
	}
}

.tsl-article__aside { align-self: start; }
@media (min-width: 1024px) {
	.tsl-article__aside { position: sticky; top: 7rem; display: grid; gap: 1.5rem; }
}

.tsl-article__ctatext { font-size: .875rem; color: var(--tsl-muted-fg); margin-bottom: 1.25rem; }

.tsl-article__back { margin-top: 2.5rem; }
.tsl-article__back .tsl-icon { width: 1rem; height: 1rem; }

/* ---------- share ---------- */

.tsl-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--tsl-border);
}

.tsl-share__label {
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--tsl-secondary);
}

.tsl-share__list { display: flex; gap: .5rem; list-style: none; margin: 0; padding: 0; }

.tsl-share__link {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 1px solid var(--tsl-border);
	border-radius: 50%;
	background: #fff;
	color: var(--tsl-secondary);
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.tsl-share__link:hover {
	background: var(--tsl-primary);
	border-color: var(--tsl-primary);
	color: #06222a;
	transform: translateY(-2px);
}
.tsl-share__link .tsl-icon { width: 1.0625rem; height: 1.0625rem; }

/* The X glyph is a filled path, unlike the stroked Lucide set. */
.tsl-share__link .tsl-icon [d^="M18.244"] { fill: currentColor; stroke: none; }

.tsl-share__copy.is-copied {
	background: var(--tsl-primary);
	border-color: var(--tsl-primary);
	color: #06222a;
}

html:not(.js) .tsl-share__copy { display: none; }

/* ---------- previous / next ---------- */

.tsl-adjacent {
	display: grid;
	gap: 1rem;
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--tsl-border);
}
@media (min-width: 640px) {
	.tsl-adjacent { grid-template-columns: 1fr 1fr; align-items: start; }
	/* Scoped here on purpose: on the single-column mobile grid this placement
	   would spawn an implicit second column and squeeze prev+next side by side. */
	.tsl-adjacent__link--next { grid-column: 2; }
}

.tsl-adjacent__link {
	display: flex;
	align-items: flex-start;
	gap: .75rem;
	padding: .875rem 1rem;
	border: 1px solid transparent;
	border-radius: var(--tsl-radius);
	color: var(--tsl-muted-fg);
	text-decoration: none;
	transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.tsl-adjacent__link:hover {
	border-color: var(--tsl-border);
	background: var(--tsl-surface);
	color: var(--tsl-fg);
}
.tsl-adjacent__link--next { justify-content: flex-end; text-align: right; }
.tsl-adjacent__link .tsl-icon { width: 1rem; height: 1rem; margin-top: .875rem; flex: none; color: var(--tsl-primary-dark); }

.tsl-adjacent__label {
	display: block;
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--tsl-primary-dark);
	margin-bottom: .1875rem;
}
.tsl-adjacent__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: .875rem;
	line-height: 1.45;
}

/* ---------- recent articles (sidebar) ---------- */

.tsl-recent {
	padding: 1.75rem;
	background: var(--tsl-surface);
	border: 1px solid var(--tsl-border);
	border-radius: var(--tsl-radius-lg);
}

.tsl-recent__list { list-style: none; margin: 0; padding: 0; }
.tsl-recent__item + .tsl-recent__item { margin-top: .875rem; padding-top: .875rem; border-top: 1px solid var(--tsl-border); }

.tsl-recent__link { display: flex; gap: .875rem; text-decoration: none; color: inherit; }

.tsl-recent__thumb {
	flex: none;
	width: 4rem;
	height: 4rem;
	border-radius: var(--tsl-radius);
	overflow: hidden;
	background: var(--tsl-muted);
}
.tsl-recent__thumb img { width: 100%; height: 100%; object-fit: cover; }

.tsl-recent__title {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: .875rem;
	font-weight: 500;
	line-height: 1.4;
}
.tsl-recent__link:hover .tsl-recent__title { color: var(--tsl-primary-ink); }
.tsl-recent__date { display: block; margin-top: .25rem; font-size: .75rem; color: var(--tsl-muted-fg); }

/* ---------- blog listing ---------- */

.tsl-blog__controls {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 3rem;
}

.tsl-pills { display: flex; flex-wrap: wrap; gap: .5rem; flex: 1 1 24rem; }

.tsl-pill {
	display: inline-block;
	padding: .5rem 1.125rem;
	border: 1px solid var(--tsl-border);
	border-radius: 999px;
	background: #fff;
	font-size: .875rem;
	font-weight: 500;
	color: var(--tsl-fg);
	text-decoration: none;
	transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.tsl-pill:hover { border-color: var(--tsl-primary); color: var(--tsl-primary-ink); }
.tsl-pill.is-current {
	background: var(--tsl-primary);
	border-color: var(--tsl-primary);
	color: #06222a;
	font-weight: 600;
}

.tsl-search { position: relative; flex: 0 1 18rem; min-width: 14rem; }

.tsl-search__icon {
	position: absolute;
	top: 50%;
	left: .875rem;
	transform: translateY(-50%);
	width: 1rem;
	height: 1rem;
	color: var(--tsl-muted-fg);
	pointer-events: none;
}

.tsl-search__field {
	width: 100%;
	padding: .625rem .875rem .625rem 2.5rem;
	border: 1px solid var(--tsl-border);
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-size: .875rem;
}
.tsl-search__field:focus {
	border-color: var(--tsl-primary);
	outline: 2px solid rgba(7, 181, 211, .25);
	outline-offset: 0;
}

.tsl-loadmore { margin-top: 3rem; text-align: center; }
.tsl-loadmore__btn[disabled] { opacity: .6; cursor: progress; }

.tsl-blog__empty { color: var(--tsl-muted-fg); }

/* ---------- legal pages ---------- */

.tsl-hero--legal { text-align: center; }
.tsl-hero--legal .tsl-hero__title,
.tsl-hero--legal .tsl-hero__sub { margin-inline: auto; }
.tsl-hero--legal .tsl-hero__title { max-width: 20ch; }

.tsl-legal__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin: 2rem 0 0;
	font-size: .875rem;
	color: rgba(255, 255, 255, .7);
}

.tsl-print {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .5rem 1rem;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: var(--tsl-radius);
	background: transparent;
	color: rgba(255, 255, 255, .9);
	font: inherit;
	font-size: .875rem;
	cursor: pointer;
	transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.tsl-print:hover {
	border-color: var(--tsl-primary);
	background: rgba(7, 181, 211, .12);
	color: var(--tsl-primary);
}
.tsl-print .tsl-icon { width: 1rem; height: 1rem; }
html:not(.js) .tsl-print { display: none; }

.tsl-legal__layout { display: grid; gap: 3rem; }
@media (min-width: 1024px) {
	.tsl-legal__layout {
		grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
		gap: 4rem;
	}
}

.tsl-prose--legal { max-width: 68ch; }
.tsl-prose--legal h2 {
	scroll-margin-top: 7rem;
	font-size: clamp(1.375rem, 2.6vw, 1.75rem);
	padding-top: .5rem;
}

.tsl-legal__aside { align-self: start; }
@media (min-width: 1024px) {
	.tsl-legal__aside { position: sticky; top: 7rem; display: grid; gap: 1.5rem; }
}

.tsl-toc {
	padding: 1.75rem;
	background: var(--tsl-surface);
	border: 1px solid var(--tsl-border);
	border-radius: var(--tsl-radius-lg);
}

.tsl-toc__title {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-family: var(--tsl-sans);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--tsl-secondary);
	margin-bottom: 1rem;
}
.tsl-toc__title .tsl-icon { width: 1rem; height: 1rem; color: var(--tsl-primary-dark); }

.tsl-toc__list {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: toc;
	max-height: min(60vh, 34rem);
	overflow-y: auto;
}

.tsl-toc__item { counter-increment: toc; }

.tsl-toc__link {
	display: flex;
	gap: .625rem;
	padding: .4375rem 0;
	font-size: .875rem;
	line-height: 1.45;
	color: var(--tsl-muted-fg);
	text-decoration: none;
	border-left: 2px solid transparent;
	padding-left: .75rem;
	margin-left: -.75rem;
	transition: color .2s ease, border-color .2s ease;
}
.tsl-toc__link::before {
	content: counter(toc) ".";
	flex: none;
	font-weight: 600;
	color: var(--tsl-primary-dark);
}
.tsl-toc__link:hover {
	color: var(--tsl-fg);
	border-left-color: var(--tsl-primary);
}
.tsl-toc__link.is-current {
	color: var(--tsl-primary-ink);
	border-left-color: var(--tsl-primary);
	font-weight: 500;
}

.tsl-legal__ctatext { font-size: .875rem; color: var(--tsl-muted-fg); margin-bottom: 1.25rem; }

/* ---------- about ---------- */

.tsl-philosophy { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
	.tsl-philosophy { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 4rem; }
}

.tsl-philosophy__title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1.5rem; }

.tsl-philosophy__figure {
	margin: 0;
	border-radius: var(--tsl-radius-lg);
	overflow: hidden;
	line-height: 0;
	box-shadow: var(--tsl-shadow-lg);
}
.tsl-philosophy__figure img { width: 100%; height: auto; }

.tsl-section--values { background: var(--tsl-surface); }

.tsl-value {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 2.5rem 2rem;
	background: #fff;
	border: 1px solid var(--tsl-border);
	border-radius: var(--tsl-radius-lg);
	text-align: center;
	transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.tsl-value:hover {
	box-shadow: var(--tsl-shadow-lg);
	border-color: rgba(7, 181, 211, .45);
	transform: translateY(-4px);
}

.tsl-value__icon {
	display: grid;
	place-items: center;
	width: 3.5rem;
	height: 3.5rem;
	margin-bottom: 1.25rem;
	border-radius: .875rem;
	background: rgba(7, 181, 211, .1);
	box-shadow: inset 0 0 0 1px rgba(7, 181, 211, .22);
	color: var(--tsl-primary-dark);
	transition: background-color .3s ease, color .3s ease;
}
.tsl-value:hover .tsl-value__icon { background: var(--tsl-primary); color: #fff; }
.tsl-value__icon .tsl-icon { width: 1.625rem; height: 1.625rem; }

.tsl-value__title { font-size: 1.25rem; margin-bottom: .625rem; }
.tsl-value__text {
	font-size: .9375rem;
	line-height: 1.7;
	color: var(--tsl-muted-fg);
	margin: 0;
	max-width: 32ch;
}

/* ---------- team ---------- */

.tsl-member {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--tsl-border);
	border-radius: var(--tsl-radius-lg);
	overflow: hidden;
	transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.tsl-member:hover {
	box-shadow: var(--tsl-shadow-lg);
	border-color: rgba(7, 181, 211, .45);
	transform: translateY(-4px);
}

/* Matches the tsl-card crop (800x520) so the photo is not cropped twice. */
.tsl-member__media { aspect-ratio: 20 / 13; background: var(--tsl-muted); overflow: hidden; }
.tsl-member__media img { width: 100%; height: 100%; object-fit: cover; }
.tsl-member__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--tsl-secondary), var(--tsl-primary-ink));
}

.tsl-member__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.tsl-member__name { font-size: 1.1875rem; margin-bottom: .25rem; }
.tsl-member__name a { color: inherit; text-decoration: none; }
.tsl-member__name a:hover { color: var(--tsl-primary-ink); }

.tsl-member__role {
	font-size: .875rem;
	font-weight: 500;
	color: var(--tsl-primary-dark);
	margin-bottom: .875rem;
}
.tsl-member__bio { font-size: .875rem; line-height: 1.65; color: var(--tsl-muted-fg); margin: 0; }

/* ---------- biography ---------- */

.tsl-hero--bio { padding-block: calc(var(--tsl-section-y) - 1rem); }

.tsl-bio__hero { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
	.tsl-bio__hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; }
}

/* No character cap: the name should sit on one line wherever it fits, and
   wrap naturally on narrow screens rather than at a fixed 14ch. */
.tsl-bio__intro .tsl-hero__title { max-width: none; margin-bottom: .5rem; }

/* No italic cut in GFS Didot, so this uses the sans rather than letting the
   browser slant the roman. */
.tsl-bio__role {
	font-family: var(--tsl-sans);
	font-size: 1.125rem;
	font-weight: 500;
	color: var(--tsl-primary);
	margin-bottom: 1.25rem;
}

/* fit-content makes the frame shrink to the image rather than the column, so
   the border and shadow sit exactly on the photograph's edge. width:100% plus
   max-height was letterboxing it — the box stayed column-width while the
   picture shrank to fit the height cap, leaving frame either side. */
.tsl-bio__portrait {
	width: fit-content;
	max-width: 100%;
	margin: 0 auto;
	line-height: 0;
	border-radius: var(--tsl-radius-lg);
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(9, 20, 28, .38);
	outline: 1px solid rgba(255, 255, 255, .18);
	outline-offset: -1px;
}

/* Natural proportions, scaled only. No object-fit, so nothing is cropped and
   nothing is padded. */
.tsl-bio__portrait img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 34rem;
}

/* This was zeroed so the prose would sit close to the hero, but it also butted
   the last paragraph straight against the grey band below. */
.tsl-section--bio { padding-bottom: calc(var(--tsl-section-y) + 1rem); }
.tsl-prose--centered { margin-inline: auto; }

.tsl-section--expertise, .tsl-section--testimonials { background: var(--tsl-surface); }

/* Fixed three-up so six items read as two even rows. auto-fit was reflowing to
   4 + 2 on wide screens, which is what broke the symmetry. */
.tsl-expertise {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 1fr;
}
@media (min-width: 640px) {
	.tsl-expertise { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.tsl-expertise { grid-template-columns: repeat(3, 1fr); }
}

.tsl-expertise__item {
	padding: 1.75rem;
	background: #fff;
	border: 1px solid var(--tsl-border);
	border-radius: var(--tsl-radius-lg);
	transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.tsl-expertise__item:hover {
	box-shadow: var(--tsl-shadow);
	border-color: rgba(7, 181, 211, .45);
	transform: translateY(-3px);
}

.tsl-expertise__icon {
	display: inline-grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	margin-bottom: 1rem;
	border-radius: .625rem;
	background: rgba(7, 181, 211, .1);
	box-shadow: inset 0 0 0 1px rgba(7, 181, 211, .22);
	color: var(--tsl-primary-dark);
}
.tsl-expertise__icon .tsl-icon { width: 1.375rem; height: 1.375rem; }

.tsl-expertise__title { font-size: 1.125rem; margin-bottom: .5rem; }
.tsl-expertise__text { font-size: .875rem; line-height: 1.65; color: var(--tsl-muted-fg); margin: 0; }

/* ---------- career timeline ---------- */

.tsl-timeline {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* The spine sits left on narrow screens and centres from 900px up, where the
   cards alternate sides. */
.tsl-timeline::before {
	content: "";
	position: absolute;
	top: .5rem;
	bottom: .5rem;
	left: .5rem;
	width: 2px;
	background: linear-gradient(180deg, var(--tsl-primary), rgba(7, 181, 211, .15));
}

.tsl-timeline__item { position: relative; padding-left: 2.5rem; margin-bottom: 1.5rem; }
.tsl-timeline__item:last-child { margin-bottom: 0; }

.tsl-timeline__dot {
	position: absolute;
	top: 1.5rem;
	left: 0;
	width: 1.125rem;
	height: 1.125rem;
	border-radius: 50%;
	background: var(--tsl-primary);
	box-shadow: 0 0 0 4px rgba(7, 181, 211, .18);
}

.tsl-timeline__card {
	padding: 1.5rem 1.75rem;
	background: #fff;
	border: 1px solid var(--tsl-border);
	border-radius: var(--tsl-radius-lg);
	box-shadow: var(--tsl-shadow-sm);
}

.tsl-timeline__year {
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .08em;
	color: var(--tsl-primary-dark);
	margin-bottom: .25rem;
}
.tsl-timeline__title { font-size: 1.125rem; margin-bottom: .5rem; }
.tsl-timeline__text { font-size: .875rem; line-height: 1.65; color: var(--tsl-muted-fg); margin: 0; }

@media (min-width: 900px) {
	.tsl-timeline::before { left: 50%; transform: translateX(-50%); }

	.tsl-timeline__item {
		width: 50%;
		padding-left: 0;
		padding-right: 2.75rem;
		margin-bottom: 2rem;
	}

	.tsl-timeline__item:nth-child(even) {
		margin-left: 50%;
		padding-right: 0;
		padding-left: 2.75rem;
	}

	.tsl-timeline__dot { left: auto; right: -.5625rem; }
	.tsl-timeline__item:nth-child(even) .tsl-timeline__dot { right: auto; left: -.5625rem; }

	.tsl-timeline__item:not(:nth-child(even)) .tsl-timeline__card { text-align: right; }
}

/* ---------- testimonials ---------- */

.tsl-quote {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 2rem 1.75rem 1.75rem;
	background: #fff;
	border: 1px solid var(--tsl-border);
	border-radius: var(--tsl-radius-lg);
}

.tsl-quote__mark {
	position: absolute;
	top: .35rem;
	right: 1.25rem;
	font-family: var(--tsl-serif);
	font-size: 4rem;
	line-height: 1;
	color: rgba(7, 181, 211, .22);
}

.tsl-quote__text { margin: 0 0 1.25rem; }
.tsl-quote__text p {
	font-size: .9375rem;
	font-style: italic;
	line-height: 1.7;
	color: #3a444f;
	margin: 0;
}

.tsl-quote__by {
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid var(--tsl-border);
}
.tsl-quote__author { display: block; font-weight: 700; font-size: .9375rem; }
.tsl-quote__role { display: block; font-size: .8125rem; color: var(--tsl-primary-dark); }

/* ---------- contact ---------- */

.tsl-contactbar {
	display: grid;
	gap: 1rem;
	margin-bottom: 3.5rem;
}
@media (min-width: 720px) {
	.tsl-contactbar { grid-template-columns: repeat(3, 1fr); }
}

.tsl-contactbar__item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.25rem 1.5rem;
	background: var(--tsl-surface);
	border: 1px solid var(--tsl-border);
	border-radius: var(--tsl-radius-lg);
	color: inherit;
	text-decoration: none;
	transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
a.tsl-contactbar__item:hover {
	border-color: rgba(7, 181, 211, .45);
	box-shadow: var(--tsl-shadow);
	transform: translateY(-2px);
}

.tsl-contactbar__icon {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	flex: none;
	border-radius: .75rem;
	background: rgba(7, 181, 211, .1);
	box-shadow: inset 0 0 0 1px rgba(7, 181, 211, .22);
	color: var(--tsl-primary-dark);
}
.tsl-contactbar__icon .tsl-icon { width: 1.25rem; height: 1.25rem; }

.tsl-contactbar__label {
	display: block;
	font-size: .6875rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--tsl-muted-fg);
	margin-bottom: .125rem;
}
.tsl-contactbar__value { display: block; font-size: .9375rem; font-weight: 500; line-height: 1.4; }

.tsl-contact { display: grid; gap: 3rem; }
@media (min-width: 1024px) {
	.tsl-contact { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; }
}

.tsl-contact__title { font-size: clamp(1.5rem, 3vw, 1.875rem); margin-bottom: .75rem; }
.tsl-contact__intro { color: var(--tsl-muted-fg); margin-bottom: 2rem; }

.tsl-contact__disclaimer {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--tsl-border);
	font-size: .8125rem;
	line-height: 1.6;
	color: var(--tsl-muted-fg);
}

.tsl-contact__aside { display: grid; gap: 1.5rem; align-self: start; }
.tsl-contact__details { font-style: normal; }
.tsl-contact__directions {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--tsl-border);
	font-size: .875rem;
	color: var(--tsl-muted-fg);
}
.tsl-contact__note { font-size: .9375rem; }

/* ---------- map ---------- */

.tsl-map { margin-top: 3.5rem; }

.tsl-map__consent,
.tsl-map iframe {
	display: block;
	width: 100%;
	height: 24rem;
	border: 1px solid var(--tsl-border);
	border-radius: var(--tsl-radius-lg);
}

.tsl-map__consent {
	display: grid;
	place-content: center;
	justify-items: center;
	gap: .5rem;
	padding: 2rem;
	background: var(--tsl-surface);
	color: var(--tsl-fg);
	font: inherit;
	text-align: center;
	cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease;
}
.tsl-map__consent:hover { border-color: var(--tsl-primary); background: rgba(7, 181, 211, .06); }
.tsl-map__consent .tsl-icon { width: 2rem; height: 2rem; color: var(--tsl-primary-dark); }

.tsl-map__consenttitle { font-family: var(--tsl-serif); font-size: 1.375rem; font-weight: 400; }
.tsl-map__consenttext { max-width: 42ch; font-size: .8125rem; color: var(--tsl-muted-fg); }

.tsl-map iframe { border: 0; box-shadow: var(--tsl-shadow); }

.tsl-notice {
	padding: 1rem;
	background: #fff8e1;
	border: 1px solid #f0d68a;
	border-radius: var(--tsl-radius);
	font-size: .875rem;
}

/* ---------- Gravity Forms ---------- */

/*
 * Gravity Forms 2.5+ ships its own theme ("orbital"/"gravity-theme") built on
 * CSS custom properties. Setting those is what actually holds — plain rules get
 * out-specificity'd by the framework stylesheet, which is why the submit button
 * stayed GF blue. Belt and braces below: variables first, then explicit rules
 * for the handful of things the variables don't cover.
 */

.tsl-contact__form .gform_wrapper,
.tsl-contact__form .gform-theme--framework,
.tsl-contact__form .gform_wrapper.gravity-theme {
	--gf-color-primary: var(--tsl-primary);
	--gf-color-primary-rgb: 7, 181, 211;
	--gf-color-primary-contrast: #06222a;
	--gf-color-primary-contrast-rgb: 6, 34, 42;
	--gf-color-primary-darker: var(--tsl-primary-dark);
	--gf-color-primary-lighter: #34c6de;

	--gf-color-secondary: #fff;
	--gf-color-secondary-contrast: var(--tsl-fg);

	--gf-color-out-ctrl-light-darker: var(--tsl-border);
	--gf-color-out-ctrl-dark: var(--tsl-muted-fg);

	--gf-ctrl-border-color: var(--tsl-border);
	--gf-ctrl-radius: var(--tsl-radius);
	--gf-ctrl-btn-radius: var(--tsl-radius);
	--gf-ctrl-btn-bg-color-primary: var(--tsl-primary);
	--gf-ctrl-btn-bg-color-hover-primary: var(--tsl-primary-dark);
	--gf-ctrl-btn-color-primary: #06222a;
	--gf-ctrl-btn-font-size: 1rem;
	--gf-ctrl-btn-padding-x: 1.75rem;
	--gf-ctrl-btn-padding-y: .875rem;

	--gf-local-radius: var(--tsl-radius);
	--gf-local-color: var(--tsl-fg);

	--gf-font-family-primary: var(--tsl-sans);
	--gf-font-family-secondary: var(--tsl-sans);
}

/* Labels */
.tsl-contact__form .gform_wrapper .gfield_label,
.tsl-contact__form .gform_wrapper legend.gfield_label {
	font-family: var(--tsl-sans);
	font-size: .875rem;
	font-weight: 600;
	color: var(--tsl-fg);
	margin-bottom: .5rem;
}

/* "(Required)" is shouting in GF red by default. */
.tsl-contact__form .gform_wrapper .gfield_required,
.tsl-contact__form .gform_wrapper .gfield_required_text {
	color: var(--tsl-muted-fg);
	font-size: .75rem;
	font-weight: 500;
}

/* Fields */
.tsl-contact__form .gform_wrapper input[type="text"],
.tsl-contact__form .gform_wrapper input[type="email"],
.tsl-contact__form .gform_wrapper input[type="tel"],
.tsl-contact__form .gform_wrapper input[type="url"],
.tsl-contact__form .gform_wrapper input[type="number"],
.tsl-contact__form .gform_wrapper select,
.tsl-contact__form .gform_wrapper textarea {
	width: 100%;
	padding: .75rem .875rem;
	border: 1px solid var(--tsl-border);
	border-radius: var(--tsl-radius);
	background: #fff;
	font-family: var(--tsl-sans);
	font-size: .9375rem;
	color: var(--tsl-fg);
	transition: border-color .2s ease, box-shadow .2s ease;
}

.tsl-contact__form .gform_wrapper textarea { min-height: 11rem; resize: vertical; }

.tsl-contact__form .gform_wrapper input::placeholder,
.tsl-contact__form .gform_wrapper textarea::placeholder {
	color: #9aa3ad;
}

.tsl-contact__form .gform_wrapper input:focus,
.tsl-contact__form .gform_wrapper select:focus,
.tsl-contact__form .gform_wrapper textarea:focus {
	border-color: var(--tsl-primary);
	box-shadow: 0 0 0 3px rgba(7, 181, 211, .18);
	outline: none;
}

/* Field spacing */
.tsl-contact__form .gform_wrapper .gform_fields { row-gap: 1.25rem; }
.tsl-contact__form .gform_wrapper .gfield { margin-bottom: 0; }

/* Submit */
.tsl-contact__form .gform_wrapper .gform_footer { margin-top: 1.75rem; padding: 0; }

.tsl-contact__form .gform_wrapper .gform_footer input[type="submit"],
.tsl-contact__form .gform_wrapper .gform_button,
.tsl-contact__form .gform_wrapper button.gform_button,
.tsl-contact__form .gform_wrapper .gform-button--primary,
.tsl-contact__form .gform_wrapper .gform_page_footer .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 14rem;
	padding: .9375rem 2rem !important;
	border: 0 !important;
	border-radius: var(--tsl-radius) !important;
	background: var(--tsl-primary) !important;
	color: #06222a !important;
	font-family: var(--tsl-sans) !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	letter-spacing: 0;
	cursor: pointer;
	box-shadow: var(--tsl-shadow-sm);
	transition: background-color .2s ease, color .2s ease, transform .1s ease;
}

.tsl-contact__form .gform_wrapper .gform_footer input[type="submit"]:hover,
.tsl-contact__form .gform_wrapper .gform_button:hover,
.tsl-contact__form .gform_wrapper button.gform_button:hover,
.tsl-contact__form .gform_wrapper .gform-button--primary:hover {
	background: var(--tsl-primary-dark) !important;
	color: #fff !important;
}

.tsl-contact__form .gform_wrapper .gform_footer input[type="submit"]:active,
.tsl-contact__form .gform_wrapper .gform_button:active { transform: scale(.985); }

/* Validation */
.tsl-contact__form .gform_wrapper .gfield_error input,
.tsl-contact__form .gform_wrapper .gfield_error textarea,
.tsl-contact__form .gform_wrapper .gfield_error select {
	border-color: #c2410c;
	background: #fff7f4;
}

.tsl-contact__form .gform_wrapper .gfield_validation_message,
.tsl-contact__form .gform_wrapper .validation_message {
	margin-top: .375rem;
	padding: 0;
	border: 0;
	background: none;
	color: #9a3412;
	font-size: .8125rem;
	font-weight: 500;
}

.tsl-contact__form .gform_wrapper .gform_validation_errors {
	margin-bottom: 1.5rem;
	padding: 1rem 1.25rem;
	border: 1px solid #f0c9b4;
	border-left: 3px solid #c2410c;
	border-radius: var(--tsl-radius);
	background: #fff7f4;
	box-shadow: none;
}
.tsl-contact__form .gform_wrapper .gform_validation_errors > h2 {
	font-family: var(--tsl-sans);
	font-size: .9375rem;
	color: #9a3412;
	margin: 0;
}

/* Confirmation */
.gform_confirmation_wrapper,
.tsl-contact__form .gform_confirmation_message {
	padding: 1.5rem 1.75rem;
	border: 1px solid var(--tsl-border);
	border-left: 3px solid var(--tsl-primary);
	border-radius: var(--tsl-radius);
	background: var(--tsl-surface);
	font-size: .9375rem;
}

/* Consent / checkbox rows */
.tsl-contact__form .gform_wrapper .gfield_consent_label,
.tsl-contact__form .gform_wrapper .gchoice label {
	font-size: .875rem;
	line-height: 1.6;
	color: var(--tsl-muted-fg);
}

.tsl-contact__form .gform_wrapper input[type="checkbox"],
.tsl-contact__form .gform_wrapper input[type="radio"] {
	accent-color: var(--tsl-primary);
	width: 1rem;
	height: 1rem;
}

/* Honeypot and GF's own spinner */
.tsl-contact__form .gform_wrapper .gform_ajax_spinner { margin-left: .75rem; }

/* iOS Safari zooms the page when a focused input is under 16px and never
   zooms back out. Full-size fields on touch widths sidestep it. */
@media (max-width: 767px) {
	.tsl-search__field,
	.tsl-contact__form .gform_wrapper input[type="text"],
	.tsl-contact__form .gform_wrapper input[type="email"],
	.tsl-contact__form .gform_wrapper input[type="tel"],
	.tsl-contact__form .gform_wrapper input[type="url"],
	.tsl-contact__form .gform_wrapper input[type="number"],
	.tsl-contact__form .gform_wrapper select,
	.tsl-contact__form .gform_wrapper textarea {
		font-size: 1rem;
	}
}

/* ---------- footer ---------- */

.tsl-footer {
	background: var(--tsl-secondary);
	color: rgba(255, 255, 255, .85);
	border-top: 1px solid rgba(255, 255, 255, .1);
	padding-block: 4rem 2rem;
}

.tsl-footer__grid { display: grid; gap: 3rem; }
@media (min-width: 768px) {
	.tsl-footer__grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
	.tsl-footer__col:not(:last-child) { border-right: 1px solid rgba(255, 255, 255, .18); padding-right: 2rem; }
	.tsl-footer__col + .tsl-footer__col { padding-left: 2rem; }
}

.tsl-brand--footer { margin-bottom: 1.5rem; }
.tsl-brand--footer .tsl-brand__name { font-size: 1.125rem; }
/* The header hides the wordmark under 768px; in the footer there is room for
   it at every width. */
.tsl-brand--footer .tsl-brand__text { display: block; }

.tsl-footer__blurb { font-size: .875rem; line-height: 1.7; color: rgba(255, 255, 255, .78); }

.tsl-footer__heading {
	font-size: 1.125rem;
	color: var(--tsl-primary);
	margin-bottom: 1.5rem;
}

.tsl-footer__list { list-style: none; margin: 0; padding: 0; }
.tsl-footer__list li { margin-bottom: .75rem; }
.tsl-footer__list a {
	display: flex;
	align-items: center;
	gap: .5rem;
	font-size: .875rem;
	color: rgba(255, 255, 255, .8);
	text-decoration: none;
}
.tsl-footer__list a::before {
	content: "";
	width: .375rem;
	height: .375rem;
	border-radius: 50%;
	background: rgba(7, 181, 211, .55);
	flex: none;
}
.tsl-footer__list a:hover { color: var(--tsl-primary); }

.tsl-footer__contact { font-style: normal; }
.tsl-footer__line {
	display: flex;
	align-items: flex-start;
	gap: .75rem;
	font-size: .875rem;
	margin-bottom: 1rem;
	line-height: 1.6;
}
.tsl-footer__line .tsl-icon { color: var(--tsl-primary); margin-top: .15em; }
.tsl-footer__line a { color: inherit; text-decoration: none; }
.tsl-footer__line a:hover { color: var(--tsl-primary); }

.tsl-panel .tsl-footer__line { color: var(--tsl-muted-fg); }
.tsl-panel .tsl-footer__line .tsl-icon { color: var(--tsl-primary-dark); }

.tsl-footer__bottom {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, .18);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
	font-size: .8125rem;
	/* .6 alpha measured 3.62:1 on the footer blue; .75 clears AA at 4.66:1. */
	color: rgba(255, 255, 255, .75);
}
@media (min-width: 640px) {
	.tsl-footer__bottom { flex-direction: row; justify-content: space-between; }
}

.tsl-footer__copy { margin: 0; text-align: center; }
.tsl-footer__copy a { color: var(--tsl-primary); }

.tsl-footer__legal { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.tsl-footer__legal a { color: inherit; text-decoration: none; }
.tsl-footer__legal a:hover { color: var(--tsl-primary); }

/* ---------- misc ---------- */

.tsl-cta { background: var(--tsl-secondary-dark); color: #fff; padding-block: var(--tsl-section-y); }
.tsl-cta__inner { text-align: center; }
.tsl-cta__title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.tsl-cta__text { max-width: 50ch; margin-inline: auto; color: rgba(255, 255, 255, .82); margin-bottom: 2rem; }

.tsl-pagination { margin-top: 3rem; }
.tsl-pagination .nav-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.tsl-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding-inline: .5rem;
	border: 1px solid var(--tsl-border);
	border-radius: var(--tsl-radius);
	text-decoration: none;
	color: var(--tsl-fg);
}
.tsl-pagination .page-numbers.current,
.tsl-pagination .page-numbers:hover {
	background: var(--tsl-primary);
	border-color: var(--tsl-primary);
	color: #06222a;
}

.tsl-404 { padding-block: 8rem; text-align: center; }
.tsl-404__code { font-family: var(--tsl-serif); font-size: 5.5rem; font-weight: 400; color: var(--tsl-primary); margin: 0; line-height: 1; }
.tsl-404__title { font-size: 1.75rem; margin-top: 1rem; }
.tsl-404__text { color: var(--tsl-muted-fg); margin-bottom: 2rem; }

/* ---------- back to top ---------- */

.tsl-top {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 60;
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--tsl-secondary);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(9, 20, 28, .28);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity .25s ease, transform .25s ease, visibility .25s, background-color .2s ease;
}

.tsl-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.tsl-top:hover {
	background: var(--tsl-primary);
	color: #06222a;
}

.tsl-top:active { transform: scale(.94); }

.tsl-top .tsl-icon { width: 1.25rem; height: 1.25rem; stroke-width: 2; }

@media (min-width: 768px) {
	.tsl-top { right: 2rem; bottom: 2rem; }
}

/* Without JS the button can never be shown, so keep it out of the layout. */
html:not(.js) .tsl-top { display: none; }

@media print {
	.tsl-header,
	.tsl-footer,
	.tsl-service__aside,
	.tsl-legal__aside,
	.tsl-print,
	.tsl-top,
	.tsl-btn { display: none !important; }

	body { color: #000; background: #fff; }

	/* The hero is white-on-blue on screen; on paper that is a solid ink block. */
	.tsl-hero { background: none !important; color: #000; padding-block: 0 1.5rem; }
	.tsl-hero::after, .tsl-hero__media, .tsl-hero__icon { display: none !important; }
	.tsl-hero__sub, .tsl-legal__meta { color: #333; }

	.tsl-legal__layout { display: block; }
	.tsl-prose--legal { max-width: none; }
	.tsl-prose--legal h2 { page-break-after: avoid; break-after: avoid; }
	.tsl-prose--legal p { orphans: 3; widows: 3; }

	.tsl-section { padding-block: 0; }
	a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; color: #555; }
}
