/* ==========================================================================
   KasiryeLabs — main stylesheet
   Light base. Flat brand colours only: orange, white, black. No gradients.

   Surfaces are driven by tokens. Add one class to switch a block:
   .is-dark (black) · .is-orange (orange) · .is-soft (warm off-white).
   ========================================================================== */

:root {
	--orange: #f7941e;
	--orange-dk: #a85600;   /* orange for small text on white/soft (5.3:1, WCAG AA) */
	--black: #111111;
	--white: #ffffff;

	/* Surface tokens (light by default). */
	--bg: #ffffff;
	--soft: #f6f3ee;
	--card: #ffffff;
	--text: #111111;
	--head: #111111;
	--muted: #5c5c5c;
	--line: #e6e1d9;
	--accent-text: var(--orange-dk);
	/* Highlighted heading words: orange text (white on orange sections). */
	--em-fg: var(--orange);

	--ok: #1f9d55;
	--bad: #d1345b;
	--font: "Google Sans Flex", "Google Sans", "Helvetica Neue", Arial, sans-serif;
	--font-menu: "Google Sans Flex", "Google Sans", "Helvetica Neue", Arial, sans-serif;

	--wrap: 1280px;
	--gutter: clamp(16px, 3.5vw, 40px);
	--r: 20px;
	--r-sm: 12px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 80px;
}

.is-dark, .section--dark, .site-footer, .audit {
	--bg: #111111; --soft: #1c1c1c; --card: #1c1c1c; --text: #ececec; --head: #ffffff;
	--muted: #a8a8a8; --line: #2f2f2f; --accent-text: var(--orange);
}
/* Dark surfaces: orange text passes (8:1), so highlighted words stay plain orange. */
.is-dark, .section--dark, .site-footer, .audit, .page-hero, .visit__panel, .svc-hero__panel, .mega__feature--dark, .footer-start, .stack__card:nth-child(3n+1) {
	--em-fg: var(--orange);
}
.is-orange, .section--orange {
	--bg: var(--orange); --soft: #ffab4a; --card: #ffffff; --text: #111111; --head: #111111;
	--muted: #3b2a14; --line: #111111; --accent-text: #ffffff;
	--em-fg: var(--white);
}
.is-soft, .section--paper { --bg: var(--soft); --card: #ffffff; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Anything marked hidden stays hidden, whatever its component styles say. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: var(--head); }
h1 em, h2 em, h3 em { font-style: normal; color: var(--em-fg); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--orange); color: var(--black); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 999; background: var(--orange); color: var(--black); padding: 10px 16px; border-radius: 8px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 800px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.display { font-size: clamp(36px, 4.8vw, 62px); line-height: 1.02; letter-spacing: -.045em; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
	--b-bg: var(--orange); --b-fg: var(--black); --b-bd: var(--orange);
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	padding: .85em 1.5em; border: 2px solid var(--b-bd); border-radius: 999px;
	background: var(--b-bg); color: var(--b-fg); font-weight: 700; font-size: 15px; line-height: 1.2; white-space: nowrap;
	transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn--primary:hover { --b-bg: var(--black); --b-fg: var(--white); --b-bd: var(--black); }
.btn--dark { --b-bg: var(--black); --b-fg: var(--white); --b-bd: var(--black); }
.btn--dark:hover { --b-bg: var(--orange); --b-fg: var(--black); --b-bd: var(--orange); }
.btn--outline-dark, .btn--ghost-dark, .btn--ghost { --b-bg: transparent; --b-fg: var(--head); --b-bd: var(--head); }
.btn--outline-dark:hover, .btn--ghost-dark:hover, .btn--ghost:hover { --b-bg: var(--head); --b-fg: var(--bg); }
.btn--line { --b-bg: transparent; --b-fg: var(--black); --b-bd: var(--black); padding: .55em 1.25em; font-size: 14px; }
.btn--line:hover { --b-bg: var(--black); --b-fg: var(--orange); }
.btn--sm { padding: .65em 1.15em; font-size: 14px; }
.btn--lg { padding: 1em 1.7em; font-size: 16px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
/* On orange, the primary button turns black so it never disappears. */
.is-orange .btn--primary, .section--orange .btn--primary, .page-hero .btn--primary, .cta-strip .btn--primary, .footer-cta__panel .btn--primary, .est-card .btn--primary, .report-cta .btn--primary { --b-bg: var(--black); --b-fg: var(--white); --b-bd: var(--black); }
.is-orange .btn--primary:hover, .page-hero .btn--primary:hover, .cta-strip .btn--primary:hover, .footer-cta__panel .btn--primary:hover, .est-card .btn--primary:hover { --b-bg: var(--white); --b-fg: var(--black); --b-bd: var(--white); }

.round-btn { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); background: transparent; color: var(--head); transition: background .2s, border-color .2s, color .2s; }
.round-btn:hover { background: var(--orange); border-color: var(--orange); color: var(--black); }
.is-orange .round-btn { border-color: var(--black); }
.is-orange .round-btn:hover { background: var(--black); color: var(--orange); }
.round-btn--prev .icon { transform: rotate(180deg); }
.link-arrow { display: inline-flex; align-items: center; gap: .6em; font-weight: 700; color: var(--head); white-space: nowrap; flex: none; }
.link-arrow .icon { width: 32px; height: 32px; padding: 8px; border-radius: 50%; background: var(--orange); color: var(--black); transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 3px 11px; border-radius: 99px; border: 1.5px solid currentColor; font-size: 12.5px; font-weight: 600; }
.chip { display: inline-block; padding: 5px 13px; border-radius: 99px; font-size: 12.5px; font-weight: 700; }
.chip--solid { background: var(--orange); color: var(--black); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--head); }
.stars { display: inline-flex; gap: 2px; color: var(--orange); }
.stars .icon { width: 16px; height: 16px; stroke: none; }
.stars--sm .icon { width: 12px; height: 12px; }
.is-orange .stars { color: var(--black); }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(52px, 5.5vw, 84px); background: var(--bg); color: var(--text); }
.section--tight { padding-block: clamp(36px, 4vw, 56px); }
/* Two sections on the same background in a row: one gap between them, not two. */
.section:not(.is-soft):not(.section--paper):not(.is-dark):not(.section--dark) + .section:not(.is-soft):not(.section--paper):not(.is-dark):not(.section--dark),
.section:is(.is-soft, .section--paper) + .section:is(.is-soft, .section--paper) { padding-top: 0; }
.section--compact { padding-block: clamp(56px, 7vw, 88px); }
.section--flush-top { padding-top: 0; }
.section--flush-top-sm { padding-top: 32px; }

.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -.04em; }
.sec-head--center { margin-inline: auto; text-align: center; }
.lead { font-size: clamp(17px, 1.35vw, 19px); color: var(--muted); max-width: 620px; }
.sec-head--center .lead { margin-inline: auto; }
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 48px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
.split-head .sec-head { margin-bottom: 0; }
.split-head__aside { max-width: 420px; margin: 0; font-size: 18px; color: var(--muted); }
.center-head { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.center-head p { color: var(--muted); font-size: 18px; margin: 16px 0 0; }
.center-link { text-align: center; margin: 40px 0 0; }
.h3 { font-size: 24px; }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--black); color: #e4e4e4; font-size: 13px; position: relative; z-index: 60; }
.topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; }
.topbar__item .icon { width: 14px; height: 14px; color: var(--orange); }
a.topbar__item:hover { color: var(--white); }
.topbar__spacer { flex: 1; }

.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(0, 0, 0, .4); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { flex: none; }
.brand__logo { height: 42px; width: auto; }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* The main menu (incl. mega menu and mobile menu) uses Google Sans Flex. */
.nav { font-family: var(--font-menu); }
.nav__mobile-cta { font-family: var(--font); }
.nav .menu { display: flex; align-items: center; gap: 2px; }
.nav .menu > li { position: relative; }
.nav .menu > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; white-space: nowrap; border-radius: 99px; font-size: 15px; font-weight: 600; color: #2a2a2a; transition: color .2s, background .2s; }
.nav .menu > li > a:hover { background: var(--soft); }
.nav .menu > .current-menu-item > a, .nav .menu > .current-menu-ancestor > a, .nav .menu > .current_page_item > a { background: var(--orange); color: var(--black); }
.nav .menu-item-has-children > a::after { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .6; }
.nav .sub-menu { position: absolute; top: calc(100% + 14px); left: -12px; width: 520px; padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav .sub-menu::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.nav .menu-item-has-children:hover > .sub-menu, .nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav .sub-menu a { display: block; padding: 11px 14px; border-radius: var(--r-sm); font-size: 15px; font-weight: 600; }
.nav .sub-menu a:hover { background: var(--orange); }
/* Services mega menu: full-width panel under the header. */
.nav .menu > .menu-item--mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; padding: 0 var(--gutter) 24px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
.menu-item--mega:hover > .mega, .menu-item--mega:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { max-width: var(--wrap); margin: 10px auto 0; padding: 22px; border-radius: calc(var(--r) + 8px); background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35); }
.mega__top { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.mega__groups { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px 10px; }
.mega__col { display: grid; align-content: start; gap: 2px; }
/* Development has the most services, so it gets two sub-columns. */
.mega__col:first-child { grid-column: span 2; grid-template-columns: 1fr 1fr; column-gap: 10px; }
.mega__col:first-child .mega__label { grid-column: 1 / -1; }
.mega__label { margin: 0 0 6px; padding: 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mega__link { display: flex; gap: 10px; align-items: center; padding: 9px 8px; border-radius: var(--r-sm); font-size: 15px; transition: background .15s; }
.mega__link:hover { background: var(--soft); }
.mega__link { align-items: flex-start; }
.mega__text strong { display: block; font-weight: 700; line-height: 1.25; }
.mega__text small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.mega__icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--black); color: var(--black); transition: background .15s, border-color .15s; }
.mega__link:hover .mega__icon { background: var(--orange); border-color: var(--orange); }
.mega__icon .icon { width: 16px; height: 16px; }
.mega__all { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; background: var(--soft); font-size: 14px; font-weight: 800; white-space: nowrap; transition: background .15s, color .15s; }
.mega__all:hover { background: var(--black); color: var(--white); }
.mega__all .icon { width: 16px; height: 16px; }
.mega__bottom { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.mega__feature { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--r); background: var(--orange); color: var(--black); transition: transform .2s var(--ease); }
.mega__feature:hover { transform: translateY(-2px); }
.mega__feature-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--black); }
.mega__feature-icon .icon { width: 20px; height: 20px; }
.mega__feature-text strong { display: block; font-size: 17px; }
.mega__feature-text span { display: block; font-size: 13.5px; line-height: 1.4; }
.mega__feature em { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 14px; font-weight: 800; white-space: nowrap; }
.mega__feature em .icon { width: 16px; height: 16px; }
.mega__feature--dark { background: var(--black); color: var(--white); }
.mega__feature--dark .mega__feature-icon { border-color: var(--orange); color: var(--orange); }
.mega__feature--dark em { color: var(--orange); }
/* Development has the most services, so it gets two sub-columns. */
.nav__mobile-cta { display: none; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--black); background: var(--white); }
.nav-toggle__bars { display: grid; gap: 5px; width: 18px; margin: auto; }
.nav-toggle__bars i { display: block; height: 2px; background: var(--black); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; }
.scroll-progress span { display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Hero: editorial headline with inline project pills + film strip ---------- */
.hero { padding: clamp(40px, 5vw, 72px) 0 0; overflow: hidden; }
.hero__kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 26px; padding: 8px 16px 8px 10px; border-radius: 99px; background: var(--soft); font-size: 14px; font-weight: 600; }
.hero__title { font-size: clamp(44px, 7vw, 104px); line-height: 1.02; letter-spacing: -.055em; margin: 0 0 clamp(28px, 3vw, 44px); }
/* Desktop: two lines — "Get a [pic] website that" / "[pic] makes you <word>". */
@media (min-width: 900px) { .hero__line { white-space: nowrap; } }
.pill-img { display: inline-block; width: 1.75em; height: .78em; margin: 0 .06em; vertical-align: -.04em; border-radius: 999px; overflow: hidden; border: .05em solid var(--black); background: var(--white); transform: rotate(-4deg); transition: transform .4s var(--ease); }
.pill-img--b { transform: rotate(5deg); background: var(--orange); }
.pill-img img { width: 100%; height: 100%; object-fit: cover; }
.hero__title:hover .pill-img { transform: rotate(0) scale(1.06); }
.rotator { display: inline-block; }
.rotator em { display: inline-block; padding: 0 .14em .04em; border-radius: .14em; background: var(--orange); color: var(--black); }
.rotator em.is-out { animation: wordOut .35s var(--ease) forwards; }
.rotator em.is-in { animation: wordIn .45s var(--ease) forwards; }
@keyframes wordOut { to { transform: translateY(-20%); opacity: 0; } }
@keyframes wordIn { from { transform: translateY(20%); opacity: 0; } to { transform: none; opacity: 1; } }
.hero__row { display: grid; grid-template-columns: 1.1fr auto auto; gap: 24px 40px; align-items: center; padding-bottom: clamp(36px, 4vw, 56px); }
.hero__lead { margin: 0; font-size: clamp(17px, 1.35vw, 19px); color: var(--muted); max-width: 520px; }
.hero__proof { display: grid; gap: 8px; font-size: 14.5px; color: var(--muted); }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.hero__proof strong { font-size: 20px; color: var(--black); letter-spacing: -.02em; }

