/* =========================================================================
   AFServices — main stylesheet (ported from the concept, raised to production)
   Brand rules (AFS-ID brand book): red #E31A31, black, light grey #F1F1F1, white; black or white at reduced
   opacity for lines, surfaces and muted text. One font family (Galano Grotesque, Arial fallback). No gradients,
   glows, blurs or coloured shadows. Red text only at large sizes: #E31A31 on black is 4.46:1, under AA for
   small text, so small labels are white and red marks them with lines, dots and the slash.
   ========================================================================= */

:root {
	--ink: var(--wp--preset--color--ink);
	--ink-2: var(--wp--preset--color--ink-2);
	--ink-3: var(--wp--preset--color--ink-3);
	--ink-4: var(--wp--preset--color--ink-4);
	--text: var(--wp--preset--color--text);
	--text-2: var(--wp--preset--color--text-2);
	--muted: var(--wp--preset--color--muted);
	--red: var(--wp--preset--color--red);
	--paper: var(--wp--preset--color--paper);
	--paper-ink: var(--wp--preset--color--paper-ink);
	--paper-muted: var(--wp--preset--color--paper-muted);
	--line: var(--wp--custom--line);
	--line-2: var(--wp--custom--line-2);
	--ease: var(--wp--custom--ease);
	--ease-io: var(--wp--custom--ease-io);
	--slash: var(--wp--custom--slash);
	--gutter: var(--wp--custom--gutter);
	--hdr-h: var(--wp--custom--header-height);
	--f-sans: var(--wp--preset--font-family--sans);
	--r-pill: var(--wp--custom--radius--pill);
	--r-card: var(--wp--custom--radius--card);
	--r-panel: var(--wp--custom--radius--panel);
	--r-media: var(--wp--custom--radius--media);
	--max: var(--wp--style--global--wide-size, 1560px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg, video, canvas, iframe { max-width: 100%; }
img { height: auto; }
:where(a) { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }
.vh, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--text); color: var(--ink); padding: 12px 18px; border-radius: var(--r-pill); font-weight: 500; text-decoration: none; transition: top .3s var(--ease); }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wp-site-blocks { padding: 0; }
main { display: block; }
.wp-site-blocks > main { margin-block-start: 0; }

/* prose links inside text: a thin underline that turns brand red on hover */
:where(main) p a:not(.wp-block-button__link):not(.btn), :where(main) li a:not(.btn), .afs-faq .faq-a a {
	text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; transition: text-decoration-color .3s, color .3s;
}
:where(main) p a:not(.wp-block-button__link):not(.btn):hover, :where(main) li a:not(.btn):hover, .afs-faq .faq-a a:hover { text-decoration-color: var(--red); text-decoration-thickness: 2px; }

/* ---------- type ---------- */
/* Emphasis is brand red (large text only) or weight. Never italic, never a second typeface. */
em, .has-serif { font-style: normal; font-weight: 700; }
:is(h1, h2, h3, .is-style-statement, .marquee__item) em { color: var(--red); font-weight: inherit; }
/* card titles can be under 24px on phones: emphasis by weight there */
.is-style-card :is(h2, h3) em { color: inherit; font-weight: 700; }
.is-style-display { font-size: var(--wp--preset--font-size--display) !important; line-height: .95 !important; letter-spacing: -.05em !important; }
.is-style-section { font-size: var(--wp--preset--font-size--xx-large); line-height: .98; letter-spacing: -.045em; }
.is-style-label, .afs-label {
	font-size: var(--wp--preset--font-size--label) !important; font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
	color: var(--muted); display: flex; align-items: center; gap: 10px; line-height: 1.5;
}
.is-style-label::before { content: ""; width: 4px; height: 13px; flex: none; background: var(--red); transform: skewX(calc(var(--slash) * -1)); }
h2.is-style-label { margin: 0; }
.is-style-label strong { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.is-style-eyebrow { font-size: var(--wp--preset--font-size--label) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.is-style-eyebrow::before { content: ""; width: 5px; height: 15px; background: var(--red); flex: none; transform: skewX(calc(var(--slash) * -1)); }
.is-style-lede { font-size: var(--wp--preset--font-size--large) !important; line-height: 1.55; color: var(--text-2); max-width: 40ch; }
.is-style-note { font-size: var(--wp--preset--font-size--small) !important; color: var(--muted); line-height: 1.55; }
.is-style-statement { font-size: var(--wp--preset--font-size--statement) !important; line-height: 1.12; letter-spacing: -.035em; font-weight: 300; }
.is-style-statement.is-words .mw { color: rgba(255, 255, 255, .42); /* unlit words stay ≥3:1 (large text, WCAG AA) */ transition: color .35s linear; }
.is-style-statement.is-words .mw.on { color: var(--text); }
.is-style-statement.is-words em .mw.on { color: var(--red); }
.has-text-2-color { color: var(--text-2); }

/* ---------- buttons ---------- */
.wp-block-buttons { gap: 12px; }
.wp-block-button__link, .btn {
	--bg: var(--red); --fg: #fff; --bd: var(--red); --fill: #fff; --fill-fg: var(--ink);
	position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 8px 0 24px !important;
	background: var(--bg) !important; color: var(--fg) !important; border: 1px solid var(--bd) !important; border-radius: var(--r-pill) !important;
	font-family: var(--f-sans); font-weight: 400; font-size: 15px; line-height: 1.2; letter-spacing: .01em; white-space: nowrap; text-decoration: none !important;
	overflow: hidden; isolation: isolate; cursor: pointer; transition: color .45s var(--ease), border-color .45s var(--ease), transform .5s var(--ease);
}
.wp-block-button__link::before, .btn::before { content: ""; position: absolute; inset: -2px; z-index: -1; background: var(--fill); border-radius: 50% 50% 0 0 / 60% 60% 0 0; transform: translateY(104%); transition: transform .6s var(--ease), border-radius .6s var(--ease); }
.wp-block-button__link::after, .btn__ico {
	content: ""; width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center;
	background: rgba(255, 255, 255, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='1.5'%3E%3Cpath d='M2 8h12M9 3l5 5-5 5'/%3E%3C/svg%3E") center / 14px no-repeat;
	transition: background-color .45s var(--ease), transform .45s var(--ease);
}
.btn__ico { background-image: none; }
.btn__ico svg { width: 14px; height: 14px; }
.wp-block-button__link:hover, .wp-block-button__link:focus-visible, .btn:hover, .btn:focus-visible { color: var(--fill-fg) !important; border-color: var(--fill) !important; }
.wp-block-button__link:hover::before, .wp-block-button__link:focus-visible::before, .btn:hover::before, .btn:focus-visible::before { transform: translateY(0); border-radius: 0; }
.wp-block-button__link:hover::after, .wp-block-button__link:focus-visible::after { background-color: var(--red); transform: rotate(-45deg) scale(1.04); }
.is-style-ghost .wp-block-button__link, .btn--ghost { --bg: transparent; --fg: var(--text); --bd: var(--line-2); --fill: var(--text); --fill-fg: var(--ink); }
.is-style-ghost .wp-block-button__link::after { background-color: rgba(255, 255, 255, .08); }
.is-style-light .wp-block-button__link, .btn--light { --bg: var(--text); --fg: var(--ink); --bd: var(--text); --fill: var(--red); --fill-fg: #fff; }
.is-style-light .wp-block-button__link::after { background-color: rgba(0, 0, 0, .08); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000000' stroke-width='1.5'%3E%3Cpath d='M2 8h12M9 3l5 5-5 5'/%3E%3C/svg%3E"); }
.btn--light .btn__ico { background: rgba(0, 0, 0, .08); }
.is-style-light .wp-block-button__link:hover::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='1.5'%3E%3Cpath d='M2 8h12M9 3l5 5-5 5'/%3E%3C/svg%3E"); background-color: rgba(0,0,0,.18); }
.is-style-text .wp-block-button__link { --bg: transparent; --bd: transparent; --fg: var(--text); padding: 0 !important; min-height: 44px; gap: 10px; }
.is-style-text .wp-block-button__link::before { display: none; }
.is-style-text .wp-block-button__link::after { width: 30px; height: 30px; background-color: transparent; border: 1px solid var(--line-2); }
.is-style-text .wp-block-button__link:hover { color: var(--text) !important; }
.is-style-text .wp-block-button__link:hover::after { background-color: var(--red); border-color: var(--red); }
.btn--sm { min-height: 44px; font-size: 14px; padding: 0 5px 0 18px !important; }
.btn--sm .btn__ico { width: 34px; height: 34px; }
.btn__ico svg { transition: transform .45s var(--ease); }
.btn:hover .btn__ico svg, .btn:focus-visible .btn__ico svg { transform: rotate(-45deg); }

/* ---------- header ---------- */
.hdr { position: fixed; z-index: 200; inset: 0 0 auto 0; height: var(--hdr-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 0 var(--gutter); transition: transform .6s var(--ease); view-transition-name: afs-header; }
.hdr::before { content: ""; position: absolute; inset: 0; background: var(--ink); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .4s; pointer-events: none; }
.hdr.is-scrolled::before { opacity: 1; }
.hdr.is-hidden { transform: translateY(-110%); }
.admin-bar .hdr { top: var(--wp-admin--admin-bar--height, 32px); }
.hdr > * { position: relative; }
.hdr__logo { justify-self: start; display: inline-flex; }
.hdr__logo img { width: clamp(150px, 13vw, 184px); height: auto; display: block; }
.hdr__nav ul { list-style: none; margin: 0; padding: 5px; display: flex; gap: 2px; border-radius: var(--r-pill); background: var(--ink); border: 1px solid var(--line-2); }
.hdr__item { position: relative; display: flex; align-items: center; }
.hdr__item > a { position: relative; padding: 9px 16px; border-radius: var(--r-pill); font-size: 14px; font-weight: 400; color: var(--text-2); text-decoration: none; transition: color .3s, background .3s; white-space: nowrap; }
.hdr__item > a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.hdr__item.is-current > a { color: var(--text); background: rgba(255, 255, 255, .08); }
.hdr__item.is-current > a::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--red); }
.hdr__item.has-sub > a { padding-right: 6px; }
.hdr__sub-toggle { width: 26px; height: 32px; display: grid; place-items: center; color: var(--muted); border-radius: 8px; background: none; border: 0; cursor: pointer; }
.hdr__sub-toggle svg { width: 10px; height: 6px; transition: transform .4s var(--ease); }
.hdr__sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--text); }
.hdr__sub { position: absolute; top: calc(100% + 14px); left: 50%; width: min(720px, 92vw); transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s; padding: 10px; border-radius: 22px; background: var(--ink); border: 1px solid var(--line-2); }
.hdr__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.hdr__sub-toggle[aria-expanded="true"] + .hdr__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.hdr__sub ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: none; border: 0; }
.hdr__sub a { display: grid; grid-template-columns: 30px 1fr; column-gap: 6px; padding: 14px 16px; border-radius: 14px; text-decoration: none; transition: background .3s; }
.hdr__sub a:hover, .hdr__sub a:focus-visible, .hdr__sub a[aria-current] { background: rgba(255, 255, 255, .05); }
.hdr__sub-n { font-size: 12px; font-weight: 700; color: var(--text-2); padding-top: 3px; letter-spacing: .08em; }
.hdr__sub a:hover .hdr__sub-n, .hdr__sub a:focus-visible .hdr__sub-n, .hdr__sub a[aria-current] .hdr__sub-n { color: var(--text); text-decoration: underline 2px var(--red); text-underline-offset: 4px; }
.hdr__sub-t { font-size: 15px; color: var(--text); }
.hdr__sub-d { grid-column: 2; font-size: 13px; line-height: 1.4; color: var(--muted); margin-top: 3px; }
.hdr__end { justify-self: end; display: flex; align-items: center; gap: 10px; }
.afs-lang ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.afs-lang a { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: var(--r-pill); font-size: 12px; letter-spacing: .1em; color: var(--muted); text-decoration: none; transition: color .3s, background .3s; }
.afs-lang a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.afs-lang a[aria-current] { color: var(--text); background: rgba(255, 255, 255, .08); }
.hdr__burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--ink); position: relative; cursor: pointer; }
.hdr__burger span { position: absolute; left: 15px; right: 15px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease), top .5s var(--ease); }
.hdr__burger span:nth-child(1) { top: 19px; }
.hdr__burger span:nth-child(2) { top: 27px; }
.menu-open .hdr__burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .hdr__burger span:nth-child(2) { top: 23px; transform: rotate(-45deg); }
.hdr__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform-origin: left; transform: scaleX(0); pointer-events: none; }
.menu { position: fixed; inset: 0; z-index: 190; background: var(--ink); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: calc(var(--hdr-h) + 24px) var(--gutter) 32px; overflow-y: auto; clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: clip-path .8s var(--ease-io), visibility .8s; visibility: hidden; }
.menu-open .menu { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); visibility: visible; }
.menu-open, .menu-open body { overflow: hidden; }
.menu__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.menu__big { font-size: clamp(2.2rem, 10vw, 4.4rem); letter-spacing: -.05em; line-height: 1.05; display: flex; align-items: baseline; gap: 14px; text-decoration: none; transform: translateY(30px); opacity: 0; transition: transform .8s var(--ease), opacity .8s var(--ease); }
.menu__big span { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--text-2); }
.menu__big[aria-current] { color: var(--red); }
.menu-open .menu__big { transform: none; opacity: 1; }
.menu-open .menu__links > li:nth-child(2) .menu__big { transition-delay: .05s; }
.menu-open .menu__links > li:nth-child(3) .menu__big { transition-delay: .1s; }
.menu-open .menu__links > li:nth-child(4) .menu__big { transition-delay: .15s; }
.menu-open .menu__links > li:nth-child(5) .menu__big { transition-delay: .2s; }
.menu-open .menu__links > li:nth-child(6) .menu__big { transition-delay: .25s; }
.menu-open .menu__links > li:nth-child(n+7) .menu__big { transition-delay: .3s; }
.menu__sub { list-style: none; margin: 8px 0 12px 32px; padding: 0; display: grid; gap: 2px; }
.menu__sub a { display: block; padding: 8px 0; color: var(--text-2); font-size: 17px; text-decoration: none; }
.menu__foot { display: grid; gap: 10px; color: var(--text-2); font-size: 15px; }
.menu__foot a { text-decoration: none; }

/* ---------- hero H1 and lede: CSS-only rise, painted on the first frame (LCP candidates, so never hidden) ---------- */
@media (prefers-reduced-motion: no-preference) {
	.afs-hero h1 { animation: afs-h1-rise 1.2s var(--ease) both; }
	.afs-hero .is-style-lede { animation: afs-h1-rise 1.2s var(--ease) .12s both; }
}
@keyframes afs-h1-rise { from { transform: translateY(26px); } }
.capture .afs-hero h1, .capture .afs-hero .is-style-lede { animation: none !important; }

