/* ==========================================================================
   Tuma 2026 – tokens and components
   Tokens   = Figma variables "Web / Color" (modes Dark / Light) and "Web / Spacing"
   Classes  = Figma components on "Website 2026 – Parts"
   ========================================================================== */

/* ---------- Tokens: Dark mode (default) ---------- */
:root {
	--t-bg: #0e0e0f;
	--t-surface: #18181a;
	--t-fg: #ededed;
	--t-muted: #a3a3a3;
	--t-subtle: #d4d4d4;
	--t-border: #2a2a2d;
	--t-border-strong: #5a5a5e;
	--t-orange: #ec6b2e;
	--t-blue: #4c8edb;
	--t-green: #43b48d;
	--t-purple: #b066bd;
	--t-navy: #3c7cc4;
	--accent: var(--t-orange);

	--t-gutter: clamp(1.5rem, 6vw, 7.5rem);
	--t-section-y: clamp(4.5rem, 8vw, 7.5rem);
	--t-gap: 1.5rem;
	--t-radius-sm: 2px;
}

/* ---------- Tokens: Light mode = "paper" sections ---------- */
.is-paper {
	--t-bg: #d2d2d2;
	--t-surface: #ffffff;
	--t-fg: #161616;
	--t-muted: #45454a;
	--t-subtle: #3a3a3e;
	--t-border: #a9a9a9;
	--t-border-strong: #6e6e72;
	--t-orange: #b5480f;
	--t-blue: #2f6fbf;
	--t-green: #187356;
	--t-purple: #8e3f9c;
	--t-navy: #2b5f99;
	background: var(--t-bg) url("../img/paper.webp") center / cover;
}

.t-accent-orange { --accent: var(--t-orange); }
.t-accent-blue { --accent: var(--t-blue); }
.t-accent-green { --accent: var(--t-green); }
.t-accent-purple { --accent: var(--t-purple); }
.t-accent-navy { --accent: var(--t-navy); }

/* ---------- Base ---------- */
body {
	background: var(--t-bg);
	color: var(--t-fg);
	-webkit-font-smoothing: antialiased;
}

.t-page,
.t-page > * { margin-block: 0; }
.t-page :where(p, h1, h2, h3, ul, ol, figure) { margin-block: 0; }

:where(.wp-site-blocks) :focus-visible {
	outline: 2px solid var(--t-fg);
	outline-offset: 3px;
	border-radius: 2px;
}

a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }

.t-skip {
	position: absolute;
	left: 1rem;
	top: -100px;
	z-index: 1000;
	padding: 0.75rem 1rem;
	background: var(--t-fg);
	color: var(--t-bg);
	font-weight: 500;
	text-decoration: none;
}
.t-skip:focus { top: 1rem; }

/* ---------- Type styles (Figma "Web/*" text styles) ---------- */
.t-kicker {
	font-size: var(--wp--preset--font-size--kicker);
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--t-muted);
}
.t-display {
	font-size: var(--wp--preset--font-size--display-xl);
	font-weight: 200;
	line-height: 1.04;
	letter-spacing: -0.015em;
}
.t-h2 {
	font-size: var(--wp--preset--font-size--heading-l);
	font-weight: 200;
	line-height: 1.12;
}
.t-lead { font-size: var(--wp--preset--font-size--lead); line-height: 1.48; }
.t-body-l { font-size: var(--wp--preset--font-size--body-l); line-height: 1.6; color: var(--t-muted); }

/* ---------- Component: Section Heading (marker + kicker + H2) ---------- */
.t-head { display: grid; gap: 0.75rem; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.t-head .t-kicker::before {
	content: "";
	display: block;
	width: 72px;
	height: 16px;
	margin-bottom: 0.75rem;
	background:
		radial-gradient(circle at 8px 8px, var(--t-bg) 0 3.5px, var(--accent) 4px 8px, transparent 8.5px) no-repeat,
		repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 14px) 16px 6px / 56px 4px no-repeat;
}
.t-kicker--plain::before { content: none; }