.filmstrip { overflow: hidden; padding: 0 0 clamp(40px, 5vw, 64px); }
.filmstrip__track { display: flex; gap: 16px; width: max-content; animation: marquee 80s linear infinite; }
.filmstrip:hover .filmstrip__track { animation-play-state: paused; }
.filmstrip__tile { position: relative; flex: none; width: clamp(260px, 28vw, 420px); aspect-ratio: 16 / 11; border-radius: var(--r); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.filmstrip__tile:nth-child(4n+2) { background: var(--orange); border-color: var(--orange); transform: translateY(22px); }
.filmstrip__tile:nth-child(4n+4) { transform: translateY(22px); }
.filmstrip__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.filmstrip__tile:hover img { transform: scale(1.04); }
.filmstrip__tile span { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 99px; background: var(--black); color: var(--white); font-size: 13px; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.filmstrip__tile:hover span { opacity: 1; transform: none; }

.hero__kicker .icon { width: 17px; height: 17px; color: var(--orange-dk); }

/* ---------- Clients ---------- */
.clients { padding: 26px 0; border-block: 1px solid var(--line); background: var(--white); }
.clients__label { text-align: center; margin: 0 0 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.marquee { overflow: hidden; }
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.client { display: inline-flex; align-items: center; padding: 0 34px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: #2a2a2a; white-space: nowrap; transition: color .2s; }
.client:hover { color: var(--orange-dk); }

.client img { height: 54px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .25s, opacity .25s; }
.client:hover img { filter: none; opacity: 1; }
.client:has(img) { padding: 0 40px; }

/* ---------- Services index with cursor-following project preview ---------- */
.svc-index { border-top: 2px solid var(--black); counter-reset: none; }
.svc-row { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 340px) 56px; gap: 24px; align-items: center; padding: clamp(18px, 2.2vw, 28px) 16px; border-bottom: 1px solid var(--line); transition: background .25s, padding .35s var(--ease); }
.svc-row__n { font-size: 15px; font-weight: 800; color: var(--orange-dk); }
.svc-row__title { font-size: clamp(26px, 3.4vw, 48px); font-weight: 800; letter-spacing: -.045em; line-height: 1.05; }
.svc-row__tags { font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.svc-row__go { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--black); transition: background .25s, transform .3s var(--ease); }
.svc-row:hover { background: var(--orange); padding-left: 28px; }
.svc-row:hover .svc-row__n, .svc-row:hover .svc-row__tags { color: var(--black); }
.svc-row:hover .svc-row__go { background: var(--black); color: var(--orange); transform: rotate(45deg); }
.reveal-img { position: fixed; left: 0; top: 0; z-index: 30; width: 300px; aspect-ratio: 16 / 11; border-radius: var(--r); overflow: hidden; border: 3px solid var(--black); background: var(--white); pointer-events: none; opacity: 0; scale: .85; transition: opacity .2s, scale .25s var(--ease); }
.reveal-img.is-on { opacity: 1; scale: 1; }
.reveal-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CTA strip ---------- */
.cta-strip { display: flex; align-items: center; gap: 22px; padding: 24px 32px; border-radius: var(--r); background: var(--orange); color: var(--black); }
.cta-strip p { flex: 1; margin: 0; font-size: clamp(20px, 2.2vw, 28px); font-weight: 800; letter-spacing: -.02em; }
#services + .wrap { margin-bottom: clamp(56px, 7vw, 96px); }

/* ---------- Selected work: cards stick and stack as you scroll ---------- */
.stack { display: grid; gap: 28px; }
.stack__card { position: sticky; top: calc(var(--header-h) + 20px + var(--i) * 16px); display: grid; grid-template-columns: 1fr 1.25fr; min-height: min(560px, 78vh); border-radius: calc(var(--r) + 10px); overflow: hidden; background: var(--black); color: var(--white); box-shadow: 0 -12px 30px -18px rgba(0, 0, 0, .35); }
.stack__card:nth-child(3n+2) { background: var(--orange); color: var(--black); }
.stack__card:nth-child(3n+3) { background: var(--soft); color: var(--black); }
.stack__text { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 4vw, 56px); }
.stack__n { font-size: 14px; font-weight: 800; margin-bottom: auto; opacity: .7; }
.stack__sector { display: inline-block; margin: 24px 0 14px; padding: 5px 13px; border-radius: 99px; background: var(--orange); color: var(--black); font-size: 13px; font-weight: 700; }
.stack__card:nth-child(3n+2) .stack__sector { background: var(--black); color: var(--orange); }
.stack__text h3 { font-size: clamp(30px, 3.4vw, 50px); line-height: 1.02; letter-spacing: -.045em; color: inherit; margin-bottom: 14px; }
.stack__text p { max-width: 440px; opacity: .85; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.stack__text .tags { margin: 4px 0 28px; }
.stack__card:nth-child(3n+1) .btn--line { --b-fg: var(--white); --b-bd: var(--white); }
.stack__card:nth-child(3n+1) .btn--line:hover { --b-bg: var(--orange); --b-fg: var(--black); --b-bd: var(--orange); }
.stack__media { display: block; margin: 14px; border-radius: var(--r); overflow: hidden; background: var(--white); }
.stack__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.stack__card:hover .stack__media img { transform: scale(1.03); }

/* ---------- Process ---------- */
.process__steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.process__line { display: none; }
.process__step { position: relative; padding: 26px 22px; border-radius: var(--r); background: var(--card); transition: background .3s, color .3s; }
.process__step.is-lit { background: var(--orange); }
.process__dot { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--black); color: var(--orange); margin-bottom: 22px; }
.process__dot .icon { width: 22px; height: 22px; }
.process__n { font-size: 13px; font-weight: 800; color: var(--accent-text); }
.process__step.is-lit .process__n { color: var(--black); }
.process__step h3 { font-size: 22px; margin: 4px 0 10px; }
.process__step p { font-size: 15px; color: var(--muted); margin: 0; }
.process__step.is-lit p { color: var(--black); }

/* ---------- Projects grid ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 22px; }
.project-card { display: flex; }
.project-card.is-hidden { display: none; }
.project-card__link { display: flex; flex-direction: column; width: 100%; }
.project-card__media { position: relative; aspect-ratio: 16 / 10.4; overflow: hidden; border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--line); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-card__link:hover .project-card__media img { transform: scale(1.04); }
.project-card__view { position: absolute; right: 12px; top: 12px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--black); transform: scale(0); transition: transform .3s var(--ease); }
.project-card__link:hover .project-card__view { transform: scale(1); }
.project-card__title { font-size: 17px; font-weight: 700; letter-spacing: -.01em; margin: 14px 0 2px; color: var(--head); transition: color .2s; }
.project-card__link:hover .project-card__title { color: var(--accent-text); }
.project-card__cat { font-size: 13.5px; color: var(--muted); }

/* Work page */
.work-page { padding: clamp(40px, 5vw, 72px) 0 clamp(72px, 8vw, 110px); }
.work-page__layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 3vw, 44px); align-items: start; }
.work-filters { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 10px; }
.select { position: relative; display: block; }
.select select { width: 100%; appearance: none; -webkit-appearance: none; padding: 11px 38px 11px 16px; border-radius: var(--r-sm); border: 2px solid var(--black); background: var(--white); font-size: 16px; font-weight: 700; cursor: pointer; transition: background .2s; }
.select select:hover, .select select:focus { background: var(--orange); outline: none; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 2px solid var(--black); border-bottom: 2px solid var(--black); transform: rotate(45deg); pointer-events: none; }
.work-filters__count { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.work-filters__reset { justify-self: start; padding: 0; border: 0; background: none; font-size: 14px; font-weight: 700; color: var(--orange-dk); text-decoration: underline; }
.work-empty { padding: 40px 0; color: var(--muted); }

/* ---------- Estimator ---------- */
.estimator { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.estimator__controls { display: grid; gap: 14px; }
.est-step { margin: 0; padding: 24px; border: 0; border-radius: var(--r); background: var(--soft); }
.est-step legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-weight: 800; font-size: 18px; }
.est-step legend + * { clear: both; }
.est-step__n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--orange); }
.est-pages-out { margin-left: auto; font-size: 16px; font-weight: 800; padding: 3px 12px; border-radius: 99px; background: var(--black); color: var(--white); }
.est-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.est-type input, .chip-check input, .segmented input { position: absolute; opacity: 0; pointer-events: none; }
.est-type__box { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 16px; border-radius: var(--r-sm); border: 2px solid transparent; background: var(--white); cursor: pointer; transition: border-color .15s, background .15s; }
.est-type__box .icon { width: 24px; height: 24px; color: var(--orange-dk); }
.est-type__box strong { font-size: 15px; line-height: 1.25; }
.est-type:hover .est-type__box { border-color: var(--black); }
.est-type input:checked + .est-type__box { border-color: var(--black); background: var(--orange); }
.est-type input:checked + .est-type__box .icon { color: var(--black); }
.est-type input:focus-visible + .est-type__box, .chip-check input:focus-visible + span, .segmented input:focus-visible + span { outline: 2px solid var(--black); outline-offset: 2px; }
.range { width: 100%; height: 28px; accent-color: var(--orange); cursor: grab; }
.range-scale { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--muted); }
.est-features { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 99px; border: 2px solid transparent; background: var(--white); font-size: 14.5px; font-weight: 600; cursor: pointer; transition: all .15s; }
.chip-check:hover span { border-color: var(--black); }
.chip-check .icon { width: 0; opacity: 0; transition: width .2s, opacity .2s; }
.chip-check input:checked + span { background: var(--black); border-color: var(--black); color: var(--white); }
.chip-check input:checked + span .icon { width: 16px; opacity: 1; color: var(--orange); }
.segmented { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--white); }
.segmented span { display: block; padding: 9px 20px; border-radius: 99px; font-weight: 700; font-size: 14.5px; cursor: pointer; }
.segmented input:checked + span { background: var(--black); color: var(--white); }

.estimator__result { position: sticky; top: calc(var(--header-h) + 24px); }
.est-card { padding: 32px; border-radius: var(--r); background: var(--orange); color: var(--black); }
.est-card .eyebrow { color: var(--black); }
.est-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; font-size: clamp(34px, 3.6vw, 48px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; margin: 4px 0 22px; }
.est-price > span:first-child { font-size: 14px; letter-spacing: 0; align-self: center; }
.est-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.est-meta > div { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: var(--r-sm); background: var(--white); font-size: 14px; }
.est-meta b { font-size: 18px; }
.est-bars { display: flex; align-items: flex-end; gap: 4px; height: 52px; margin-bottom: 20px; }
.est-bars i { flex: 1; border-radius: 3px 3px 0 0; background: #ffbf73; transition: height .4s var(--ease), background .3s; }
.est-bars i.on { background: var(--black); }
.est-summary { display: grid; gap: 8px; margin-bottom: 24px; font-size: 14.5px; }
.est-summary li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(17, 17, 17, .2); }
.est-summary li span:last-child { font-weight: 800; }
.est-note { margin: 14px 0 0; font-size: 12.5px; text-align: center; }
.bump { animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: translateY(-3px); } }