/* ---------- reveal system (classes added by afs-motion.js only) ---------- */
.motion .r { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.motion .r.is-in { opacity: 1; transform: none; }
.motion .r.is-split { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .04em .03em .16em; margin: -.04em -.03em -.16em; }
.w__i { display: inline-block; }
.motion .is-split .w__i { transform: translateY(112%) rotate(3deg); transform-origin: left top; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 40ms + var(--d, 0) * 1ms); }
.motion .is-split.is-in .w__i { transform: none; }
.motion .r.is-style-rules li, .motion .r .is-style-rules li, .motion .r .is-style-numbered li, .motion .r.is-style-numbered li { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--li, 0) * 70ms + 150ms); }
.motion .r.is-in.is-style-rules li, .motion .r.is-in .is-style-rules li, .motion .r.is-in .is-style-numbered li, .motion .r.is-in.is-style-numbered li { opacity: 1; transform: none; }
.motion .wipe img { clip-path: polygon(0 0, 0 0, -30% 100%, -30% 100%); transition: clip-path 1.4s var(--ease-io); }
.motion .wipe.is-in img { clip-path: polygon(0 0, 130% 0, 100% 100%, -30% 100%); }

/* ---------- view transitions (cross-document, progressive) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: afs-vt-out .5s var(--wp--custom--ease-io) both; }
::view-transition-new(root) { animation: afs-vt-in .7s var(--wp--custom--ease) .12s both; }
::view-transition-group(afs-header) { animation-duration: 0s; }
html::view-transition-old(root) { z-index: 1; }
@keyframes afs-vt-out { to { opacity: 0; transform: translateY(-2vh); } }
@keyframes afs-vt-in { from { opacity: 0; clip-path: polygon(0 0, 0 0, -60% 100%, -60% 100%); } to { opacity: 1; clip-path: polygon(0 0, 160% 0, 100% 100%, -60% 100%); } }
::view-transition-image-pair(root) { background: var(--wp--preset--color--red); }

/* ---------- sections ---------- */
.afs-section { padding-block: clamp(44px, 5.2vw, 76px) !important; position: relative; }
.afs-section--tight { padding-block: clamp(36px, 4.2vw, 60px) !important; position: relative; }
.afs-section--flush-top { padding-top: 0 !important; }
.is-style-head { gap: 24px 64px !important; align-items: end !important; margin-bottom: clamp(32px, 4.5vw, 64px) !important; }
.is-style-head:last-child { margin-bottom: 0 !important; }
.is-style-head > .wp-block-column:first-child { align-self: start; }
.afs-rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.is-style-draw { border: 0 !important; height: 1px !important; background: var(--line) !important; transform-origin: left; }
.motion .is-style-draw.r { opacity: 1; transform: scaleX(0); transition: transform 1.6s var(--ease-io); }
.motion .is-style-draw.r.is-in { transform: scaleX(1); }

/* ---------- hero ---------- */
.afs-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex !important; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--hdr-h) + 40px) !important; padding-bottom: 0 !important; overflow: hidden; isolation: isolate; }
.afs-hero--page { min-height: 92vh; min-height: 92svh; }
.afs-hero--short { min-height: 0; padding-top: calc(var(--hdr-h) + clamp(64px, 10vw, 140px)) !important; padding-bottom: clamp(28px, 3.5vw, 48px) !important; }
/* Brand motif: one flat red diagonal slash on black (no gradient, glow or blur). Decorative only: the H1 stays
   the LCP element. The slash slides in once (transform only); still under reduced motion and in capture mode. */
.afs-slash-bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; margin: 0 !important; max-width: none !important; overflow: hidden; background: var(--ink); }
.afs-slash-bg__bar { position: absolute; top: var(--hdr-h); bottom: -12%; left: var(--sx, 70%); width: var(--sw, clamp(72px, 8.4vw, 150px)); background: var(--red); transform: skewX(calc(var(--slash) * -1)); transform-origin: 50% 100%; }
/* home: one big parallelogram like the logo's slash, beside the headline and clear of the lede and buttons */
.afs-slash-bg--home .afs-slash-bg__bar { top: max(9%, calc(var(--hdr-h) + 8px)); bottom: auto; height: 60%; left: 67%; width: clamp(72px, 8.4vw, 150px); }
.afs-hero:not(.afs-hero--page) h1 { max-width: 17ch; font-size: clamp(2.9rem, 1rem + 5.4vw, 7rem); }
.afs-hero:not(.afs-hero--page) h1 em { display: block; }
.afs-hero:not(.afs-hero--page) .is-style-lede { max-width: 56ch; }
@media (min-width: 961px) { .afs-hero:not(.afs-hero--page) h1 { max-width: min(17ch, 56vw); } } /* the headline ends before the slash: no red text on red */
@media (min-width: 1600px) { .afs-slash-bg--home .afs-slash-bg__bar { left: 73%; } } /* home headline stays left of the slash: no red text on red */
@media (max-width: 960px) { .afs-slash-bg--home .afs-slash-bg__bar { top: calc(var(--hdr-h) + 8px); height: 17%; left: 76%; width: clamp(36px, 10vw, 72px); } .afs-hero:not(.afs-hero--page) .is-style-eyebrow { max-width: 68vw; } }
.afs-slash-bg--page { --sx: 84%; --sw: clamp(14px, 1.6vw, 26px); }
.afs-slash-bg--contact { --sx: 78%; --sw: clamp(40px, 5vw, 96px); }
.afs-slash-bg--quiet { --sx: 92%; --sw: clamp(8px, .9vw, 14px); }
.afs-hero:has(.afs-hero__photo) .afs-slash-bg__bar { display: none; }
@media (prefers-reduced-motion: no-preference) {
	.afs-slash-bg__bar { animation: afs-slash-in 1.4s var(--ease) both; }
	.afs-slash-bg--home .afs-slash-bg__bar { animation: afs-slash-in 1.4s var(--ease) both, afs-slash-drift 14s ease-in-out 1.4s infinite alternate; }
}
@keyframes afs-slash-in { from { transform: translateX(18vw) skewX(calc(var(--slash) * -1)); } }
@keyframes afs-slash-drift { to { transform: translateX(-2.5vw) skewX(calc(var(--slash) * -1)); } }
.capture .afs-slash-bg__bar { animation: none !important; }
/* home: afs-blocks.js draws the slash on a canvas, as slats that fly in and lock together. The CSS slash waits a
   moment (it is the fallback if the script does not run) and hides once the canvas is live. */
.afs-slash-bg__cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
@media (prefers-reduced-motion: no-preference) {
	.js .afs-slash-bg--home .afs-slash-bg__bar { animation: afs-slash-in 1.4s var(--ease) 1.6s both, afs-slash-drift 14s ease-in-out 3s infinite alternate; }
}
.afs-slash-bg.is-live .afs-slash-bg__bar { visibility: hidden; animation: none; }
.afs-hero__inner { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(28px, 5vh, 56px); } /* full content width: the hero text lines up with the sections below (client 13 Nov: too much free space at the sides) */
.afs-hero h1 { margin: 22px 0 clamp(28px, 5vh, 56px); max-width: 12ch; }
.afs-hero--page h1 { max-width: 13ch; }
.afs-hero__foot { display: flex !important; flex-wrap: wrap; align-items: flex-end; justify-content: flex-start; gap: 28px 64px; }
.afs-hero__foot > * { margin: 0 !important; }
.afs-hero .afs-crumbs { margin-bottom: 8px; }
.afs-hero .afs-stats { border-top: 1px solid var(--line); }
.afs-hero__photo { position: absolute !important; z-index: -1; right: calc(var(--gutter) + 2vw); top: calc(var(--hdr-h) + 4vh); width: min(36vw, 560px); height: min(70vh, 720px); margin: 0 !important; clip-path: polygon(42% 0, 100% 0, 58% 100%, 0 100%); overflow: hidden; }
.afs-hero__photo img { position: absolute; inset: -10% -25%; width: 150%; max-width: none; height: 120%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.66); transform: translate3d(0, var(--py, 0), 0); }
/* Per-photo focus: the slanted window shows a diagonal band, so photos with a face near the right edge are shifted left to keep the face inside it. */
.afs-hero__photo img[src*="office-workstation"] { object-position: 100% 50%; }
.afs-hero__photo img[src*="hallway-conversation"] { object-position: 88% 50%; }
.afs-hero__photo img[src*="whiteboard-workshop"] { object-position: 100% 50%; }
.afs-hero__photo img[src*="team-discussion"] { object-position: 78% 50%; }
.afs-hero__photo img[src*="lounge-standing-table"] { object-position: 70% 50%; }
.motion .afs-hero__photo { clip-path: polygon(42% 0, 42% 0, 0 100%, 0 100%); transition: clip-path 1.5s .25s var(--ease-io); }
.motion .afs-hero__photo.is-shown { clip-path: polygon(42% 0, 100% 0, 58% 100%, 0 100%); }