/* ---------- Layout ---------- */
.t-section {
	position: relative;
	background-color: var(--t-bg);
	color: var(--t-fg);
	padding: var(--t-section-y) var(--t-gutter);
}
.t-inner { max-width: 1200px; margin-inline: auto; }
.t-grid-2 { display: grid; gap: var(--t-gap); grid-template-columns: 1fr; }
.t-split { display: grid; gap: clamp(2.5rem, 6vw, 6rem); grid-template-columns: 1fr; }

@media (min-width: 960px) {
	.t-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.t-split { grid-template-columns: minmax(0, 1fr) minmax(0, 27.5rem); align-items: start; }
	.t-split--exp { grid-template-columns: minmax(0, 27.5rem) minmax(0, 1fr); }
	.t-split--contact { grid-template-columns: minmax(0, 1fr) minmax(0, 23.75rem); align-items: end; }
}

/* ---------- Component: Nav ---------- */
.t-header {
	position: sticky;
	top: 0;
	z-index: 50;
	display: flex;
	align-items: center;
	gap: 1rem 2.5rem;
	padding: 1rem 1.5rem;
	background: color-mix(in srgb, var(--t-bg) 82%, transparent);
	backdrop-filter: blur(10px);
	color: var(--t-fg);
}
.t-logo { font-size: 1.125rem; font-weight: 300; margin-right: auto; }
.t-logo a { text-decoration: none; }
.t-lang { font-size: 0.875rem; font-weight: 500; color: var(--t-muted); white-space: nowrap; }
.t-lang a { text-decoration: none; color: var(--t-fg); padding: 0.5rem 0.25rem; }
.t-lang [aria-current] { color: var(--t-fg); }
.t-nav__menu { font-size: 1rem; gap: 2.5rem; }
.t-nav__menu .wp-block-navigation-item__content { text-decoration: none; padding-block: 0.5rem; }
.t-nav__menu .wp-block-navigation-item__content:hover { text-decoration: underline; }
.t-header__cv { display: none; }
.t-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--t-bg);
	color: var(--t-fg);
	padding: 1.5rem;
}
.t-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 1.25rem; font-size: 1.5rem; font-weight: 300; }

@media (min-width: 960px) {
	.t-header { padding: 1.5rem var(--t-gutter); }
	.t-logo { font-size: 1.375rem; }
	.t-header__cv { display: flex; }
	.t-header .wp-block-button__link { padding: 0.65rem 1.25rem; }
}

/* ---------- Hero ---------- */
.t-hero {
	position: relative;
	display: grid;
	background: var(--t-bg);
	overflow: hidden;
}
.t-hero__img { position: relative; margin: 0; aspect-ratio: 390 / 430; max-height: 70vh; }
.t-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 20%; display: block; }
.t-hero__img::after {
	content: "";
	position: absolute;
	inset: 50% 0 0 0;
	background: linear-gradient(to bottom, transparent, var(--t-bg));
}
.t-hero__text {
	position: relative;
	display: grid;
	gap: 1.125rem;
	padding: 0 1.5rem 4rem;
	margin-top: -1.5rem;
}