/* ---------- Audit (dark block) ---------- */
.audit { margin: 0 clamp(8px, 1.2vw, 16px) clamp(32px, 4vw, 56px); border-radius: calc(var(--r) + 10px); overflow: hidden; }
.audit__bg { display: none; }
/* On the audit page the tool sits under the banner on a light panel. */
.audit.audit--compact { --em-fg: var(--orange); --bg: var(--white); --soft: #f6f3ee; --card: #ffffff; --text: #111111; --head: #111111; --muted: #5c5c5c; --line: #e6e1d9; --accent-text: var(--orange-dk); margin-top: 0; padding-top: clamp(36px, 4vw, 56px); }
.audit--compact .audit__head { display: block; max-width: 760px; margin-inline: auto; text-align: center; }
.audit--compact .audit__head .audit__form, .audit--compact .audit__head .audit__error { text-align: left; }
.audit--compact .audit__intro { margin: 0 0 14px; font-weight: 600; }
.audit--compact .audit__form { border: 2px solid var(--black); padding-block: 8px; }
.audit--compact .audit__form input { font-size: 18px; }
.audit--compact .report-summary { background: var(--soft); }
.audit__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.audit__head .sec-head { margin-bottom: 0; }
.audit__form { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 20px; border-radius: 99px; background: var(--white); color: var(--black); }
.audit__prefix { color: #777; display: grid; }
.audit__form input { flex: 1; min-width: 0; border: 0; background: none; padding: 12px 4px; font-size: 17px; outline: none; }
.audit__form input::placeholder { color: #999; }
/* Browser autofill paints a square blue box inside the rounded field; keep the field's own look. */
.audit__form input:-webkit-autofill, .audit__form input:-webkit-autofill:hover, .audit__form input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 100px var(--white) inset; -webkit-text-fill-color: var(--black); caret-color: var(--black); transition: background-color 9999s; }
.search-box input:-webkit-autofill, .report-email__fields input:-webkit-autofill, .lf input:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px var(--white) inset; -webkit-text-fill-color: var(--black); transition: background-color 9999s; }
.audit__form.is-loading button { pointer-events: none; opacity: .7; }
.audit__error { margin: 14px 0 0; padding: 12px 16px; border-radius: var(--r-sm); background: var(--bad); color: var(--white); font-size: 15px; grid-column: 2; }
.audit__scan { margin-top: 48px; padding: 28px; border-radius: var(--r); border: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.scan-lines span { display: block; opacity: 0; animation: show .3s forwards; }
@keyframes show { to { opacity: 1; } }
.scan-lines span:nth-child(2) { animation-delay: .5s; } .scan-lines span:nth-child(3) { animation-delay: 1s; }
.scan-lines span:nth-child(4) { animation-delay: 1.5s; } .scan-lines span:nth-child(5) { animation-delay: 2s; } .scan-lines span:nth-child(6) { animation-delay: 2.5s; }
.audit__report { margin-top: 48px; }
.report-summary { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--r); background: var(--white); color: var(--black); margin-bottom: 14px; }
.report-summary h3 { color: var(--black); font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 18px; }
.report-summary .eyebrow { color: var(--black); }
.gauge { position: relative; width: 180px; height: 180px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 10; }
.gauge__track { stroke: #eee; }
.gauge__fill { stroke: var(--c, var(--orange)); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.2s var(--ease); }
.gauge__value { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge__value strong { font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.gauge__value span { color: #666; font-size: 14px; }
.report-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.report-group { padding: 12px 14px; border-radius: var(--r-sm); background: #f6f3ee; }
.report-group small { display: block; font-size: 12.5px; color: #666; margin-bottom: 4px; }
.report-group strong { font-size: 24px; font-weight: 800; }
.report-group i { display: block; height: 5px; margin-top: 8px; border-radius: 5px; background: #e6e1d9; overflow: hidden; }
.report-group i b { display: block; height: 100%; background: var(--c); }
.report-meta { margin: 16px 0 0; font-size: 13.5px; color: #666; }
.psi { margin: 14px 0; padding: 22px 24px; border-radius: var(--r-sm); background: var(--soft); color: var(--text); }
.psi__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.psi__head h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 18px; color: var(--head); }
.psi__head h3 .icon { width: 22px; height: 22px; color: var(--accent-text); }
.psi__head small { font-size: 13px; font-weight: 600; color: var(--muted); }
.psi__score { padding: 4px 14px; border-radius: 99px; background: var(--c, var(--orange)); color: var(--black); font-size: 18px; }
.psi__status { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.psi.is-loading .psi__status::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: kl-spin .8s linear infinite; }
@keyframes kl-spin { to { transform: rotate(360deg); } }
.psi__metrics { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; padding: 0; }
.psi__metric { display: grid; gap: 4px; padding: 14px; border-radius: 10px; border-left: 4px solid var(--orange); background: var(--card); }
.psi__metric--pass { border-left-color: var(--ok); }
.psi__metric--fail { border-left-color: var(--bad); }
.psi__metric small { font-size: 12.5px; color: var(--muted); }
.psi__metric strong { font-size: 20px; color: var(--head); }
.psi__retry { margin-top: 12px; }
@media (max-width: 700px) { .psi__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.report-email { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px 24px; align-items: center; margin: 14px 0; padding: 22px 24px; border-radius: var(--r-sm); border: 2px solid var(--head); }
.report-email h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 18px; color: var(--head); }
.report-email h3 .icon { width: 22px; height: 22px; color: var(--accent-text); }
.report-email__text p { margin: 0; font-size: 14px; color: var(--muted); }
.report-email__fields { display: flex; flex-wrap: wrap; gap: 8px; }
.report-email__fields input:not(.hp) { flex: 1 1 160px; min-width: 0; min-height: 48px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--card); color: var(--head); font: inherit; font-size: 16px; }
.report-email__fields input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange); }
.report-email__fields .btn { flex: none; }
.report-email__note { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--muted); }
.report-email__msg { grid-column: 1 / -1; margin: 0; font-size: 15px; font-weight: 600; }
.report-email__msg:empty { display: none; }
.report-email__msg.is-ok { color: var(--ok); }
.report-email__msg.is-error { color: var(--bad); }
.is-dark .report-email__msg.is-ok, .section--dark .report-email__msg.is-ok { color: #3ddc84; }
@media (max-width: 760px) { .report-email { grid-template-columns: 1fr; } .report-email__fields .btn { width: 100%; } }
.report-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px; border-radius: var(--r-sm); background: var(--soft); }
.check__badge { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.check__badge .icon { width: 15px; height: 15px; }
.check--pass .check__badge { background: var(--ok); color: var(--white); }
.check--warn .check__badge { background: var(--orange); color: var(--black); }
.check--fail .check__badge { background: var(--bad); color: var(--white); }
.check strong { display: flex; gap: 8px; align-items: baseline; font-size: 15.5px; color: var(--head); }
.check strong small { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.check p { margin: 3px 0 0; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.report-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 14px; padding: 24px 28px; border-radius: var(--r); background: var(--orange); color: var(--black); }
.report-cta p { margin: 0; font-size: 17px; }
.report-cta .btn { --b-bg: var(--black); --b-fg: var(--white); --b-bd: var(--black); }

/* ---------- Testimonials (orange block) ---------- */
.testimonials { overflow: hidden; }
.testimonials__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.testimonials__intro .display { margin-bottom: 28px; }
.rating-badge { display: inline-flex; align-items: center; gap: 18px; padding: 16px 22px; border-radius: var(--r); background: var(--black); color: var(--white); }
.rating-badge > strong { font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--orange); }
.rating-badge .stars { color: var(--orange); }
.rating-badge span:not(.stars) { display: block; font-size: 14px; margin-top: 4px; }
.slider-nav { display: flex; gap: 8px; margin-top: 28px; }
.reviews { position: relative; }
.review { position: absolute; top: 0; left: 0; right: 0; margin: 0; padding: clamp(30px, 4vw, 52px); border-radius: var(--r); background: var(--card); color: var(--black); opacity: 0; visibility: hidden; transform: translateX(30px); transition: opacity .4s var(--ease), transform .5s var(--ease), visibility .4s; }
.review.is-active { position: relative; opacity: 1; visibility: visible; transform: none; }
.review__quote { display: block; font-size: 80px; font-weight: 800; line-height: .7; height: 40px; color: var(--orange); }
.review blockquote { margin: 0 0 28px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; font-weight: 500; }
.review figcaption { display: flex; align-items: center; gap: 14px; }
.review__avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--black); color: var(--orange); font-weight: 800; font-size: 19px; }
.review figcaption strong { display: block; }
.review figcaption small { display: flex; align-items: center; gap: 6px; color: #666; font-size: 13px; }
.review .stars { color: var(--orange); }
/* Homepage testimonials: large editorial quotes. */
.testimonials .review { background: transparent; border: 0; padding: 0; }
.testimonials .review__quote { font-size: 110px; height: 56px; }
.testimonials .review blockquote { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.4; font-weight: 600; letter-spacing: -.02em; }

.slide-count { margin: 18px 0 0; font-size: 14px; font-weight: 800; letter-spacing: .04em; }

/* ---------- Community (about page) ---------- */
.community__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.community__media { position: relative; }
.community__media > img:first-child { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); box-shadow: 14px 14px 0 var(--orange); }
.community__badge { position: absolute; right: -16px; bottom: -28px; width: 128px; background: var(--white); padding: 8px; border-radius: var(--r-sm); border: 2px solid var(--black); }
.community .sec-head { margin-bottom: 28px; }
.check-list { display: grid; gap: 12px; margin-bottom: 32px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.check-list .icon { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--orange); color: var(--black); stroke-width: 2.8; }

/* ---------- Posts ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--r); background: var(--card); overflow: hidden; border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.post-card:hover { transform: translateY(-6px); border-color: var(--orange); }
.post-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__cover { display: flex; align-items: flex-end; width: 100%; height: 100%; padding: 22px 24px; background: var(--orange); color: var(--black); }
.post-card__cover strong { font-size: clamp(20px, 2vw, 26px); line-height: 1.1; letter-spacing: -.03em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card:nth-child(3n+2) .post-card__cover { background: var(--black); color: var(--white); }
.post-card__cat { position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 99px; background: var(--white); color: var(--black); font-size: 12px; font-weight: 700; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.post-card h3 { font-size: 20px; line-height: 1.25; margin-bottom: 10px; letter-spacing: -.02em; }
.post-card h3 a:hover { color: var(--orange-dk); }
.post-card p { font-size: 15.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .link-arrow { margin-top: auto; align-self: flex-start; }

.post-card__meta > * { display: inline-flex; align-items: center; gap: 6px; }
.post-card__meta .icon { width: 15px; height: 15px; color: var(--orange-dk); }

/* Lead article on the blog page */
.post-card--featured { display: grid; grid-template-columns: 1.15fr 1fr; margin-bottom: 28px; }
.post-card--featured .post-card__media { aspect-ratio: auto; min-height: 380px; }
.post-card--featured .post-card__body { justify-content: center; padding: clamp(28px, 4vw, 56px); }
.post-card--featured h3 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.12; letter-spacing: -.035em; }
.post-card--featured p { font-size: 17px; -webkit-line-clamp: 4; }
.post-card--featured .link-arrow { margin-top: 12px; }
.post-card--featured .post-card__cover strong { font-size: clamp(30px, 3.4vw, 48px); }

/* Topic filter + search row */
.blog-list { padding-top: clamp(40px, 5vw, 64px); }
.blog-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 32px; }
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-cat { padding: 9px 18px; border-radius: 99px; border: 1.5px solid var(--line); font-size: 14.5px; font-weight: 700; transition: background .2s, border-color .2s; }
.blog-cat sup { font-size: 10px; color: var(--muted); margin-left: 2px; }
.blog-cat:hover { border-color: var(--black); }
.blog-cat.is-active { background: var(--black); border-color: var(--black); color: var(--white); }
.blog-cat.is-active sup { color: var(--orange); }
.blog-list .search-bar { margin: 0; width: min(100%, 340px); }
.blog-list + .wrap { margin-bottom: clamp(56px, 7vw, 96px); }

/* ---------- Contact: orange panel, quick buttons, floating form card ---------- */
.contact { padding: clamp(28px, 3.5vw, 48px) 0; background: var(--white); }
.contact__panel { margin-inline: clamp(8px, 1.2vw, 16px); padding: clamp(36px, 4.5vw, 64px) 0; border-radius: calc(var(--r) + 14px); background: var(--orange); color: var(--black); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact__intro .eyebrow { color: var(--black); }
.contact__title { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.06; letter-spacing: -.05em; color: var(--black); margin: 0 0 20px; }
.contact__title em { color: var(--white); }
.contact__lead { font-size: 18px; max-width: 460px; margin: 0 0 32px; }
.quick { display: grid; gap: 10px; max-width: 460px; }
.quick__btn { display: flex; align-items: center; gap: 16px; padding: 12px 22px 12px 12px; border-radius: 99px; background: var(--black); color: var(--white); font-size: 17px; font-weight: 700; transition: transform .25s var(--ease), background .2s; }
.quick__btn:hover { transform: translateX(6px); }
.quick__btn:first-child { background: var(--white); color: var(--black); }
.quick__btn small { display: block; font-size: 12px; font-weight: 600; opacity: .65; }
.quick__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: var(--black); }
.quick__btn:first-child .quick__icon { background: #25d366; color: var(--white); }
.quick__icon .icon { width: 21px; height: 21px; }
.contact__where { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; font-size: 14.5px; font-weight: 600; }
.contact__where .icon { width: 16px; height: 16px; }

.lead-form { padding: clamp(26px, 3.4vw, 44px); border-radius: calc(var(--r) + 6px); background: var(--white); color: var(--black); transform: rotate(-1deg); box-shadow: 10px 10px 0 var(--black); transition: transform .4s var(--ease); }
.lead-form:focus-within { transform: rotate(0); }
.lead-form__title { font-size: 26px; margin-bottom: 20px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; border: 0; }
.topics legend { width: 100%; margin-bottom: 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.topic input { position: absolute; opacity: 0; pointer-events: none; }
.topic span { display: inline-block; padding: 8px 15px; border-radius: 99px; border: 1.5px solid #dcd7cf; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .15s; }
.topic:hover span { border-color: var(--black); }
.topic input:checked + span { background: var(--black); border-color: var(--black); color: var(--white); }
.topic input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.lf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.lf { margin: 0; }
.lf--full { grid-column: 1 / -1; }
.lf label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; }
.lf label small { font-weight: 500; color: var(--muted); }
.lf input, .lf textarea { width: 100%; padding: 8px 0 10px; border: 0; border-bottom: 2px solid #e2ddd5; border-radius: 0; background: transparent; font-size: 17px; outline: none; resize: vertical; transition: border-color .2s; }
.lf input::placeholder, .lf textarea::placeholder { color: #a9a49c; }
.lf input:focus, .lf textarea:focus { border-bottom-color: var(--orange); }
.lead-form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.lead-form .btn--dark:hover { --b-bg: var(--orange); --b-fg: var(--black); --b-bd: var(--orange); }
.lead-form__status { margin: 0; font-size: 15px; font-weight: 600; flex: 1; min-width: 200px; }
.lead-form__status.is-ok { color: var(--ok); }
.lead-form__status.is-err { color: var(--bad); }
.lead-form__consent { order: 3; flex-basis: 100%; margin: 0; font-size: 13px; color: var(--muted); }
.lead-form__consent a, .report-email__note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.lead-form__consent a:hover, .report-email__note a:hover { color: var(--black); }
.lead-form.is-sent .lf-grid, .lead-form.is-sent .topics { opacity: .4; pointer-events: none; }

/* Homepage: call to action built into the top of the footer. */
.footer-start { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px 48px; flex-wrap: wrap; padding-bottom: clamp(40px, 5vw, 64px); margin-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.footer-start h2 { margin: 0; max-width: 11ch; font-size: clamp(40px, 6vw, 84px); line-height: .98; letter-spacing: -.05em; color: var(--white); }
.footer-start h2 em { color: var(--orange); }
.footer-start__side { max-width: 420px; }
.footer-start__side p { margin: 0 0 18px; font-size: 17px; color: var(--muted); }
.footer-start__wa { --b-bg: var(--white); --b-fg: var(--black); --b-bd: var(--white); }
.footer-start__wa .icon { width: 20px; height: 20px; color: #25d366; }
.footer-start__wa:hover { --b-bg: transparent; --b-fg: var(--white); }
.footer-start .btn--primary:hover { --b-bg: var(--white); --b-fg: var(--black); --b-bd: var(--white); }

/* ---------- Footer ---------- */
.footer-cta { padding: clamp(56px, 7vw, 96px) 0; background: var(--white); }
.footer-cta__panel { margin-inline: clamp(8px, 1.2vw, 16px); padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px) 0; overflow: hidden; border-radius: calc(var(--r) + 10px); background: var(--orange); color: var(--black); }
.footer-cta__inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-bottom: clamp(40px, 5vw, 64px); }
.footer-cta__title { font-size: clamp(38px, 5.4vw, 76px); font-weight: 800; line-height: 1.08; letter-spacing: -.05em; margin: 0; color: var(--black); }
.footer-cta__pill { background: var(--white); }
.footer-cta__pill.pill-img--b { background: var(--black); }
.footer-cta__title:hover .footer-cta__pill { transform: rotate(0) scale(1.06); }
.footer-cta__proof { list-style: none; display: grid; gap: 10px; margin: 26px 0 0; padding: 22px 0 0; border-top: 2px solid var(--black); font-size: 15px; font-weight: 500; }
.footer-cta__proof li { display: flex; align-items: center; gap: 10px; }
.footer-cta__proof .icon { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--black); color: var(--orange); }
.footer-cta__proof strong { font-weight: 800; }
.footer-cta__needs { margin-inline: calc(-1 * clamp(24px, 5vw, 72px)); padding: 16px clamp(24px, 5vw, 72px); background: var(--black); color: var(--white); }
.footer-cta__needs-inner { display: flex; align-items: center; gap: 12px 20px; }
.footer-cta__needs > span { flex: none; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.footer-cta__needs ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.footer-cta__needs a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 99px; border: 1.5px solid #3a3a3a; color: var(--white); font-size: 14px; font-weight: 700; transition: background .2s, color .2s, border-color .2s; }
.footer-cta__needs a .icon { width: 16px; height: 16px; color: var(--orange); transition: color .2s; }
.footer-cta__needs a:hover, .footer-cta__needs a:focus-visible { background: var(--orange); border-color: var(--orange); color: var(--black); }
.footer-cta__needs a:hover .icon, .footer-cta__needs a:focus-visible .icon { color: var(--black); }
@media (max-width: 760px) { .footer-cta__needs-inner { flex-direction: column; align-items: flex-start; } }
.footer-cta__side { max-width: 460px; }
.footer-cta__side p { font-size: 18px; font-weight: 500; margin-bottom: 22px; }
.footer-cta__panel .btn--ghost { --b-fg: var(--black); --b-bd: var(--black); }
.footer-cta__panel .btn--ghost:hover { --b-bg: var(--black); --b-fg: var(--white); }

/* All footer content uses the menu font. */
.footer-cta, .site-footer { font-family: var(--font-menu); }
.footer-cta h2, .site-footer h3 { font-family: var(--font-menu); }
.site-footer { position: relative; overflow: hidden; background: var(--bg); color: var(--text); padding-top: clamp(48px, 6vw, 72px); font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer__brand img { height: 44px; width: auto; margin-bottom: 22px; }
.site-footer__brand p { color: var(--muted); max-width: 380px; }
.site-footer__title { margin: 0 0 16px; font-size: 14px; font-weight: 800; color: var(--white); }
.site-footer__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 28px; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: default; pointer-events: none; }
.site-footer__chev { display: none; width: 18px; height: 18px; transition: transform .25s var(--ease); }
.site-footer__links { display: grid; gap: 3px; }
.site-footer__links a, .site-footer__contact a { display: inline-block; padding-block: 3px; }
.site-footer__links a:hover, .site-footer__contact a:hover { color: var(--orange); }
.site-footer__contact { display: grid; gap: 14px; }
.site-footer__contact li { display: flex; gap: 12px; }
.site-footer__contact .icon { color: var(--orange); margin-top: 4px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #222; color: var(--white); transition: background .2s, color .2s; }
.socials a:hover { background: var(--orange); color: var(--black); }
.socials .icon { width: 17px; height: 17px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.site-footer__team { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.site-footer__team:hover { color: var(--orange); }
.site-footer__team .icon { width: 14px; height: 14px; }
.site-footer__wordmark { font-size: clamp(80px, 19vw, 300px); font-weight: 800; letter-spacing: -.06em; line-height: .78; text-align: center; color: #242424; white-space: nowrap; margin-top: 10px; transform: translateY(10%); transform-origin: 50% 100%; user-select: none; }
/* Grows up out of the bottom edge as you scroll to it (--grow 0 → 1, set in main.js). */
.js .site-footer__wordmark { transform: translateY(calc(10% + (1 - var(--grow, 1)) * 42%)) scaleY(calc(.6 + .4 * var(--grow, 1))); will-change: transform; }
.site-footer__wordmark::before { content: attr(data-text); }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 0; height: 56px; padding: 0 16px; border-radius: 28px; background: #25d366; color: var(--black); font-weight: 700; border: 2px solid var(--black); transition: gap .3s var(--ease), padding .3s var(--ease); }
.wa-float .icon { width: 24px; height: 24px; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s var(--ease); }
.wa-float:hover { gap: 10px; padding-right: 22px; }
.wa-float:hover span { max-width: 140px; }
.to-top { position: fixed; right: 26px; bottom: 90px; z-index: 40; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--black); background: var(--white); color: var(--black); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s, background .2s; }
.to-top .icon { transform: rotate(-90deg); }
.to-top.is-on { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--orange); }

/* ---------- Inner page banner: compact, black, orange accent ---------- */
.page-hero { margin: 8px clamp(8px, 1.2vw, 16px) 0; padding: clamp(44px, 5vw, 72px) 0 clamp(40px, 4.5vw, 64px); border-radius: calc(var(--r) + 10px); background: var(--black); color: var(--white); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 14px; font-weight: 600; color: #8f8f8f; }
.crumbs a { display: inline-block; padding-block: 3px; color: var(--white); }
.crumbs a:hover { color: var(--orange); }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 64px); max-width: 860px; letter-spacing: -.045em; line-height: 1.04; color: var(--white); margin: 0; }
.page-hero h1::after { content: ""; display: block; width: 64px; height: 5px; margin-top: 24px; border-radius: 5px; background: var(--orange); }
.page-hero .lead { margin: 20px 0 0; max-width: 600px; color: #b8b8b8; font-size: clamp(16px, 1.3vw, 18px); }
.page-hero .eyebrow { color: var(--white); }
.page-hero--article h1 { font-size: clamp(30px, 4vw, 50px); }
.page-hero .btn-row { margin-top: 28px; }
.page-hero .btn--primary { --b-bg: var(--orange); --b-fg: var(--black); --b-bd: var(--orange); }
.page-hero .btn--primary:hover { --b-bg: var(--white); --b-fg: var(--black); --b-bd: var(--white); }
.page-hero .btn--ghost { --b-fg: var(--white); --b-bd: var(--white); }
.page-hero .btn--ghost:hover { --b-bg: var(--white); --b-fg: var(--black); }
.page-hero .back-link { color: var(--white); }
.page-hero .back-link:hover { color: var(--orange); }
.page-hero .article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 4px; font-size: 15px; color: #b8b8b8; }
.article__author { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--white); text-transform: capitalize; }
.avatar { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: var(--black); font-size: 15px; font-weight: 800; }
.avatar--lg { width: 64px; height: 64px; font-size: 26px; flex: none; }
.avatar--photo { overflow: hidden; background: var(--soft); }
.avatar--photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.author-box__title { display: block; margin: -2px 0 8px; font-size: 14px; font-weight: 600; color: var(--orange-dk, #b85f00); }
.page-hero--article h1 { max-width: 900px; }

.article__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; padding-block: clamp(40px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.article__cover { margin: 0 0 40px; border-radius: var(--r); overflow: hidden; background: var(--soft); }
.article__cover img { width: 100%; max-height: 460px; object-fit: contain; }
.article__content { max-width: 720px; }
/* Blog posts: justified body text, with word breaks so lines don't open wide gaps. Headings stay left-aligned. */
.article__content > p, .article__content li { text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; }
.article__content > p:first-child { font-size: 21px; line-height: 1.6; color: var(--black); font-weight: 500; }
.article__tags { margin-top: 32px; }
.article__tags a { display: inline-block; margin: 0 6px 6px 0; padding: 5px 12px; border-radius: 99px; background: var(--soft); font-size: 13px; font-weight: 600; }

.author-box { display: flex; gap: 20px; align-items: flex-start; max-width: 720px; margin-top: 48px; padding: 26px; border-radius: var(--r); background: var(--soft); }
.author-box small { display: block; font-size: 12.5px; color: var(--muted); }
.author-box strong { display: block; font-size: 19px; margin-bottom: 6px; text-transform: capitalize; }
.author-box p { margin: 0; color: var(--muted); font-size: 15.5px; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 720px; margin-top: 20px; }
.post-nav__link { display: block; padding: 20px 22px; border-radius: var(--r); border: 1.5px solid var(--line); transition: border-color .2s, background .2s; }
.post-nav__link:hover { border-color: var(--black); background: var(--orange); }
.post-nav__link small { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.post-nav__link:hover small { color: var(--black); }
.post-nav__link small .icon { width: 14px; height: 14px; }
.post-nav__link:not(.post-nav__link--next) small .icon { transform: rotate(180deg); }
.post-nav__link strong { display: block; font-size: 16.5px; line-height: 1.3; }
.post-nav__link--next { text-align: right; grid-column: 2; }

.article__side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.share { display: flex; align-items: center; gap: 8px; padding: 16px 18px; border-radius: var(--r); background: var(--soft); }
.share span { margin-right: auto; font-size: 14px; font-weight: 800; }
.share a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--white); transition: background .2s; }
.share a:hover { background: var(--orange); }
.share .icon { width: 17px; height: 17px; }
.side-cta { padding: 26px; border-radius: var(--r); background: var(--orange); color: var(--black); }
.side-cta h3 { font-size: 22px; line-height: 1.2; margin-bottom: 10px; }
.side-cta p { font-size: 15px; margin-bottom: 18px; }
.side-cta__wa { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 12px; font-size: 14.5px; font-weight: 700; }
.side-cta__wa:hover { text-decoration: underline; }


/* Article body text and banner meta colours */
.page-hero .article__meta { color: #b8b8b8; }
.page-hero .article__author { color: var(--white); }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; font-size: 14.5px; font-weight: 700; color: var(--head); }
.back-link .icon { transform: rotate(180deg); }
.back-link:hover { color: var(--accent-text); }
.entry-content { font-size: 18px; line-height: 1.75; color: #2a2a2a; }
.is-dark .entry-content, .section--dark .entry-content { color: var(--text); }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { font-size: 30px; margin-top: 1.8em; }
.entry-content h3 { font-size: 23px; margin-top: 1.6em; }
.entry-content a { color: var(--orange-dk); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul { list-style: disc; padding-left: 1.3em; }
.entry-content ol { list-style: decimal; padding-left: 1.3em; }
.entry-content li::marker { color: var(--orange); }
.entry-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 5px solid var(--orange); font-size: 22px; font-weight: 600; color: var(--black); }
.entry-content--lead > p:first-child { font-size: 21px; color: var(--head); }

.search-bar { display: flex; align-items: center; gap: 10px; max-width: 520px; padding: 2px 18px; margin-bottom: 40px; border-radius: 99px; border: 1.5px solid var(--line); transition: border-color .2s; }
.search-bar:focus-within { border-color: var(--black); }
.search-bar input { flex: 1; border: 0; background: none; padding: 11px 0; font-size: 16px; outline: none; }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: 99px; border: 2px solid var(--black); font-weight: 700; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--orange); }
.empty-state { text-align: center; padding: 60px 0; }



/* Case study */
.case { padding-top: 8px; }
.case__panel { margin-inline: clamp(8px, 1.2vw, 16px); padding: clamp(24px, 4vw, 48px); border-radius: calc(var(--r) + 10px); background: var(--soft); }
.case__grid { display: grid; grid-template-columns: .9fr 1.25fr .6fr; gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.case__cover { border-radius: var(--r); overflow: hidden; background: var(--white); }
.case__cover img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.case__story h1 { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 18px; }
.case__story h2 { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-dk); margin: 22px 0 6px; }
.js .case__fold:not(.is-open) .case__text { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.case__fold .case__text { margin-bottom: 0; }
.case__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 0; border: 0; background: none; color: var(--orange-dk); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.case__more[hidden] { display: none; }
.case__more svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.case__fold.is-open .case__more svg { transform: rotate(45deg); }
.case__more:hover span { text-decoration: underline; }
.case__facts { margin: 0; display: grid; gap: 18px; padding: 22px; border-radius: var(--r); background: var(--orange); color: var(--black); }
.case__facts dt { font-size: 14px; font-weight: 800; }
.case__facts dd { margin: 2px 0 0; font-size: 15px; }
.case__facts a { text-decoration: underline; }
.project-nav { margin-top: clamp(48px, 6vw, 80px); border-block: 1px solid var(--line); }
.project-nav__inner { display: flex; justify-content: space-between; gap: 20px; }
.project-nav__link { padding: 30px 0; max-width: 48%; }
.project-nav__link small { display: block; font-size: 13px; color: var(--muted); }
.project-nav__link strong { font-size: clamp(20px, 2.3vw, 26px); transition: color .2s; }
.project-nav__link:hover strong { color: var(--orange-dk); }
.project-nav__link--next { text-align: right; margin-left: auto; }
.case + .wrap, .project-nav + .wrap, .work-page + .wrap { margin-block: clamp(48px, 6vw, 80px); }
.work-page + .wrap { margin-top: 0; }

/* About */
.about-intro { max-width: 980px; }
.big-lead { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.35; letter-spacing: -.02em; font-weight: 700; color: var(--head); }
.about-intro__text > p:not(.big-lead) { color: var(--muted); font-size: 18px; max-width: 760px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.value { padding: 30px; border-radius: var(--r); background: var(--soft); }
.value:nth-child(odd) { background: var(--orange); color: var(--black); }
.value:nth-child(odd) h3, .value:nth-child(odd) p { color: var(--black); }
.value__icon { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--black); color: var(--orange); margin-bottom: 20px; }
.value h3 { font-size: 20px; }
.value p { margin: 0; color: var(--muted); font-size: 15px; }
.cap-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cap-col { padding: 32px; border-radius: var(--r); background: var(--soft); }
.cap-col .cap__icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); margin-bottom: 20px; }
.cap-col h3 { font-size: 23px; }
.cap-col li { padding: 9px 0; border-bottom: 1px solid var(--line); }

/* Contact page: "Visit the lab" block */
.visit { padding: 0 0 clamp(48px, 6vw, 88px); }
.visit__panel { display: grid; grid-template-columns: .95fr 1.05fr; margin-inline: clamp(8px, 1.2vw, 16px); border-radius: calc(var(--r) + 14px); background: var(--black); color: var(--white); overflow: hidden; }
.visit__info { padding: clamp(36px, 5vw, 72px); }
.visit__info .eyebrow { color: var(--white); }
.visit__title { font-size: clamp(34px, 4vw, 56px); line-height: 1.05; letter-spacing: -.045em; color: var(--white); margin: 0 0 10px; }
.visit__title em { color: var(--orange); }
.visit__address { margin: 0 0 26px; font-size: 19px; color: #cfcfcf; }
.visit__status { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 8px 16px; border-radius: 99px; background: #222; font-size: 15px; font-weight: 700; }
.visit__status .icon { width: 18px; height: 18px; color: var(--muted); }
.visit__status.is-open .icon { color: #3ddc84; }
.visit__status.is-closed .icon { color: var(--orange); }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 0 0 30px; }
.week li { display: grid; gap: 2px; padding: 10px 4px; border-radius: var(--r-sm); background: #1e1e1e; text-align: center; }
.week strong { font-size: 14px; }
.week span { font-size: 11.5px; color: #9a9a9a; }
.week .is-closed { background: transparent; border: 1.5px dashed #3a3a3a; }
.week .is-closed strong { color: #8a8a8a; }
.week .is-today { background: var(--orange); color: var(--black); }
.week .is-today span { color: var(--black); }
.week .is-today.is-closed { border-color: var(--orange); background: transparent; color: var(--orange); }
.visit .btn--ghost { --b-fg: var(--white); --b-bd: #555; }
.visit .btn--ghost:hover { --b-bg: var(--white); --b-fg: var(--black); --b-bd: var(--white); }
.visit .btn--primary:hover { --b-bg: var(--white); --b-fg: var(--black); --b-bd: var(--white); }
.visit__map { position: relative; min-height: 460px; margin: 14px; border-radius: calc(var(--r) + 4px); overflow: hidden; background: #222; }
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.visit__tag { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; background: var(--orange); color: var(--black); font-size: 14px; font-weight: 700; pointer-events: none; }
.visit__tag .icon { width: 16px; height: 16px; }
.visit__map:not(.is-loaded) { background: #1c1c1c; }
.visit__load { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 99px; border: 2px solid var(--white); background: transparent; color: var(--white); font-weight: 700; font-size: 16px; }
.visit__load:hover { background: var(--white); color: var(--black); }
.visit__load .icon { width: 20px; height: 20px; }

/* ---------- Services archive ---------- */
.services-list { padding-top: clamp(40px, 5vw, 72px); }
.svc-group + .svc-group { margin-top: clamp(48px, 6vw, 80px); }
.svc-group__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.svc-group__head h2 { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.svc-group__head p { margin: 0; color: var(--muted); font-size: 15px; }
.unsure { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: clamp(56px, 7vw, 96px); padding: clamp(28px, 4vw, 48px); border-radius: calc(var(--r) + 10px); background: var(--black); color: var(--white); }
.unsure h2 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 6px; color: var(--white); }
.unsure p { margin: 0; max-width: 520px; font-size: 17px; color: #c8c8c8; }
.unsure .btn--ghost { --b-fg: var(--white); --b-bd: #555; }
.unsure .btn--ghost:hover { --b-bg: var(--white); --b-fg: var(--black); --b-bd: var(--white); }
.unsure .btn--dark { --b-bg: var(--orange); --b-fg: var(--black); --b-bd: var(--orange); }
.unsure .btn--dark:hover { --b-bg: var(--white); --b-fg: var(--black); --b-bd: var(--white); }

/* ---------- Single service ---------- */
.svc-hero { padding-top: 8px; }
.svc-hero__panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 64px); align-items: center; margin-inline: clamp(8px, 1.2vw, 16px); padding: clamp(40px, 5vw, 80px) clamp(24px, 6vw, 104px); border-radius: calc(var(--r) + 14px); background: var(--black); color: var(--white); overflow: hidden; }
.svc-hero__icon { display: grid; place-items: center; width: 60px; height: 60px; margin: 6px 0 22px; border-radius: 50%; background: var(--orange); color: var(--black); }
.svc-hero__icon .icon { width: 28px; height: 28px; }
.svc-hero h1 { font-size: clamp(40px, 5.4vw, 80px); line-height: 1; letter-spacing: -.055em; color: var(--white); margin-bottom: 18px; }
.svc-hero__lead { font-size: clamp(17px, 1.4vw, 20px); color: #c8c8c8; max-width: 540px; margin-bottom: 26px; }
.svc-hero__facts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.svc-hero__facts li { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; border-radius: 99px; background: #1e1e1e; font-size: 16px; font-weight: 700; }
.svc-hero__facts .icon { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--orange); color: var(--black); }
.svc-hero__facts small { display: block; font-size: 11.5px; font-weight: 600; color: #9a9a9a; }
.svc-hero .btn--ghost { --b-fg: var(--white); --b-bd: #555; }
.svc-hero .btn--ghost:hover { --b-bg: var(--white); --b-fg: var(--black); --b-bd: var(--white); }
.svc-hero .btn--primary:hover { --b-bg: var(--white); --b-fg: var(--black); --b-bd: var(--white); }
.svc-hero__shot { position: relative; display: block; border-radius: calc(var(--r) + 4px); overflow: hidden; background: var(--white); border: 4px solid var(--orange); transform: rotate(2.5deg); transition: transform .4s var(--ease); }
.svc-hero__shot:hover { transform: rotate(0); }
.svc-hero__shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
figure.svc-hero__shot { margin: 0; }
.svc-hero__shot span { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: var(--black); color: var(--white); font-size: 13.5px; font-weight: 700; }
.svc-hero__shot span .icon { width: 15px; height: 15px; color: var(--orange); }

.svc-intro { display: grid; grid-template-columns: 220px 1fr; gap: 32px; margin-bottom: clamp(56px, 7vw, 96px); }
.svc-intro__text p { margin: 0; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.35; font-weight: 600; letter-spacing: -.02em; color: var(--black); }
.svc-included-head { margin-bottom: 28px; }
.inc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.inc-grid li { position: relative; padding: 26px; border-radius: var(--r); background: var(--soft); transition: background .2s, transform .3s var(--ease); }
.inc-grid li:hover { background: var(--orange); transform: translateY(-4px); }
.inc-grid__n { position: absolute; top: 22px; right: 24px; font-size: 13px; font-weight: 800; color: var(--muted); }
.inc-grid li:hover .inc-grid__n { color: var(--black); }
.inc-grid .icon { width: 36px; height: 36px; padding: 7px; margin-bottom: 18px; border-radius: 50%; border: 2px solid var(--black); background: transparent; color: var(--black); stroke-width: 2.6; }
.inc-grid p { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.35; }

.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.timeline li { padding: 24px 22px; border-radius: var(--r); background: var(--white); }
.timeline__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 50%; background: var(--orange); color: var(--black); }
.timeline__icon .icon { width: 21px; height: 21px; }
.timeline small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.timeline strong { display: block; font-size: 20px; margin: 2px 0 8px; }
.timeline p { margin: 0; font-size: 14.5px; color: var(--muted); }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.why__item { display: flex; align-items: center; gap: 14px; padding: 22px 24px; border-radius: var(--r); background: var(--black); color: var(--white); font-weight: 600; }
.why__item strong { font-size: 34px; letter-spacing: -.04em; color: var(--orange); }
.why__item > .icon { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--orange); color: var(--black); }
.why__item--link { background: var(--orange); color: var(--black); }
.why__item--link > .icon { background: var(--black); color: var(--orange); }
.why__item--link > .icon:last-child { margin-left: auto; background: none; color: var(--black); padding: 0; width: 22px; height: 22px; }


/* Explore other services: swipeable row of image cards */
.explore { overflow: hidden; }
.explore .split-head { margin-bottom: 28px; }
.explore__controls { display: flex; align-items: center; gap: 10px; }
.explore__controls .link-arrow { margin-right: 10px; }
.explore__track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 8px; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.explore__track::-webkit-scrollbar { display: none; }
.explore__card { flex: none; display: flex; flex-direction: column; width: clamp(270px, 24vw, 330px); scroll-snap-align: start; border-radius: calc(var(--r) + 4px); background: var(--soft); overflow: hidden; transition: background .25s, transform .3s var(--ease); }
.explore__card:hover { background: var(--orange); transform: translateY(-6px); }
.explore__media { position: relative; display: block; aspect-ratio: 16 / 10; margin: 10px 10px 0; border-radius: var(--r); overflow: hidden; background: var(--white); }
.explore__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.explore__card:hover .explore__media img { transform: scale(1.05); }
.explore__icon { position: absolute; left: 12px; bottom: 12px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--black); background: var(--white); color: var(--black); }
.explore__icon .icon { width: 20px; height: 20px; }
.explore__body { display: flex; flex-direction: column; flex: 1; padding: 18px 22px 22px; }
.explore__body small { font-size: 13px; font-weight: 800; color: var(--muted); }
.explore__card:hover .explore__body small { color: var(--black); }
.explore__body strong { font-size: 21px; line-height: 1.2; letter-spacing: -.02em; margin: 4px 0 8px; }
.explore__text { font-size: 14.5px; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 18px; }
.explore__card:hover .explore__text { color: var(--black); }
.explore__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-size: 14.5px; font-weight: 800; }
.explore__go .icon { width: 28px; height: 28px; padding: 6px; border-radius: 50%; border: 2px solid var(--black); transition: transform .25s var(--ease); }
.explore__card:hover .explore__go .icon { transform: translateX(4px); }

/* ---------- Homepage: Website Care teaser + award badges ---------- */
.care-teaser { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: calc(var(--r) + 10px); background: var(--orange); color: var(--black); }
.care-teaser .eyebrow { color: var(--black); }
.care-teaser h2 { color: var(--black); margin-bottom: 16px; }
.care-teaser { --em-fg: var(--white); }
.care-teaser p { font-size: 18px; max-width: 520px; margin-bottom: 26px; }
.care-teaser .btn--ghost { --b-fg: var(--black); --b-bd: var(--black); }
.care-teaser .btn--ghost:hover { --b-bg: var(--black); --b-fg: var(--white); }
.care-teaser .btn--dark:hover { --b-bg: var(--white); --b-fg: var(--black); --b-bd: var(--white); }
.care-teaser__plans { display: grid; gap: 10px; }
.care-teaser__plans li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-radius: var(--r); background: var(--white); }
.care-teaser__plans li:nth-child(2) { background: var(--black); color: var(--white); }
.care-teaser__plans strong { font-size: 18px; }
.care-teaser__plans span { font-size: 14px; font-weight: 600; }

/* ---------- SiteWatch panel (free uptime monitor) ---------- */
.sw-panel { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: calc(var(--r) + 10px); background: var(--black); color: var(--white); --em-fg: var(--orange); }
.sw-panel .eyebrow { color: var(--orange); }
.sw-panel .eyebrow .icon { width: 18px; height: 18px; }
.sw-panel h2 { color: var(--white); margin-bottom: 16px; }
.sw-panel p { font-size: 18px; max-width: 540px; margin-bottom: 24px; color: rgba(255,255,255,.82); }
.sw-panel__form { display: flex; gap: 8px; max-width: 540px; padding: 6px; border-radius: 99px; background: var(--white); }
.sw-panel__form input { flex: 1; min-width: 0; min-height: 48px; padding: 0 18px; border: 0; border-radius: 99px; background: transparent; color: var(--black); font: inherit; font-size: 16px; }
.sw-panel__form input:focus { outline: none; }
.sw-panel__form:focus-within { box-shadow: 0 0 0 3px var(--orange); }
.sw-panel__form .btn--primary:hover { --b-bg: var(--black); --b-fg: var(--white); --b-bd: var(--black); }
.sw-panel p.sw-panel__note { margin: 12px 0 0; font-size: 14px; color: rgba(255,255,255,.62); }
.sw-panel__points { display: grid; gap: 10px; }
.sw-panel__points li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: var(--r); border: 1.5px solid #2f2f2f; }
.sw-panel__points .icon { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--orange); }
.sw-panel__points strong { display: block; margin-bottom: 2px; font-size: 17px; color: var(--white); }
.sw-panel__points span { font-size: 14.5px; color: rgba(255,255,255,.72); }

/* SiteWatch offer under a website audit report. */
.report-watch { display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; align-items: center; margin: 14px 0; padding: 22px 24px; border-radius: var(--r-sm); background: var(--orange); color: var(--black); }
.report-watch h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 18px; color: var(--black); }
.report-watch h3 .icon { width: 22px; height: 22px; }
.report-watch p { margin: 0; font-size: 14px; color: var(--black); }
.report-watch .btn { --b-bg: var(--black); --b-fg: var(--white); --b-bd: var(--black); }
.report-watch .btn:hover { --b-bg: var(--white); --b-fg: var(--black); --b-bd: var(--white); }
@media (max-width: 560px) { .sw-panel__form { flex-direction: column; border-radius: 22px; } .sw-panel__form .btn { width: 100%; justify-content: center; } }
@media (max-width: 760px) { .report-watch { grid-template-columns: 1fr; } .report-watch .btn { width: 100%; } }

/* ---------- Website Care page ---------- */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pain { padding: 26px; border-radius: var(--r); border: 1.5px solid var(--line); transition: border-color .2s, background .2s; }
.pain:hover { border-color: var(--black); background: var(--orange); }
.pain__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 50%; background: var(--black); color: var(--orange); }
.pain__icon .icon { width: 22px; height: 22px; }
.pain h3 { font-size: 19px; margin-bottom: 8px; }
.pain p { margin: 0; font-size: 15px; color: var(--muted); }
.pain:hover p { color: var(--black); }

.care-included { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.care-included .display { margin-bottom: 32px; }
.care-included--solo { grid-template-columns: 1fr; }
.care-included--solo .included { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.included { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.included li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r-sm); background: var(--white); }
.included__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: var(--black); }
.included__icon .icon { width: 18px; height: 18px; }
.included strong { display: block; font-size: 15.5px; line-height: 1.3; margin-bottom: 3px; }
.included li > div > span { display: block; font-size: 14px; color: var(--muted); line-height: 1.45; }

.report { position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--r); background: var(--black); color: var(--white); overflow: hidden; }
.report__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 24px; background: var(--orange); color: var(--black); }
.report__head small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.report__head strong { font-size: 20px; }
.report__status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: var(--black); color: var(--white); font-size: 13px; font-weight: 700; }
.report__status .icon { width: 15px; height: 15px; color: #3ddc84; }
.report__rows { padding: 8px 24px; }
.report__rows li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid #2c2c2c; font-size: 15px; }
.report__rows li:last-child { border-bottom: 0; }
.report__rows span { display: inline-flex; align-items: center; gap: 10px; color: #cfcfcf; }
.report__rows .icon { width: 18px; height: 18px; color: var(--orange); }
.report__rows b { font-size: 16px; white-space: nowrap; }
.report__rows em { font-style: normal; font-size: 13px; color: var(--orange); font-weight: 600; }
.report__note { display: flex; gap: 10px; margin: 0; padding: 18px 24px; border-top: 1px solid #2c2c2c; font-size: 14px; color: #cfcfcf; }
.report__note .icon { flex: none; color: var(--orange); }

.billing { display: inline-flex; padding: 4px; border-radius: 99px; border: 1.5px solid var(--line); }
.billing button { padding: 10px 20px; border: 0; border-radius: 99px; background: none; font-size: 15px; font-weight: 700; }
.billing button span { margin-left: 4px; padding: 2px 8px; border-radius: 99px; background: var(--orange); color: var(--black); font-size: 11.5px; }
.billing button.is-active { background: var(--black); color: var(--white); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: calc(var(--r) + 4px); border: 1.5px solid var(--line); background: var(--white); }
.plan--featured { background: var(--orange); border-color: var(--orange); }
.plan__badge { position: absolute; top: -13px; left: 28px; padding: 5px 12px; border-radius: 99px; background: var(--black); color: var(--white); font-size: 12px; font-weight: 700; }
.plan h3 { font-size: 24px; margin-bottom: 6px; }
.plan__for { font-size: 15px; color: var(--muted); min-height: 3em; }
.plan--featured .plan__for { color: var(--black); }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 6px 0 20px; }
.plan__price small { font-size: 14px; font-weight: 700; }
.plan__price strong { font-size: clamp(34px, 3.4vw, 46px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan__price span { font-size: 14px; color: var(--muted); }
.plan--featured .plan__price span { color: var(--black); }
.plan__facts { display: grid; gap: 8px; padding: 16px 0; margin-bottom: 16px; border-block: 1px solid var(--line); }
.plan--featured .plan__facts { border-color: rgba(17, 17, 17, .2); }
.plan__facts li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; font-weight: 700; }
.plan__facts .icon { width: 18px; height: 18px; color: var(--orange-dk); }
.plan--featured .plan__facts .icon { color: var(--black); }
.plan__items { display: grid; gap: 10px; margin-bottom: 28px; }
.plan__items li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.plan__items .icon { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--orange); color: var(--black); stroke-width: 3; }
.plan--featured .plan__items .icon { background: var(--black); color: var(--orange); }
.plan .btn { margin-top: auto; }
.plan--featured .btn--dark:hover { --b-bg: var(--white); --b-fg: var(--black); --b-bd: var(--white); }
.plans__note { margin: 24px 0 0; text-align: center; color: var(--muted); font-size: 15px; }
.hours-rules { margin: 28px 0 0; padding: clamp(22px, 3vw, 34px); border-radius: calc(var(--r) + 4px); border: 1.5px solid var(--line); background: var(--card, var(--white)); }
.hours-rules h3 { margin: 0 0 18px; font-size: 22px; }
.hours-rules ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 26px; }
.hours-rules li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.55; color: var(--muted); }
.hours-rules li .icon { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--orange); }
.hours-rules strong { display: block; margin-bottom: 2px; font-size: 16px; color: var(--head); }
.hours-rules > p { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
@media (max-width: 980px) { .hours-rules ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hours-rules ul { grid-template-columns: 1fr; } }

.care-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.care-steps li { padding: 28px 24px; border-radius: var(--r); background: var(--soft); }
.care-steps__n { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 50%; background: var(--orange); color: var(--black); font-size: 18px; font-weight: 800; }
.care-steps h3 { font-size: 20px; margin-bottom: 8px; }
.care-steps p { margin: 0; font-size: 15px; color: var(--muted); }

.care-check { padding-bottom: 0; }
.care-check .display { font-size: clamp(28px, 3.4vw, 44px); max-width: 900px; }
.care-check + .audit { padding-top: 24px; }

.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-wrap .display { margin-bottom: 16px; }
.faq-wrap .lead { margin-bottom: 24px; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r); background: var(--white); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); }
.faq summary span::before, .faq summary span::after { content: ""; position: absolute; left: 9px; right: 9px; top: 14px; height: 2px; background: var(--black); transition: transform .2s; }
.faq summary span::after { transform: rotate(90deg); }
.faq details[open] summary span::after { transform: rotate(0); }
.faq details[open] summary span { background: var(--black); }
.faq details[open] summary span::before, .faq details[open] summary span::after { background: var(--orange); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

/* ---------- AI Solutions page ---------- */
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ai-card { display: flex; flex-direction: column; padding: 28px; border-radius: calc(var(--r) + 4px); background: var(--soft); transition: background .2s, transform .3s var(--ease); }
.ai-card:hover { background: var(--orange); transform: translateY(-4px); }
.ai-card__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 50%; border: 2px solid var(--black); }
.ai-card__icon .icon { width: 24px; height: 24px; }
.ai-card h3 { font-size: 22px; margin-bottom: 8px; }
.ai-card p { font-size: 15.5px; color: var(--muted); margin-bottom: 18px; }
.ai-card:hover p { color: var(--black); }
.ai-card small { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.ai-card:hover small { border-color: rgba(17, 17, 17, .2); }
.ai-promise { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.ai-promise ul { display: grid; gap: 10px; }
.ai-promise li { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; align-items: center; padding: 18px 20px; border-radius: var(--r); background: var(--soft); }
.ai-promise__icon { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: var(--black); }
.ai-promise__icon .icon { width: 21px; height: 21px; }
.ai-promise strong { font-size: 17px; color: var(--white); }
.ai-promise li > span:last-child { font-size: 14.5px; color: var(--muted); }
.faq--soft details { background: var(--soft); }

/* ---------- Trainings page ---------- */
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: clamp(56px, 7vw, 96px); }
.format { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: var(--r); background: var(--soft); }
.format__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: var(--black); }
.format h3 { font-size: 19px; margin-bottom: 6px; }
.format p { margin: 0; font-size: 15px; color: var(--muted); }
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.course { display: flex; flex-direction: column; padding: 26px; border-radius: calc(var(--r) + 4px); border: 1.5px solid var(--line); background: var(--white); transition: border-color .2s, transform .3s var(--ease); }
.course:hover { border-color: var(--black); transform: translateY(-4px); }
.course__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.course__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--black); color: var(--orange); }
.course__icon .icon { width: 24px; height: 24px; }
.course__price { padding: 5px 12px; border-radius: 99px; background: var(--orange); font-size: 12.5px; font-weight: 700; }
.course h3 { font-size: 21px; line-height: 1.2; margin-bottom: 10px; }
.course > p { font-size: 15px; color: var(--muted); }
.course__meta { display: grid; gap: 6px; margin-bottom: 16px; }
.course__meta li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.course__meta .icon { width: 16px; height: 16px; color: var(--orange-dk); }
.course__topics { margin-bottom: 22px; border-top: 1px solid var(--line); }
.course__topics summary { padding: 14px 0 6px; font-size: 14.5px; font-weight: 700; cursor: pointer; }
.course__topics ul { display: grid; gap: 8px; padding-top: 6px; }
.course__topics li { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.course__topics .icon { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--orange-dk); stroke-width: 3; }
.course .btn { margin-top: auto; }
.courses-head { margin-bottom: 32px; }
.trainer { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.trainer img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); border: 3px solid var(--black); }
.is-dark .trainer img { border-color: var(--white); }
.trainer .display { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 16px; }
.trainer p { font-size: 18px; max-width: 600px; margin: 0; }

/* ==========================================================================
   Comic / poster style — blog pages only (body.kl-comic).
   Thick black outlines, flat orange panels, hard offset shadows, tilted stickers.
   ========================================================================== */
.kl-comic { --ink-line: 3px solid var(--black); --pop: 6px 6px 0 var(--black); }

/* Banner: a black comic panel with orange accents */
.kl-comic .page-hero { background: var(--black); color: var(--white); border: var(--ink-line); box-shadow: 7px 7px 0 var(--orange); border-radius: 18px; margin-bottom: 18px; }
.kl-comic .page-hero h1 { color: var(--white); }
.kl-comic .page-hero h1 em { display: inline-block; padding: 0 .14em .04em; background: var(--orange); color: var(--black); border: 3px solid var(--white); border-radius: 10px; transform: rotate(-2deg); }
.kl-comic .page-hero h1::after { background: var(--orange); height: 6px; }
.kl-comic .page-hero .lead, .kl-comic .page-hero .article__meta { color: #cfcfcf; font-weight: 500; }
.kl-comic .crumbs, .kl-comic .crumbs [aria-current] { color: #9a9a9a; }
.kl-comic .crumbs a { color: var(--white); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.kl-comic .crumbs a:hover { color: var(--orange); }
.kl-comic .article__author { color: var(--white); }
.kl-comic .avatar { background: var(--orange); color: var(--black); border: 2px solid var(--white); }
.kl-comic .bubble .avatar { border-color: var(--black); }

/* Topic chips + search */
.kl-comic .blog-cat { border: 2.5px solid var(--black); background: var(--white); box-shadow: 3px 3px 0 var(--black); transition: transform .15s, box-shadow .15s, background .15s; }
.kl-comic .blog-cat:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--black); background: var(--orange); }
.kl-comic .blog-cat.is-active { background: var(--black); color: var(--white); }
.kl-comic .blog-cat.is-active sup { color: var(--orange); }
.kl-comic .search-bar { border: 2.5px solid var(--black); box-shadow: 3px 3px 0 var(--black); background: var(--white); }

/* Post cards: comic panels with a sticker */
.kl-comic .post-card { border: var(--ink-line); border-radius: 16px; box-shadow: var(--pop); background: var(--white); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.kl-comic .post-card:hover { transform: translate(-4px, -4px); border-color: var(--black); box-shadow: 10px 10px 0 var(--orange); }
.kl-comic .post-card__media { border-bottom: var(--ink-line); }
.kl-comic .post-card:hover .post-card__media img { transform: none; }
.kl-comic .post-card__cat { top: 14px; left: 14px; background: var(--orange); border: 2.5px solid var(--black); box-shadow: 3px 3px 0 var(--black); transform: rotate(-4deg); font-weight: 800; }
.kl-comic .post-card__cover { border-bottom: 0; }
.kl-comic .post-card:nth-child(3n+2) .post-card__cover { background: var(--black); color: var(--orange); }
.kl-comic .post-card__meta .icon { color: var(--black); }
.kl-comic .post-card h3 a:hover { color: var(--black); background: var(--orange); }
.kl-comic .post-card .link-arrow .icon { border: 2px solid var(--black); }
.kl-comic .post-card--featured { box-shadow: 10px 10px 0 var(--black); }
.kl-comic .post-card--featured .post-card__media { border-bottom: 0; border-right: var(--ink-line); }
.kl-comic .posts-grid { gap: 32px 26px; }
.kl-comic .posts-grid .post-card:nth-child(odd) { transform: rotate(-.6deg); }
.kl-comic .posts-grid .post-card:nth-child(even) { transform: rotate(.6deg); }
.kl-comic .posts-grid .post-card:hover { transform: translate(-4px, -4px) rotate(0); }

/* Article page */
.kl-comic .article__cover { border: var(--ink-line); box-shadow: var(--pop); border-radius: 16px; }
.kl-comic .article__content > p:first-child { font-size: 1.18em; font-weight: 500; line-height: 1.6; color: var(--black); }
.kl-comic .article__content > p:first-child + * { margin-top: 1.4em; }
.kl-comic .entry-content blockquote { border: var(--ink-line); border-left-width: 3px; border-radius: 16px; padding: 22px 26px; background: var(--white); box-shadow: var(--pop); }
.kl-comic .entry-content a { color: var(--black); text-decoration-color: var(--orange); text-decoration-thickness: 3px; }
.kl-comic .share { background: var(--white); border: var(--ink-line); box-shadow: var(--pop); border-radius: 16px; }
.kl-comic .share a { border: 2px solid var(--black); }
.kl-comic .share a:hover { box-shadow: 2px 2px 0 var(--black); }
.kl-comic .side-cta { border: var(--ink-line); box-shadow: var(--pop); border-radius: 16px; transform: rotate(1deg); }
.kl-comic .author-box { background: var(--white); border: var(--ink-line); box-shadow: var(--pop); border-radius: 16px; position: relative; }
/* speech-bubble tail */
.kl-comic .author-box::after { content: ""; position: absolute; left: 44px; bottom: -15px; width: 24px; height: 24px; background: var(--white); border-right: var(--ink-line); border-bottom: var(--ink-line); transform: rotate(45deg); }
.kl-comic .post-nav { margin-top: 36px; }
.kl-comic .post-nav__link { border: var(--ink-line); box-shadow: 4px 4px 0 var(--black); border-radius: 14px; transition: transform .15s, box-shadow .15s, background .15s; }
.kl-comic .post-nav__link:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--black); }
.kl-comic .pagination .page-numbers { border: 2.5px solid var(--black); box-shadow: 3px 3px 0 var(--black); }
/* Portfolio: filters, project panels, case study */
.kl-comic .select select { border: 2.5px solid var(--black); box-shadow: 3px 3px 0 var(--black); }
.kl-comic .select select:hover, .kl-comic .select select:focus { background: var(--orange); }
.kl-comic .work-filters__reset { color: var(--black); text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.kl-comic .case__panel { background: var(--black); color: var(--white); border: var(--ink-line); box-shadow: 7px 7px 0 var(--orange); border-radius: 18px; }
.kl-comic .case__panel .back-link { color: var(--white); }
.kl-comic .case__panel .back-link:hover { color: var(--orange); }
.kl-comic .case__story h1 { color: var(--white); }
.kl-comic .case__story h2 { color: var(--orange); }
.kl-comic .case__more { color: var(--orange); }
.kl-comic .case__story p, .kl-comic .case__story .entry-content { color: #d4d4d4; }
.kl-comic .case__cover { border: 3px solid var(--white); transform: rotate(-1.5deg); }
.kl-comic .case__facts { border: 3px solid var(--white); transform: rotate(1deg); }
.kl-comic .kl-comic .kl-comic .project-nav { border-block: 0; }
.kl-comic .project-nav__inner { gap: 16px; }
.kl-comic .project-nav__link { flex: 1; padding: 22px 24px; border: var(--ink-line); border-radius: 14px; box-shadow: 4px 4px 0 var(--black); transition: transform .15s, box-shadow .15s; }
.kl-comic .project-nav__link:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--orange); }
.kl-comic .project-nav__link:hover strong { color: var(--black); }
.kl-comic .work-empty { padding: 24px; border: var(--ink-line); border-radius: 16px; box-shadow: var(--pop); }
.kl-comic .cta-strip, .kl-comic .footer-cta__panel { border: var(--ink-line); box-shadow: var(--pop); }
.kl-comic .footer-cta__panel { border-radius: 22px; }
.kl-comic .empty-state { border: var(--ink-line); box-shadow: var(--pop); border-radius: 16px; padding: 48px 24px; }

/* ---------- Comments (articles) ---------- */
.comments { max-width: 720px; margin-top: 56px; }
.comments__head h2 { font-size: 28px; margin-bottom: 20px; }
.comments__empty { display: flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 16px 20px; border-radius: 14px; background: var(--soft); font-weight: 600; }
.comments__empty .icon { color: var(--orange-dk); }
.comment-list, .comment-list .children { display: grid; gap: 22px; margin: 0 0 36px; }
.comment-list .children { margin: 22px 0 0 34px; }
.bubble { position: relative; padding: 20px 22px; border-radius: 16px; background: var(--white); border: 3px solid var(--black); box-shadow: 5px 5px 0 var(--black); }
.bubble::after { content: ""; position: absolute; left: 28px; bottom: -13px; width: 20px; height: 20px; background: var(--white); border-right: 3px solid var(--black); border-bottom: 3px solid var(--black); transform: rotate(45deg); }
.bypostauthor > .bubble { background: var(--orange); }
.bypostauthor > .bubble::after { background: var(--orange); }
.bubble__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.bubble__head strong { display: block; font-size: 16px; }
.bubble__head time { display: block; font-size: 13px; color: var(--muted); }
.bypostauthor > .bubble .bubble__head time { color: var(--black); }
.bubble .avatar { background: var(--orange); color: var(--black); border: 2px solid var(--black); }
.bypostauthor > .bubble .avatar { background: var(--white); }
.bubble__team { margin-left: auto; padding: 3px 10px; border-radius: 99px; background: var(--black); color: var(--white); font-size: 12px; font-style: normal; font-weight: 700; }
.bubble__pending { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--orange-dk); }
.bubble__text p { margin: 0 0 .6em; font-size: 16px; line-height: 1.6; }
.bubble__text p:last-child { margin-bottom: 0; }
.comment-reply-link { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 800; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.comment-respond { padding: 26px; border-radius: 16px; background: var(--soft); border: 3px solid var(--black); box-shadow: 6px 6px 0 var(--black); }
.comment-reply-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 22px; margin: 0 0 4px; }
.comment-reply-title small a { font-size: 13.5px; font-weight: 700; text-decoration: underline; }
.comment-notes { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.comment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.comment-form .cf { margin: 0; }
.comment-form .cf--full, .comment-form .form-submit { grid-column: 1 / -1; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 800; }
.comment-form .req { color: var(--orange-dk); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 2.5px solid var(--black); background: var(--white); font-size: 16px; outline: none; resize: vertical; transition: box-shadow .15s; }
.comment-form input:focus, .comment-form textarea:focus { box-shadow: 3px 3px 0 var(--orange); }
.comment-form .cf--check { display: flex; align-items: center; gap: 10px; }
.comment-form .cf--check label { margin: 0; font-weight: 600; }
.comment-form .cf--check input { width: 18px; height: 18px; accent-color: var(--orange); }
.comment-form .form-submit { margin: 4px 0 0; }
.comment-form .btn--primary { border: 2.5px solid var(--black); box-shadow: 3px 3px 0 var(--black); }
.comment-form .btn--primary:hover { --b-bg: var(--black); --b-fg: var(--white); }
.comments .nav-links { display: flex; justify-content: space-between; margin-bottom: 28px; font-weight: 700; }

/* ---------- Case study gallery + lightbox ---------- */
.case__gallery { columns: 2; column-gap: 20px; margin-top: clamp(28px, 4vw, 48px); }
.case__shot { margin: 0 0 20px; break-inside: avoid; }
.case__shot--wide { column-span: all; }
.case__shot a { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: var(--white); border: 1px solid var(--line); cursor: zoom-in; }
.case__shot img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.case__shot a:hover img { transform: scale(1.02); }
.case__zoom { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: var(--white); opacity: 0; transform: scale(.8); transition: opacity .2s, transform .2s var(--ease); }
.case__shot a:hover .case__zoom, .case__shot a:focus-visible .case__zoom { opacity: 1; transform: none; }
.kl-comic .case__shot a { border: var(--ink-line); box-shadow: var(--pop); border-radius: 16px; }
.kl-comic .case__shot a:hover { box-shadow: 8px 8px 0 var(--orange); }
.kl-comic .case__zoom { background: var(--orange); color: var(--black); border: 2.5px solid var(--black); }

.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; gap: 12px; padding: 56px 20px; background: rgba(10, 10, 10, .94); }
.lightbox[hidden] { display: none; }
.lightbox__stage { margin: 0; display: grid; place-items: center; height: 100%; min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); border-radius: 12px; background: var(--white); object-fit: contain; }
.lightbox__nav, .lightbox__close { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--white); background: transparent; color: var(--white); transition: background .2s, color .2s; }
.lightbox__nav:hover, .lightbox__close:hover { background: var(--orange); border-color: var(--orange); color: var(--black); }
.lightbox__nav--prev .icon { transform: rotate(180deg); }
.lightbox__close { position: absolute; top: 16px; right: 16px; }
.lightbox__count { position: absolute; left: 0; right: 0; bottom: 18px; margin: 0; text-align: center; color: var(--white); font-size: 14px; font-weight: 800; letter-spacing: .04em; }
.lightbox.is-single .lightbox__nav, .lightbox.is-single .lightbox__count { visibility: hidden; }
body.lb-open { overflow: hidden; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--d, 0) * 60ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.nav .menu > li > a { padding: 9px 11px; font-size: 14.5px; }
	.process__steps { grid-template-columns: repeat(3, 1fr); }
	.values { grid-template-columns: repeat(2, 1fr); }
	.case__grid { grid-template-columns: 1fr 1.3fr; }
	.case__facts { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}