/* scroll cue */
.afs-cue { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.afs-cue i { width: 1px; height: 38px; background: var(--line-2); position: relative; overflow: hidden; }
.afs-cue i::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40%; background: var(--red); animation: cue 2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* ---------- figures ---------- */
.afs-stats { position: relative; }
.afs-stats__label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin: 0; padding-top: 18px; }
.afs-stats dl { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0; }
.afs-stats .stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 18px 18px 24px; border-right: 1px solid var(--line); }
.afs-stats .stat:first-child { padding-left: 0; }
.afs-stats .stat:last-child { border-right: 0; }
.afs-stats dd { margin: 0; font-weight: 200; font-size: clamp(2rem, 3.4vw, 3.3rem); letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.afs-stats dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
.afs-stats__note { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.afs-stats--grid { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.afs-stats--grid .afs-stats__label { padding-top: 24px; }
.afs-stats--grid .stat { padding: clamp(24px, 3vw, 40px) clamp(14px, 2vw, 28px) clamp(28px, 3.4vw, 48px); min-height: 200px; justify-content: space-between; }
.afs-stats--grid dd { font-size: clamp(3.2rem, 6.4vw, 6.4rem); }

/* ---------- marquee ---------- */
.marquee { position: relative; padding-block: clamp(28px, 4vw, 52px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item { font-size: clamp(2.4rem, 6.4vw, 6.2rem); letter-spacing: -.05em; line-height: 1; white-space: nowrap; padding: 0 .28em; transform: skewX(var(--skew, 0deg)); font-weight: 300; }
.marquee__item:nth-child(4n+3) { -webkit-text-stroke: 1px rgba(255, 255, 255, .5); color: transparent; }
.marquee--solid .marquee__item:nth-child(4n+3) { -webkit-text-stroke: 0; color: var(--text-2); }
.marquee__sep { width: .32em; height: .6em; flex: none; background: var(--red); transform: skewX(calc(var(--slash) * -1)); font-size: clamp(2.4rem, 6.4vw, 6.2rem); }

/* ---------- service rail (home signature) ---------- */
.hs { position: relative; height: calc(var(--hs-h, 300) * 1vh); }
.hs__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; justify-content: safe center; padding-top: calc(var(--hdr-h) + 8px); padding-bottom: 12px; } /* top space = header height, so the heading never slides under the header (client 18 Nov 2026) */
.hs__top { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(20px, 3.4vh, 44px); }
.hs__intro > * { margin-block: 0 !important; }
.hs__intro h2 { margin-top: 16px !important; }
.hs__progress { width: min(320px, 30vw); height: 1px; background: var(--line); position: relative; flex: none; }
.hs__progress i { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); }
.hs__track { display: flex; gap: clamp(14px, 1.6vw, 24px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.panel { position: relative; width: min(74vw, 980px); min-height: min(58vh, 560px); border-radius: var(--r-panel); background: var(--ink-2); border: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); overflow: hidden; isolation: isolate; }
.panel__copy { padding: clamp(26px, 3.2vw, 48px); display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.panel__copy > * { margin: 0 !important; }
.panel__num { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--text-2); }
.panel h3 { font-size: clamp(1.9rem, 3vw, 3.1rem); letter-spacing: -.045em; line-height: 1; margin-top: 8px !important; }
.panel .panel__sub { color: var(--text-2); font-size: 1.02rem; max-width: 36ch; }
.panel ul { margin-top: auto !important; }
.panel__more { margin-top: 6px !important; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); text-decoration: none; width: fit-content; border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: border-color .4s var(--ease), gap .4s var(--ease); }
.panel__more:hover { border-color: var(--red); gap: 16px; }
.panel__more svg { width: 14px; height: 14px; }
.panel__art { position: relative; border-left: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.panel__art svg { width: 84%; height: auto; max-height: 86%; }
.panel--end { width: min(56vw, 720px); grid-template-columns: 1fr; background: var(--red); border-color: var(--red); color: #fff; }
.panel--end .panel__num { color: #fff; }
.panel--end h3 em { color: inherit; }
.panel--end h3 { font-size: clamp(2.1rem, 3.8vw, 3.8rem); max-width: 14ch; }
.panel--end p, .panel--end .panel__sub { color: #fff; font-size: 1.08rem; max-width: 40ch; }
.panel--end .wp-block-buttons { margin-top: auto !important; }

/* Service rail on shorter desktop screens: heading and cards scale with the screen height, so the whole rail fits
   between the header and the bottom edge (no cut-off heading or card corners; client 18 Nov 2026). */
@media (min-width: 961px) and (max-height: 960px) {
	.hs__top { margin-bottom: clamp(12px, 2vh, 28px); }
	.hs__intro h2 { font-size: clamp(2.2rem, 7vh, 4.9rem); }
	.panel { min-height: 0; }
	.panel__copy { padding: clamp(20px, 3.4vh, 46px) clamp(24px, 2.6vw, 46px); gap: 10px; }
	.panel h3 { font-size: clamp(1.6rem, 4.6vh, 3.1rem); }
	.panel .is-style-rules li { padding-block: clamp(6px, 1.1vh, 14px); }
	.panel--end h3 { font-size: clamp(1.8rem, 5vh, 3.8rem); max-width: 18ch; }
}
/* Short laptop screens (browser bars take part of the height): the cards stay in one horizontal row (client 19 Nov 2026,
   "kaip buvo"), with slightly smaller type and spacing so the whole card fits. */
@media (min-width: 961px) and (max-height: 760px) {
	.hs__sticky { padding-top: calc(var(--hdr-h) + 2px); padding-bottom: 8px; }
	.hs__top { margin-bottom: clamp(10px, 1.8vh, 18px); }
	.hs__intro h2 { margin-top: 10px !important; font-size: clamp(1.8rem, 6vh, 3rem); }
	.panel__copy { padding: clamp(14px, 2.6vh, 28px) clamp(20px, 2.2vw, 36px); gap: 6px; }
	.panel h3 { font-size: clamp(1.4rem, 4vh, 2.3rem); }
	.panel .panel__sub { font-size: .95rem; }
	.panel .is-style-rules li { padding-block: clamp(3px, .8vh, 9px); font-size: 14px; }
	.panel--end h3 { font-size: clamp(1.6rem, 4.6vh, 2.8rem); }
}
@media (min-width: 961px) and (max-height: 600px) {
	.hs__sticky { padding-top: var(--hdr-h); padding-bottom: 6px; }
	.hs__top { margin-bottom: 6px; }
	.hs__intro h2 { margin-top: 2px !important; font-size: clamp(1.5rem, 5.4vh, 2.2rem); }
	.panel__copy { padding: 12px 20px; gap: 4px; }
	.panel h3 { font-size: clamp(1.25rem, 3.8vh, 1.6rem); margin-top: 2px !important; }
	.panel .panel__sub { font-size: .9rem; }
	.panel .is-style-rules li { padding-block: 2px; font-size: 13px; }
}

/* numbered list "_1" (concept detail) */
.is-style-numbered { list-style: none; padding: 0 !important; margin: 0; counter-reset: afs; }
.is-style-numbered li { counter-increment: afs; display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.45; color: var(--text-2); }
.is-style-numbered li::before { content: "_" counter(afs); font-size: 12px; color: var(--muted); padding-top: 3px; }
.is-style-rules { list-style: none; padding: 0 !important; margin: 0; }
.is-style-rules li { position: relative; padding: 14px 0 14px 28px; border-top: 1px solid var(--line); color: var(--text-2); line-height: 1.5; }
.is-style-rules li:last-child { border-bottom: 1px solid var(--line); }
.is-style-rules li::before { content: ""; position: absolute; left: 0; top: 1.35em; width: 12px; height: 1px; background: var(--red); }
.is-style-dash { list-style: none; padding: 0 !important; }
.is-style-dash li { position: relative; padding-left: 20px; margin: 8px 0; color: var(--text-2); }
.is-style-dash li::before { content: ""; position: absolute; left: 0; top: .78em; width: 9px; height: 1px; background: var(--red); }

/* ---------- service illustration ---------- */
.svc-art svg { width: 100%; height: auto; }
.art-grid line { stroke: rgba(255, 255, 255, .07); }
.art-ring-static, .art-halo { fill: none; stroke: rgba(255, 255, 255, .09); }
.art-ring-thick { stroke-width: 14; stroke: rgba(255, 255, 255, .06); }
.art-halo { stroke: rgba(255, 255, 255, .28); stroke-dasharray: 3 6; }
.art-ring { fill: none; stroke: var(--red); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ring 4s var(--ease) infinite; opacity: 0; }
@keyframes ring { 0% { transform: scale(.2); opacity: 1; } 99% { opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } } /* solid red, never a faded tint */
.art-dash { fill: none; stroke: var(--red); stroke-dasharray: 4 7; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.art-node { fill: var(--ink); stroke: var(--red); stroke-width: 2; }
.art-dot { fill: var(--text); }
.art-red { fill: var(--red); }
.art-white, .art-axis, .art-line { fill: none; stroke: rgba(255, 255, 255, .25); stroke-width: 1.5; }
.art-white { stroke: #fff; stroke-width: 3; }
.art-white-fill { fill: #fff; }
.art-line { stroke: #fff; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.art-shadow { fill: rgba(0, 0, 0, .6); }
.art-frame { fill: var(--ink); stroke: rgba(255, 255, 255, .22); }
.art-frame--back { fill: var(--ink); stroke: rgba(255, 255, 255, .12); }
.art-cell { fill: rgba(255, 255, 255, .06); }
.art-cell--red { fill: var(--red); }
.art-sweep { fill: none; stroke: var(--red); stroke-width: 14; stroke-dasharray: 503; stroke-dashoffset: 503; animation: sweep 4s var(--ease-io) infinite; }
@keyframes sweep { 0% { stroke-dashoffset: 503; } 55%, 85% { stroke-dashoffset: 160; } 100% { stroke-dashoffset: 503; } }
.art-orbit { transform-box: view-box; transform-origin: 50% 50%; animation: spin 40s linear infinite; }
.art-orbit--r { animation-duration: 60s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.art-draw { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 3.6s var(--ease-io) infinite; }
@keyframes draw { 0% { stroke-dashoffset: 1200; } 55%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1200; } }
.art-bar { fill: var(--red); transform-box: fill-box; transform-origin: bottom; animation: bar 3.6s var(--ease-io) infinite; }
@keyframes bar { 0% { transform: scaleY(.05); } 50%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.05); } }
.art-pulse { animation: pulse 2.2s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.art-float { animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- globe ---------- */
.afs-band { background: var(--ink) !important; }
.afs-globe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px 64px; align-items: center; }
.afs-globe__copy > * { margin-block: 0 0 22px !important; }
.afs-globe__copy h2 { max-width: 16ch; }
.globe-wrap { position: relative; aspect-ratio: 1; width: 100%; max-width: 720px; justify-self: end; }
.globe-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; opacity: 0; transition: opacity 1s var(--ease); }
.globe-wrap canvas.is-live { opacity: 1; }
.globe-wrap canvas:active { cursor: grabbing; }
.globe-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .8s var(--ease); }
.afs-globe.is-live .globe-poster { opacity: 0; }
.globe-tip { position: absolute; left: 50%; bottom: 3%; transform: translateX(-50%); margin: 0; max-width: calc(100vw - 2 * var(--gutter)); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; text-align: center; }
@media (max-width: 600px) { .globe-tip { white-space: normal; width: max-content; letter-spacing: .08em; } }
.globe-tip b { color: var(--text); font-weight: 400; }
.countries { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: transparent; font: inherit; font-size: 14px; color: var(--text-2); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--muted); transition: background .3s; }
.chip:hover, .chip:focus-visible, .chip.is-active { background: rgba(255, 255, 255, .08); border-color: var(--red); color: var(--text); }
.chip:hover::before, .chip.is-active::before, .chip--hub::before { background: var(--red); }
.chip--hub { border-color: var(--red); color: var(--text); }
.afs-jur--chips .countries { margin-top: 0; }
.afs-jur--chips .chip { cursor: default; }

/* ---------- cards / pillars ---------- */
.is-style-card { position: relative; border-radius: var(--r-card); background: var(--ink-2); border: 1px solid var(--line); padding: clamp(24px, 2.6vw, 32px) !important; overflow: hidden; transition: border-color .6s var(--ease), background .6s var(--ease), transform .6s var(--ease); }
.is-style-card:hover { border-color: var(--red); background: var(--ink-3); }
.is-style-card > * { margin-block: 0 !important; }
.is-style-card > * + * { margin-top: 14px !important; }
.afs-pillars { gap: 14px !important; }
.afs-pillars > .wp-block-column { display: flex; }
.afs-pillars .is-style-card { display: flex; flex-direction: column; width: 100%; }
.afs-pillars .is-style-card:has(.wp-block-image) { min-height: 360px; }
.afs-pillars .is-style-card .wp-block-image { margin-block: auto 0 !important; padding: 18px 0 28px; }
.afs-pillars .is-style-card .wp-block-image img { width: 120px; height: auto; transition: transform .9s var(--ease); }
.afs-pillars .is-style-card:hover .wp-block-image img { transform: translateX(8px) scale(1.06); }
.afs-pillars h3 { font-size: clamp(1.45rem, 1.8vw, 1.9rem); letter-spacing: -.035em; }
.afs-pillars p { color: var(--text-2); font-size: 15px; line-height: 1.55; }
.afs-pillars .is-style-label { margin-bottom: 0 !important; }
.afs-pillars .wp-block-image.wipe img { clip-path: none !important; }

/* partner card */
.afs-partner { position: relative; border-radius: var(--r-panel); padding: clamp(28px, 4.5vw, 64px) !important; border: 1px solid var(--line-2); background: var(--ink-2); overflow: hidden; isolation: isolate; }
.afs-partner__name { font-size: clamp(3.4rem, 9vw, 8.5rem) !important; letter-spacing: -.06em; line-height: .9; font-weight: 300; margin: 18px 0 0 !important; }
.afs-partner__name strong { font-weight: 700; color: var(--red); }
.afs-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; margin: 24px 0 28px !important; }
.afs-tags li { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--text-2); }

/* placeholders ([TODO] client proof) */
.afs-ph { border-radius: var(--r-card); border: 1px dashed rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .02); padding: clamp(24px, 3vw, 40px) !important; color: var(--muted); }
.afs-ph > * { margin-block: 0 !important; }
.afs-ph > * + * { margin-top: 18px !important; }

/* ---------- team ---------- */
.afs-team__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.afs-team--strip .afs-team__list { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.afs-team--experts .afs-team__list { display: flex; flex-wrap: wrap; justify-content: center; }
.afs-team--experts .member-cell { flex: 0 0 calc((100% - 28px) / 3); min-width: 0; }
.afs-team--experts.afs-team--n4 .afs-team__list { max-width: calc((100% - 28px) / 3 * 2 + 14px); margin-inline: auto; }
.afs-team--experts.afs-team--n4 .member-cell { flex-basis: calc((100% - 14px) / 2); }
.member { position: relative; display: block; border-radius: 20px; overflow: hidden; background: var(--ink-3); aspect-ratio: 3 / 4; isolation: isolate; text-decoration: none; color: var(--text); }
.afs-team--strip .member { border-radius: 16px; aspect-ratio: 3 / 4.4; }
.member img, .member__noimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transform: scale(1.04); transition: filter .9s var(--ease), transform 1.4s var(--ease); z-index: -2; }
.member__noimg { background: var(--ink-3); }
.member:hover img, .member:focus-visible img { filter: none; transform: scale(1); }
.member__info { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px 16px; display: grid; gap: 6px; background: rgba(0, 0, 0, .78); transition: transform .7s var(--ease); }
.member__name { font-size: clamp(1.05rem, 1.4vw, 1.4rem); letter-spacing: -.02em; line-height: 1.1; font-weight: 400; }
.member__role { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.member__yrs { position: absolute; top: 14px; right: 14px; font-size: 11px; letter-spacing: .06em; padding: 7px 10px; border-radius: var(--r-pill); background: rgba(0, 0, 0, .8); border: 1px solid var(--line); }
.member__plus { position: absolute; top: 12px; left: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; transform: scale(0) rotate(-90deg); transition: transform .6s var(--ease); }
.member__plus svg { width: 14px; height: 14px; }
.member:hover .member__plus, .member:focus-visible .member__plus { transform: scale(1) rotate(0); }
.member__reveal { position: absolute; inset: auto 0 0 0; padding: 18px; display: grid; gap: 4px; background: rgba(0, 0, 0, .92); font-size: 13px; line-height: 1.4; color: var(--text-2); transform: translateY(101%); transition: transform .7s var(--ease); }
.member__k { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin-top: 6px; }
.member:hover .member__reveal, .member:focus-visible .member__reveal { transform: none; }
.member:hover .member__info, .member:focus-visible .member__info { transform: translateY(-100%); opacity: 0; transition: transform .7s var(--ease), opacity .3s; }
.afs-team--strip .member__reveal, .afs-team--strip .member__yrs { display: none; }
.afs-team--strip .member:hover .member__info { transform: none; opacity: 1; }
.afs-team--strip .member__name { font-size: 13px; }
.afs-team--strip .member-cell:nth-child(even) { transform: translateY(28px); }
.motion .afs-team.r .member-cell { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i) * 60ms); }
.motion .afs-team.r.is-in .member-cell { opacity: 1; transform: none; }
.motion .afs-team--strip.r.is-in .member-cell:nth-child(even) { transform: translateY(28px); }
/* home spotlight: one large portrait beside the roster. A red slash band leads the edge that wipes in each portrait
   (same 30° angle as the logo); the red line under the current name is the timer. Transforms and clip-paths only (no layout shift). */
.afs-team--spotlight { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.spot__stage { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--ink-2); isolation: isolate; }
.spot__ph { position: absolute; inset: 0; visibility: hidden; overflow: hidden; }
.spot__ph.is-cur { visibility: visible; z-index: 2; }
.spot__ph.is-prev { visibility: visible; z-index: 1; }
.spot__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.spot__cap { position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 32px); display: grid; gap: 6px; padding: 14px 18px 15px; border-radius: 14px; background: #fff; color: #000; }
.spot__cap-n { font-size: clamp(1.1rem, 1.5vw, 1.35rem); letter-spacing: -.02em; line-height: 1.1; }
.spot__cap-r { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(0, 0, 0, .64); }
.spot__wipe { position: absolute; inset: 0; z-index: 3; background: var(--red); clip-path: polygon(-16% 0, 0 0, -72% 100%, -88% 100%); pointer-events: none; }
.afs-team--spotlight .afs-team__list { display: block; border-top: 1px solid var(--line); }
.spot__item { border-bottom: 1px solid var(--line); }
.spot__item .spot__row { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) 36px; align-items: center; gap: 22px; padding: 11px 0; color: var(--text); text-decoration: none; }
.spot__thumb { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--ink-2); }
.spot__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.spot__txt { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; }
.spot__name { position: relative; font-size: clamp(1.2rem, 1.9vw, 1.75rem); letter-spacing: -.02em; line-height: 1.15; color: var(--muted); transition: color .4s, transform .6s var(--ease); }
.spot__name::before { content: ""; position: absolute; left: -18px; top: .2em; width: 5px; height: .8em; background: var(--red); transform: skewX(calc(var(--slash) * -1)) scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease); }
.spot__role { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: right; }
.spot__go { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; opacity: 0; transform: scale(.5) rotate(-45deg); transition: opacity .3s, transform .5s var(--ease); }
.spot__go svg { width: 14px; height: 14px; }
.spot__bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; }
.spot__row:hover .spot__name, .spot__item.is-cur .spot__name { color: var(--text); }
.spot__item.is-cur .spot__name { transform: translateX(18px); }
.spot__item.is-cur .spot__name::before { transform: skewX(calc(var(--slash) * -1)) scaleY(1); }
.spot__item.is-cur .spot__go, .spot__row:focus-visible .spot__go { opacity: 1; transform: none; }
.is-run:not(.is-held) .spot__item.is-cur .spot__bar { animation: spot-bar 4s linear both; }
@keyframes spot-bar { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: no-preference) {
	[data-spot-live] .spot__ph.is-cur { animation: spot-in 1.05s var(--ease-io) both; }
	[data-spot-live] .spot__ph.is-cur img { animation: spot-zoom 4.6s var(--ease) both; }
	[data-spot-live] .spot__ph.is-cur .spot__cap { animation: spot-cap .8s var(--ease) .55s both; }
	[data-spot-live]:not(.is-seen) .spot__ph.is-cur { animation: none; clip-path: polygon(0 0, 0 0, -72% 100%, -72% 100%); }
	.spot__wipe.wa { animation: spot-wipe-a 1.05s var(--ease-io) both; }
	.spot__wipe.wb { animation: spot-wipe-b 1.05s var(--ease-io) both; }
}
@keyframes spot-in { from { clip-path: polygon(0 0, 0 0, -72% 100%, -72% 100%); } to { clip-path: polygon(0 0, 172% 0, 100% 100%, -72% 100%); } }
@keyframes spot-zoom { from { transform: scale(1.12); } }
@keyframes spot-cap { from { opacity: 0; transform: translateY(14px); } }
@keyframes spot-wipe-a { from { clip-path: polygon(0 0, 16% 0, -56% 100%, -72% 100%); } to { clip-path: polygon(172% 0, 188% 0, 116% 100%, 100% 100%); } }
@keyframes spot-wipe-b { from { clip-path: polygon(0 0, 16% 0, -56% 100%, -72% 100%); } to { clip-path: polygon(172% 0, 188% 0, 116% 100%, 100% 100%); } }
@media (max-width: 960px) {
	.afs-team--spotlight { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.spot__stage { aspect-ratio: 1 / 1; max-height: 62svh; width: 100%; }
	.spot__ph img { object-position: 50% 14%; }
}
@media (max-width: 680px) {
	.spot__row { grid-template-columns: 44px minmax(0, 1fr) 32px; gap: 16px; padding: 10px 0; }
	.spot__thumb { width: 44px; height: 44px; }
	.spot__txt { flex-direction: column; align-items: flex-start; }
	.spot__role { text-align: left; }
	.spot__go { width: 32px; height: 32px; }
}

/* ---------- video facade ---------- */
.afs-video { margin: 0; }
.afs-video__frame { position: relative; aspect-ratio: var(--ratio, 16/9); border-radius: var(--r-panel); overflow: hidden; background: var(--ink-3); border: 1px solid var(--line); }
.afs-video__btn { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; color: #fff; display: block; font: inherit; }
.afs-video__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.7) saturate(.85); transform: scale(1.02); transition: transform 1.4s var(--ease), filter .8s var(--ease); }
.afs-video__btn:hover .afs-video__img, .afs-video__btn:focus-visible .afs-video__img { transform: scale(1.06); filter: brightness(.8) saturate(1); }
.afs-video__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: rgba(0, 0, 0, .3); }
.afs-video.is-playing .afs-video__frame::after { display: none; }
.afs-video__play { position: absolute; left: 50%; top: 50%; width: clamp(72px, 9vw, 112px); height: clamp(72px, 9vw, 112px); margin: calc(clamp(72px, 9vw, 112px) / -2) 0 0 calc(clamp(72px, 9vw, 112px) / -2); border-radius: 50%; background: var(--red); display: grid; place-items: center; z-index: 2; transition: transform .5s var(--ease); }
.afs-video__btn:hover .afs-video__play, .afs-video__btn:focus-visible .afs-video__play { transform: scale(1.06); }
.afs-video__play svg { width: 34%; height: 34%; margin-left: 6%; }
.afs-video__meta { position: absolute; left: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 28px); right: 16px; z-index: 2; display: flex; align-items: center; gap: 14px; text-align: left; }
.afs-video__dur { white-space: nowrap; flex: none; font-size: 11px; letter-spacing: .1em; padding: 6px 10px; border-radius: var(--r-pill); background: rgba(0, 0, 0, .75); border: 1px solid var(--line-2); }
.afs-video__t { font-size: clamp(1rem, 1.6vw, 1.35rem); letter-spacing: -.02em; }
.afs-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.afs-video__cap { margin-top: 18px; color: var(--text-2); }
.afs-video__cap > * { margin-block: 0 0 10px; }
.afs-art-inline { max-width: 520px; margin: clamp(24px, 4vw, 56px) 0 clamp(24px, 4vw, 56px) auto; }
.afs-videos { gap: clamp(14px, 1.6vw, 24px) !important; }
.afs-videos .afs-video__play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.afs-videos .afs-video__t { font-size: 15px; line-height: 1.3; }
.afs-videos .afs-video__meta { gap: 10px; left: 16px; bottom: 14px; }
.afs-videos .afs-video__cap { font-size: 15px; }
.afs-video__privacy { font-size: 11px; letter-spacing: .06em; color: var(--muted); }

