/*
 * IntelliTailor — presentation layer.
 * Colour, type and spacing tokens live in theme.json.
 * Direction: oversized light display type, generous space, full-bleed photography,
 * deep Tailor Green and Ink bands, mono labels, slow motion.
 */

:root {
	--it-paper: var(--wp--preset--color--paper, #FFFFFF);
	--it-green: var(--wp--preset--color--tailor-green, #263F31);
	--it-ink: var(--wp--preset--color--ink, #1A1A1A);
	--it-mist: var(--wp--preset--color--mist, #E4EDE0);
	--it-graphite: var(--wp--preset--color--graphite, #5C5E58);
	--it-rule: var(--wp--preset--color--rule, #C4C4C0);
	--it-mono: var(--wp--preset--font-family--jetbrains-mono, ui-monospace, monospace);
	--it-sans: var(--wp--preset--font-family--open-sans, system-ui, sans-serif);
	--it-gutter: clamp(20px, 4vw, 64px);
	--it-max: 1440px;
	--it-header-h: 104px;
	--it-ease: cubic-bezier(.2, .7, .1, 1);
	--it-display: clamp(52px, 10.5vw, 176px);
	--it-xl: clamp(36px, 5.6vw, 92px);
	/* Fit marker: the lower triangle of the mark (138 × 392 in the master file). */
	--it-marker-w: clamp(30px, 4vw, 64px);
	--it-marker-shape: polygon(0 0, 100% 33.7%, 58% 100%);
	--it-focus: 0 0 0 2px var(--it-paper), 0 0 0 4px var(--it-green);
	--it-on-dark: rgba(255, 255, 255, .62);
	--it-line-dark: rgba(255, 255, 255, .16);
}

html { scroll-padding-top: calc(var(--it-header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
	margin: 0;
	background: var(--it-paper);
	color: var(--it-ink);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	font-feature-settings: "kern", "lnum";
}
body.is-menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible { outline: none; box-shadow: var(--it-focus); border-radius: 2px; }
::selection { background: var(--it-green); color: var(--it-paper); }

.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;
}
.it-skip {
	position: absolute; left: 16px; top: -100px; z-index: 200;
	background: var(--it-ink); color: #fff; padding: 12px 16px; font-weight: 600; text-decoration: none;
}
.it-skip:focus { top: 16px; }

.wp-site-blocks > * { margin-block-start: 0; }
.it-main { overflow-x: clip; }
.it-main > .alignfull { margin-top: 0 !important; margin-bottom: 0 !important; }

/* ---------- Type ---------- */

.it-label,
.is-style-label,
p.is-style-label {
	font-family: var(--it-mono);
	font-size: 12px;
	line-height: 1.5;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--it-graphite);
	margin: 0;
}
.has-paper-color .it-label, .has-ink-background-color .it-label, .has-tailor-green-background-color .it-label { color: var(--it-on-dark); }

/* Pillar descriptor: Open Sans Semibold, all caps. */

.it-display {
	font-size: var(--it-display) !important;
	font-weight: 300 !important;
	line-height: .94 !important;
	letter-spacing: -.045em !important;
	margin: 28px 0 0 !important;
}
.it-display em {
	font-style: normal; font-weight: 600; color: var(--it-green);
}
.has-paper-color .it-display em { color: var(--it-mist); }

:where(.it-main) h1, :where(.it-main) h2 { text-wrap: balance; }
:where(.it-main) p { text-wrap: pretty; }

/* ---------- Links and buttons ---------- */

.it-button,
.wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	border-radius: 999px !important;
	border: 1px solid transparent;
	padding: 18px 30px !important;
	font-family: var(--it-sans); font-size: 16px !important; font-weight: 600; line-height: 1;
	text-decoration: none; cursor: pointer;
	transition: background-color .4s var(--it-ease), color .4s var(--it-ease), border-color .4s var(--it-ease);
}
.it-button, .wp-block-button:not([class*="is-style-"]) .wp-block-button__link {
	background: var(--it-green); color: var(--it-paper); border-color: var(--it-green);
}
.it-button::after, .wp-block-button:not(.is-style-text-link) .wp-block-button__link::after {
	content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
	transform: rotate(45deg); margin-left: -2px; transition: transform .4s var(--it-ease);
}
.it-button:hover, .wp-block-button:not([class*="is-style-"]) .wp-block-button__link:hover {
	background: transparent; color: var(--it-green); border-color: var(--it-green);
}
.it-button:hover::after, .wp-block-button__link:hover::after { transform: translateX(4px) rotate(45deg); }
.has-tailor-green-background-color .wp-block-button:not([class*="is-style-"]) .wp-block-button__link,
.has-ink-background-color .wp-block-button:not([class*="is-style-"]) .wp-block-button__link {
	background: var(--it-paper); color: var(--it-ink); border-color: var(--it-paper);
}
.has-ink-background-color .wp-block-button:not([class*="is-style-"]) .wp-block-button__link:hover,
.has-tailor-green-background-color .wp-block-button:not([class*="is-style-"]) .wp-block-button__link:hover { background: transparent; color: var(--it-paper); }
.it-button--small { padding: 13px 22px !important; font-size: 15px !important; }

.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: inherit; border-color: currentColor; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--it-ink); color: #fff; border-color: var(--it-ink); }
.wp-block-button.is-style-on-green .wp-block-button__link { background: var(--it-paper); color: var(--it-ink); border-color: var(--it-paper); }
.wp-block-button.is-style-on-green .wp-block-button__link:hover { background: transparent; color: #fff; }
.wp-block-button.is-style-text-link .wp-block-button__link { background: none; color: inherit; padding: 14px 0 !important; border: 0; border-radius: 0 !important; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* ---------- Header ---------- */

.it-site-header { position: sticky; top: 0; z-index: 60; background: transparent; transition: background-color .4s var(--it-ease), transform .5s var(--it-ease); }
.it-site-header.is-scrolled { background: color-mix(in srgb, var(--it-paper) 92%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.it-site-header.is-hidden { transform: translateY(-100%); }
.admin-bar .it-site-header { top: var(--wp-admin--admin-bar--height, 32px); }

.it-header { position: relative; z-index: 2; }
.it-header__inner {
	max-width: var(--it-max); margin: 0 auto; padding: 0 var(--it-gutter);
	min-height: var(--it-header-h);
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.it-header__brand { display: block; line-height: 0; position: relative; }
/* Minimum logo size is 64 px height (brand guidelines, p. 4). */
.it-logo { height: 64px; width: auto; }
.it-logo--white { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.it-logo--color { transition: opacity .3s; }

.it-header__actions { display: flex; align-items: center; gap: 12px; }
.it-header__lang {
	font-family: var(--it-mono); font-size: 12px; letter-spacing: .14em; color: var(--it-ink); text-decoration: none;
	padding: 12px 10px;
}
.it-header__lang:hover { color: var(--it-green); }

/* The menu toggle and the header button take the logo's hexagon: see "Header buttons and menu" in v2.css. */

/* Header over the open menu */
.is-menu-open .it-site-header { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
.is-menu-open .it-logo--white { opacity: 1; }
.is-menu-open .it-logo--color { opacity: 0; }
.is-menu-open .it-header__lang, .is-menu-open .it-menu-toggle { color: var(--it-paper); border-color: var(--it-line-dark); }
.is-menu-open .it-header__cta { background: var(--it-paper); color: var(--it-ink); border-color: var(--it-paper); }

@media (max-width: 760px) {
	:root { --it-header-h: 88px; }
	.it-header__cta, .it-header__lang { display: none; }
}

/* ---------- Full-screen menu ---------- */

.it-menu {
	position: fixed; inset: 0; z-index: 1;
	background: var(--it-green); color: var(--it-paper);
	display: flex; overflow-y: auto;
	clip-path: inset(0 0 100% 0);
	transition: clip-path .8s var(--it-ease);
}
.it-menu[hidden] { display: none; }
.it-menu.is-open { clip-path: inset(0 0 0 0); }
.it-menu__inner {
	width: 100%; max-width: var(--it-max); margin: 0 auto; box-sizing: border-box;
	padding: calc(var(--it-header-h) + 48px) var(--it-gutter) 48px;
	display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: end;
}
.it-menu__list { list-style: none; margin: 0; padding: 0; }
.it-menu__list a {
	display: flex; align-items: baseline; gap: 24px;
	font-size: clamp(44px, 8vw, 120px); font-weight: 300; line-height: 1.04; letter-spacing: -.04em;
	color: var(--it-paper); text-decoration: none;
	opacity: .5; transition: opacity .4s var(--it-ease), transform .6s var(--it-ease);
}
.it-menu__list a:hover, .it-menu__list a:focus-visible, .it-menu__list a[aria-current="page"] { opacity: 1; }
.it-menu__num { font-family: var(--it-mono); font-size: 12px; letter-spacing: .14em; opacity: .7; transform: translateY(-1.2em); }
.it-menu__list li { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
	.it-menu__list li a { transform: translateY(100%); transition: transform .9s var(--it-ease), opacity .4s; }
	.it-menu.is-open .it-menu__list li a { transform: none; }
	.it-menu.is-open .it-menu__list li:nth-child(2) a { transition-delay: .06s; }
	.it-menu.is-open .it-menu__list li:nth-child(3) a { transition-delay: .12s; }
	.it-menu.is-open .it-menu__list li:nth-child(4) a { transition-delay: .18s; }
}
.it-menu__tag { font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; line-height: 1.25; margin: 0 0 32px; max-width: 12em; }
.it-menu__meta { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.it-menu__meta a { color: var(--it-on-dark); text-decoration: none; font-family: var(--it-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.it-menu__meta a:hover { color: var(--it-paper); }
@media (max-width: 760px) { .it-menu__inner { grid-template-columns: 1fr; align-items: start; } }
@media (prefers-reduced-motion: reduce) { .it-menu { transition: none; } }

/* ---------- Sections ---------- */

.wp-block-columns { gap: clamp(24px, 4vw, 64px) !important; }

/* ---------- Intro ---------- */

/* ---------- Travelling particle body (assets/js/body.js) ---------- */

/* ---------- Hero body: decorative particle figure (assets/js/body.js), right of the headline ---------- */

@media (max-width: 999px) {
	/* On narrow screens the figure sits behind the headline as a quiet background. */
}

/* ---------- Feature: full-bleed photo + overlapping panel ---------- */

.it-feature { position: relative; margin-top: 0 !important; margin-bottom: 0 !important; padding: 0 0 calc(var(--it-marker-w) * 392 / 138 + 32px) var(--it-gutter); }
.it-feature__image { margin: 0 !important; height: clamp(440px, 82vh, 920px); overflow: hidden; }
.it-feature__image img { width: 100%; height: 118%; object-fit: cover; object-position: 60% 40%; will-change: transform; }
.it-feature__video video { display: block; width: 100%; height: 118%; object-fit: cover; object-position: 50% 40%; will-change: transform; background: var(--it-mist); }

@media (max-width: 781px) {
	.it-feature { padding-left: 0; }
	.it-feature__image { height: 64vh; }
	.it-feature__image img { object-position: 78% 40%; }
	.it-feature__video video { object-position: 50% 40%; }
}

/* Key graphic: the fit marker hangs from the panel's lower-left corner. One per layout. */
.is-style-panel-marker { position: relative; overflow: visible !important; }
.is-style-panel-marker::after {
	content: ""; position: absolute; left: 0; top: 100%;
	width: var(--it-marker-w); aspect-ratio: 138 / 392;
	background: var(--it-green); clip-path: var(--it-marker-shape); pointer-events: none;
}
.has-tailor-green-background-color .is-style-panel-marker::after { background: var(--it-paper); }

/* ---------- Rotator ---------- */

/* The cycling word sits on its own line, so changing it never changes the section height. */
.it-rotator { display: block; white-space: nowrap; color: var(--it-mist); font-weight: 600; }
.it-rotator__word { display: inline-block; }
.it-rotator__word.is-out { animation: it-word-out .45s var(--it-ease) forwards; }
.it-rotator__word.is-in { animation: it-word-in .6s var(--it-ease) forwards; }
@keyframes it-word-out { to { opacity: 0; transform: translateY(-.4em); filter: blur(6px); } }
@keyframes it-word-in { from { opacity: 0; transform: translateY(.4em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- Stats ---------- */

/* Figures scale with the space left in each column (container units, minus padding),
   sized for the longest figure (about 3.4× its font size, plus margin, e.g. "<1 Min." or "Minuten"). */

/* ---------- Duo: two photo cards ---------- */

/* ---------- Big list ---------- */

/* ---------- Fit result (illustrative) ---------- */

.it-fit {
	border: 1px solid var(--it-line-dark); padding: clamp(24px, 3.4vw, 52px);
	background: rgba(255, 255, 255, .04);
}

.it-fit__size {
	width: 56px; height: 56px; border-radius: 999px;
	border: 1px solid var(--it-line-dark); background: transparent; color: var(--it-paper);
	font: 600 15px/1 var(--it-sans); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s;
}
.it-fit__size:hover { border-color: var(--it-paper); }
.it-fit__size[aria-pressed="true"] { background: var(--it-paper); border-color: var(--it-paper); color: var(--it-green); }
.it-fit__summary { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.2; font-weight: 300; letter-spacing: -.02em; margin: 0 0 28px; min-height: 2.4em; color: var(--it-paper); }

.it-fit__zone {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px;
	padding: 16px 0; border-top: 1px solid var(--it-line-dark); color: var(--it-paper); font-size: 17px;
}
.it-fit__zone:last-child { border-bottom: 1px solid var(--it-line-dark); }
.it-fit__verdict {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--it-mono); font-size: 12px; letter-spacing: .06em;
	padding: 7px 12px; border-radius: 999px; white-space: nowrap;
	transition: background-color .4s, color .4s;
}
/* Fit scale in brand colours; the word always carries the meaning, never colour alone. */
.it-fit__verdict[data-fit="good"] { background: var(--it-paper); color: var(--it-green); }
.it-fit__verdict[data-fit="near"] { background: rgba(228, 237, 224, .18); color: var(--it-paper); }
.it-fit__verdict[data-fit="off"] { background: transparent; color: var(--it-paper); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.it-fit__verdict[data-fit="good"]::before { content: "✓"; }
.it-fit__verdict[data-fit="near"]::before { content: "~"; }
.it-fit__verdict[data-fit="off"]::before { content: "×"; }

/* Fit section: title left, line-grid body centre, example sizes right. */

.it-fit__zone { grid-template-columns: minmax(0, 1fr) auto auto !important; }
.it-fit__dims { font-family: var(--it-mono); font-size: 13px; color: var(--it-on-dark); white-space: nowrap; }
.it-fit__dims-garment { color: var(--it-paper); }

/* ---------- Steps + collage ---------- */

/* ---------- Split ---------- */

/* ---------- Statement + checklist ---------- */

/* ---------- Marquee ---------- */

@keyframes it-marquee { to { transform: translateX(-50%); } }

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

/* ---------- Contact (runs into the Ink footer) ---------- */

.it-contact { padding-bottom: clamp(64px, 8vw, 120px) !important; }

/* ---------- Form ---------- */

.it-form { background: var(--it-paper); color: var(--it-ink); padding: clamp(28px, 4vw, 56px); }
.it-form p { margin: 0; }
.it-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 560px) { .it-form__row { grid-template-columns: 1fr; } }
.it-field { display: flex; flex-direction: column; gap: 4px; margin: 0 0 24px !important; }
.it-field > label:not(.it-choice), .it-choices legend { font-family: var(--it-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--it-graphite); }
.it-field input, .it-field textarea {
	font: inherit; font-size: 19px; font-weight: 300; color: var(--it-ink);
	background: transparent; border: 0; border-bottom: 1px solid var(--it-rule); border-radius: 0;
	padding: 10px 0 12px; width: 100%; box-sizing: border-box; transition: border-color .3s;
}
.it-field input:hover, .it-field textarea:hover { border-bottom-color: var(--it-graphite); }
.it-field input:focus, .it-field textarea:focus { border-bottom-color: var(--it-green); outline: none; box-shadow: 0 1px 0 0 var(--it-green); }
.it-field textarea { resize: vertical; min-height: 96px; }
.it-field__hint { font-size: 14px; color: var(--it-graphite); margin-top: 6px; }
.it-field [aria-invalid="true"] { border-bottom-color: var(--it-ink); box-shadow: 0 1px 0 0 var(--it-ink); }
.it-field__error { font-size: 14px; font-weight: 600; color: var(--it-ink); margin-top: 6px; }
.it-field__error::before { content: "× "; font-family: var(--it-mono); }

.it-choices { border: 0; padding: 0; margin: 4px 0 24px; display: flex; flex-direction: row !important; flex-wrap: wrap; gap: 10px; }
.it-choices legend { padding: 0; margin-bottom: 14px; width: 100%; }
.it-choice {
	position: relative; display: inline-flex; align-items: center; cursor: pointer;
	padding: 12px 20px; border: 1px solid var(--it-rule); border-radius: 999px; background: transparent;
	font-size: 15px; transition: background-color .3s, color .3s, border-color .3s;
}
.it-choice + .it-choice { margin-top: 0; }
.it-choice:hover { border-color: var(--it-ink); }
.it-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; width: 100%; height: 100%; }
.it-choice:has(input:checked) { background: var(--it-green); border-color: var(--it-green); color: var(--it-paper); }
.it-choice:has(input:focus-visible) { box-shadow: var(--it-focus); }
.it-choices .it-field__error { width: 100%; }

.it-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.it-form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 12px; }
.it-form__note { font-size: 14px; color: var(--it-graphite); flex: 1 1 220px; }
.it-form__note a { color: var(--it-green); }
.it-form__message:empty { display: none; }
.it-form__message { padding: 16px 18px; margin-bottom: 28px; font-weight: 600; border-left: 3px solid var(--it-ink); background: #fff; }
.it-form__message.is-success { border-left-color: var(--it-green); background: var(--it-mist); }

/* ---------- Footer ---------- */

.it-site-footer { background: var(--it-ink); color: var(--it-paper); }
.it-footer { max-width: var(--it-max); margin: 0 auto; padding: clamp(40px, 6vw, 96px) var(--it-gutter) 32px; box-sizing: border-box; }
.it-site-footer { border-top: 1px solid var(--it-line-dark); }
.it-footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.it-footer .it-label { color: var(--it-on-dark); }
.it-footer ul { list-style: none; margin: 18px 0 0; padding: 0; }
.it-footer li + li { margin-top: 10px; }
.it-footer a { color: var(--it-paper); text-decoration: none; }
.it-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.it-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: clamp(56px, 7vw, 112px); padding-top: 24px; border-top: 1px solid var(--it-line-dark); }
.it-footer__base .it-label { font-size: 11px; }
@media (max-width: 760px) { .it-footer__inner { grid-template-columns: 1fr 1fr; } .it-footer__brand { grid-column: 1 / -1; } }

/* Endorsement lockup: "by maketribe", lowercase, right-aligned with the wordmark. */
.it-lockup { display: inline-flex; flex-direction: column; align-items: flex-end; }
.it-lockup .it-logo { height: 96px; }
.it-lockup__endorsement { font-size: 15px; line-height: 1; margin-top: 10px; color: var(--it-mist); }

/* ---------- Text pages ---------- */

.it-text-page h1 { font-size: var(--it-xl) !important; font-weight: 300; letter-spacing: -.035em; line-height: 1; }
.it-text-page h2 { font-size: var(--wp--preset--font-size--lead); font-weight: 600; margin-top: 2em; }
.it-placeholder { background: var(--it-mist); padding: 16px 20px; border-left: 3px solid var(--it-green); font-family: var(--it-mono); font-size: 14px; }

/* ---------- Motion: reveal once on entry (JS + no reduced motion only) ---------- */

@media (prefers-reduced-motion: no-preference) {
	.js .it-reveal.is-visible > *:nth-child(2) { transition-delay: .08s; }
	.js .it-reveal.is-visible > *:nth-child(3) { transition-delay: .16s; }
	.js .it-reveal.is-visible > *:nth-child(4) { transition-delay: .24s; }

	/* Headline lines rise from a mask */
	.js .it-display .it-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
	.js .it-display .it-line > span { display: block; transform: translateY(105%); transition: transform 1.2s var(--it-ease); }
	.js .it-display.is-in .it-line > span { transform: none; }
	.js .it-display.is-in .it-line:nth-child(2) > span { transition-delay: .1s; }
	.js .it-display.is-in .it-line:nth-child(3) > span { transition-delay: .2s; }
}

/* ---------- Editor ---------- */

.editor-styles-wrapper .it-reveal > * { opacity: 1 !important; transform: none !important; }

/* Static preview export: the form is replaced by a note (tools/export-static.mjs). */

/* ---------- Solutions: one card per product (v3, 11 Nov 2026) ---------- */

/* ---------- Contact pop-up: the page's own form, shown in a dialog ---------- */

.it-dialog { border: 0; padding: 0; margin: auto; width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; background: var(--it-ink); color: var(--it-paper); }
.it-dialog::backdrop { background: rgba(26, 26, 26, .55); backdrop-filter: blur(3px); }
.it-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px clamp(20px, 3vw, 40px); }
.it-dialog__title { margin: 0; font-size: clamp(28px, 3.4vw, 44px); font-weight: 300; letter-spacing: -.03em; line-height: 1.05; }
.it-dialog__close { flex: none; background: transparent; border: 1px solid var(--it-rule); color: var(--it-paper); font-family: var(--it-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 10px 14px; cursor: pointer; }
.it-dialog__close:hover { border-color: var(--it-paper); }
.it-dialog__close:focus-visible { outline: none; box-shadow: var(--it-focus); }
.it-dialog .it-form { margin: 0; }
html.is-dialog-open { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
	.it-dialog[open] { animation: it-dialog-in .35s var(--it-ease); }
	@keyframes it-dialog-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

/* ---------- 17 Nov 2026 (maketribe feedback) ---------- */

/* Solutions: each block highlighted as a card, with a green bar and a large number. */

/* "On the product page": a smaller block; the body zones move sideways as the page scrolls. */

.it-track { display: flex; align-items: baseline; gap: .35em; margin-top: 24px; font-size: clamp(30px, 4.2vw, 64px); font-weight: 300; letter-spacing: -.035em; line-height: 1.1; }

.it-track__window { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 70%, transparent); }
.it-track__list { list-style: none; margin: 0; padding: 0; display: flex; gap: .5em; white-space: nowrap; will-change: transform; }
.it-track__word { color: var(--it-on-dark); font-weight: 300; transition: color .4s var(--it-ease); }
.it-track__word.is-active { color: var(--it-mist); font-weight: 600; }

@media (max-width: 781px) {
	.it-track { flex-direction: column; gap: .15em; }
	.it-track__window { width: 100%; }
}
/* Without JS or with reduced motion: all zones shown, wrapped. */
.it-track:not(.is-live) .it-track__list { flex-wrap: wrap; white-space: normal; row-gap: .1em; }
.it-track:not(.is-live) .it-track__window { -webkit-mask-image: none; mask-image: none; }
.it-track:not(.is-live) .it-track__word { color: var(--it-mist); font-weight: 600; }

/* "Fit you can check": jacket photo under the text. */

/* ---------- Cursor: accent dot (mouse and trackpad only) ---------- */
/* A dark ring keeps the neon dot visible on white. Text fields keep the normal caret. */
.it-cursor { position: fixed; left: 0; top: 0; z-index: 1000; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #11FF00; box-shadow: 0 0 0 1.5px rgba(26, 26, 26, .85); pointer-events: none; transition: width .2s var(--it-ease), height .2s var(--it-ease), margin .2s var(--it-ease), background-color .2s, opacity .2s; will-change: transform; }
.it-cursor.is-link { width: 34px; height: 34px; margin: -17px 0 0 -17px; background: rgba(17, 255, 0, .25); box-shadow: 0 0 0 1.5px #11FF00; }
.it-cursor.is-text, .it-cursor.is-out { opacity: 0; }
html.has-dot-cursor, html.has-dot-cursor * { cursor: none !important; }
html.has-dot-cursor input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), html.has-dot-cursor textarea, html.has-dot-cursor select { cursor: text !important; }
/* The contact dialog opens in the browser's top layer, above the dot, so while it is open
   the normal pointer comes back and the dot hides. */
html.has-dot-cursor.is-dialog-open, html.has-dot-cursor.is-dialog-open * { cursor: auto !important; }
html.has-dot-cursor.is-dialog-open :is(a, button, label, summary, [role="button"], input[type="radio"], input[type="checkbox"]) { cursor: pointer !important; }
html.has-dot-cursor.is-dialog-open :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), textarea, select) { cursor: text !important; }
html.is-dialog-open .it-cursor { opacity: 0; }

/* Blog: post list (/blog/, /de/blog/) and subheadings in posts and legal pages. */
.it-posts { list-style: none; margin: 2em 0 0; padding: 0; }
.it-posts__item { padding: 28px 0; border-top: 1px solid var(--it-mist); }
.it-posts__item .it-label { margin: 0 0 8px; }
.it-posts__title { margin: 0 0 8px !important; font-size: var(--wp--preset--font-size--lead); font-weight: 600; line-height: 1.25; }
.it-posts__title a { color: inherit; text-decoration: none; }
.it-posts__title a:hover, .it-posts__title a:focus-visible { text-decoration: underline; }
.it-posts__excerpt { margin: 0; max-width: 68ch; }
.it-text-page h3 { font-size: 1.05em; font-weight: 600; margin-top: 1.6em; }