@media (min-width: 960px) {
	.t-hero { grid-template-columns: 50% 50%; min-height: min(760px, 92vh); }
	.t-hero__img { aspect-ratio: auto; max-height: none; }
	.t-hero__img::after { inset: auto 0 0 0; height: 25%; }
	.t-hero__text {
		align-content: center;
		margin: 0;
		padding: 6rem var(--t-gutter) 6rem clamp(2rem, 4vw, 3.5rem);
		gap: 1.5rem;
		background: linear-gradient(180deg, #2b2b2c 0%, #1d1d1f 100%);
	}
}

/* ---------- Component: Career Line ---------- */
.t-career { display: flex; align-items: center; flex-wrap: nowrap; padding-top: 1.25rem; }
.t-career__dot {
	flex: none;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 4px solid var(--c);
	background: var(--t-bg);
	box-sizing: border-box;
}
.t-career__seg {
	flex: none;
	width: calc(var(--w) * 1px);
	height: 4px;
	background: repeating-linear-gradient(90deg, var(--c) 0 6px, transparent 6px 11px);
}
.t-career__label { margin-left: 0.6rem; font-size: var(--wp--preset--font-size--lead); font-weight: 300; line-height: 1; color: var(--t-muted); white-space: nowrap; }

@media (min-width: 960px) {
	.t-career { padding-top: 2.5rem; }
	.t-career__dot { width: 18px; height: 18px; border-width: 5px; }
	.t-career__seg { width: calc(var(--w) * 1.75px); height: 5px; background: repeating-linear-gradient(90deg, var(--c) 0 8px, transparent 8px 14px); }
}

/* ---------- Component: Fact ---------- */
.t-facts { display: grid; }
.t-fact {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	padding-block: 0.875rem;
	border-top: 1px solid var(--t-border);
}
.t-fact__num { font-size: var(--wp--preset--font-size--display-m); font-weight: 200; line-height: 1; }
.t-fact__unit { display: grid; font-size: clamp(1.375rem, 2vw, 1.625rem); font-weight: 300; line-height: 1.2; }
.t-fact__unit small { font-size: var(--wp--preset--font-size--caption); font-weight: 400; color: var(--t-muted); }

/* ---------- Component: Theme Card ---------- */
.t-card {
	display: grid;
	align-content: start;
	gap: 0.875rem;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: var(--t-surface);
	border-left: 4px solid var(--accent);
}
.t-card__icon { margin: 0; width: clamp(40px, 4vw, 48px); }
.t-card__icon img { width: 100%; height: auto; display: block; }
.t-card__title { font-size: var(--wp--preset--font-size--heading-s); font-weight: 400; line-height: 1.25; }
.t-card p { color: var(--t-muted); font-size: var(--wp--preset--font-size--body); line-height: 1.55; }

/* ---------- Component: Case Card ---------- */
.t-case { display: grid; grid-template-rows: auto 1fr; background: var(--t-surface); overflow: hidden; }
.t-case__img { margin: 0; aspect-ratio: 16 / 10; background: var(--t-border); }
.t-case__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.t-case__body { display: grid; align-content: start; gap: 0.625rem; padding: 1.4rem 1.5rem 1.6rem; }
.t-case__body h3 { font-size: var(--wp--preset--font-size--heading-m); }
.t-case__body > p:not(.t-kicker) { color: var(--t-muted); font-size: var(--wp--preset--font-size--body); }
.t-case__body .t-tags { margin-top: 0.5rem; }

@media (min-width: 960px) {
	.t-case__body { padding: 1.75rem 2.25rem 2.25rem; }
}

/* ---------- Component: Tag ---------- */
.t-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; list-style: none; }
.t-tags li {
	padding: 0.375rem 0.75rem;
	border: 1px solid var(--t-border-strong);
	border-radius: 999px;
	font-size: 0.8125rem;
	line-height: 1.35;
	color: var(--t-subtle);
}

/* ---------- Component: Timeline Item / Timeline End ---------- */
.t-timeline { list-style: none; margin: 0; padding: 0; }
.t-tl {
	position: relative;
	padding: 0 0 2rem 2.125rem;
	--c: var(--t-muted);
}
.t-tl::before { /* dot */
	content: "";
	position: absolute;
	left: 0;
	top: 0.05rem;
	width: 18px;
	height: 18px;
	box-sizing: border-box;
	border-radius: 50%;
	border: 5px solid var(--c);
	background: var(--t-bg);
}
.t-tl::after { /* dashed rail, centred on the dot */
	content: "";
	position: absolute;
	left: 7px;
	top: 18px;
	bottom: 0;
	width: 4px;
	background: repeating-linear-gradient(180deg, var(--c) 0 8px, transparent 8px 14px);
}
.t-tl__years { font-size: 0.875rem; font-weight: 700; color: var(--t-muted); }
.t-tl__role { margin-top: 0.25rem !important; font-size: var(--wp--preset--font-size--heading-m); font-weight: 300; }
.t-tl__org { margin-top: 0.375rem !important; font-size: 0.9375rem; font-weight: 500; }
.t-tl__desc { margin-top: 0.375rem !important; font-size: var(--wp--preset--font-size--body-s); color: var(--t-muted); line-height: 1.5; }
.t-tl--end { padding-bottom: 0; }
.t-tl--end::after { content: none; }
.t-tl--end::before { top: clamp(1.25rem, 2.5vw, 2.1rem); }
.t-tl__you { font-size: var(--wp--preset--font-size--display-l); font-weight: 200; line-height: 1; }