/* ---------- service sections (Karolina's labelled blocks) ---------- */
.svc-sec { display: grid; grid-template-columns: minmax(150px, .5fr) minmax(0, 2.5fr); gap: 20px clamp(24px, 4vw, 64px); padding-block: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); }
.svc-sec__label { position: sticky; top: calc(var(--hdr-h) + 24px); align-self: start; display: flex; gap: 16px; }
.svc-sec__tag { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text); line-height: 1.5; }
.svc-sec__rule { position: relative; width: 1px; min-height: 64px; background: var(--line); order: -1; }
.svc-sec__rule i { position: absolute; inset: 0; background: var(--red); transform-origin: top; transform: scaleY(var(--p, 0)); }
.svc-sec__body > * { margin-block: 0 !important; }
.svc-sec__body > * + * { margin-top: 14px !important; }
.svc-sec__body h3 { font-size: clamp(1.4rem, 2vw, 2rem); }
.svc-sec__body .is-style-rules { columns: 2; column-gap: 40px; }
.svc-sec__body .is-style-rules li { break-inside: avoid; }

/* ---------- comparison table ---------- */
.is-style-compare { margin: 0; overflow-x: auto; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--ink-2); }
.is-style-compare table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.is-style-compare th, .is-style-compare td { padding: 16px 20px; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.is-style-compare thead th { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--ink-3); }
.is-style-compare tbody th { font-weight: 400; color: var(--text); }
.is-style-compare td { color: var(--text-2); }
.is-style-compare tbody tr:last-child > * { border-bottom: 0; }
.is-style-compare tbody tr { transition: background .3s; }
.is-style-compare tbody tr:hover { background: rgba(255, 255, 255, .02); }
.is-style-compare td:nth-child(2) strong, .is-style-compare .is-yes { color: var(--text); font-weight: 700; }
.is-style-compare tr.is-hub th { color: var(--text); font-weight: 700; border-left: 2px solid var(--red); }
.is-style-compare td a { text-decoration: underline; text-underline-offset: .22em; }
.is-style-compare td a:hover { text-decoration-color: var(--red); }
.is-style-compare figcaption { padding: 12px 20px; font-size: 13px; color: var(--muted); }

/* ---------- process timeline ---------- */
.afs-timeline { position: relative; }
.afs-timeline__line { position: absolute; left: 11px; top: 12px; bottom: 12px; width: 1px; background: var(--line); }
.afs-timeline__line i { position: absolute; inset: 0; background: var(--red); transform-origin: top; transform: scaleY(var(--p, 0)); }
.afs-timeline__list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 4vw, 48px); }
.afs-step { position: relative; display: grid; grid-template-columns: 24px minmax(110px, .5fr) minmax(0, 2fr); gap: 0 clamp(20px, 3vw, 40px); align-items: start; }
.afs-step__dot { width: 23px; height: 23px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--ink); position: relative; z-index: 1; margin-top: 4px; transition: border-color .5s, background .5s; }
.afs-step__dot::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .5s var(--ease); }
.afs-step.is-in .afs-step__dot, .afs-timeline.is-in .afs-step__dot { border-color: var(--red); }
.afs-timeline.is-in .afs-step__dot::after { transform: scale(1); }
.afs-step__marker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text); padding-top: 8px; }
.afs-step__body > * { margin-block: 0 !important; }
.afs-step__body > * + * { margin-top: 10px !important; }
.afs-step__body h3 { font-size: clamp(1.4rem, 2.2vw, 2.1rem); }
.afs-step__body p { color: var(--text-2); max-width: 60ch; }
.afs-step:not(:has(.afs-step__marker)) { grid-template-columns: 24px minmax(0, 1fr); }

/* ---------- FAQ ---------- */
.afs-faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; font-size: clamp(1.15rem, 1.7vw, 1.5rem); letter-spacing: -.02em; line-height: 1.3; transition: color .3s; }
.faq-item summary h3 { margin: 0; font: inherit; letter-spacing: inherit; color: inherit; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { text-decoration: underline 2px var(--red); text-underline-offset: .2em; }
.faq-icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); transition: background .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .5s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--red); border-color: var(--red); transform: rotate(180deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0); }
.faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }
.faq-a { padding: 0 0 26px; max-width: 72ch; color: var(--text-2); }
.faq-a > * { margin-block: 0 0 12px; }

/* ---------- breadcrumbs / reviewed by ---------- */
.afs-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.afs-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--red); }
.afs-crumbs a { text-decoration: none; color: var(--text-2); }
.afs-crumbs a:hover { color: var(--text); }
.afs-crumbs [aria-current] { color: var(--muted); }
.rb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; color: var(--text-2); margin: 0; }
.rb__img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.rb a { color: var(--text); }
.rb__date { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- review layer (About signature) ---------- */
.rl { position: relative; }
.rl__lines { position: absolute; left: 0; right: 0; top: 34px; width: 100%; height: 40px; overflow: visible; }
.rl__lines path { fill: none; stroke: var(--red); stroke-width: 1.5; stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 1.8s var(--ease-io) .3s; vector-effect: non-scaling-stroke; }
.rl.is-in .rl__lines path { stroke-dashoffset: 0; }
.rl__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; position: relative; }
.rl__node { position: relative; padding: 0 0 0; display: grid; gap: 12px; opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i) * 260ms + 200ms); }
.rl.is-in .rl__node, .reduced .rl__node { opacity: 1; transform: none; }
.rl__n { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); border: 1px solid var(--red); color: var(--text); font-weight: 700; font-size: 13px; letter-spacing: .1em; position: relative; z-index: 1; }
.rl__node:last-child .rl__n { background: var(--red); color: #fff; }
/* No numbers on the nodes (client 6 Nov 2026): small dots on the line instead of numbered circles. */
.rl__n:empty { width: 18px; height: 18px; }
.rl:has(.rl__n:empty) .rl__lines { top: -11px; }
/* One continuous line from the first dot to the last (client 18 Nov 2026): drawn in CSS so it always starts and ends at the dot centres. */
.rl__lines { display: none; }
.rl__list::before { content: ""; position: absolute; top: 8.25px; left: 9px; right: calc((100% - 28px) / 3 - 9px); height: 1.5px; background: var(--red); transform: scaleX(0); transform-origin: left center; transition: transform 1.8s var(--ease-io) .3s; }
.rl.is-in .rl__list::before, .reduced .rl__list::before { transform: none; }
.rl__t { font-size: clamp(1.4rem, 2.2vw, 2.1rem); letter-spacing: -.035em; line-height: 1.05; margin-top: 10px; }
.rl__d { color: var(--text-2); max-width: 30ch; }

/* ---------- industry rows ---------- */
.ind { border-top: 1px solid var(--line); scroll-margin-top: calc(var(--hdr-h) + 16px); }
.ind:last-of-type { border-bottom: 1px solid var(--line); }
.ind__h { margin: 0; font-size: inherit; }
.ind__btn { width: 100%; display: grid; grid-template-columns: 64px 1fr 44px; align-items: center; gap: 16px; padding: clamp(20px, 2.6vw, 34px) 0; background: none; border: 0; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.ind__n { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--muted); transition: color .4s; }
.ind__t { font-size: clamp(1.8rem, 4.4vw, 4.2rem); letter-spacing: -.05em; line-height: 1; font-weight: 300; transition: transform .8s var(--ease), color .4s; }
.ind__icon { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .6s var(--ease), background .4s, border-color .4s; }
.ind__icon svg { width: 14px; height: 14px; }
.ind__btn:hover .ind__t { transform: translateX(12px); }
.ind__btn:hover .ind__n, .ind.is-open .ind__n { color: var(--text); }
/* Rows without a number (client 6 Nov 2026: no numbers on cards): title and text start at the left edge. */
.ind__btn:not(:has(.ind__n)) { grid-template-columns: minmax(0, 1fr) 44px; }
.ind:not(:has(.ind__n)) .ind__text { padding-left: 0; }
.ind.is-open .ind__t { color: var(--red); }
.ind.is-open .ind__icon { transform: rotate(45deg); background: var(--red); border-color: var(--red); }
.ind__body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .7s var(--ease); }
.ind-ready .ind:not(.is-open) .ind__body { grid-template-rows: 0fr; }
.ind__inner { overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); }
.ind__text { padding: 0 0 clamp(28px, 4vw, 48px) 80px; color: var(--text-2); }
.ind__text > * { margin-block: 0 0 14px; }
.ind__text h4 { color: var(--text); font-size: 1.15rem; margin-top: 20px; }
.ind__photo { margin: 0 0 clamp(28px, 4vw, 48px); border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 3; align-self: start; }
.ind__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); transform: scale(1.06); transition: transform 1.4s var(--ease); }
.ind.is-open .ind__photo img { transform: scale(1); }
.ind__expert { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 8px 18px 8px 8px; border-radius: var(--r-pill); border: 1px solid var(--line); text-decoration: none; background: var(--ink-2) !important; transition: border-color .4s; }
.ind__expert:hover { border-color: var(--red); }
.ind__expert img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.ind__expert span { display: grid; font-size: 14px; color: var(--text); line-height: 1.25; }
.ind__expert small { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.ind__expert em { font-style: normal; font-weight: 400; font-size: 12px; color: var(--muted); letter-spacing: 0; }

/* ---------- insights ---------- */
.afs-filter ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.afs-filter a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); font-size: 14px; color: var(--text-2); text-decoration: none; transition: background .3s, color .3s, border-color .3s; }
.afs-filter a span { font-size: 11px; color: var(--muted); }
.afs-filter a:hover, .afs-filter a[aria-current] { background: var(--text); color: var(--ink); border-color: var(--text); }
.afs-posts .wp-block-post-template { gap: 14px !important; }
.afs-post { height: 100%; display: flex !important; flex-direction: column; gap: 16px !important; border-radius: 22px; padding: 12px 12px 22px !important; border: 1px solid var(--line); background: var(--ink-2); transition: border-color .5s var(--ease), transform .6s var(--ease); }
.afs-post:hover { border-color: var(--red); transform: translateY(-6px); }
.afs-post > * { margin: 0 !important; }
.afs-post .wp-block-post-featured-image { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink-3); }
.afs-post .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s var(--ease); }
.afs-post:hover .wp-block-post-featured-image img { transform: scale(1.06); }
/* One grade for every article image (old stock renders and new office photos alike): monochrome and a little darker
   under one flat black tint; colour comes back on hover. */
.afs-post .wp-block-post-featured-image { position: relative; isolation: isolate; }
.afs-post .wp-block-post-featured-image img { filter: grayscale(1) brightness(.8) contrast(1.1); }
.afs-post .wp-block-post-featured-image::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: rgba(0, 0, 0, .22); transition: opacity .6s var(--ease); }
.afs-post:hover .wp-block-post-featured-image img { filter: none; }
.afs-post:hover .wp-block-post-featured-image::after { opacity: 0; }
.afs-post .wp-block-post-date, .afs-post .taxonomy-category { padding: 0 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.afs-post .taxonomy-category a { text-decoration: none; color: var(--text); font-weight: 700; }
.afs-post .wp-block-post-title { padding: 0 10px; font-size: clamp(1.15rem, 1.4vw, 1.4rem); line-height: 1.22; letter-spacing: -.02em; }
.afs-post .wp-block-post-title a { text-decoration: none; }
.afs-post .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }
.afs-post { position: relative; }
.afs-post .wp-block-post-excerpt { padding: 0 10px; color: var(--muted); font-size: 14px; }
.wp-block-query-pagination { margin-top: 48px !important; gap: 10px; font-size: 12px; letter-spacing: .1em; }
.wp-block-query-pagination a, .wp-block-query-pagination .current { padding: 10px 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); text-decoration: none; }
.wp-block-query-pagination .current { background: var(--text); color: var(--ink); }