@media (max-width: 1024px) {
	.hide-md { display: none !important; }
	.nav-toggle { display: grid; place-items: center; }
	/* Absolute, not fixed: the sticky header is the menu's anchor. */
	.nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); z-index: 49; padding: 12px var(--gutter) 40px; overflow-y: auto; background: var(--white); border-top: 1px solid var(--line); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
	.nav.is-open { opacity: 1; visibility: visible; }
	.nav .menu { flex-direction: column; align-items: stretch; }
	.nav .menu > li { border-bottom: 1px solid var(--line); }
	.nav .menu > li > a { display: flex; justify-content: space-between; padding: 18px 2px; font-size: 22px; font-weight: 800; border-radius: 0; background: none !important; color: var(--black) !important; }
	.nav .sub-menu { position: static; width: auto; display: none; grid-template-columns: 1fr; padding: 0 0 12px; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; }
	.nav .menu-item-has-children.is-open > .sub-menu { display: grid; }
	.mega { position: static; display: none; padding: 0 0 14px; opacity: 1; visibility: visible; transform: none; }
	.mega::before { display: none; }
	.menu-item--mega.is-open > .mega { display: block; }
	.mega__inner { margin: 0; padding: 0; border: 0; box-shadow: none; }
	.mega__top { grid-template-columns: 1fr; gap: 12px; }
	.mega__groups { grid-template-columns: 1fr; gap: 10px; }
	.mega__col:first-child { grid-column: auto; grid-template-columns: 1fr; }
	.mega__label { padding: 0; margin: 6px 0 2px; }
	.mega__link { padding: 8px 0; align-items: center; }
	.mega__all { justify-self: start; }
	.mega__bottom { grid-template-columns: 1fr; }
	.mega__feature em { display: none; }
	.nav .menu-item-has-children.is-open > a::after { transform: rotate(-135deg); }
	.nav .sub-menu a { padding: 10px 2px; font-size: 16px; color: var(--muted); }
	.nav__mobile-cta { display: grid; gap: 10px; margin-top: 28px; }
	body.nav-open { overflow: hidden; }

	.hero__row { grid-template-columns: 1fr; }
	.hero__proof { grid-auto-flow: column; justify-content: start; gap: 24px; }
	.svc-row { grid-template-columns: 48px 1fr 48px; }
	.svc-row__tags { display: none; }
	.stack__card { grid-template-columns: 1fr; top: calc(var(--header-h) + 12px + var(--i) * 10px); min-height: 0; }
	.stack__media { order: -1; aspect-ratio: 16 / 10; }
	.estimator { grid-template-columns: minmax(0, 1fr); }
	.estimator__result { position: static; }
	.audit__head { grid-template-columns: 1fr; gap: 28px; }
	.audit__error { grid-column: 1; }
	.testimonials__grid, .community__grid, .contact__grid, .visit__panel, .footer-cta__inner { grid-template-columns: 1fr; }
	.care-teaser, .sw-panel, .care-included, .faq-wrap, .trainer, .svc-hero__panel, .svc-intro { grid-template-columns: 1fr; }
	.inc-grid, .why { grid-template-columns: 1fr 1fr; }
	.timeline { grid-template-columns: repeat(3, 1fr); }
		.svc-hero__shot { max-width: 560px; }
	.report { position: static; }
	.pains, .plans, .courses, .ai-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ai-promise { grid-template-columns: 1fr; }
	.care-steps, .formats { grid-template-columns: 1fr 1fr; }
	.article__layout { grid-template-columns: 1fr; }
	.article__side { position: static; grid-template-columns: 1fr 1fr; }
	.post-card--featured { grid-template-columns: 1fr; }
	.post-card--featured .post-card__media { min-height: 0; aspect-ratio: 16 / 9; }
	.projects-grid, .posts-grid { grid-template-columns: repeat(2, 1fr); }
	.work-page__layout { grid-template-columns: 1fr; }
	.work-filters { position: static; grid-template-columns: 1fr 1fr; }
	.work-filters__count { grid-column: 1 / -1; margin: 0; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.cap-columns { grid-template-columns: 1fr; }
	.report-groups { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
	body { font-size: 16px; }
	.hide-sm { display: none !important; }
	.topbar__inner { gap: 14px; justify-content: space-between; }
	.topbar__spacer { display: none; }
	:root { --header-h: 68px; }
	.brand__logo { height: 34px; }
	.hero__kicker { font-size: 12.5px; }
	/* Phones: more space between the headline's lines. */
	.hero__title { font-size: clamp(42px, 12.5vw, 60px); line-height: 1.18; }
	.hero__proof { grid-auto-flow: row; }
	.svc-row { gap: 14px; padding-inline: 4px; }
	.svc-row__go { width: 40px; height: 40px; }
	.filmstrip__tile:nth-child(even) { transform: none; }
	.projects-grid, .posts-grid, .field-grid, .report-checks, .values, .process__steps { grid-template-columns: 1fr; }
	.cta-strip { flex-wrap: wrap; padding: 22px; }
	.cta-strip .btn { width: 100%; }
	.est-types { grid-template-columns: 1fr 1fr; }
	.est-step { padding: 20px; }
	.est-card { padding: 24px; }
	.audit__form { flex-wrap: wrap; padding: 6px; border-radius: var(--r); }
	.audit__prefix { display: none; }
	.audit__form input { padding: 12px; width: 100%; flex-basis: 100%; }
	.audit__form .btn { width: 100%; }
	.report-summary { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.gauge { width: 150px; height: 150px; }
	.report-groups { text-align: left; width: 100%; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 0; }
	.site-footer__brand { padding-bottom: 28px; }
	.site-footer__col { border-top: 1px solid var(--line); }
	.site-footer__col:last-child { border-bottom: 1px solid var(--line); }
	.site-footer__title { margin: 0; }
	.site-footer__toggle { padding: 18px 0; font-size: 16px; cursor: pointer; pointer-events: auto; }
	.site-footer__chev { display: block; color: var(--orange); }
	.site-footer__col.is-open .site-footer__chev { transform: rotate(45deg); }
	.site-footer__col > ul { display: none; padding-bottom: 20px; }
	.site-footer__col.is-open > ul { display: grid; }
	.community__badge { width: 96px; right: -4px; }
	.community__media > img:first-child { box-shadow: 8px 8px 0 var(--orange); }
	.case__grid { grid-template-columns: 1fr; }
	.case__gallery { columns: 1; }
	.case__shot { margin-bottom: 14px; }
	.lightbox { grid-template-columns: 1fr; padding: 64px 10px 72px; }
	.lightbox__nav { position: absolute; bottom: 10px; }
	.lightbox__nav--prev { left: 16px; }
	.lightbox__nav:not(.lightbox__nav--prev) { right: 16px; }
	.comment-form { grid-template-columns: 1fr; }
	.comment-list .children { margin-left: 14px; }
	.kl-comic .post-card--featured .post-card__media { border-right: 0; border-bottom: var(--ink-line); }
	.kl-comic .post-card, .kl-comic .side-cta { box-shadow: 4px 4px 0 var(--black); }
	.kl-comic .page-hero, .kl-comic .case__panel { box-shadow: 4px 4px 0 var(--orange); }
		.kl-comic .project-nav__inner { flex-direction: column; }
	.week { grid-template-columns: repeat(4, 1fr); }
	.explore__controls .round-btn { display: none; }
	.inc-grid, .why, .timeline { grid-template-columns: 1fr; }
	.visit__map { min-height: 320px; }
	.lf-grid { grid-template-columns: 1fr; }
	.lead-form { transform: none; box-shadow: 8px 8px 0 var(--black); }
	.quick__btn { font-size: 15px; }
	.pains, .plans, .courses, .care-steps, .formats, .included, .ai-grid { grid-template-columns: minmax(0, 1fr); }
	.care-teaser__plans li { flex-direction: column; align-items: flex-start; gap: 2px; }
	.article__side { grid-template-columns: 1fr; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav__link--next { grid-column: auto; }
	.blog-list .search-bar { width: 100%; }
	.article__content > p:first-child { font-size: 19px; }
	.project-nav__inner { flex-direction: column; gap: 0; }
	.project-nav__link { max-width: none; padding: 22px 0; }
	.project-nav__link + .project-nav__link { border-top: 1px solid var(--line); }
	.wa-float { right: 14px; bottom: 14px; height: 52px; padding: 0 14px; }
	.to-top { right: 18px; bottom: 78px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.marquee__track, .filmstrip__track { animation: none; }
	.psi.is-loading .psi__status::before { animation: none; }
	.js [data-reveal] { opacity: 1; transform: none; }
}

/* Phones: compact stacking cards so each fits on screen. */
@media (max-width: 600px) {
	.stack { gap: 18px; }
	.stack__media { margin: 10px; aspect-ratio: 16 / 9; }
	.stack__text { padding: 8px 22px 22px; }
	.stack__sector { margin: 12px 0 10px; }
	.stack__text h3 { font-size: 28px; margin-bottom: 8px; }
	.stack__text p { font-size: 15px; line-height: 1.5; margin-bottom: 16px; }
	.stack__text .tags { display: none; }
}

/* Cards still stack on tablets and phones; on very short screens they'd be taller than the view, so just scroll. */
@media (max-width: 1024px) and (max-height: 640px) { .stack__card { position: relative; top: 0; } }

/* ---------- Keyboard: Escape closes a dropdown even while it has focus ---------- */
.nav .menu-item-has-children.is-dismissed > .sub-menu, .menu-item--mega.is-dismissed > .mega { opacity: 0; visibility: hidden; }

/* ---------- Accessibility panel ---------- */
.a11y { position: fixed; left: 20px; bottom: 20px; z-index: 45; font-family: var(--font); }
.a11y__open { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border-radius: 50%; border: 2px solid var(--black); background: var(--white); color: var(--black); cursor: pointer; transition: background .2s, color .2s; }
.a11y__open .icon { width: 28px; height: 28px; }
.a11y__open:hover, .a11y__open[aria-expanded="true"] { background: var(--black); color: var(--orange); }
.a11y__panel { position: absolute; left: 0; bottom: 64px; width: min(360px, calc(100vw - 40px)); max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); overflow: auto; padding: 20px; border-radius: var(--r); border: 2px solid var(--black); background: var(--white); color: var(--black); box-shadow: 6px 6px 0 var(--black); }
.a11y__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.a11y__head h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.a11y__close { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 0; background: var(--soft); color: var(--black); cursor: pointer; }
.a11y__close:hover { background: var(--black); color: var(--white); }
.a11y__close .icon { width: 18px; height: 18px; }
.a11y__size { margin-bottom: 14px; }
.a11y__size > span { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.a11y__size > span .icon { width: 20px; height: 20px; }
.a11y__size div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.a11y__size button { min-height: 44px; border-radius: var(--r-sm); border: 2px solid var(--black); background: var(--white); color: var(--black); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.a11y__size button[data-a11y-text="1"] { font-size: 16px; }
.a11y__size button[data-a11y-text="2"] { font-size: 18px; }
.a11y__size button[aria-pressed="true"] { background: var(--black); color: var(--white); }
.a11y__options { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.a11y__options button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 12px; border-radius: var(--r-sm); border: 2px solid var(--line); background: var(--white); color: var(--black); font: inherit; text-align: left; cursor: pointer; }
.a11y__options button:hover { border-color: var(--black); }
.a11y__options button > span:nth-child(2) { flex: 1; display: grid; line-height: 1.3; }
.a11y__options strong { font-size: 15px; }
.a11y__options small { font-size: 13px; color: var(--muted); }
.a11y__icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--soft); }
.a11y__icon .icon { width: 18px; height: 18px; }
.a11y__switch { flex: none; position: relative; width: 40px; height: 24px; border-radius: 99px; border: 2px solid var(--black); background: var(--white); }
.a11y__switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--black); transition: transform .2s var(--ease); }
.a11y__options button[aria-pressed="true"] { border-color: var(--black); }
.a11y__options button[aria-pressed="true"] .a11y__icon { background: var(--orange); }
.a11y__options button[aria-pressed="true"] .a11y__switch { background: var(--orange); }
.a11y__options button[aria-pressed="true"] .a11y__switch::after { transform: translateX(16px); }
.a11y__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.a11y__reset { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 99px; border: 2px solid var(--black); background: var(--white); color: var(--black); font: inherit; font-weight: 700; cursor: pointer; }
.a11y__reset .icon { width: 16px; height: 16px; }
.a11y__foot a { color: var(--black); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) { .a11y { left: 12px; bottom: 16px; } .a11y__open { width: 48px; height: 48px; } }
@media print { .a11y, .quick-actions { display: none; } }

/* Text size: scales page content and footer evenly, like browser zoom. The header keeps its size so the menu still fits. */
html.a11y-text-1 :is(.site-main, .site-footer) { zoom: 1.12; }
html.a11y-text-2 :is(.site-main, .site-footer) { zoom: 1.25; }
@media (max-width: 600px) {
	html.a11y-text-1 :is(.site-main, .site-footer) { zoom: 1.08; }
	html.a11y-text-2 :is(.site-main, .site-footer) { zoom: 1.16; }
}

/* High contrast: darker greys, solid lines, thicker focus ring. */
html.a11y-contrast { --muted: #1a1a1a; --line: #111111; --soft: #ffffff; --em-fg: var(--orange-dk); }
html.a11y-contrast :is(.is-dark, .section--dark, .site-footer, .audit, .topbar) { --muted: #f2f2f2; --text: #ffffff; --line: #cfcfcf; color: #ffffff; }
html.a11y-contrast .is-orange { --muted: #111111; }
html.a11y-contrast :focus-visible { outline: 3px solid var(--black); outline-offset: 3px; box-shadow: 0 0 0 6px var(--orange); }
html.a11y-contrast :is(.is-dark, .section--dark, .site-footer, .page-hero, .audit) :focus-visible { outline-color: var(--white); }
html.a11y-contrast :is(.pain, .ai-card, .plan, .course, .value, .included li, .faq details, .post-card, .project-card, .format) { border: 2px solid currentColor; }
html.a11y-contrast ::placeholder { color: #444; opacity: 1; }

/* Underline links (buttons keep their shape). */
html.a11y-links a:not(.btn):not(.brand):not(.wa-float) { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Stop animations: everything still, same as the system "reduce motion" setting. */
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
html.a11y-still :is(.marquee__track, .filmstrip__track) { animation: none !important; }
html.a11y-still.js [data-reveal] { opacity: 1; transform: none; }

/* Readable font. */
html.a11y-font { --font: "Atkinson Hyperlegible", Verdana, Arial, sans-serif; --font-menu: var(--font); }

/* Text spacing (WCAG 1.4.12 values). */
html.a11y-spacing :is(.site-main, .site-footer, .a11y__panel) :is(p, li, dd, dt, label, small, blockquote, summary, .lead, td, th) { line-height: 1.6 !important; letter-spacing: .12em !important; word-spacing: .16em !important; }
html.a11y-spacing .site-main p { margin-bottom: 2em; }
html.a11y-spacing :is(h1, h2, h3, h4) { letter-spacing: 0 !important; line-height: 1.25 !important; }

/* Moving strips pause while hovered or focused (WCAG 2.2.2). */
:is(.filmstrip, .marquee):is(:hover, :focus-within) :is(.filmstrip__track, .marquee__track) { animation-play-state: paused; }

/* ---------- Block style settings (editor → block → Styles) ---------- */
/* A chosen background also switches the section's text, card and highlight colours. */
:is(.has-white-background-color, .has-soft-background-color) {
	--bg: transparent; --soft: #f6f3ee; --card: #ffffff; --text: #111111; --head: #111111;
	--muted: #5c5c5c; --line: #e6e1d9; --accent-text: var(--orange-dk);
	--em-fg: var(--orange);
}
.has-soft-background-color { --soft: #ffffff; }
.has-black-background-color {
	--bg: transparent; --soft: #1c1c1c; --card: #1c1c1c; --text: #ececec; --head: #ffffff;
	--muted: #a8a8a8; --line: #2f2f2f; --accent-text: var(--orange);
	--em-fg: var(--orange);
}
.has-orange-background-color {
	--bg: transparent; --soft: #ffab4a; --card: #ffffff; --text: #111111; --head: #111111;
	--muted: #3b2a14; --line: #111111; --accent-text: var(--black);
	--em-fg: var(--white);
}
.has-deep-orange-background-color {
	--bg: transparent; --soft: #8f4900; --card: #ffffff; --text: #ffffff; --head: #ffffff;
	--muted: #f6e2cc; --line: #ffffff; --accent-text: var(--white);
	--em-fg: var(--black);
}
/* A chosen text colour reaches headings and secondary text too. */
.has-text-color { --text: currentColor; --head: currentColor; --muted: currentColor; }
/* A chosen font reaches headings that normally use the menu font. */
[class*="-font-family"] :is(h1, h2, h3) { font-family: inherit; }
/* Health check: the block's background shows through its two parts. */
.kl-audit.has-background :is(section, .audit) { background: transparent; }

/* Highlight style for *starred* words. */
:is(.kl-hl-text, .kl-hl-text *) { --em-fg: var(--orange); }
:is(.kl-hl-black, .kl-hl-black *) { --em-fg: var(--black); }
:is(.kl-hl-white, .kl-hl-white *) { --em-fg: var(--white); }
:is(.kl-hl-plain, .kl-hl-plain *) { --em-fg: currentColor; }

/* Section size: scales the whole section evenly. */
.kl-size-sm { zoom: .9; }
.kl-size-lg { zoom: 1.1; }
.kl-size-xl { zoom: 1.2; }
/* Orange background: buttons, stars and round buttons switch to black, as in the theme's own orange sections. */
.has-orange-background-color .btn--primary { --b-bg: var(--black); --b-fg: var(--white); --b-bd: var(--black); }
.has-orange-background-color .btn--primary:hover { --b-bg: var(--white); --b-fg: var(--black); --b-bd: var(--white); }
.has-orange-background-color :is(.stars, .round-btn) { color: var(--black); border-color: var(--black); }
/* Page banner on a light or orange background: dark text. */
.page-hero:is(.has-orange-background-color, .has-white-background-color, .has-soft-background-color) :is(h1, .eyebrow, .crumbs a, .back-link, .article__author) { color: var(--black); }
.page-hero:is(.has-orange-background-color, .has-white-background-color, .has-soft-background-color) :is(.lead, .crumbs, .article__meta) { color: var(--muted); }
.page-hero.has-orange-background-color h1::after { background: var(--black); }
/* Page banner with a chosen text colour. */
.page-hero.has-text-color :is(h1, .eyebrow, .crumbs, .crumbs a, .lead, .back-link, .article__meta, .article__author) { color: inherit; }

/* Touch: comfortable tap sizes (WCAG 2.5.8). */
.back-link { min-height: 32px; }
.comment-form-cookies-consent input { width: 24px; height: 24px; flex: none; }

/* ---------- Homepage motion (assets/js/motion.js) ---------- */
.kl-motion :is(.hero__lead, .hero .btn-row, .hero__proof, .filmstrip) { visibility: hidden; }

/* ---------- Search ---------- */
.search-toggle { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--black); background: var(--white); color: var(--black); transition: background .2s, color .2s; }
.search-toggle:hover, .search-toggle[aria-expanded="true"] { background: var(--black); color: var(--orange); }
.search-toggle .icon { width: 20px; height: 20px; }
body.search-open { overflow: hidden; }

.search-panel { position: fixed; inset: 0; z-index: 70; display: flex; justify-content: center; align-items: flex-start; padding: clamp(12px, 6vh, 72px) 16px 16px; background: rgba(17, 17, 17, .6); }
.search-panel[hidden] { display: none; }
.search-panel__box { width: min(820px, 100%); max-height: 100%; max-height: calc(100dvh - 32px); overflow: auto; padding: clamp(18px, 3vw, 32px); border-radius: var(--r); border: 2px solid var(--black); background: var(--white); box-shadow: 8px 8px 0 var(--orange); }
.search-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.search-panel__head h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.search-panel__close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 0; background: var(--soft); color: var(--black); }
.search-panel__close:hover { background: var(--black); color: var(--white); }
.search-panel__close .icon { width: 18px; height: 18px; }

.search-box { display: flex; align-items: center; gap: 12px; padding: 4px 6px 4px 18px; border-radius: 99px; border: 2px solid var(--black); background: var(--white); }
.search-box:focus-within { box-shadow: 0 0 0 4px var(--orange); }
.search-box > .icon { flex: none; width: 22px; height: 22px; color: var(--black); }
.search-box input { flex: 1; min-width: 0; border: 0; background: none; padding: 12px 0; font: inherit; font-size: 18px; color: var(--black); outline: none; }
.search-box input::-webkit-search-cancel-button { cursor: pointer; }
.search-box__go { flex: none; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%; border: 0; background: var(--orange); color: var(--black); }
.search-box__go:hover { background: var(--black); color: var(--orange); }
.search-box__go .icon { width: 20px; height: 20px; }
.live-search.is-loading .search-box > .icon { animation: kl-pulse 1s ease-in-out infinite; }
@keyframes kl-pulse { 50% { opacity: .35; } }

.search-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.search-suggest[hidden] { display: none; }
.search-suggest > span { margin-right: 4px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.search-suggest button { min-height: 36px; padding: 0 14px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--white); color: var(--black); font: inherit; font-size: 14px; font-weight: 600; }
.search-suggest button:hover { border-color: var(--black); background: var(--black); color: var(--white); }

.search-results:empty { display: none; }
.search-results { margin-top: 20px; }
.search-group + .search-group { margin-top: 18px; }
.search-group__label { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.search-group__label span { padding: 1px 8px; border-radius: 99px; background: var(--soft); color: var(--black); font-size: 12px; letter-spacing: 0; }
.search-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.search-hit { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--black); }
.search-hit:hover, .search-hit:focus-visible { background: var(--soft); }
.search-hit__thumb { flex: none; width: 64px; height: 48px; border-radius: 8px; object-fit: cover; border: 1.5px solid var(--line); }
.search-hit__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--black); }
.search-hit__icon .icon { width: 20px; height: 20px; }
.search-hit__body { flex: 1; min-width: 0; display: grid; line-height: 1.35; }
.search-hit__body strong { font-size: 16px; }
.search-hit__body span { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; font-size: 14px; color: var(--muted); }
.search-hit__meta { flex: none; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.search-all { display: inline-flex; margin-top: 16px; padding: 10px 18px; border-radius: 99px; background: var(--black); color: var(--white); font-weight: 700; font-size: 14px; }
.search-all:hover, .search-all:focus-visible { background: var(--orange); color: var(--black); }
.search-none { padding: 22px; border-radius: var(--r-sm); background: var(--soft); }
.search-none h2, .search-none strong { display: block; margin: 0 0 6px; font-size: 20px; }
.search-none p { margin: 0 0 14px; color: var(--muted); }
.search-none--live p { margin: 0; }
@media (max-width: 600px) {
	.search-panel { padding: 0; align-items: stretch; }
	.search-panel__box { width: 100%; max-height: none; height: 100%; border: 0; border-radius: 0; box-shadow: none; }
	.search-hit__meta { display: none; }
	.search-box input { font-size: 16px; }
}

/* Search results page */
.search-page .live-search { max-width: 820px; }
.search-page__results { max-width: 820px; margin-top: 28px; }
.search-page__results[hidden] { display: none; }
.search-page .search-group + .search-group { margin-top: 28px; }

/* ---------- 404 ---------- */
.lost { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); text-align: center; }
.lost__inner { display: flex; flex-direction: column; align-items: center; }
.lost__code { display: flex; align-items: center; justify-content: center; gap: .04em; font-size: clamp(120px, 26vw, 340px); font-weight: 800; line-height: .9; letter-spacing: -.06em; color: var(--black); }
.lost__pill { display: block; width: 1.2em; height: .78em; margin: 0 .06em; padding: 0; overflow: hidden; border-radius: 999px; border: .04em solid var(--black); background: var(--orange); cursor: pointer; transform: rotate(-8deg); transition: transform .4s var(--ease); }
.lost__pill:hover { transform: rotate(0) scale(1.04); }
.lost__pill img { width: 100%; height: 100%; object-fit: cover; transition: transform .18s ease, opacity .18s ease; }
.lost__pill.is-flipping img { opacity: 0; transform: scale(.85); }
.lost__caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; margin: 18px 0 0; font-size: 15px; color: var(--muted); }
.lost__caption a { color: var(--black); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.lost__shuffle { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 99px; border: 1.5px solid var(--black); background: var(--white); color: var(--black); font: inherit; font-size: 14px; font-weight: 700; }
.lost__shuffle:hover { background: var(--black); color: var(--white); }
.lost__shuffle .icon { width: 16px; height: 16px; }
.lost__title { margin: clamp(28px, 4vw, 44px) 0 12px; font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -.045em; line-height: 1.05; }
.lost__lead { max-width: 560px; margin: 0 0 28px; font-size: 18px; color: var(--muted); }
.lost__search { width: min(680px, 100%); text-align: left; }
.lost__search .search-suggest { justify-content: center; }
.lost__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.lost__links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 99px; border: 2px solid var(--black); color: var(--black); font-weight: 700; }
.lost__links a:hover { background: var(--black); color: var(--white); }
.lost__links .icon { width: 18px; height: 18px; color: var(--orange-dk); }
.lost__links a:hover .icon { color: var(--orange); }
.lost__help { margin: 28px 0 0; font-size: 15px; color: var(--muted); }
.lost__help a { color: var(--black); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Health check pages: tighter rhythm around the tool and the section after it. */
.audit.audit--compact { padding-bottom: clamp(32px, 4vw, 48px); margin-bottom: 0; }
.kl-audit + .section { padding-block: clamp(48px, 5vw, 72px); }

/* ---------- Share a report / health badge ---------- */
.report-share { display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; align-items: center; margin: 14px 0; padding: 22px 24px; border-radius: var(--r-sm); background: var(--soft); }
.report-share h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 18px; color: var(--head); }
.report-share h3 .icon { width: 22px; height: 22px; color: var(--accent-text); }
.report-share__text p { margin: 0; font-size: 14px; color: var(--muted); }
.report-share__out { grid-column: 1 / -1; display: grid; gap: 14px; }
.report-share__badge { display: grid; grid-template-columns: auto 1fr; gap: 14px 24px; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.report-share__msg { margin: 0; font-size: 14px; font-weight: 600; color: var(--head); }
.report-share__msg:empty { display: none; }
.copy-field { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.copy-field input, .copy-field textarea { flex: 1 1 260px; min-width: 0; padding: 12px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--card); color: var(--head); font: 14px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.copy-field input { min-height: 46px; border-radius: 99px; }
.copy-field textarea { resize: none; }
.copy-field--code { flex-direction: column; align-items: stretch; }
.copy-field--code label { font-size: 13px; font-weight: 700; color: var(--head); }
.copy-field--code .btn { align-self: flex-start; }
@media (max-width: 760px) { .report-share, .report-share__badge { grid-template-columns: 1fr; } }

/* Shared report page */
.health-page { padding-top: clamp(32px, 4vw, 48px); }
.health-page .audit__report { margin-top: 0; }
.health-page__verdict { margin: 0 0 18px; font-size: clamp(24px, 2.6vw, 32px); color: var(--black); }
.health-page__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.health-badge { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: start; padding: 24px; border-radius: var(--r-sm); border: 2px solid var(--black); }
.health-badge h3 { margin: 0 0 6px; font-size: 20px; }
.health-badge p { margin: 0 0 16px; font-size: 15px; color: var(--muted); }
.health-badge__code { display: flex; flex-direction: column; gap: 8px; }
.health-badge__code label { font-size: 13px; font-weight: 700; }
.health-badge__code textarea { padding: 12px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line); font: 14px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; resize: none; }
.health-badge__code .btn { align-self: flex-start; }
.health-page__note { margin: 22px 0 0; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .health-badge { grid-template-columns: 1fr; } }

/* Mid-size laptops: menu, search and estimate button share the header without wrapping. */
@media (min-width: 1025px) and (max-width: 1280px) {
	.site-header__inner { gap: 18px; }
	.nav .menu > li > a { padding: 9px 10px; font-size: 14.5px; }
	.site-header__actions { gap: 8px; }
}

/* Share panel: the badge code box fits its code. */
.copy-field--code textarea { flex: none; }
.report-share__badge { align-items: start; }

/* Narrow laptops (1025–1120px): the menu needs the room, so the estimate button steps aside (it is also in the page footer). */
@media (min-width: 1025px) and (max-width: 1120px) { .site-header__actions .hide-md { display: none !important; } }

/* Speed panel: Mobile | Desktop tabs, each with its own score. */
.psi__tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; background: var(--card); border: 1.5px solid var(--line); }
.psi__tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 8px 0 14px; border: 0; border-radius: 99px; background: transparent; color: var(--head); font: inherit; font-size: 14px; font-weight: 700; }
.psi__tabs button .icon { width: 16px; height: 16px; }
.psi__tabs button[aria-selected="true"] { background: var(--black); color: var(--white); }
.psi__tabs b { min-width: 34px; padding: 2px 8px; border-radius: 99px; background: var(--c, var(--soft)); color: var(--black); font-size: 13px; text-align: center; }
.psi__tabs button[aria-selected="true"] b { background: var(--c, #333); color: var(--black); }
.psi [data-psi-panel] { margin-top: 4px; }

/* "How this score works" */
.audit-method { margin: 14px 0; border-radius: var(--r-sm); background: var(--soft); color: var(--text); }
.audit-method summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px; font-weight: 700; color: var(--head); cursor: pointer; list-style: none; }
.audit-method summary::-webkit-details-marker { display: none; }
.audit-method summary .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--orange); color: var(--black); }
.audit-method summary::after { content: "+"; margin-left: auto; font-size: 22px; font-weight: 400; }
.audit-method[open] summary::after { content: "–"; }
.audit-method ul { margin: 0; padding: 0 20px 18px 44px; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* Links to the Google Business Profile reviews */
.reviews-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.reviews-link:hover, .reviews-link:focus-visible { text-decoration-thickness: 2px; }
.rating-badge .reviews-link:hover, .rating-badge .reviews-link:focus-visible { color: var(--orange); }
.review-cta { margin: 14px 0 22px; font-size: 15px; color: var(--muted); }
.review-cta a { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--head); text-decoration: underline; text-underline-offset: 3px; }
.review-cta a .icon { width: 15px; height: 15px; }