/* ---------- Experience side column ---------- */
.t-along { display: grid; gap: 1.5rem; }
.t-group { display: grid; gap: 0.625rem; }
.t-group__title { font-size: 1rem !important; font-weight: 400 !important; line-height: 1.4 !important; }
.t-split--exp { gap: clamp(3rem, 6vw, 6rem); }
@media (max-width: 959px) {
	.t-split--exp { display: flex; flex-direction: column; }
	.t-split--exp .t-exp__side { display: contents; }
	.t-split--exp .t-head { order: 1; }
	.t-split--exp .t-timeline { order: 2; }
	.t-split--exp .t-along { order: 3; }
}

/* ---------- Component: Client Name ---------- */
.t-clients {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding: 0;
	list-style: none;
}
.t-clients li {
	padding: 1rem 0.5rem 1rem 0;
	border-top: 1px solid var(--t-border);
	font-size: clamp(1.125rem, 1.6vw, 1.375rem);
	font-weight: 300;
	line-height: 1.3;
}
@media (min-width: 960px) {
	.t-clients { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.t-clients li { padding-block: 1.375rem; }
}

/* ---------- Contact ---------- */
.t-section--contact { padding-bottom: 3rem; }
.t-section--contact .t-h2 { font-size: var(--wp--preset--font-size--display-m); line-height: 1.08; }
.t-contact__actions { flex-direction: column; align-items: stretch; gap: 0.75rem; }
.t-contact__actions .wp-block-button { width: 100%; }
.t-contact__actions .wp-block-button__link { width: 100%; text-align: center; }

/* ---------- Component: Footer ---------- */
.t-footer {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 2rem;
	padding: 1.75rem var(--t-gutter) 2.5rem;
	background: var(--t-bg);
	color: var(--t-muted);
	font-size: var(--wp--preset--font-size--caption);
	border-top: 1px solid var(--t-border);
}
.t-footer p { margin: 0; }
.t-footer .t-lang { margin-left: auto; }

/* ---------- Simple pages (Impressum, Datenschutz) ---------- */
.t-header--simple .t-back { font-size: 0.9375rem; }
.t-prose { min-height: 60vh; }
.t-prose .wp-block-post-title { margin-bottom: 2rem; }
.t-prose :where(p, li) { line-height: 1.65; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
	.wp-block-button__link { transition: background-color 0.15s ease, color 0.15s ease; }
}
[id] { scroll-margin-top: 5.5rem; }

/* ---------- Forced colours / high contrast ---------- */
@media (forced-colors: active) {
	.t-card { border-left-color: CanvasText; }
	.t-tl::before, .t-career__dot { forced-color-adjust: none; }
}

/* ---------- Spacing is owned by the components (gap), not by WP flow margins ---------- */
.t-page .wp-block-group > *,
.t-page .wp-block-buttons,
.t-page .wp-block-list { margin-block-start: 0; }
.t-about__text,
.t-contact__text { display: grid; gap: 0; }

/* ---------- Mobile fixes ---------- */
.t-hero { grid-template-columns: minmax(0, 1fr); }
.t-hero__text > * { min-width: 0; }
.t-career__seg { width: calc(var(--w) * 0.6px); }
.t-logo { white-space: nowrap; }
.t-header .t-lang { order: 2; }
.t-header .t-nav__menu { order: 3; }
.t-header .t-header__cv { display: none; order: 4; }
@media (min-width: 960px) {
	.t-hero { grid-template-columns: 50% 50%; }
	.t-career__seg { width: calc(var(--w) * 1.75px); }
	.t-header .t-lang { order: 3; }
	.t-header .t-nav__menu { order: 2; }
	.t-header .t-header__cv { display: flex; }
}
.t-lang a { text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- Component: Client Logos (dark grey on paper) ---------- */
.t-logos {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}
.t-logos li {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 6rem;
	padding: 1.25rem 0.75rem;
	border-top: 1px solid var(--t-border);
}
.t-logos img {
	display: block;
	width: auto;
	height: auto;
	max-height: 2.75rem;
	max-width: min(100%, 9.5rem);
}
/* compact marks (square or stacked logos) get more height to match the visual weight of wordmarks */
.t-logos__item--l img { max-height: 3.75rem; }
.t-logos__text {
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--t-muted);
}
@media (min-width: 960px) {
	.t-logos { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.t-logos li { min-height: 7.5rem; }
	.t-logos img { max-height: 3.25rem; max-width: min(100%, 11rem); }
	.t-logos__item--l img { max-height: 4.75rem; }
}

/* ---------- Button hover: polygon sweep (left → right), border stays ---------- */
.wp-block-button__link {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	transition: color 0.2s ease, background-color 0s;
}
.wp-block-button__link::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: #0e0e0f url("../img/button-polygons.webp") left center / cover no-repeat;
	clip-path: inset(0 100% 0 0);
	transition: clip-path 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
	color: #fff;
	background-color: #0e0e0f;
	border-color: var(--t-fg);
	/* the fill only swaps once the polygons cover the button, so it never flashes dark */
	transition: color 0.3s ease 0.15s, background-color 0s 0.65s;
}
.wp-block-button__link:hover::before,
.wp-block-button__link:focus-visible::before {
	clip-path: inset(0 0 0 0);
}

/* ---------- Scroll reveal: project cards fly in one after another ---------- */
.t-motion .t-case {
	opacity: 0;
	transform: translate3d(0, 48px, 0) scale(0.985);
	transition:
		opacity 1s cubic-bezier(0.22, 0.61, 0.36, 1) var(--t-delay, 0ms),
		transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) var(--t-delay, 0ms);
	will-change: opacity, transform;
}
.t-motion .t-case.is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.wp-block-button__link::before { transition: none; }
	.t-motion .t-case { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Scroll choreography (only with .t-motion: JS available, no reduced motion)
   ========================================================================== */
:root { --t-ease: cubic-bezier(0.22, 0.61, 0.36, 1); }

/* Short Facts: glide in from the right */
.t-motion .t-fact {
	opacity: 0;
	transform: translate3d(72px, 0, 0);
	transition: opacity 0.9s var(--t-ease) var(--t-delay, 0ms), transform 1.1s var(--t-ease) var(--t-delay, 0ms);
}
.t-motion .t-fact.is-in { opacity: 1; transform: none; }

/* Theme cards: the colour stripe cuts through the black like a blade,
   then the grey card unrolls from the stripe side, then icon and text appear */
.t-card { position: relative; isolation: isolate; }
.t-motion .t-card { background: transparent; border-left-color: transparent; }
.t-motion .t-card::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -4px;
	width: 4px;
	background: var(--accent);
	transform: scaleY(0);
	transform-origin: top;
	transition: transform 0.6s cubic-bezier(0.7, 0, 0.3, 1) var(--t-delay, 0ms);
}
.t-motion .t-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--t-surface);
	clip-path: inset(0 100% 0 0);
	transition: clip-path 0.9s var(--t-ease) calc(var(--t-delay, 0ms) + 0.5s);
}
.t-motion .t-card > * {
	opacity: 0;
	transform: translate3d(-20px, 0, 0);
	transition: opacity 0.7s var(--t-ease) calc(var(--t-delay, 0ms) + 0.85s), transform 0.9s var(--t-ease) calc(var(--t-delay, 0ms) + 0.85s);
}
.t-motion .t-card.is-in::before { transform: scaleY(1); }
.t-motion .t-card.is-in::after { clip-path: inset(0 0 0 0); }
.t-motion .t-card.is-in > * { opacity: 1; transform: none; }

