/* inCode theme — main styles */
:root {
	--accent: #F4624E;
	--accent-ink: #C8402C;
	--teal: #018B98;
	--orange: #FFAB48;
	--orange-card: #FFA925;
	--blue: #2759BA;
	--navy: #000420;
	--ink: #212121;
	--ink-2: #373737;
	--muted: #5F5F5F;
	--soft: #F5F5F4;
	--line: #E3E3E3;
	--line-2: #D6D6D6;
	--mark: #FFDDD5;
	--tint: #FFF1EE;
	--radius: 16px;
	--gutter: clamp(20px, 4vw, 48px);
	--font-head: 'Figtree', 'Nunito Sans', sans-serif;
	--font-body: 'Nunito Sans', Avenir, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .78; }
input, select, textarea, button { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 800; }
p { margin: 0; }
mark { background: var(--mark); color: var(--ink); font-weight: 700; padding: 2px 8px; border-radius: 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.accent { color: var(--accent); }
.muted { color: var(--ink-2); }
.center { margin-top: 56px; display: flex; justify-content: center; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; left: 8px; top: 8px; z-index: 100; background: #fff; padding: 8px 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { max-width: var(--container, 1280px); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-bottom: 110px; }
.section-title { margin-bottom: 36px; }
.section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 36px; }

/* Type */
.h-hero { font-size: clamp(40px, 6.4vw, 84px); line-height: 1.12; letter-spacing: -.01em; max-width: 1000px; }
.h-hero--md { font-size: clamp(36px, 5vw, 64px); }
.h-page { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.15; letter-spacing: -.01em; max-width: 840px; }
.h-statement { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.3; max-width: 900px; margin-bottom: 72px; }
.h-xl { font-size: clamp(32px, 4vw, 48px); line-height: 1.2; }
.h-lg { font-size: 36px; line-height: 1.2; }
.h-md { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; }
.h-sm { font-size: 22px; line-height: 1.3; }
.eyebrow { font-family: var(--font-head); font-weight: 900; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow--muted { color: var(--muted); }

/* Buttons & chips */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 900; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; border-radius: 999px; padding: 18px 40px; border: 1px solid transparent; cursor: pointer; background: none; color: inherit; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--outline { border-color: var(--line-2); }
.btn--sm { padding: 14px 28px; font-size: 13px; color: var(--accent); border-color: var(--line); }
.btn--wide { padding: 16px 48px; font-size: 13px; }
.btn-row { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; background: var(--soft); color: var(--ink); border: 1px solid #E6E6E4; border-radius: 999px; padding: 10px 20px; min-height: 44px; font-size: 14px; font-weight: 600; cursor: pointer; }
.chip.is-active, .chip:has(input:checked) { background: var(--teal); border-color: var(--teal); color: #fff; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { border: 1px solid currentColor; border-radius: 999px; padding: 6px 16px; font-size: 13px; font-weight: 600; }
.tag { align-self: flex-start; border: 1px solid var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 5px 16px; font-size: 13px; font-weight: 600; }

/* Header */
.site-header { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 22px; }
.site-nav { font-family: var(--font-head); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 36px; font-size: 15px; font-weight: 600; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 36px; }
.site-nav__list .current-menu-item > a, .site-nav__list .current_page_item > a { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle i { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .2s; }

@media (max-width: 860px) {
	.nav-toggle { display: flex; }
	.site-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 20px; padding: 16px 0 8px; font-size: 20px; }
	.site-nav__list { flex-direction: column; gap: 18px; }
	.site-nav.is-open { display: flex; }
	.nav-toggle[aria-expanded="true"] i:nth-child(2) { transform: translateY(7px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] i:nth-child(3) { opacity: 0; }
	.nav-toggle[aria-expanded="true"] i:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
}

/* Typing effect */
.typer { white-space: nowrap; }
.typer__box { display: inline-grid; vertical-align: bottom; }
.typer__sizer, .typer__line { grid-area: 1 / 1; }
.typer__sizer { visibility: hidden; }
.typer__line { justify-self: start; }
.typer__caret { animation: typer-blink 1s steps(1) infinite; }
@keyframes typer-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .typer__caret { animation: none; } }

/* Hero */
.hero { padding-top: 88px; padding-bottom: 120px; }
.hero--short { padding-bottom: 80px; }
.hero__lead { margin-top: 40px; max-width: 640px; font-size: 22px; line-height: 1.6; }

/* Clients */
.clients { padding-bottom: 112px; }
.clients .eyebrow { border-top: 1px solid #ECECEC; padding-top: 40px; margin-bottom: 28px; }
/* Logo slider: two identical tracks scroll left; at -100% the second takes the first one's place. */
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex: none; animation: marquee 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { flex: none; padding: 0 40px; }
.marquee__item img { height: 44px; width: auto; filter: grayscale(1); opacity: .55; transition: filter .3s, opacity .3s; }
.marquee__item:hover img { filter: none; opacity: 1; }
.marquee__name { font-family: var(--font-head); font-weight: 900; font-size: 24px; color: #8A8A87; white-space: nowrap; transition: color .3s; }
.marquee__item:hover .marquee__name { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
	.marquee { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; }
	.marquee__track { animation: none; flex-wrap: wrap; gap: 20px 0; }
	.marquee__track[aria-hidden] { display: none; }
}

/* Project cards */
.pgrid { display: flex; flex-wrap: wrap; gap: 20px; }
.pcard { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; border-radius: var(--radius); padding: 32px; min-height: 420px; min-width: 0; --bg: var(--soft); --fg: var(--ink); --mock: #fff; --bar: #E8E8E6; --block: #F1F1EF; --acc: var(--accent); background: var(--bg); color: var(--fg); }
.pcard--span4 { flex: 4 1 320px; }
.pcard--span8 { flex: 8 1 560px; }
.pcard--span12 { flex: 12 1 100%; }
.pcard--navy { --bg: var(--navy); --fg: #fff; --mock: #0C1140; --bar: #2A3070; --block: #1A2058; }
.pcard--blue, .pcard--teal { --fg: #fff; --mock: rgba(255,255,255,.16); --bar: rgba(255,255,255,.38); --block: rgba(255,255,255,.24); --acc: #fff; }
.pcard--blue { --bg: var(--blue); }
.pcard--teal { --bg: var(--teal); }
.pcard--coral, .pcard--orange { --mock: rgba(255,255,255,.5); --bar: rgba(255,255,255,.8); --block: rgba(255,255,255,.6); --acc: var(--ink); }
.pcard--coral { --bg: var(--accent); }
.pcard--orange { --bg: var(--orange-card); }
.pcard__title { font-size: 24px; line-height: 1.3; margin-bottom: 18px; }
.pcard__media img { width: 100%; height: 220px; object-fit: cover; object-position: var(--focus, center); border-radius: 12px; }
.pcard--span4 .pcard__media img { --focus: right center; }
.pcard.is-hidden, .bcard.is-hidden { display: none; }

/* Placeholder mock screen */
.mock { height: 190px; border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--mock, #fff); }
.mock i { display: block; border-radius: 5px; }
.mock__acc { height: 10px; width: 32%; background: var(--acc, var(--accent)); }
.mock__bar { height: 10px; width: 70%; background: var(--bar, #E8E8E6); }
.mock__row { display: flex; gap: 10px; margin-top: 8px; flex: 1; }
.mock__row i { flex: 1; border-radius: 8px; background: var(--block, #F1F1EF); }
.mock--1 { flex-direction: row; gap: 14px; }
.mock__side { width: 28%; display: flex; flex-direction: column; gap: 10px; }
.mock__side i { height: 10px; background: var(--bar, #E8E8E6); }
.mock__side i:nth-child(2) { width: 70%; }
.mock__main { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.mock__main .mock__acc { width: 45%; height: 12px; }
.mock__panel { flex: 1; border-radius: 8px !important; background: var(--block, #F1F1EF); }

/* Generic cards */
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.grid-auto--wide { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 48px 40px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 20px; padding-bottom: 96px; }
.card { background: var(--soft); border-radius: var(--radius); padding: 32px; }
.icon-card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; align-content: start; gap: 24px 18px; }
.card.icon-card { min-height: 300px; }
.icon-card--plain { gap: 20px 18px; }
.icon-card--lg { padding: clamp(28px, 3.2vw, 44px); min-height: 240px !important; gap: 28px 24px; }
.icon-card__text { grid-column: 1 / -1; color: var(--ink-2); }
.icon-card__text--lg { font-size: 18px; line-height: 1.6; }
.circle { width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.circle--lg { width: 64px; height: 64px; }
.circle--accent { background: var(--accent); }
.circle--teal { background: var(--teal); }
.circle--orange { background: var(--orange); }
.circle--blue { background: var(--blue); }
.circle--navy { background: var(--navy); }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 56px; padding-bottom: 120px; }
.contact__info { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.contact__title { max-width: 420px; }
.contact__offices { display: flex; flex-direction: column; gap: 24px; margin-top: 8px; font-size: 15px; }
.office { display: flex; gap: 14px; }
.office svg { flex: none; margin-top: 2px; }
.office address { font-style: normal; }
.office span { color: var(--ink-2); }
.brief { flex: 2 1 560px; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 24px; }
.brief .h-md { font-size: 28px; margin-bottom: 8px; }
.brief .muted { font-size: 15px; }
.brief fieldset { border: 0; margin: 0; padding: 0; }
.brief legend { font-weight: 800; font-size: 15px; padding: 0; margin-bottom: 12px; }
.brief .btn { align-self: flex-start; padding: 18px 44px; min-height: 56px; }
.brief__hp { position: absolute; left: -9999px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea { border: 1px solid var(--line-2); border-radius: 8px; padding: 12px 16px; font-size: 16px; color: var(--ink); background: #fff; }
.field textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; }
.notice { border-radius: 8px; padding: 12px 16px; font-weight: 600; }
.notice--ok { background: #E3F4F5; color: #00636C; }
.notice--err { background: var(--tint); color: var(--accent-ink); }

/* Footer */
.site-footer { background: var(--soft); }
.site-footer__inner { padding-top: 48px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 32px; }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.site-footer__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; font-size: 15px; }
.site-footer__social { font-family: var(--font-head); display: flex; flex-wrap: wrap; gap: 12px 36px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px 40px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.site-footer__bottom p { max-width: 580px; }
.site-footer__legal { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.site-footer__legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* About: testimonials & team */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 20px; }
.testimonial { margin: 0; background: var(--soft); border-radius: var(--radius); padding: clamp(28px, 3.2vw, 44px); display: flex; flex-direction: column; gap: 24px; }
.testimonial--wide { grid-column: 1 / -1; }
.testimonial:nth-child(3n) .quote-mark { color: var(--ink); }
.quote-mark { color: var(--accent); line-height: 0; }
.testimonial blockquote { margin: 0; font-size: 18px; line-height: 1.7; color: var(--ink-2); flex: 1; }
.person { display: flex; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid #E0E0DE; }
.person__text { flex: 1; min-width: 0; line-height: 1.4; }
.person__text strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 18px; }
.person__text span { font-size: 15px; color: var(--muted); }
.avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; object-fit: cover; }
.team { display: flex; flex-wrap: wrap; gap: 48px; }
.team__intro { flex: 1 1 320px; display: flex; flex-direction: column; gap: 20px; align-self: start; position: sticky; top: 24px; }
.team__intro .muted { font-size: 18px; line-height: 1.7; }
.team__grid { flex: 2 1 600px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 40px 24px; }
.member__photo { aspect-ratio: 1; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-head); font-weight: 900; font-size: 40px; overflow: hidden; margin-bottom: 18px; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__role { color: var(--accent-ink); font-weight: 700; margin: 4px 0 8px; }

/* Services */
.services { display: flex; flex-direction: column; gap: 32px; }
.service { border: 1px solid #EEEEEC; border-radius: var(--radius); padding: clamp(24px, 3.6vw, 52px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px 56px; scroll-margin-top: 24px; }
.service__intro { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.service__intro .prose { font-size: 18px; }
.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; margin-bottom: 40px; }
.highlight { display: flex; flex-direction: column; gap: 18px; }
.highlight p { font-weight: 800; font-size: 19px; line-height: 1.45; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding: 0 0 34px 64px; }
.step::before { content: ""; position: absolute; left: 0; top: 2px; width: 32px; height: 32px; border-radius: 50%; background: var(--tint) radial-gradient(circle, var(--accent) 0 4px, #fff 4.5px 7px, var(--accent) 7.5px 9px, transparent 9.5px); }
.step:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 40px; bottom: -4px; border-left: 2px solid var(--accent); }
.step__title { font-size: 20px; line-height: 1.35; margin-bottom: 6px; }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; } }

/* Case study */
.case-hero { padding-top: 88px; padding-bottom: 64px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.case-hero__main { flex: 1 1 560px; display: flex; flex-direction: column; gap: 28px; }
.pills--dark .pill { color: var(--ink); }
.case-links { margin-top: 8px; }
.case-meta { margin: 0; flex: 1 1 260px; max-width: 340px; display: flex; flex-direction: column; gap: 22px; }
.case-meta dt { font-family: var(--font-head); font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.case-meta dd { margin: 0; color: var(--accent-ink); }
.case-cover { padding-bottom: 72px; }
.case-cover img { width: 100%; max-height: 820px; object-fit: contain; background: var(--soft); border-radius: var(--radius); }
.case-cover__caption { margin-top: 12px; font-size: 14px; }
.case-shot { background: var(--soft); border-radius: var(--radius); padding: clamp(24px, 5vw, 72px); }
.case-shot--alt { background: var(--tint); }
.case-shot .mock { height: clamp(220px, 32vw, 460px); box-shadow: 0 20px 50px rgba(0,0,0,.06); }
.case-row { padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 20px 48px; }
.case-row__title { flex: 0 0 240px; font-size: 26px; line-height: 1.3; }
.case-row__body { flex: 1 1 480px; min-width: 0; max-width: 820px; }
.lead { font-size: 22px !important; line-height: 1.5; color: var(--ink) !important; }
.callout { background: var(--tint); border-radius: var(--radius); padding: 20px 24px; color: var(--ink); font-weight: 700; }
.callout--soft { font-weight: 400; margin-top: 40px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.stat { background: var(--soft); border-radius: var(--radius); padding: 28px; }
.stat__value { font-family: var(--font-head); font-weight: 900; font-size: 40px; color: var(--accent); line-height: 1.1; }
.stat__label { color: var(--ink-2); margin-top: 6px; }
.team-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }

/* Prose */
.prose { display: flex; flex-direction: column; gap: 20px; font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose h2 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.25; color: var(--ink); margin-top: 24px; }
.prose h3 { font-size: 20px; line-height: 1.35; color: var(--ink); margin-top: 8px; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .dot-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.prose ul li, .dot-list li { position: relative; padding-left: 26px; }
.prose ul li::before, .dot-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.prose ol { padding: 0; margin: 0; list-style: none; counter-reset: n; display: flex; flex-direction: column; gap: 14px; }
.prose ol li { counter-increment: n; position: relative; padding-left: 52px; min-height: 36px; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--tint); color: var(--accent-ink); font-family: var(--font-head); font-weight: 900; display: flex; align-items: center; justify-content: center; }
.prose blockquote { margin: 0; border-left: 4px solid var(--accent); padding: 8px 0 8px 24px; font-family: var(--font-head); font-weight: 800; font-size: 24px; line-height: 1.4; color: var(--ink); }
.prose figure { margin: 0; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose img { border-radius: var(--radius); }
.prose .wp-block-group.is-style-goal, .prose .goal { background: var(--tint); border-radius: var(--radius); padding: 20px 24px; color: var(--ink); }

/* Blog */
.blist { display: flex; flex-direction: column; gap: 20px; margin-top: 36px; }
.bcard { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 56px; padding: 32px clamp(24px, 3vw, 40px); background: var(--soft); border-radius: var(--radius); }
.bcard__body { flex: 1 1 420px; display: flex; flex-direction: column; gap: 16px; }
.bcard__title { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; }
.bcard time { font-size: 14px; color: var(--muted); }
.bcard__media { flex: 1 1 320px; }
.bcard__media img { width: 100%; height: 240px; object-fit: cover; border-radius: 12px; }
.article-hero { padding-top: 88px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 28px; }
.article-hero__meta { display: flex; align-items: center; gap: 20px; font-size: 14px; color: var(--muted); }
.article-hero .hero__lead { margin-top: 0; }
.article { max-width: 860px; padding-bottom: 72px; }

/* Pager */
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-bottom: 110px; border-top: 1px solid var(--line); padding-top: 40px; }

@media (max-width: 600px) {
	.hero { padding-top: 40px; padding-bottom: 72px; }
	.section, .contact, .pager { padding-bottom: 72px; }
	.h-lg { font-size: 30px; }
	.hero__lead { font-size: 18px; }
	.btn { padding: 16px 28px; }
	.pcard { padding: 24px; min-height: 0; }
	.site-footer__legal { align-items: flex-start; }
	.team__intro { position: static; }
}

/* ---------- Large screens (Full HD+, QHD 2560×1440, 4K) ---------- */
@media (min-width: 1800px) {
	:root { --container: 1600px; --radius: 20px; }
	body { font-size: 18px; }
	.site-header { padding-top: 36px; padding-bottom: 36px; }
	.logo { font-size: 26px; }
	.logo svg, .logo img { width: 36px; height: auto; }
	.site-nav, .site-nav__list { font-size: 17px; column-gap: 44px; }
	.btn { font-size: 15px; padding: 20px 46px; }
	.btn--sm { font-size: 14px; padding: 16px 32px; }
	.chip { font-size: 16px; min-height: 50px; padding: 12px 24px; }
	.pill { font-size: 14px; padding: 7px 18px; }

	.hero { padding-top: 120px; padding-bottom: 150px; }
	.h-hero { font-size: 104px; max-width: 1280px; }
	.h-hero--md { font-size: 80px; }
	.h-page { font-size: 68px; max-width: 1060px; }
	.h-statement { font-size: 54px; max-width: 1160px; }
	.h-xl { font-size: 58px; }
	.h-lg { font-size: 44px; }
	.h-md { font-size: 34px; }
	.h-sm { font-size: 26px; }
	.eyebrow { font-size: 14px; }
	.hero__lead { font-size: 26px; max-width: 800px; }

	.section { padding-bottom: 140px; }
	.clients { padding-bottom: 140px; }
	.marquee__item img { height: 54px; }
	.marquee__item { padding: 0 52px; }

	.pgrid, .grid-auto, .grid-2, .testimonials, .blist { gap: 28px; }
	.pcard { padding: 40px; min-height: 520px; }
	.pcard--span4 { flex-basis: 480px; }
	.pcard--span8 { flex-basis: 880px; }
	.pcard__title { font-size: 30px; }
	.pcard__media img { height: 280px; }
	.mock { height: 240px; }
	.card { padding: 40px; }
	.card.icon-card { min-height: 340px; }
	.circle { width: 64px; height: 64px; }
	.circle--lg { width: 76px; height: 76px; }
	.circle svg { width: 30px; height: 30px; }

	.contact { padding-bottom: 150px; gap: 72px; }
	.contact__title { max-width: 560px; }
	.brief .h-md { font-size: 34px; }
	.field input, .field textarea { font-size: 18px; padding: 15px 18px; }
	.field label, .brief legend { font-size: 16px; }

	.case-row { padding-bottom: 90px; }
	.case-row__title { flex-basis: 300px; font-size: 32px; }
	.case-row__body { max-width: 1000px; }
	.case-cover { padding-bottom: 90px; }
	.case-cover img { max-height: 1000px; }
	.prose { font-size: 20px; }
	.lead { font-size: 26px !important; }
	.stat__value { font-size: 50px; }
	.article { max-width: 1040px; }
	.bcard__title { font-size: 36px; }
	.bcard__media img { height: 300px; }
	.step__title { font-size: 23px; }
	.highlight p { font-size: 21px; }
	.site-footer__inner { padding-top: 64px; padding-bottom: 52px; }
	.site-footer__social { font-size: 14px; }
	.site-footer__bottom { font-size: 15px; }
}

@media (min-width: 2400px) {
	:root { --container: 1920px; --gutter: 64px; }
	body { font-size: 20px; }
	.h-hero { font-size: 128px; max-width: 1560px; }
	.h-hero--md { font-size: 96px; }
	.h-page { font-size: 80px; max-width: 1280px; }
	.h-statement { font-size: 64px; max-width: 1400px; }
	.h-xl { font-size: 68px; }
	.h-lg { font-size: 52px; }
	.hero__lead { font-size: 30px; max-width: 960px; }
	.pcard { min-height: 600px; }
	.pcard__title { font-size: 34px; }
	.pcard__media img { height: 340px; }
	.mock { height: 290px; }
	.prose { font-size: 22px; }
	.case-row__body { max-width: 1180px; }
	.case-cover img { max-height: 1200px; }
}

/* ---------- Motion ---------- */
:root { --ease: cubic-bezier(.22, .61, .36, 1); }
html { scroll-padding-top: 96px; }

/* Sticky header: gets a frosted background after scrolling, hides on scroll down, returns on scroll up. */
.header-bar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0); transition: background-color .35s var(--ease), box-shadow .35s var(--ease), transform .45s var(--ease); }
.header-bar .site-header { transition: padding .35s var(--ease); }
/* The header gets shorter when stuck; equal margin keeps page height unchanged, so the scroll position never jumps (that jump caused the jitter). */
.header-bar { transition: background-color .35s var(--ease), box-shadow .35s var(--ease), margin .35s var(--ease); }
.header-bar.is-stuck { margin-bottom: 28px; }
@media (min-width: 1800px) { .header-bar.is-stuck { margin-bottom: 44px; } }
.header-bar.is-stuck { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 8px 24px rgba(0, 0, 0, .04); }
.header-bar.is-stuck .site-header { padding-top: 14px; padding-bottom: 14px; }

/* Page load: hero rises in. */
.js .hero > *, .js .case-hero > *, .js .article-hero > * { animation: rise .8s var(--ease) both; }
.js .hero > :nth-child(2), .js .case-hero > :nth-child(2), .js .article-hero > :nth-child(2) { animation-delay: .12s; }
.js .hero > :nth-child(3), .js .article-hero > :nth-child(3) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* Scroll reveal (classes added by main.js). */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal--zoom { transform: translateY(24px) scale(.97); }

/* Hover micro-interactions */
.btn { transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, opacity .25s; }
.btn:hover { opacity: 1; transform: translateY(-2px); }
.btn--accent:hover { box-shadow: 0 10px 24px rgba(244, 98, 78, .32); }
.btn--outline:hover { border-color: var(--accent); }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.chip { transition: background-color .25s, border-color .25s, color .25s, transform .2s var(--ease); }
.chip:hover { transform: translateY(-1px); border-color: var(--line-2); }

.pcard, .bcard { transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .8s var(--ease); }
.pcard:hover, .bcard:hover { opacity: 1; transform: translateY(-6px); box-shadow: 0 22px 48px rgba(0, 0, 0, .10); }
.pcard__media, .bcard__media { overflow: hidden; border-radius: 12px; }
.pcard__media img, .bcard__media img, .pcard .mock { transition: transform .7s var(--ease); }
.pcard:hover .pcard__media img, .bcard:hover .bcard__media img, .pcard:hover .mock { transform: scale(1.04); }
.card.icon-card, .testimonial, .stat { transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.card.icon-card:hover, .testimonial:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0, 0, 0, .06); }
.circle { transition: transform .45s var(--ease); }
.icon-card:hover .circle, .highlight:hover .circle { transform: rotate(-8deg) scale(1.08); }
.member__photo { transition: transform .5s var(--ease); }
.member:hover .member__photo { transform: translateY(-4px) scale(1.02); }
.site-nav__list a { position: relative; }
.site-nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav__list a:hover { opacity: 1; }
.site-nav__list a:hover::after, .site-nav__list .current-menu-item > a::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* Text pages (articles, privacy policy, generic pages): one centred reading column. */
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.container--narrow .article { max-width: none; }
.container--narrow.article { max-width: calc(860px + var(--gutter) * 2); }
.container--narrow .h-hero, .container--narrow .h-page { max-width: none; }
@media (min-width: 1800px) { .container--narrow, .container--narrow.article { max-width: calc(1040px + var(--gutter) * 2); } }
@media (min-width: 2400px) { .container--narrow, .container--narrow.article { max-width: calc(1180px + var(--gutter) * 2); } }

/* ---------- Forminator brief form (form style "None") styled like the design ---------- */
.brief--forminator .forminator-ui.forminator-custom-form { margin: 0 !important; }
.brief--forminator .forminator-row { margin: 0 0 28px !important; }
.brief--forminator .forminator-col { padding: 0 !important; }
.brief--forminator .forminator-row-last { margin-bottom: 0 !important; }
.brief--forminator .forminator-label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.brief--forminator .forminator-field-checkbox .forminator-label,
.brief--forminator .forminator-field-radio .forminator-label { font-size: 15px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.brief--forminator .forminator-required { color: var(--accent); }
.brief--forminator .forminator-field-checkbox .forminator-field,
.brief--forminator .forminator-field-radio .forminator-field { display: flex; flex-wrap: wrap; gap: 10px; }
.brief--forminator .forminator-field-checkbox .forminator-label,
.brief--forminator .forminator-field-radio .forminator-label { flex-basis: 100%; }

/* chips */
.brief--forminator .forminator-checkbox, .brief--forminator .forminator-radio { position: relative; display: inline-flex; align-items: center; margin: 0 !important; cursor: pointer; }
.brief--forminator .forminator-checkbox input, .brief--forminator .forminator-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.brief--forminator .forminator-checkbox-box, .brief--forminator .forminator-radio-bullet { display: none !important; }
.brief--forminator .forminator-checkbox-label, .brief--forminator .forminator-radio-label { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; border-radius: 999px; background: var(--soft); border: 1px solid #E6E6E4; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.2; transition: background-color .25s, border-color .25s, color .25s, transform .2s var(--ease); }
.brief--forminator .forminator-checkbox:hover .forminator-checkbox-label, .brief--forminator .forminator-radio:hover .forminator-radio-label { transform: translateY(-1px); border-color: var(--line-2); }
.brief--forminator input:checked + span + .forminator-checkbox-label,
.brief--forminator input:checked + span + .forminator-radio-label { background: var(--teal); border-color: var(--teal); color: #fff; }
.brief--forminator input:focus-visible + span + span { outline: 2px solid var(--accent); outline-offset: 3px; }

/* inputs */
.brief--forminator .forminator-input, .brief--forminator .forminator-textarea, .brief--forminator input[type="tel"] { width: 100%; box-sizing: border-box; border: 1px solid var(--line-2); border-radius: 8px; padding: 12px 16px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; transition: border-color .2s; }
.brief--forminator .forminator-textarea { min-height: 120px; resize: vertical; }
.brief--forminator .forminator-input:hover, .brief--forminator .forminator-textarea:hover,
.brief--forminator .forminator-input:focus, .brief--forminator .forminator-textarea:focus { outline: none; border-color: var(--accent); }
.brief--forminator .forminator-input:focus, .brief--forminator .forminator-textarea:focus { box-shadow: 0 0 0 3px rgba(244, 98, 78, .15); }
.brief--forminator .iti { width: 100%; }
.brief--forminator .forminator-row:has(#email-1) { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; }
.brief--forminator .forminator-row:has(#email-1) > .forminator-col { width: auto !important; max-width: none !important; padding: 0 !important; }

/* errors & messages */
.brief--forminator .forminator-has_error .forminator-input, .brief--forminator .forminator-has_error .forminator-textarea { border-color: var(--accent); }
.brief--forminator .forminator-error-message { display: block; margin-top: 6px; font-size: 13px; color: var(--accent-ink); }
.brief--forminator .forminator-response-message { border-radius: 8px; padding: 12px 16px; margin-bottom: 20px; font-weight: 600; }
.brief--forminator .forminator-response-message[aria-hidden="true"] { display: none; }
.brief--forminator .forminator-response-message.forminator-success { background: #E3F4F5; color: #00636C; }
.brief--forminator .forminator-response-message.forminator-error { background: var(--tint); color: var(--accent-ink); }
.brief--forminator .forminator-response-message p { margin: 0; }

/* captcha + submit */
.brief--forminator .forminator-turnstile { min-height: 65px; }
.brief--forminator .forminator-button-submit { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 18px 44px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 900; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.brief--forminator .forminator-button-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(244, 98, 78, .32); }
.brief--forminator .forminator-button-submit:disabled { opacity: .6; cursor: progress; }
@media (min-width: 1800px) {
	.brief--forminator .forminator-checkbox-label, .brief--forminator .forminator-radio-label { font-size: 16px; min-height: 50px; padding: 12px 24px; }
	.brief--forminator .forminator-input, .brief--forminator .forminator-textarea { font-size: 18px; padding: 15px 18px; }
	.brief--forminator .forminator-label { font-size: 16px; }
	.brief--forminator .forminator-button-submit { font-size: 15px; padding: 20px 48px; }
}

/* Validation without layout jumps: inline errors sit in the row gap, the field-error summary is for screen readers only. */
.brief--forminator .forminator-field { position: relative; }
.brief--forminator .forminator-error-message { position: absolute; left: 0; top: 100%; margin-top: 4px; line-height: 1.3; white-space: nowrap; }
.brief--forminator .forminator-field-checkbox .forminator-error-message,
.brief--forminator .forminator-field-radio .forminator-error-message { flex-basis: 100%; }
.brief--forminator .forminator-response-message.forminator-error.forminator-accessible:has(ul) { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* Font Awesome icons keep their own aspect ratio inside the square box. */
.icon { display: inline-block; flex: none; object-fit: contain; }
.btn .icon { width: 1em; height: 1em; }


/* Built-in brief form fields: accent border on hover / focus. */
.field input, .field textarea { transition: border-color .2s, box-shadow .2s; }
.field input:hover, .field textarea:hover, .field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field input:focus, .field textarea:focus { box-shadow: 0 0 0 3px rgba(244, 98, 78, .15); }

/* ---------- Page loader ----------
   First visit: dark screen, logo draws itself, ">inCode_" is typed, progress bar fills,
   then a dark panel and an accent panel sweep up one after another revealing the page.
   Later pages that day: no loader at all. Without JS nothing is shown. */
.loader { display: none; }
.js .loader { display: block; position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
.js.is-loading .loader { pointer-events: auto; }
.js.is-loading body { overflow: hidden; }
.loader__panel { position: absolute; inset: 0; will-change: transform; }
.loader__panel--accent { background: var(--accent); }
.loader__panel--dark { background: var(--navy); display: flex; align-items: center; justify-content: center; }
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 28px; color: #fff; }
.loader__mark { transform: scale(.6) rotate(-8deg); opacity: 0; animation: loader-pop 1s var(--ease) .2s forwards; border-radius: 6px; box-shadow: 0 18px 50px rgba(244, 98, 78, .35); }
.loader__chevron, .loader__underscore { stroke-dasharray: 40; stroke-dashoffset: 40; }
.loader__chevron { animation: loader-draw .6s var(--ease) .6s forwards; }
.loader__underscore { animation: loader-draw .5s var(--ease) 1.1s forwards; }
.loader__line { font-family: var(--font-head); font-weight: 900; font-size: clamp(36px, 6vw, 72px); letter-spacing: -.01em; line-height: 1; min-height: 1em; }
.loader__prompt, .loader__caret { color: var(--accent); }
.loader__caret { animation: typer-blink .8s steps(1) infinite; }
.loader__bar { width: min(260px, 60vw); height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(var(--progress, 0)); transform-origin: left; transition: transform .6s var(--ease); }
@keyframes loader-pop { to { transform: none; opacity: 1; } }
@keyframes loader-draw { to { stroke-dashoffset: 0; } }

/* exit: dark goes first, accent follows */
.loader.is-done .loader__panel { transform: translateY(-100%); transition: transform 1.3s cubic-bezier(.76, 0, .24, 1); }
.loader.is-done .loader__panel--dark { transition-delay: 0s; }
.loader.is-done .loader__panel--accent { transition-delay: .25s; }
.loader.is-done .loader__inner { opacity: 0; transform: translateY(-40px); transition: opacity .4s, transform .6s var(--ease); }
.loader.is-gone { display: none !important; }

/* after the daily intro the loader is skipped entirely */
.js.loader-quick .loader { display: none; }

/* hold the hero entrance until the loader leaves */
.js.is-loading .hero > *, .js.is-loading .case-hero > *, .js.is-loading .article-hero > * { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
	.js .loader { display: none; }
}