/* single post / long text */
.afs-article { max-width: 760px; margin-inline: auto; }
.afs-prose { font-size: 1.12rem; line-height: 1.75; color: var(--text-2); }
.afs-prose > * { max-width: 760px; margin-inline: auto !important; }
.afs-prose > .alignwide { max-width: var(--max); }
.afs-prose h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); color: var(--text); margin-top: 2em; margin-bottom: .5em; letter-spacing: -.03em; line-height: 1.12; }
.afs-prose h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); color: var(--text); margin-top: 1.8em; letter-spacing: -.02em; }
.afs-prose strong { color: var(--text); font-weight: 500; }
.afs-prose ul, .afs-prose ol { padding-left: 1.2em; }
.afs-prose li { margin: .4em 0; }
.afs-prose li::marker { color: var(--red); }
.afs-prose .wp-block-image img { border-radius: var(--r-media); }
.afs-prose table { font-size: .95rem; }
.afs-prose .is-style-expert { border: 0; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-card); background: var(--ink-2); border-left: 2px solid var(--red); }
.is-style-expert p { font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.3; color: var(--text); }
.is-style-expert cite { display: block; margin-top: 16px; font-style: normal; font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
/* Lithuanian dates ("2026 m. spalio 26 d.") are not set in capitals. */
:lang(lt) time { text-transform: none; }
.afs-post-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.afs-post-meta a { color: var(--text-2); text-decoration: none; }
.afs-cover { border-radius: var(--r-panel); overflow: hidden; }
.afs-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }

/* ---------- contact / map / cinfo ---------- */
.cinfo { display: grid; align-content: start; }
.cinfo > a, .cinfo > div { display: grid; gap: 4px; padding: 20px 0; border-top: 1px solid var(--line); text-decoration: none; transition: padding .5s var(--ease); }
.cinfo > a:hover { padding-left: 10px; }
.cinfo small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cinfo span { font-size: clamp(1.15rem, 1.7vw, 1.55rem); letter-spacing: -.02em; line-height: 1.35; }
.cinfo__note { display: block; margin-top: 6px; font-style: normal; font-size: 14px; color: var(--muted); letter-spacing: 0; }
.cinfo--company span { font-size: 1rem; }
.afs-map { margin: 0; }
.afs-map__btn, .afs-map iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r-card); border: 1px solid var(--line); overflow: hidden; background: var(--ink-2); color: var(--text); cursor: pointer; padding: 0; font: inherit; }
.afs-map iframe { filter: grayscale(1) invert(.92) contrast(.9); cursor: auto; }
.afs-map__grid { position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 .5H.5V48' fill='none' stroke='white' stroke-opacity='.1'/%3E%3C/svg%3E"); background-size: 48px 48px; transform: perspective(600px) rotateX(38deg) scale(1.6); transform-origin: 50% 70%; opacity: .7; }
.afs-map__pin { position: absolute; left: 50%; top: 44%; width: 30px; height: 52px; margin: -26px 0 0 -15px; color: var(--red); animation: float 3s ease-in-out infinite; }
.afs-map__pin svg { width: 100%; height: 100%; }
.afs-map__addr { position: absolute; left: 24px; bottom: 58px; font-size: 1.15rem; letter-spacing: -.02em; text-align: left; }
.afs-map__cta { position: absolute; left: 24px; bottom: 22px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text); text-decoration: underline 2px var(--red); text-underline-offset: 5px; }
.afs-map__note { margin: 10px 0 0; font-size: 12px; color: var(--muted); }