/* Timeline: the line grows station by station, the dot appears, the text follows */
.t-motion .t-tl::after {
	transform: scaleY(0);
	transform-origin: top;
	transition: transform 1s var(--t-ease) calc(var(--t-delay, 0ms) + 0.2s);
}
.t-motion .t-tl::before {
	transform: scale(0);
	transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) var(--t-delay, 0ms);
}
.t-motion .t-tl > * {
	opacity: 0;
	transform: translate3d(24px, 0, 0);
	transition: opacity 0.8s var(--t-ease) calc(var(--t-delay, 0ms) + 0.3s), transform 1s var(--t-ease) calc(var(--t-delay, 0ms) + 0.3s);
}
.t-motion .t-tl.is-in::after { transform: scaleY(1); }
.t-motion .t-tl.is-in::before { transform: scale(1); }
.t-motion .t-tl.is-in > * { opacity: 1; transform: none; }

/* Client logos: appear one after another */
.t-motion .t-logos li {
	opacity: 0;
	transform: translate3d(0, 12px, 0);
	transition: opacity 0.8s var(--t-ease) var(--t-delay, 0ms), transform 0.9s var(--t-ease) var(--t-delay, 0ms);
}
.t-motion .t-logos li.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.t-motion .t-fact,
	.t-motion .t-card > *,
	.t-motion .t-tl > *,
	.t-motion .t-logos li { opacity: 1; transform: none; transition: none; }
	.t-motion .t-card { background: var(--t-surface); border-left-color: var(--accent); }
	.t-motion .t-card::before,
	.t-motion .t-card::after { content: none; }
	.t-motion .t-tl::before,
	.t-motion .t-tl::after { transform: none; transition: none; }
}
@media (forced-colors: active) {
	.t-motion .t-card { border-left-color: CanvasText; }
	.t-motion .t-card::before,
	.t-motion .t-card::after { content: none; }
}