/* ---------- departures board: split-flap tiles (afs-blocks.js builds the halves and flips them) ---------- */
.board { border-radius: 24px; background: var(--ink); border: 1px solid var(--line-2); padding: clamp(16px, 2.6vw, 36px); overflow: hidden; }
.board__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin: 0 0 clamp(14px, 2vw, 24px); padding-bottom: clamp(12px, 1.6vw, 20px); border-bottom: 1px solid var(--line); }
.board__title { font-size: clamp(1.05rem, .8rem + 1vw, 1.7rem); font-weight: 500; letter-spacing: -.02em; color: var(--text); }
.board__count { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.board__count b { color: var(--red); font-size: 22px; line-height: 1; letter-spacing: -.02em; margin-right: .3em; }
.board table { width: 100%; border-collapse: collapse; }
.board__cols { display: grid; grid-template-columns: minmax(0, 1fr); }
.board__cols .board__col + .board__col thead { display: none; } /* one header on a single column */
.board__cols .board__col + .board__col tbody tr:first-child > * { padding-top: 3px; }
@media (min-width: 1100px) {
	.board__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(28px, 3vw, 56px); }
	.board__cols .board__col + .board__col thead { display: table-header-group; }
	.board__cols .board__col + .board__col tbody tr:first-child > * { padding-top: 14px; }
	.board tbody tr > * { font-size: clamp(11px, 1vw, 15px); }
}
.board__col tbody td:first-child { width: 4.4em; } /* same number column in both halves, so the names line up */
.board__reg { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.board tbody td.board__region { width: 1%; padding-right: 0; text-align: right; }
.board thead th.board__region { text-align: right; }
.board thead th { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 0 0 14px; border-bottom: 1px solid var(--line); }
.board tbody tr > * { padding: 3px 1.2em 3px 0; font-size: clamp(11px, 1.35vw, 18px); font-weight: 700; text-transform: uppercase; color: var(--text); text-align: left; vertical-align: middle; }
.board tbody tr:first-child > * { padding-top: 14px; }
.flap { display: inline-flex; flex-wrap: wrap; gap: .2em .14em; }
.flap__w { display: inline-flex; gap: .14em; flex: none; font-weight: inherit; }
.flap__gap { display: inline-block; width: .42em; flex: none; }
.flap i { position: relative; display: block; flex: none; width: 1.08em; height: 1.6em; font-style: normal; perspective: 10em; }
/* the split: a hairline across the middle of the tile, like the gap between two real flaps */
.flap i::after { content: ""; position: absolute; z-index: 3; left: 0; right: 0; top: calc(50% - .5px); height: 1px; background: var(--flap-line, rgba(0, 0, 0, .6)); pointer-events: none; }
.flap i > span { position: absolute; left: 0; right: 0; overflow: hidden; background: var(--flap-bg, rgba(255, 255, 255, .1)); }
.flap i .u, .flap i .fu { top: 0; bottom: 50%; border-radius: 3px 3px 0 0; }
.flap i .d, .flap i .fd { top: 50%; bottom: 0; border-radius: 0 0 3px 3px; }
.flap i b { position: absolute; left: 0; right: 0; height: 1.6em; line-height: 1.6em; text-align: center; font-weight: inherit; color: var(--flap-fg, var(--text)); }
.flap i .u b, .flap i .fu b { top: 0; }
.flap i .d b, .flap i .fd b { bottom: 0; }
.flap i .fu { z-index: 2; transform-origin: 50% 100%; backface-visibility: hidden; }
.flap i .fd { z-index: 2; transform-origin: 50% 0; transform: rotateX(90deg); backface-visibility: hidden; }
/* two identical animation names: switching between them restarts the flip without a forced reflow */
.flap i.fa .fu { animation: flap-u var(--fl, 60ms) cubic-bezier(.55, 0, .9, .5) forwards; }
.flap i.fa .fd { animation: flap-d var(--fl, 60ms) cubic-bezier(.1, .5, .45, 1) var(--fl, 60ms) both; }
.flap i.fb .fu { animation: flap-u2 var(--fl, 60ms) cubic-bezier(.55, 0, .9, .5) forwards; }
.flap i.fb .fd { animation: flap-d2 var(--fl, 60ms) cubic-bezier(.1, .5, .45, 1) var(--fl, 60ms) both; }
/* the fallen top flap is hidden at the end, or it would show edge-on as a line across the letter */
@keyframes flap-u { from { transform: rotateX(0); } 99% { opacity: 1; } to { transform: rotateX(-90deg); opacity: 0; } }
@keyframes flap-u2 { from { transform: rotateX(0); } 99% { opacity: 1; } to { transform: rotateX(-90deg); opacity: 0; } }
@keyframes flap-d { from { transform: rotateX(90deg); } to { transform: rotateX(0); } }
@keyframes flap-d2 { from { transform: rotateX(90deg); } to { transform: rotateX(0); } }
.is-hub .flap--name { --flap-bg: var(--red); --flap-fg: #fff; --flap-line: rgba(255, 255, 255, .22); }
.board__row { cursor: default; }
.board__foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.board__foot b { color: var(--text); font-weight: 700; }
.board__key { display: inline-flex; align-items: center; gap: 8px; }
.board__key i { width: 10px; height: 10px; border-radius: 2px; background: var(--red); flex: none; }

/* ---------- challenge tiles (sector pages: core/list "Tiles") ---------- */
.is-style-tiles { list-style: none; padding: 0 !important; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.is-style-tiles li { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 44px; min-height: 200px; padding: 28px; border-radius: var(--r-card); background: var(--ink-2); color: var(--text); font-size: clamp(1.15rem, 1.5vw, 1.45rem); line-height: 1.3; letter-spacing: -.01em; overflow: hidden; isolation: isolate;
	transition: background .45s var(--ease), color .45s var(--ease); }
.is-style-tiles li::before { content: ""; flex: none; width: 11px; height: 36px; margin-left: 8px; background: var(--red); transform: skewX(-24deg); transform-origin: 50% 100%; transition: transform .7s var(--ease); }
.is-style-tiles li:first-child { grid-column: span 2; padding-right: clamp(28px, 14vw, 200px); background: var(--text); color: var(--ink); font-size: clamp(1.4rem, 2.3vw, 2.2rem); line-height: 1.15; }
/* the brand slash leaning out of the first tile */
.is-style-tiles li:first-child::after { content: ""; position: absolute; z-index: -1; right: clamp(-10px, 2vw, 40px); bottom: -24px; width: clamp(54px, 7vw, 96px); height: 120%; background: var(--red); transform: skewX(-24deg); transform-origin: 50% 100%; transition: transform 1.1s var(--ease); }
.is-style-tiles:has(> li:nth-child(4):last-child) > li:last-child { grid-column: span 2; }
@media (hover: hover) and (pointer: fine) {
	.is-style-tiles li:not(:first-child):hover { background: var(--text); color: var(--ink); }
	.is-style-tiles li:hover::before { transform: skewX(-24deg) scaleY(1.35); }
	.is-style-tiles li:first-child:hover::after { transform: skewX(-24deg) translateX(-14px); }
}
.motion .r.is-style-tiles { opacity: 1; transform: none; }
.motion .r.is-style-tiles li { opacity: 0; transform: translateY(36px) scale(.97); transition: opacity .8s var(--ease) calc(var(--li, 0) * 90ms), transform .9s var(--ease) calc(var(--li, 0) * 90ms), background .45s var(--ease), color .45s var(--ease); }
.motion .r.is-style-tiles li::before { transform: skewX(-24deg) scaleY(0); transition-delay: calc(var(--li, 0) * 90ms + 380ms); }
.motion .r.is-style-tiles li:first-child::after { transform: skewX(-24deg) translateY(105%); transition-delay: .35s; }
.motion .r.is-in.is-style-tiles li { opacity: 1; transform: none; }
.motion .r.is-in.is-style-tiles li::before { transform: skewX(-24deg) scaleY(1); }
.motion .r.is-in.is-style-tiles li:first-child::after { transform: skewX(-24deg); }
.motion .r.is-in.is-style-tiles li:hover::before { transform: skewX(-24deg) scaleY(1.35); transition-delay: 0s; }

/* ---------- versus table (comparison sections: core/table "Versus"): our column black, the alternative grey ---------- */
.is-style-versus { margin: 0; overflow: visible; }
.is-style-versus thead, .is-style-versus tfoot { border: 0; }
.is-style-versus table { width: calc(100% + 24px); margin-inline: -12px; border-collapse: separate; border-spacing: 12px 0; table-layout: fixed; font-size: 16px; }
.is-style-versus th, .is-style-versus td { padding: 18px 24px; text-align: left; vertical-align: middle; border: 0; line-height: 1.45; }
.is-style-versus tr > :first-child { width: 24%; padding-left: 0; }
.is-style-versus thead th { position: relative; padding-block: 24px 20px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.is-style-versus tr > :nth-child(2) { background: var(--text); color: var(--ink); }
.is-style-versus tr > :nth-child(3) { background: var(--ink-2); color: var(--text-2); }
.is-style-versus thead th:nth-child(3) { color: var(--text); }
.is-style-versus thead th:nth-child(2), .is-style-versus thead th:nth-child(3) { border-radius: 20px 20px 0 0; }
.is-style-versus tbody tr:last-child > :nth-child(2), .is-style-versus tbody tr:last-child > :nth-child(3) { border-radius: 0 0 20px 20px; padding-bottom: 26px; }
.is-style-versus thead th:nth-child(2)::after { content: ""; position: absolute; left: 24px; width: 32px; bottom: 0; height: 3px; background: var(--red); }
/* the "versus" mark between the columns: the brand slash in a red disc */
.is-style-versus thead th:nth-child(3)::before { content: ""; position: absolute; z-index: 2; left: -6px; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 3px solid var(--ink);
	background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M23.5 10h5l-12 20h-5z' fill='%23fff'/%3E%3C/svg%3E") center / 100% no-repeat; }
.is-style-versus tbody td { position: relative; }
.is-style-versus tbody td:first-child { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text); border-top: 1px solid var(--line); transition: color .3s; }
.is-style-versus tbody td:nth-child(2), .is-style-versus tbody td:nth-child(3) { padding-left: 62px; border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.is-style-versus tbody td:nth-child(2)::before { content: ""; position: absolute; left: 24px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%;
	background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.4l3.2 3.2L17 8.8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.is-style-versus tbody td:nth-child(3)::before { content: ""; position: absolute; left: 24px; top: 50%; width: 24px; height: 24px; margin-top: -12px; box-sizing: border-box; border-radius: 50%; border: 1.5px solid currentColor; opacity: .4; }
.is-style-versus tbody td:nth-child(3)::after { content: ""; position: absolute; left: 32px; top: 50%; width: 8px; height: 1.5px; margin-top: -.75px; background: currentColor; opacity: .55; }
.is-style-versus tbody tr:hover td:first-child { color: var(--red); }
.is-style-versus figcaption { margin-top: 18px; padding: 0; font-size: 13px; color: var(--muted); }
.motion .r.is-style-versus { opacity: 1; transform: none; }
.motion .r.is-style-versus tr > * { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--tr, 0) * 70ms + 120ms); }
.motion .r.is-style-versus tbody td:nth-child(2) { transform: translateX(-22px); }
.motion .r.is-style-versus tbody td:nth-child(3) { transform: translateX(22px); }
.motion .r.is-style-versus thead th:nth-child(3)::before { transform: scale(0) rotate(-120deg); transition: transform .7s cubic-bezier(.34, 1.56, .64, 1) .55s; }
.motion .r.is-style-versus tbody td:nth-child(2)::before { transform: scale(0); transition: transform .6s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(var(--tr, 0) * 70ms + 520ms); }
.motion .r.is-in.is-style-versus tr > *, .motion .r.is-in.is-style-versus tbody td:nth-child(n), .motion .r.is-in.is-style-versus thead th:nth-child(3)::before, .motion .r.is-in.is-style-versus tbody td:nth-child(2)::before { opacity: 1; transform: none; }

/* ---------- pricing factor cards (afs/factor in .afs-factors; the last card holds the quote request) ---------- */
.afs-factors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.afs-factors > * { margin: 0 !important; }
.afs-factors > :nth-child(2) { --c: 1; } .afs-factors > :nth-child(3) { --c: 2; } .afs-factors > :nth-child(4) { --c: 3; }
.afs-factors > :nth-child(5) { --c: 4; } .afs-factors > :nth-child(6) { --c: 5; } .afs-factors > :nth-child(7) { --c: 6; } .afs-factors > :nth-child(8) { --c: 7; }
.factor { position: relative; display: flex; flex-direction: column; min-height: 290px; padding: 28px; border-radius: var(--r-card); background: var(--ink-2); color: var(--text); overflow: hidden; transition: background .45s var(--ease), color .45s var(--ease); }
.factor__icon { display: block; width: 60px; height: 60px; margin-bottom: auto; color: inherit; }
.factor__icon svg { display: block; width: 100%; height: 100%; overflow: visible; }
.factor__t { margin: 36px 0 0 !important; font-size: clamp(1.25rem, 1.6vw, 1.55rem); font-weight: 400; line-height: 1.15; letter-spacing: -.01em; }
.factor__d > * { margin: 12px 0 0 !important; font-size: 15px; line-height: 1.5; color: var(--text-2); transition: color .45s var(--ease); }
.factor .kf { fill: currentColor; } .factor .rd { fill: var(--red); } .factor .wf { fill: var(--ink); }
.factor .w { fill: var(--ink); stroke: currentColor; stroke-width: 1.5; }
.factor .sh { fill: var(--ink); stroke: currentColor; stroke-width: 1.5; stroke-opacity: .35; }
.factor .k { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.factor .ln { fill: none; stroke: currentColor; stroke-width: 2; stroke-opacity: .32; stroke-linecap: round; }
.factor .rs { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; }
.factor .fi, .factor .fm { transform-box: fill-box; transform-origin: 50% 100%; }
.factor .i1 { --fi: 1; } .factor .i2 { --fi: 2; } .factor .i3 { --fi: 3; }
.factor--cta { justify-content: space-between; gap: 28px; background: var(--text); color: var(--ink); }
.factor--cta p { margin: 0; font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.45; color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
	.factor:hover { background: var(--text); color: var(--ink); }
	.factor:hover .factor__d > * { color: color-mix(in srgb, var(--ink) 82%, transparent); }
	.factor:hover .w, .factor:hover .sh, .factor:hover .wf { fill: var(--text); }
	.factor:hover .fi { animation: fi-hop .6s var(--ease) calc(var(--fi, 0) * 70ms); }
	.factor:hover .rs { animation: fi-draw 1s var(--ease-io); }
	.factor:hover .fm { animation: fi-slide 1.1s var(--ease-io); }
	.factor:hover .fm--r { animation-name: fi-slide-r; }
}
@keyframes fi-hop { 40% { transform: translateY(-6px) scaleY(1.06); } }
@keyframes fi-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fi-slide { 50% { transform: translateX(16px); } }
@keyframes fi-slide-r { 50% { transform: translateX(-16px); } }
.motion .r.afs-factors { opacity: 1; transform: none; }
.motion .r.afs-factors > * { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease) calc(var(--c, 0) * 80ms), transform .9s var(--ease) calc(var(--c, 0) * 80ms), background .45s var(--ease), color .45s var(--ease); }
.motion .r.afs-factors .fi { opacity: 0; transform: translateY(10px) scaleY(.4); transition: opacity .5s var(--ease), transform .7s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(var(--c, 0) * 80ms + var(--fi, 0) * 90ms + 420ms); }
.motion .r.afs-factors .rs { stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease-io) calc(var(--c, 0) * 80ms + 700ms); }
.motion .r.is-in.afs-factors > *, .motion .r.is-in.afs-factors .fi { opacity: 1; transform: none; }
.motion .r.is-in.afs-factors .rs { stroke-dashoffset: 0; }

/* ---------- animated scenes (afs/scene): steps set by afs-blocks.js; see inc/render/scenes.php for the layer classes ---------- */
.scene { --sc-fg: var(--text); --sc-card: var(--ink); --sc-line: var(--line-2); --sc-soft: var(--ink-4); margin: 0; padding: clamp(12px, 1.6vw, 22px); border-radius: var(--r-panel); background: var(--ink-2); }
.scene__stage svg { display: block; width: 100%; height: auto; overflow: visible; }
.scene .k { fill: none; stroke: var(--sc-fg); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.scene .k.thick, .scene .thick { stroke-width: 3.5; }
.scene .thicker { stroke-width: 5; }
.scene .kf { fill: var(--sc-fg); }
.scene .w { fill: var(--sc-card); stroke: var(--sc-line); stroke-width: 1.5; }
.scene .wf { fill: var(--sc-card); }
.scene .rd { fill: var(--red); }
.scene .sf { fill: var(--sc-soft); }
.scene .o5 { opacity: .55; }
.scene .rs { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.scene .wt { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.scene .wd { fill: none; stroke: #fff; stroke-width: 1.5; stroke-dasharray: 3 4; }
.scene .ln { fill: none; stroke: var(--sc-line); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.scene .ln-red { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.scene .halo-red { fill: none; stroke: var(--red); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.scene .pct { font: 700 22px/1 var(--f-sans); fill: var(--sc-fg); text-anchor: middle; }
.scene [pathLength] { stroke-dasharray: 1 1; }
.scene .dash { stroke-dasharray: .012 .02; }
.scene .a { transform-box: fill-box; transform-origin: center; transition: opacity .6s var(--ease), transform .8s var(--ease), stroke-dashoffset 1.2s var(--ease-io); transition-delay: calc(var(--i, 0) * 90ms); }
.scene :is(.g1, .g2, .g3, .g4, .g5) { transform-origin: 50% 100%; }
.scene[data-ready]:not(.s1) .f1, .scene[data-ready]:not(.s2) .f2, .scene[data-ready]:not(.s3) .f3, .scene[data-ready]:not(.s4) .f4, .scene[data-ready]:not(.s5) .f5 { opacity: 0; transform: translateY(14px); }
.scene[data-ready]:not(.s1) .p1, .scene[data-ready]:not(.s2) .p2, .scene[data-ready]:not(.s3) .p3, .scene[data-ready]:not(.s4) .p4, .scene[data-ready]:not(.s5) .p5 { opacity: 0; transform: scale(.3); }
.scene[data-ready]:not(.s1) .g1, .scene[data-ready]:not(.s2) .g2, .scene[data-ready]:not(.s3) .g3, .scene[data-ready]:not(.s4) .g4, .scene[data-ready]:not(.s5) .g5 { transform: scaleY(0); }
.scene[data-ready]:not(.s1) .d1:not(.dash), .scene[data-ready]:not(.s2) .d2:not(.dash), .scene[data-ready]:not(.s3) .d3:not(.dash), .scene[data-ready]:not(.s4) .d4:not(.dash), .scene[data-ready]:not(.s5) .d5:not(.dash) { stroke-dashoffset: 1; }
.scene[data-ready]:not(.s1) .d1.dash, .scene[data-ready]:not(.s2) .d2.dash, .scene[data-ready]:not(.s3) .d3.dash { opacity: 0; }
.scene:not([data-ready]) :is(.x2, .x3, .x4), .scene[data-ready].s2 .x2, .scene[data-ready].s3 .x3, .scene[data-ready].s4 .x4 { opacity: 0; transform: scale(.85); }
.scene .cur { transform-box: fill-box; transform-origin: center; transition: opacity .45s var(--ease), transform .6s var(--ease); }
.scene:not([data-ready]) .cur:not(.c-end), .scene[data-ready]:not([data-cur="1"]) .c1, .scene[data-ready]:not([data-cur="2"]) .c2, .scene[data-ready]:not([data-cur="3"]) .c3, .scene[data-ready]:not([data-cur="4"]) .c4, .scene[data-ready]:not([data-cur="5"]) .c5 { opacity: 0; transform: scale(.82); }
/* loops run only while the scene is on screen */
.scene :is(.halo-red, .typing, .chip, .sweep, .scan > *) { animation-play-state: paused; }
.scene.is-live :is(.halo-red, .typing, .chip, .sweep, .scan > *) { animation-play-state: running; }
.scene .halo-red { animation: sc-halo 2.4s var(--ease) infinite; }
.scene .typing { animation: sc-typing 1.2s ease-in-out infinite; animation-delay: calc(var(--t, 0) * .16s); }
@keyframes sc-halo { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
@keyframes sc-typing { 30% { transform: translateY(-5px); } 60% { transform: none; } }
.scene.is-static .mv { display: none; }
.scene.is-static * { animation: none !important; }
/* payroll: a month dial */
.scene--payroll .prog { fill: none; stroke: var(--red); stroke-width: 5; stroke-linecap: round; stroke-dashoffset: calc(1 - var(--k, 5) / 5); transition: stroke-dashoffset 1s var(--ease-io), opacity .3s; }
.scene--payroll[data-cur="0"] .prog { opacity: 0; }
.scene--payroll .hand { stroke: var(--red); fill: var(--red); stroke-width: 3.5; stroke-linecap: round; transform-box: view-box; transform-origin: 300px 208px; transform: rotate(calc((var(--k, 5) - 1) * 72deg)); transition: transform 1s var(--ease-io); }
.scene--payroll .node { transition: fill .5s var(--ease), stroke .5s var(--ease); }
.scene--payroll:not([data-ready]) .node, .scene--payroll.s1 .h1, .scene--payroll.s2 .h2, .scene--payroll.s3 .h3, .scene--payroll.s4 .h4, .scene--payroll.s5 .h5 { fill: var(--red); stroke: var(--red); }
/* accounting in Lithuania: a backlog put in order */
.scene--local .tile { transform-box: fill-box; transform-origin: center; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.scene--local[data-ready]:not(.s3) .tile { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); }
.scene--local .tb { fill: var(--sc-card); stroke: var(--sc-line); stroke-width: 1.5; transition: fill .5s var(--ease), stroke .5s var(--ease); transition-delay: calc(var(--i) * 60ms); }
.scene--local .tl { stroke: var(--sc-line); stroke-width: 6; stroke-linecap: round; }
.scene--local .tc { fill: none; stroke: var(--sc-card); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: opacity .4s var(--ease); transition-delay: calc(var(--i) * 60ms + .2s); }
.scene--local[data-ready]:not(.s3) .miss .tb { fill: none; stroke: var(--sc-fg); stroke-dasharray: 5 5; }
.scene--local[data-ready]:not(.s3) .miss .tl, .scene--local[data-ready]:not(.s4) .tc { opacity: 0; }
.scene--local:not([data-ready]) .pri .tb, .scene--local.s2 .pri .tb { fill: var(--red); stroke: var(--red); }
.scene--local:not([data-ready]) .tile:not(.pri) .tb, .scene--local.s4 .tile:not(.pri) .tb { fill: var(--sc-fg); stroke: var(--sc-fg); }
.scene--local .lens { fill: none; stroke: var(--sc-fg); stroke-width: 3.5; }
.scene--local .scan > * { animation: sc-scan 3.4s ease-in-out infinite alternate; }
@keyframes sc-scan { from { transform: translate(-150px, -50px); } to { transform: translate(150px, 50px); } }
/* tax: a compliance calendar */
.scene--tax .dot { fill: var(--sc-card); stroke: var(--sc-fg); stroke-width: 2.5; transition: opacity .6s var(--ease), transform .8s var(--ease), fill .5s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.scene--tax:not([data-ready]) .dot, .scene--tax.s3 .dot { fill: var(--sc-fg); }
.scene--tax .ring { fill: none; stroke: var(--red); stroke-width: 2.5; }
.scene--tax .sweep { stroke: var(--red); stroke-width: 2; transform: translateX(420px); animation: sc-sweep 7s linear infinite; }
@keyframes sc-sweep { from { transform: translateX(118px); } to { transform: translateX(526px); } }
/* reporting: from ledger to decision */
.scene--reporting .bar { fill: var(--sc-fg); transition: transform .8s var(--ease), fill .5s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.scene--reporting:not([data-ready]) .hf3, .scene--reporting.s3 .hf3 { fill: var(--red); }
/* real estate accounting: one property's year */
.scene--property .win { fill: var(--sc-soft); transition: fill .4s var(--ease); transition-delay: calc(var(--i) * 50ms); }
.scene--property:not([data-ready]) .win.lit, .scene--property.s1 .win.lit { fill: var(--red); }
/* sector: e-commerce and retail */
.scene--sector-ecommerce .chip { transform: translateX(calc(var(--t) * 44px)); animation: sc-belt 4.8s linear infinite; animation-delay: calc(var(--t) * -.8s); }
@keyframes sc-belt { 0% { transform: translateX(0); opacity: 0; } 8%, 84% { opacity: 1; } 100% { transform: translateX(268px); opacity: 0; } }
.scene--sector-ecommerce .donut-base { fill: none; stroke: var(--sc-soft); stroke-width: 18; }
.scene--sector-ecommerce .donut { fill: none; stroke-width: 18; }
.scene--sector-ecommerce .donut--k { stroke: var(--sc-fg); stroke-dasharray: .4 1; }
.scene--sector-ecommerce .donut--r { stroke: var(--red); stroke-dasharray: .35 1; }
.scene--sector-ecommerce[data-ready]:not(.s3) .donut--k { stroke-dashoffset: .4; }
.scene--sector-ecommerce[data-ready]:not(.s3) .donut--r { stroke-dashoffset: .35; }
/* sector: groups */
.scene--sector-groups .local { fill: none; stroke: var(--red); stroke-width: 1.5; stroke-dasharray: 4 5; }
/* sector: real estate (the service-charge balance levels out) */
.scene--sector-realestate .beam { transform-box: view-box; transform-origin: 512px 236px; transition: transform 1.4s cubic-bezier(.34, 1.56, .64, 1) .2s; }
.scene--sector-realestate[data-ready]:not(.s2) .beam { transform: rotate(-10deg); }
/* sector: startups (the structure catches up with growth) */
.scene--sector-startups .col { transform-box: fill-box; transform-origin: 50% 100%; transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 80ms); }
.scene--sector-startups[data-ready] .col { transform: scaleY(0); }
.scene--sector-startups[data-ready].s1 .col { transform: scaleY(.55); }
.scene--sector-startups[data-ready].s3 .col { transform: none; }
/* captions under a scene: a progress rule and one pill per stage */
.scene__steps { position: relative; list-style: none; margin: 14px 0 0; padding: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.scene__bar { position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.scene__bar i { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(calc(var(--k, var(--n)) / var(--n))); transition: transform .9s var(--ease-io); }
.scene__steps li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: var(--r-pill); background: var(--ink); color: var(--text-2); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2; transition: background .4s var(--ease), color .4s var(--ease); }
.scene__steps li i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); transition: background .4s var(--ease); }
.scene__steps li.is-done i, .scene__steps li.is-cur i { background: var(--red); }
.scene__steps li.is-cur { background: var(--text); color: var(--ink); }
/* home "how we work": a grey band, the wide scene above the four steps in a row. The steps play in turn (red line =
   timer) or follow the pointer. Without JS or with reduced motion: the full scene and plain steps. */
.afs-howband { border-radius: var(--r-panel); background: var(--ink-2); padding: clamp(20px, 3.4vw, 52px); }
.afs-howband > * { margin: 0 !important; }
.afs-howband .scene { background: none; padding: 0 0 clamp(24px, 3.4vw, 48px); }
.afs-howband .afs-timeline__line { display: none; }
.afs-howband .afs-timeline__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 0; }
.afs-howband .afs-step { display: block; padding: 40px clamp(14px, 2.2vw, 36px) 0 0; }
.afs-howband .afs-step::before, .afs-howband .afs-step::after { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--line-2); }
.afs-howband .afs-step::after { background: var(--red); transform: scaleX(0); transform-origin: left; }
.afs-howband .afs-step.is-done::after, .afs-howband:not(.is-auto) .afs-step.is-current::after { transform: none; transition: transform .6s var(--ease); }
.afs-howband.is-auto .afs-step.is-current::after { animation: spot-bar 2.8s linear both; }
.afs-howband .afs-step__dot { position: absolute; left: 0; top: 0; margin: 0; background: var(--ink-2); transition: border-color .4s, transform .5s var(--ease); }
.afs-howband .afs-timeline .afs-step__dot::after { transform: scale(0); }
.afs-howband:not(:has([data-ready])) .afs-step__dot, .afs-howband .afs-step:is(.is-current, .is-done) .afs-step__dot { border-color: var(--red); }
.afs-howband:not(:has([data-ready])) .afs-timeline .afs-step__dot::after, .afs-howband .afs-timeline .afs-step:is(.is-current, .is-done) .afs-step__dot::after { transform: scale(1); }
.afs-howband .afs-step.is-current .afs-step__dot { transform: scale(1.2); }
.afs-howband .afs-step__body h3 { font-size: clamp(1.15rem, 1.55vw, 1.5rem); transition: color .4s; }
.afs-howband .afs-step__body p { font-size: 15px; }
.afs-howband:has([data-ready]) .afs-step:not(.is-current, .is-done) h3 { color: var(--muted); }

/* scene beside the steps it illustrates (process timelines, sector "How we help") */
.afs-scrolly { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.afs-scrolly > * { margin: 0 !important; }
.afs-scrolly > .scene { position: sticky; top: calc(var(--hdr-h) + 28px); }
.afs-scrolly .afs-step__dot { transition: border-color .4s var(--ease), transform .5s var(--ease); }
.afs-scrolly .afs-step.is-current .afs-step__dot { transform: scale(1.25); }
.afs-scrolly .afs-step.is-current .afs-step__marker { color: var(--red); }
.afs-scrolly__steps > .svc-sec { grid-template-columns: minmax(130px, .55fr) minmax(0, 2fr); gap: 20px clamp(24px, 3vw, 44px); }
.afs-scrolly__steps > .svc-sec:first-child { border-top: 0; padding-top: 0; }
.afs-scrolly__steps .svc-sec__body .is-style-rules { columns: 1; }
.afs-scrolly .svc-sec.is-current .svc-sec__tag { color: var(--red); }

/* ---------- CTA band ---------- */
.afs-cta { position: relative; overflow: hidden; isolation: isolate; }
.afs-cta h2 { font-size: clamp(3rem, 8.4vw, 9rem); line-height: .92; letter-spacing: -.055em; max-width: 12ch; }

/* ---------- forms (Fluent Forms) ---------- */
.afs-form { color-scheme: dark; border-radius: var(--r-panel); padding: clamp(24px, 3.4vw, 48px) !important; background: var(--ink-2); border: 1px solid var(--line); }
.afs-form .ff-el-group { margin-bottom: 18px; }
.afs-form label, .afs-form .ff-el-input--label label { font-family: var(--f-sans) !important; font-size: 11px !important; font-weight: 700 !important; letter-spacing: .12em; text-transform: uppercase; color: var(--muted) !important; }
.afs-form input[type=text], .afs-form input[type=email], .afs-form input[type=tel], .afs-form textarea, .afs-form select, .afs-form .ff-el-form-control {
	width: 100%; font: inherit !important; font-size: clamp(1.1rem, 1.6vw, 1.4rem) !important; letter-spacing: -.02em; color: var(--text) !important; background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--line-2) !important; border-radius: 0 !important; padding: 10px 2px !important; box-shadow: none !important; transition: border-color .3s;
}
.afs-form textarea { min-height: 110px; resize: vertical; }
.afs-form select option { color: #000; background: #fff; }
.afs-form input:focus, .afs-form textarea:focus, .afs-form select:focus { border-bottom-color: var(--red) !important; }
.afs-form input:focus-visible, .afs-form textarea:focus-visible, .afs-form select:focus-visible { outline: 2px solid var(--text) !important; outline-offset: 4px; border-radius: 2px !important; }
.afs-form .ff-el-form-check input:focus-visible { outline: 2px solid var(--text) !important; outline-offset: 2px; }
.afs-form ::placeholder { color: rgba(255, 255, 255, .5) !important; }
.afs-form .ff-el-form-check label { text-transform: none; letter-spacing: 0; font-size: 14px !important; font-weight: 400 !important; color: var(--text-2) !important; }
.afs-form .ff-el-form-check input { accent-color: var(--red); width: 18px; height: 18px; }
.afs-form .ff-btn-submit, .afs-form button[type=submit] { background: var(--red) !important; color: #fff !important; border: 1px solid var(--red) !important; border-radius: var(--r-pill) !important; min-height: 52px; padding: 0 28px !important; font: 400 15px/1 var(--f-sans) !important; cursor: pointer; transition: background .4s, color .4s; }
.afs-form .ff-btn-submit:hover { background: #fff !important; color: var(--ink) !important; }
/* error text stays white (red text on black is under AA); a red bar marks it, and the field line turns red */
.afs-form .error, .afs-form .ff-el-is-error .text-danger { color: var(--text) !important; font-size: 13px; }
.afs-form .error::before, .afs-form .ff-el-is-error .text-danger::before { content: ""; display: inline-block; width: 3px; height: .9em; margin-right: 8px; vertical-align: -1px; background: var(--red); transform: skewX(calc(var(--slash) * -1)); }
.afs-form .ff-el-is-error input, .afs-form .ff-el-is-error textarea, .afs-form .ff-el-is-error select { border-bottom-color: var(--red) !important; }
.afs-form .ff-message-success { border: 1px solid var(--red); border-radius: 16px; padding: 20px; color: var(--text); background: rgba(255, 255, 255, .04); }
/* quote form: two columns on wide screens; .afs-qf--wide spans the row */
.afs-form .afs-qf .ff-el-input--label { margin: 0 0 6px; padding: 0; }
.afs-form .afs-qf--checkbox .ff-el-input--content { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px 24px; padding-top: 6px; }
.afs-form .afs-qf--checkbox .ff-el-form-check { margin: 0; }
.afs-form .afs-qf--checkbox .ff-el-form-check label { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; transition: border-color .3s, background .3s; }
.afs-form .afs-qf--checkbox .ff-el-form-check label:hover { border-color: var(--text-2); }
.afs-form .afs-qf--checkbox .ff-el-form-check label:has(input:checked) { border-color: var(--red); background: rgba(255, 255, 255, .08); color: var(--text) !important; }
.afs-form .afs-qf--checkbox .ff-el-form-check input { flex: none; margin: 0; }
.afs-form .afs-qf--consent, .afs-form .afs-qf--textarea { margin-top: 8px !important; }
.afs-form .ff_tc_label { font-size: 14px !important; font-weight: 400 !important; line-height: 1.5; text-transform: none !important; letter-spacing: 0 !important; color: var(--text-2) !important; }
.afs-form .ff_tc_label a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.afs-form .ff-el-group.ff_submit_btn_wrapper, .afs-form .ff_submit_btn_wrapper { margin-top: 28px; }
@media (min-width: 700px) {
	.afs-form .frm-fluent-form fieldset { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 3vw, 40px); }
	.afs-form .frm-fluent-form fieldset > * { grid-column: 1 / -1; }
	.afs-form .frm-fluent-form fieldset > .afs-qf:not(.afs-qf--wide) { grid-column: auto; }
}

/* ---------- footer (exactly as the concept) ---------- */
.ftr { position: relative; background: var(--paper); color: var(--paper-ink); overflow: hidden; z-index: 0; }
.ftr a { color: inherit; text-decoration: none; }
/* light surface: black text, red underline on hover (red text on #F1F1F1 is under AA) */
.ftr__btn { appearance: none; border: 0; padding: 0; background: none; font: inherit; color: inherit; cursor: pointer; text-align: left; text-decoration: underline 2px transparent; text-underline-offset: 5px; transition: text-decoration-color .3s; }
.ftr__btn:hover { text-decoration-color: var(--red); }
.ftr a:focus-visible, .ftr__btn:focus-visible { outline-color: var(--paper-ink); }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 40px; padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(48px, 6vw, 80px); }
.ftr__logo img { width: 210px; height: auto; display: block; }
.ftr__tag { margin: 24px 0 0; font-size: clamp(1.3rem, 2vw, 1.8rem); letter-spacing: -.03em; line-height: 1.15; max-width: 16ch; }
.ftr .ftr__h { font-size: 11px; font-weight: 700; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; color: var(--paper-muted); margin: 0 0 18px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; font-weight: 400; line-height: 1.45; }
.ftr ul a { text-decoration: underline 2px transparent; text-underline-offset: 5px; transition: text-decoration-color .3s; }
.ftr ul a:hover, .ftr ul a[aria-current] { text-decoration-color: var(--red); }
.ftr__big { font-size: clamp(4rem, 17.5vw, 19rem); letter-spacing: -.075em; line-height: .78; font-weight: 500; white-space: nowrap; color: var(--paper-ink); margin: 0 0 -.04em -.04em; user-select: none; }
.ftr__big span { color: var(--red); }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(0, 0, 0, .14); font-size: 13px; color: var(--paper-muted); }
.ftr .ftr__lang ul { display: flex; gap: 2px; }
.ftr__lang a { color: var(--paper-muted); }
.ftr__lang a:hover { background: rgba(0, 0, 0, .06); color: var(--paper-ink); }
.ftr .ftr__lang a[aria-current] { background: rgba(0, 0, 0, .08); color: var(--paper-ink); }
@media (min-width: 961px) and (min-height: 760px) {
	.afs-page { position: relative; z-index: 1; background: var(--ink); }
	.ftr { position: sticky; bottom: 0; }
}

/* ---------- links with arrows, big link rows, related insights ---------- */
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 400; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: border-color .4s var(--ease), gap .4s var(--ease); }
.link-arrow:hover { border-color: var(--red); gap: 16px; }
.link-arrow svg { width: 14px; height: 14px; flex: none; }
.afs-bigs li { padding: 0 !important; }
.afs-bigs li::before { display: none; }
.afs-bigs a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(16px, 2vw, 26px) 0; font-size: clamp(1.5rem, 3.4vw, 3.2rem); letter-spacing: -.045em; line-height: 1.05; color: var(--text); text-decoration: none !important; transition: color .4s var(--ease), padding .6s var(--ease); }
.afs-bigs a::after { content: ""; flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='1.5'%3E%3Cpath d='M4 12L12 4M5 4h7v7'/%3E%3C/svg%3E") center / 14px no-repeat; transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .6s var(--ease); }
.afs-bigs a:hover { color: var(--red) !important; padding-left: 14px; }
.afs-bigs a:hover::after { background-color: var(--red); border-color: var(--red); transform: rotate(45deg); }
.afs-mt { margin-top: clamp(28px, 4vw, 48px) !important; }
.afs-triggers { margin-top: clamp(64px, 8vw, 120px) !important; }
.afs-triggers > .is-style-label { margin-bottom: 24px !important; }
.afs-related__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.afs-related__head:not(:has(h2)) { justify-content: flex-end; margin-top: -24px; }
.afs-related__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.afs-related__list > li { display: flex; }
.afs-related .afs-post { width: 100%; }
.afs-related .wp-block-post-title { margin: 0; }
.afs-post a, .afs-related a.link-arrow { text-decoration: none !important; }
.afs-post .wp-block-post-title a:hover { text-decoration: underline 2px var(--red) !important; text-underline-offset: .18em; }
/* globe headline figure (concept "17") */
.afs-globe .afs-stats { margin: 26px 0 8px !important; }
.afs-globe .afs-stats dl { display: block; }
.afs-globe .afs-stats .stat { flex-direction: row-reverse; justify-content: flex-end; align-items: flex-start; gap: 16px; padding: 0; border: 0; }
.afs-globe .afs-stats dd { font-size: clamp(5rem, 11vw, 10rem); font-weight: 200; letter-spacing: -.07em; line-height: .8; }
.afs-globe .afs-stats dt { margin-top: 1.2em; }
/* author card, profile */
.afs-author { display: grid !important; grid-template-columns: 96px 1fr; gap: 24px; align-items: start; margin-top: 64px !important; }
.afs-author img { width: 96px; height: 128px; object-fit: cover; border-radius: 12px; }
.afs-author p { margin: 0 0 6px; }
.afs-author__name { font-size: 1.4rem; letter-spacing: -.02em; color: var(--text); }
.afs-author__name a { text-decoration: none !important; }
.afs-author__role { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.afs-author__bio { font-size: 15px; color: var(--text-2); }
.afs-profile-cols { gap: clamp(32px, 5vw, 80px) !important; align-items: end !important; }
.afs-profile-photo { margin: 0; border-radius: var(--r-panel); overflow: hidden; aspect-ratio: 3 / 4; max-width: 460px; }
.afs-profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.afs-profile__role { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); margin: 18px 0 28px; }
.afs-profile__dl { margin: 0 0 28px; display: grid; border-top: 1px solid var(--line); }
.afs-profile__dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.afs-profile__dl dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.afs-profile__dl dd { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.afs-profile__links { display: flex; flex-wrap: wrap; gap: 10px; }
.afs-profile-hero .afs-crumbs { margin-bottom: 32px; }

/* ---------- 404 ---------- */
.afs-404 h1 { font-size: clamp(6rem, 22vw, 20rem) !important; letter-spacing: -.08em; line-height: .8; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
	.hdr__item > a { padding: 9px 12px; }
	.afs-team--strip .afs-team__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.ftr__top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 1080px) {
	.hdr { grid-template-columns: 1fr auto; }
	.hdr__nav, .hdr__cta, .hdr__lang { display: none; }
	.hdr__burger { display: block; }
}
@media (max-width: 960px) {
	:root { --hdr-h: 72px; }
	.afs-related__list { grid-template-columns: minmax(0, 1fr); }
	.afs-profile__dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
	.afs-globe { grid-template-columns: minmax(0, 1fr); }
	.globe-wrap { justify-self: center; max-width: 560px; }
	.hs { height: auto !important; }
	.hs__sticky { position: relative; height: auto; padding-top: 0; overflow: visible; display: block; }
	.hs__top { margin-bottom: 32px; }
	.hs__track { flex-direction: column; width: auto; transform: none !important; }
	.hs__progress { display: none; }
	.panel, .panel--end { width: 100%; height: auto; min-height: 0; grid-template-columns: minmax(0, 1fr); }
	.panel__art { order: -1; border-left: 0; border-bottom: 1px solid var(--line); aspect-ratio: 16 / 9; }
	.panel__art svg { width: 56%; }
	.panel ul { margin-top: 12px !important; }
	.afs-team__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.afs-stats dl { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.afs-stats .stat:nth-child(2) { border-right: 0; }
	.afs-stats .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.afs-stats .stat:nth-child(3) { padding-left: 0; }
	.svc-sec { grid-template-columns: minmax(0, 1fr); }
	.afs-howband .afs-timeline__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.afs-scrolly { grid-template-columns: minmax(0, 1fr); }
	.afs-scrolly > .scene { position: static; max-width: 640px; }
	.afs-scrolly__steps > .svc-sec { grid-template-columns: minmax(0, 1fr); }
	.is-style-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.afs-factors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.svc-sec__label { position: static; }
	.svc-sec__rule { width: 48px; min-height: 0; height: 1px; order: 0; align-self: center; }
	.svc-sec__rule i { transform-origin: left; transform: scaleX(var(--p, 0)); }
	.svc-sec__body .is-style-rules { columns: 1; }
	.rl__list { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.rl__lines { display: none; }
	.rl__list::before { display: none; }
	.ind__inner { grid-template-columns: minmax(0, 1fr); }
	.ind__text { padding-left: 0; }
	.ind__btn { grid-template-columns: 44px 1fr 44px; }
	.afs-hero__photo { width: 58vw; right: -6vw; height: 62vh; top: calc(var(--hdr-h) + 2vh); opacity: .75; }
	.afs-step { grid-template-columns: 24px minmax(0, 1fr); }
	.afs-step__marker { grid-column: 2; padding-top: 4px; }
	.afs-step__body { grid-column: 2; }
}
@media (max-width: 781px) {
	.is-style-head { margin-bottom: 32px !important; }
	.afs-pillars .is-style-card { min-height: 0; }
}
@media (max-width: 680px) {
	.afs-howband .afs-timeline__list { grid-template-columns: minmax(0, 1fr); }
	/* phones: the scene is shown larger and the view pans with the steps (business, contact, team, report) */
	.afs-howband { padding: 20px 18px 26px; }
	.afs-howband .scene[data-ready] .scene__stage { overflow: hidden; margin-inline: -18px; }
	.afs-howband .scene[data-ready] svg { width: 170%; transition: transform 1.2s var(--ease-io); }
	.afs-howband .scene[data-cur="3"] svg { transform: translateX(-17%); }
	.afs-howband .scene[data-cur="4"] svg { transform: translateX(-41%); }
	body { font-size: 16px; }
	.is-style-tiles { grid-template-columns: minmax(0, 1fr); }
	.is-style-tiles li, .is-style-tiles li:first-child, .is-style-tiles:has(> li:nth-child(4):last-child) > li:last-child { grid-column: auto; min-height: 150px; gap: 32px; }
	.is-style-tiles li:first-child { padding-right: 96px; }
	.afs-factors { grid-template-columns: minmax(0, 1fr); }
	.factor { min-height: 0; }
	.factor__t { margin-top: 24px !important; }
	/* versus: each row becomes a label over two cards */
	.is-style-versus table, .is-style-versus thead, .is-style-versus tbody { display: block; width: 100%; margin: 0; }
	.is-style-versus tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 8px; }
	.is-style-versus tr > :first-child { width: auto; }
	.is-style-versus thead th:first-child { display: none; }
	.is-style-versus thead th { padding: 16px 14px; font-size: 11px; letter-spacing: .1em; border-radius: 16px !important; }
	.is-style-versus thead th:nth-child(2)::after { left: 14px; }
	.is-style-versus thead th:nth-child(3)::before { left: -4px; width: 38px; height: 38px; margin: -19px 0 0 -19px; }
	.is-style-versus thead th:nth-child(3) { padding-left: 26px; }
	.is-style-versus tbody td:first-child { grid-column: 1 / -1; padding: 22px 0 10px; border-top: 0; }
	.is-style-versus tbody td:nth-child(2), .is-style-versus tbody td:nth-child(3) { padding: 14px 14px 14px 46px; font-size: 14px; border-radius: 14px !important; border-top: 0; }
	.is-style-versus tbody td:nth-child(2)::before, .is-style-versus tbody td:nth-child(3)::before { left: 14px; top: 16px; margin-top: 0; width: 22px; height: 22px; }
	.is-style-versus tbody td:nth-child(3)::after { left: 21px; top: 26.25px; margin-top: 0; }
	.motion .r.is-style-versus tbody td:nth-child(2), .motion .r.is-style-versus tbody td:nth-child(3) { transform: translateY(16px); } /* no sideways slide: it would stick out past the screen edge */
	.afs-hero__photo img { filter: grayscale(1) brightness(.5); }
	.afs-hero .wp-block-buttons { width: 100%; }
	.afs-hero .wp-block-button { flex: 1 1 100%; }
	.afs-hero .wp-block-button__link { width: 100%; justify-content: space-between; }
	.afs-stats dd { font-size: 2rem; }
	.afs-stats--grid dd { font-size: 3rem; }
	.afs-team--strip .afs-team__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.afs-team--strip .member-cell:nth-child(even), .motion .afs-team--strip.r.is-in .member-cell:nth-child(even) { transform: none; }
	.afs-team--experts .member-cell, .afs-team--experts.afs-team--n4 .member-cell { flex-basis: calc((100% - 14px) / 2); }
	.afs-team--experts.afs-team--n4 .afs-team__list { max-width: none; }
	.member__info { padding: 14px; }
	.member__yrs { top: 10px; right: 10px; font-size: 10px; }
	.member__reveal { display: none; }
	.member:hover .member__info { transform: none; opacity: 1; }
	.board tbody tr > * { font-size: 10.5px; padding-right: .6em; }
	.flap { gap: 1px; }
	.flap--name { flex-wrap: wrap; row-gap: 3px; } /* long names (e.g. "JAV (Delaveras ir kitos valstijos)") wrap between words */
	.flap i { width: 1.02em; border-radius: 2px; }
	.board__region { display: none; }
	.ftr__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.afs-hero__photo { width: 78vw; right: -18vw; opacity: .5; }
	.is-style-compare table { min-width: 0; }
	.is-style-compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.is-style-compare tr { display: block; padding: 14px 18px; border-bottom: 1px solid var(--line); }
	.is-style-compare tbody tr:last-child { border-bottom: 0; }
	.is-style-compare th, .is-style-compare td { display: block; padding: 4px 0; border: 0; }
	.is-style-compare tbody th { font-size: 1.05rem; padding-bottom: 6px; }
	/* Phones: each column name sits on its own small line above its value, and the row title reads as the title (client 18 Nov 2026, "mob. versijoj negerai su šriftais"). */
	.is-style-compare tbody tr > :first-child { font-size: 1.05rem; font-weight: 600; color: var(--text); padding-bottom: 8px; }
	.is-style-compare tbody tr > :first-child::before { display: none; }
	.is-style-compare td { font-size: 15px; padding: 6px 0; }
	.is-style-compare td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; font-weight: 700; font-size: 11px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
	.art-ring { opacity: 1; transform: scale(1); }
	.art-draw, .art-sweep { stroke-dashoffset: 0; }
	.art-bar { transform: none; }
	@view-transition { navigation: none; }
}

/* ---------- capture mode (?capture): static full-page render used for QA screenshots ---------- */
.capture .hdr { position: absolute; }
.capture #cmplz-cookiebanner-container, .capture #cmplz-manage-consent { display: none !important; }
.capture .ftr { position: relative !important; }
.capture .afs-hero__photo { clip-path: polygon(42% 0, 100% 0, 58% 100%, 0 100%) !important; }
@media (min-width: 961px) {
	.capture .hs { height: auto !important; }
	.capture .hs__sticky { position: relative; height: auto; overflow: visible; display: block; padding-block: var(--wp--preset--spacing--70); }
	.capture .hs__progress { display: none; }
	.capture .hs__track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: auto; transform: none !important; }
	.capture .panel, .capture .panel--end { width: auto; }
	.capture .svc-sec__label { position: static; }
}

/* ---------- article key points (answer-first summary box) ---------- */
.afs-keypoints { border: 1px solid var(--line); border-left: 2px solid var(--red); border-radius: 16px; padding: clamp(18px, 2.4vw, 28px) clamp(20px, 2.8vw, 32px); background: var(--ink-2); margin-block: 28px 36px !important; }
.afs-keypoints ul { margin: 10px 0 0; padding-left: 1.1em; display: grid; gap: 8px; }
.afs-keypoints li::marker { color: var(--red); }

/* ---------- Complianz cookie banner: compact dark card, bottom left (does not cover the hero) ---------- */
#cmplz-cookiebanner-container .cmplz-cookiebanner {
	top: auto !important; right: auto !important; left: 16px !important; bottom: 16px !important; transform: none !important;
	width: min(440px, calc(100vw - 32px)) !important; max-height: calc(100vh - 32px); overflow: auto;
	background: var(--ink) !important; color: var(--text-2) !important; border: 1px solid var(--line-2) !important; border-radius: 20px !important;
	box-shadow: none !important; padding: 22px 22px 18px !important; gap: 12px !important;
	font-family: var(--f-sans) !important; grid-template-columns: 1fr !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-header { grid-column: 1 !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-title { color: var(--text) !important; font-size: 11px !important; font-weight: 700 !important; letter-spacing: .14em; text-transform: uppercase; justify-self: start !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-close { color: var(--muted) !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message, #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message p { color: var(--text-2) !important; font-size: 13.5px !important; line-height: 1.55 !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons { display: flex !important; flex-wrap: wrap; gap: 8px !important; grid-column: 1 !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn {
	flex: 1 1 auto; width: auto !important; min-width: 0; height: 44px !important; padding: 0 16px !important; margin: 0 !important; border-radius: 999px !important;
	font-family: var(--f-sans) !important; font-size: 14px !important; font-weight: 400 !important;
	background: transparent !important; color: var(--text) !important; border: 1px solid var(--line-2) !important; transition: background .3s, border-color .3s;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn:hover { background: rgba(255, 255, 255, .06) !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-accept { background: var(--red) !important; border-color: var(--red) !important; color: #fff !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-accept:hover { background: var(--text) !important; border-color: var(--text) !important; color: var(--ink) !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-links a, #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-link { color: var(--text-2) !important; font-size: 12px !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category { background: rgba(255, 255, 255, .04) !important; border-radius: 12px !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category-title, #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-always-active { color: var(--text) !important; font-size: 13px !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-description { color: var(--text-2) !important; font-size: 12.5px !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-divider { display: none !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-documents:empty, #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-links:empty { display: none !important; }
.cmplz-soft-cookiewall { display: none !important; }
#cmplz-manage-consent .cmplz-manage-consent { background: var(--ink) !important; color: var(--text-2) !important; border: 1px solid var(--line-2) !important; font-family: var(--f-sans) !important; box-shadow: none !important; font-size: 11px !important; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 600px) { #cmplz-cookiebanner-container .cmplz-cookiebanner { left: 8px !important; bottom: 8px !important; width: calc(100vw - 16px) !important; } }
#cmplz-cookiebanner-container .cmplz-documents ul { display: flex !important; flex-wrap: wrap; gap: 4px 16px; margin: 0 !important; padding: 0 !important; list-style: none !important; }
#cmplz-cookiebanner-container .cmplz-documents li { margin: 0 !important; }
#cmplz-cookiebanner-container .cmplz-documents li:has(a[href="#"]), #cmplz-cookiebanner-container .cmplz-documents a[href="#"] { display: none !important; }
#cmplz-cookiebanner-container .cmplz-documents a { text-decoration: underline !important; text-underline-offset: 3px; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category .cmplz-category-header, #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category summary { background: transparent !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category-title { color: var(--text) !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-always-active { color: var(--text) !important; font-weight: 700 !important; }
h2.afs-h3 { font-size: var(--wp--preset--font-size--x-large); letter-spacing: -.03em; line-height: 1.08; }

/* Form errors never move the layout: they sit in reserved space under the field, so a click right after typing
   (which blurs the field and removes its error) still lands where the user aimed. */
.afs-form .ff-el-group { position: relative; margin-bottom: 26px !important; }
.afs-form .ff-el-group .error, .afs-form .ff-el-group .text-danger { position: absolute; left: 0; top: 100%; margin: 3px 0 0 !important; font-size: 12.5px !important; line-height: 1.3; white-space: nowrap; }
.afs-form .afs-qf--consent .error, .afs-form .afs-qf--checkbox .error { white-space: normal; }
/* Complianz "manage consent" panel inside the cookie policy page */
.cmplz-document .cmplz-category { background: var(--ink-2) !important; border: 1px solid var(--line) !important; border-radius: 12px !important; }
.cmplz-document .cmplz-category .cmplz-category-header { background: transparent !important; }
.cmplz-document .cmplz-category-title { color: var(--text) !important; }
.cmplz-document .cmplz-always-active { color: var(--text) !important; font-weight: 700 !important; }
.cmplz-document .cmplz-description { color: var(--text-2) !important; }
/* Complianz cookie list on the cookie policy page: its own greys (#efefef, #dadada, #f7f7f7) become brand light grey and lines. */
.cmplz-document .cmplz-dropdown, .cmplz-document .cmplz-dropdown summary, .cmplz-document .cmplz-service-header, .cmplz-document .name-header { background: var(--ink-2) !important; }
.cmplz-document .cookies-per-purpose { background: var(--line) !important; border-color: var(--line) !important; }
.cmplz-document .cookies-per-purpose > div { background: var(--ink) !important; }

/* ---------- LinkedIn posts (afs/linkedin-posts): our own cards, nothing loads from LinkedIn (client 19 Nov 2026) ---------- */
.afs-li__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1080px; margin-top: clamp(24px, 3vw, 40px) !important; }
@media (max-width: 960px) { .afs-li__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .afs-li__grid { grid-template-columns: minmax(0, 1fr); max-width: 420px; } }
.afs-li__card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: var(--ink-2); overflow: hidden; color: var(--text); text-decoration: none; transition: border-color .3s var(--ease); }
.afs-li__card:hover, .afs-li__card:focus-visible { border-color: var(--red); }
.afs-li__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.afs-li__body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 20px; }
.afs-li__head { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.afs-li__logo { flex: none; width: 22px; height: 22px; color: var(--text); }
.afs-li__text { font-size: 15px; line-height: 1.55; color: var(--text-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; }
.afs-li__card.has-img .afs-li__text { -webkit-line-clamp: 4; }
.afs-li__more { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-size: 14px; border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: border-color .4s var(--ease), gap .4s var(--ease); }
.afs-li__card:hover .afs-li__more { border-color: var(--red); gap: 16px; }
.afs-li__more svg { width: 14px; height: 14px; }

/* No justified text (client 19 Nov 2026: justify needed hyphenation, so all text is left-aligned again, as before). */