/* ---------- Hero intro: typewriter + career line ---------- */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.t-type strong { font-weight: 700; }
.t-motion .t-type:not(.is-split) { visibility: hidden; }
.t-motion .t-type .t-ch { opacity: 0; }
/* zero-width caret so the text never shifts while typing */
.t-type .t-ch.is-caret::after {
	content: "";
	display: inline-block;
	width: 0;
	height: 0.9em;
	margin-right: -2px;
	border-right: 2px solid currentColor;
	vertical-align: -0.1em;
	animation: t-blink 1s steps(1) infinite;
}
.t-hero.is-typed .t-ch.is-caret::after { animation: t-blink 1s steps(1) 3 forwards; }
@keyframes t-blink { 50% { opacity: 0; } 100% { opacity: 0; } }
.t-motion .t-career > * { opacity: 0; }
.t-career__seg { transform-origin: left center; }
.t-career__label { transform-origin: center; }
/* elements flying in from the side must never widen the page (clip keeps sticky header working) */
.t-motion .t-main { overflow-x: clip; }
/* header: "Get in touch" + "Download CV" side by side; the nav stays a burger menu until both fit next to it */
.t-header .t-header__cv { gap: 0.5rem; flex-wrap: nowrap; }
.t-header .wp-block-button__link { white-space: nowrap; }
@media (min-width: 768px) {
	.t-header .t-header__cv { display: flex; }
}
@media (max-width: 1439px) {
	.t-header { gap: 1rem 1.5rem; }
	.t-header .t-lang { order: 2; }
	.t-header .t-header__cv { order: 3; }
	.t-header .t-nav__menu { order: 4; }
	.t-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.t-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
