/* Target Media theme. One file, no framework. */

@font-face {
	font-family: "Onest";
	src: url("../fonts/onest.woff") format("woff");
	font-weight: 380 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Unbounded";
	src: url("../fonts/unbounded-600.woff") format("woff");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

:root {
	/* Brand, taken from the Target Media Toolkit plugin. */
	--night: #0d1b24;
	--deep: #12303d;
	--cyan: #1bb0ce;
	--cyan-ink: #0b7d95;
	--cyan-soft: #e6f7fb;
	--ink: #14222a;
	--muted: #56656d;
	--line: #dbe4e8;
	--paper: #f3f7f8;
	--white: #fff;
	--on-dark: #e9f3f6;
	--on-dark-muted: #9fb6bf;

	--display: "Unbounded", "Arial Black", system-ui, sans-serif;
	--text: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 10px;
	--slant: 15deg;
	--section: clamp(56px, 8vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font: 400 1.0625rem/1.65 var(--text);
	font-feature-settings: "lnum" 1;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--cyan-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--night); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 3px; }
main:focus { outline: none; }
h1, h2, h3 { margin: 0 0 .5em; color: inherit; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.15rem); line-height: 1.15; }
h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 650; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--cyan); color: var(--night); font-weight: 600; border-radius: 6px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(800px + 2 * var(--gutter)); }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 22px;
	border: 1.5px solid transparent; border-radius: 8px;
	font: 600 1rem/1.2 var(--text); text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.btn .icon { width: 20px; height: 20px; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--cyan); color: var(--night); }
.btn--primary:hover { background: #3cc4df; color: var(--night); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--white); background: rgba(27, 176, 206, .12); }
.btn--outline { border-color: var(--line); color: var(--ink); }
.btn--outline:hover { border-color: var(--cyan-ink); color: var(--cyan-ink); }
.link-arrow { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: ""; display: inline-block; width: .5em; height: .5em; margin-left: .45em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(-.08em) rotate(45deg); }
.link-arrow:hover { text-decoration: underline; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.logo__mark { width: 44px; height: 26px; fill: currentColor; flex: none; }
.logo__word { font: 500 .9rem/1 var(--text); letter-spacing: .3em; text-transform: uppercase; color: var(--cyan); white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--night); color: var(--on-dark); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.site-header__in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.site-header__brand { text-decoration: none; display: inline-flex; padding: 6px 0; }
.site-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.menu__list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.menu__list a { display: block; padding: 10px 12px; color: var(--on-dark); text-decoration: none; font-weight: 500; border-radius: 6px; }
.menu__list a:hover { color: var(--white); background: rgba(255, 255, 255, .06); }
.menu__list a[aria-current], .menu__list .current-menu-item > a { color: var(--cyan); }
.lang span { display: inline-flex; gap: 2px; }
.lang a { padding: 6px 7px; color: var(--on-dark-muted); font-size: .85rem; font-weight: 600; text-decoration: none; border-radius: 5px; }
.lang a:hover { color: var(--white); }
.lang a[aria-current] { color: var(--white); background: rgba(255, 255, 255, .08); }
.nav-toggle { display: none; margin-left: auto; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; background: none; border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; color: var(--white); font: 600 .95rem var(--text); cursor: pointer; }
.nav-toggle__bars { display: grid; gap: 5px; width: 18px; }
.nav-toggle__bars span { display: block; height: 2px; background: currentColor; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 1040px) {
	.nav-toggle { display: inline-flex; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 16px; padding: 12px var(--gutter) 24px; background: var(--night); border-bottom: 1px solid rgba(255, 255, 255, .08); max-height: calc(100vh - 72px); overflow: auto; }
	.site-nav.is-open { display: flex; }
	.menu__list { flex-direction: column; }
	.menu__list a { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, .06); border-radius: 0; }
	.site-nav__cta { align-self: flex-start; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--night); color: var(--on-dark); padding: clamp(48px, 8vw, 104px) 0 0; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 40px; }
.hero__title { color: var(--white); max-width: 15ch; font-size: clamp(2.1rem, 4.8vw, 3.9rem); }
.hero__lead { max-width: 56ch; color: var(--on-dark-muted); font-size: 1.15rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero__mark { position: relative; justify-self: end; width: 100%; max-width: 440px; }
.hero__svg { display: block; width: 100%; height: auto; fill: var(--cyan); }
.hero__svg path { transform-box: fill-box; transform-origin: 50% 0; }
@media (prefers-reduced-motion: no-preference) {
	.hero__svg path { animation: bar-drop .9s cubic-bezier(.2, .7, .2, 1) both; }
	.hero__svg path:nth-child(2) { animation-delay: .08s; }
	.hero__svg path:nth-child(3) { animation-delay: .16s; }
	.hero__svg path:nth-child(4) { animation-delay: .24s; }
}
@keyframes bar-drop { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
.hero__svg path:nth-child(1) { fill: var(--white); }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(48px, 7vw, 88px) 0 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.facts > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 24px 20px 32px 0; }
.facts > div + div { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .1); }
.facts dt { color: var(--on-dark-muted); font-size: .95rem; }
.facts dd { margin: 0; font: 600 clamp(1.8rem, 3.2vw, 2.6rem)/1 var(--display); color: var(--white); }
@media (max-width: 860px) {
	.hero__in { grid-template-columns: 1fr; }
	.hero__mark { justify-self: start; max-width: 240px; order: -1; }
	.facts { grid-template-columns: repeat(2, 1fr); }
	.facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
	.facts > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
}

/* Sections */
.section { padding: var(--section) 0; }
.section--tight { padding-top: 40px; }
.section--paper { background: var(--paper); }
.section--line { border-top: 1px solid var(--line); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 36px; }
.section__head p { max-width: 60ch; margin: 0; color: var(--muted); }
.section__head h2 { margin-bottom: .35em; }
.section__title { margin-top: 1.6em; font-size: clamp(1.25rem, 2vw, 1.6rem); }

/* Services on the home page: a list, not cards. */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; }
.split__head { position: sticky; top: 104px; align-self: start; }
.split__head p { color: var(--muted); }
.service-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.service-list a { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 2px 18px; padding: 22px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.service-list .icon { grid-row: span 2; width: 28px; height: 28px; color: var(--cyan-ink); margin-top: 2px; }
.service-list__name { font-weight: 650; font-size: 1.15rem; }
.service-list__desc { color: var(--muted); }
.service-list a:hover .service-list__name { color: var(--cyan-ink); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } .split__head { position: static; } }

/* Project cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.cards--compact { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.card { min-width: 0; }
.card[hidden] { display: none; }
.card__link { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color .15s; }
.card__link:hover { border-color: var(--cyan); color: var(--ink); }
.card__visual { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); }
.card--shot .card__visual img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.card--logo .card__visual { background: var(--white); padding: 12% 18%; }
.card--logo .card__visual img { max-height: 100%; width: auto; object-fit: contain; }
.visual-initial { font: 600 3rem/1 var(--display); color: var(--line); }
.card__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 20px; }
.card__meta { color: var(--cyan-ink); font-size: .85rem; font-weight: 600; }
.card__title { font-weight: 650; font-size: 1.1rem; line-height: 1.3; }
.card__tags { color: var(--muted); font-size: .9rem; }
.cards--compact .card__body { padding: 12px 14px 16px; }
.cards--compact .card__title { font-size: 1rem; }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.industries a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.industries a:hover { background: var(--paper); }
.industries__name { font-weight: 650; font-size: 1.15rem; }
.industries__count { color: var(--cyan-ink); font-size: .9rem; font-weight: 600; }
.industries__desc { color: var(--muted); font-size: .95rem; }
.industries__lead { grid-row: span 2; }
.industries__lead a { position: relative; overflow: hidden; justify-content: flex-end; min-height: 260px; background: var(--deep); color: var(--white); border-color: var(--deep); }
.industries__lead a:hover { background: var(--night); }
.industries__lead .industries__name { font: 600 clamp(1.4rem, 2.4vw, 1.9rem)/1.15 var(--display); }
.industries__lead .industries__count { color: var(--cyan); }
.industries__lead .industries__desc { color: var(--on-dark-muted); }
.industries__lead a::before { content: ""; position: absolute; top: -10%; right: 12%; width: 70px; height: 120%; background: var(--cyan); opacity: .14; transform: skewX(calc(-1 * var(--slant))); box-shadow: 110px 0 0 rgba(27, 176, 206, .5); }
@media (max-width: 900px) { .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); } .industries__lead { grid-column: span 2; grid-row: auto; } }
@media (max-width: 560px) { .industries { grid-template-columns: 1fr; } .industries__lead { grid-column: auto; } }

/* Plugin band and switchboard */
.plugin-band { background: var(--deep); color: var(--on-dark); }
.plugin-band__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; }
.plugin-band h2 { color: var(--white); }
.plugin-band p { color: var(--on-dark-muted); max-width: 54ch; }
.plugin-band__free { color: var(--cyan) !important; font-weight: 600; }
@media (max-width: 860px) { .plugin-band__in { grid-template-columns: 1fr; gap: 32px; } }
.switchboard { overflow: hidden; background: var(--night); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; color: var(--on-dark); font-size: .95rem; }
.switchboard__bar { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: linear-gradient(120deg, var(--night), #12303d); border-bottom: 1px solid rgba(255, 255, 255, .08); font-weight: 600; color: var(--white); }
.switchboard__mark { width: 34px; height: 20px; fill: var(--white); }
.switchboard__ver { margin-left: auto; padding: 2px 10px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 99px; font-size: .8rem; font-weight: 500; color: var(--on-dark-muted); }
.switchboard ul { margin: 0; padding: 6px 20px; list-style: none; }
.switchboard li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.switchboard li:last-child { border-bottom: 0; }
.switchboard__name { color: var(--white); font-weight: 600; }
.switchboard__meta { color: var(--on-dark-muted); font-size: .85rem; }
.toggle { position: relative; width: 42px; height: 24px; border-radius: 99px; background: #2b4552; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #8aa1aa; }
.toggle--on { background: var(--cyan); }
.toggle--on::after { left: 21px; background: var(--white); }

/* Logo wall */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos a { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; padding: 18px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logos a:hover img, .logos a:focus-visible img { filter: none; opacity: 1; }

/* Steps: a real sequence, so numbered. */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 32px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 20px; border-top: 2px solid var(--night); }
.steps li::before { content: counter(step); display: block; margin-bottom: 14px; font: 600 1.6rem/1 var(--display); color: var(--cyan-ink); }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq h2 { margin-bottom: 24px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { position: relative; padding: 20px 44px 20px 0; font-weight: 650; font-size: 1.08rem; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--cyan-ink); border-bottom: 2px solid var(--cyan-ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq__item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq__a { padding: 0 0 20px; color: var(--muted); max-width: 70ch; }

/* CTA */
.cta { position: relative; overflow: hidden; background: var(--night); color: var(--on-dark); padding: clamp(56px, 7vw, 88px) 0; }
.cta::before { content: ""; position: absolute; right: -40px; top: -20%; width: 120px; height: 140%; background: var(--cyan); opacity: .12; transform: skewX(calc(-1 * var(--slant))); box-shadow: -170px 0 0 rgba(27, 176, 206, .06); }
.cta__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; }
.cta__title { color: var(--white); margin-bottom: .3em; }
.cta p { color: var(--on-dark-muted); margin: 0; max-width: 56ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta__in { grid-template-columns: 1fr; } }

/* Page header band */
.page-head { position: relative; overflow: hidden; background: var(--night); color: var(--on-dark); padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 6vw, 64px); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head__title { color: var(--white); max-width: 22ch; }
.page-head__lead { max-width: 62ch; color: var(--on-dark-muted); font-size: 1.12rem; margin: 0; }
.page-head__extra { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; color: var(--on-dark-muted); }
.page-head__mark { position: absolute; right: -60px; bottom: -40px; width: 380px; height: auto; fill: var(--cyan); opacity: .08; pointer-events: none; }
@media (max-width: 700px) { .page-head__mark { width: 220px; right: -50px; } }
.crumbs { margin-bottom: 20px; font-size: .9rem; color: var(--on-dark-muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.crumbs .separator { opacity: .5; padding: 0 6px; }

/* Prose */
.prose { max-width: 72ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 1.6em 0 .5em; font-size: clamp(1.3rem, 2.1vw, 1.65rem); }
.prose h3 { margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--cyan-ink); }
.prose .lead, .prose--intro > p:first-child { font-size: 1.2rem; color: var(--ink); }
.prose code { padding: 2px 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; font-size: .9em; }
.prose img { border-radius: var(--radius); }
.prose--intro { margin-bottom: 24px; }

/* Project */
.project__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.project__shot { margin: 0 0 32px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.project__shot img { display: block; width: 100%; }
.project__aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.project__logo { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; padding: 24px 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.project__logo img { max-height: 100%; width: auto; object-fit: contain; }
.facts-list { margin: 0; border-top: 1px solid var(--line); }
.facts-list > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts-list dt { color: var(--muted); font-size: .92rem; }
.facts-list dd { margin: 0; font-weight: 550; overflow-wrap: anywhere; }
.project__ask { padding: 20px; background: var(--paper); border-radius: var(--radius); }
.project__ask p { margin-bottom: 12px; }
@media (max-width: 960px) { .project__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } .project__aside { position: static; } }
.did { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.did a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 550; }
.did a:hover { border-color: var(--cyan); }
.did .icon { flex: none; color: var(--cyan-ink); }
.results { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.results li { padding: 14px 18px; border-left: 3px solid var(--cyan); background: var(--paper); font-weight: 600; }
.quote { margin: 40px 0 0; padding: 28px 32px; background: var(--deep); color: var(--on-dark); border-radius: var(--radius); }
.quote blockquote { margin: 0 0 12px; font-size: 1.2rem; color: var(--white); }
.quote figcaption { color: var(--on-dark-muted); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 32px; }
.gallery img { display: block; width: 100%; border-radius: 8px; border: 1px solid var(--line); }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-grid a { display: flex; flex-direction: column; height: 100%; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.service-grid a:hover { background: var(--paper); }
.service-grid .icon { width: 32px; height: 32px; color: var(--cyan-ink); margin-bottom: 16px; }
.service-grid__name { font: 650 1.2rem/1.3 var(--text); letter-spacing: 0; margin-bottom: 8px; }
.service-grid p { color: var(--muted); margin-bottom: 12px; }
.service-grid__n { margin-top: auto; color: var(--cyan-ink); font-size: .9rem; font-weight: 600; }
.service__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.service__get { position: sticky; top: 100px; padding: 28px; background: var(--paper); border-radius: var(--radius); }
.service__get h2 { font-size: 1.25rem; }
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.checks .icon { width: 22px; height: 22px; color: var(--cyan-ink); }
@media (max-width: 960px) { .service__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } .service__get { position: static; } }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pills a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink); text-decoration: none; font-weight: 550; }
.pills a:hover { border-color: var(--cyan); }
.pills .icon { width: 18px; height: 18px; color: var(--cyan-ink); }

/* Filters */
.filters { display: grid; gap: 14px; margin-bottom: 32px; }
.filters__group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filters__label { width: 100%; font-weight: 650; font-size: .95rem; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 7px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 99px; color: var(--ink); font: 500 .95rem var(--text); cursor: pointer; }
.chip:hover { border-color: var(--cyan-ink); }
.chip[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: var(--white); }
.chip__n { color: var(--muted); font-size: .85rem; }
.chip[aria-pressed="true"] .chip__n { color: var(--on-dark-muted); }
.filters__count { margin: 0; color: var(--muted); font-size: .95rem; }
.filters__empty { padding: 32px; text-align: center; color: var(--muted); background: var(--paper); border-radius: var(--radius); }

/* Contact */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.contact__grid > * { min-width: 0; }
.contact-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.contact-list a { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 0 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; }
.contact-list a:hover { border-color: var(--cyan); }
.contact-list .icon { grid-row: span 2; color: var(--cyan-ink); margin-top: 2px; }
.contact-list__label { font-size: .88rem; color: var(--muted); }
.contact-list__value { font-weight: 600; overflow-wrap: anywhere; }
.contact-note { display: flex; gap: 10px; margin: 16px 0 0; color: var(--muted); font-size: .95rem; }
.contact-note .icon { flex: none; width: 20px; color: var(--cyan-ink); }

/* Form */
.tm-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.tm-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 18px; }
.tm-field--wide { grid-column: 1 / -1; }
@media (max-width: 640px) { .tm-form__grid { grid-template-columns: minmax(0, 1fr); } }
.tm-field label { font-weight: 600; font-size: .95rem; }
.tm-req { color: var(--cyan-ink); }
.tm-field input[type="text"], .tm-field input[type="email"], .tm-field input[type="tel"], .tm-field select, .tm-field textarea {
	width: 100%; min-height: 48px; padding: 11px 14px; background: var(--white); border: 1.5px solid #c9d5da; border-radius: 8px; color: var(--ink); font: 400 1rem/1.4 var(--text);
}
.tm-field textarea { min-height: 150px; resize: vertical; }
.tm-field input:focus, .tm-field select:focus, .tm-field textarea:focus { outline: none; border-color: var(--cyan-ink); box-shadow: 0 0 0 3px rgba(27, 176, 206, .25); }
.tm-field input[type="file"] { max-width: 100%; padding: 10px 0; font: inherit; }
.tm-help { color: var(--muted); font-size: .88rem; }
.tm-field--check { flex-direction: row; align-items: flex-start; gap: 12px; }
.tm-field--check input { flex: none; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--cyan-ink); }
.tm-field--check label { flex: 1; min-width: 0; font-weight: 400; }
.tm-field--error input, .tm-field--error textarea, .tm-field--error select { border-color: #c4302b; }
.tm-error { color: #b42318; font-size: .9rem; font-weight: 550; }
.tm-field--check .tm-error { flex-basis: 100%; }
.tm-field--check { flex-wrap: wrap; }
.tm-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tm-notice { margin-bottom: 20px; padding: 16px 18px; border-radius: 8px; }
.tm-notice--ok { background: #e7f6ee; border: 1px solid #9fd8b8; color: #0f5132; }
.tm-notice--error { background: #fdecea; border: 1px solid #f3b4ae; color: #8a1c13; }
.tm-form__status:focus { outline: none; }
.cf-turnstile { margin-bottom: 16px; }

/* Plugin page */
.plugin__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: start; }
.plugin__aside { position: sticky; top: 100px; }
.plugin__free { margin-top: 14px; color: var(--cyan-ink); font-weight: 600; }
@media (max-width: 960px) { .plugin__grid { grid-template-columns: minmax(0, 1fr); } .plugin__aside { position: static; } }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; }
.post-item a { display: flex; flex-direction: column; gap: 8px; color: var(--ink); text-decoration: none; }
.post-item__img img { display: block; width: 100%; border-radius: var(--radius); }
.post-item time { color: var(--muted); font-size: .9rem; }
.post-item__title { font: 650 1.25rem/1.3 var(--text); letter-spacing: 0; margin: 0; }
.post-item a:hover .post-item__title { color: var(--cyan-ink); }
.post-cover { margin: 0 0 32px; }
.post-cover img { border-radius: var(--radius); }
.pagination .nav-links { display: flex; gap: 8px; margin-top: 40px; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
.pagination .current { background: var(--night); color: var(--white); border-color: var(--night); }

/* Footer */
.site-footer { background: var(--night); color: var(--on-dark-muted); padding: 72px 0 28px; border-top: 1px solid rgba(255, 255, 255, .06); font-size: .97rem; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer__brand > a { display: inline-block; margin-bottom: 16px; text-decoration: none; }
.site-footer__brand > p { max-width: 38ch; }
.site-footer__h { margin: 0 0 14px; font: 650 1rem/1.3 var(--text); letter-spacing: 0; color: var(--white); }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .contact-list a { border-color: rgba(255, 255, 255, .1); color: var(--on-dark); padding: 10px 12px; }
.site-footer .contact-list a:hover { border-color: var(--cyan); text-decoration: none; }
.site-footer .contact-list .icon { color: var(--cyan); }
.site-footer .contact-list__label { color: var(--on-dark-muted); }
.site-footer .contact-note { color: var(--on-dark-muted); }
.site-footer .contact-note .icon { color: var(--cyan); }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer__bottom p { margin: 0; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__grid > * { min-width: 0; }
.site-footer .contact-list { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); max-width: 720px; }

/* Rank Math breadcrumbs */
.rank-math-breadcrumb p { margin: 0; }
.rank-math-breadcrumb a { color: var(--on-dark-muted); text-decoration: none; }

/* WordPress core bits */
.alignwide { max-width: 1000px; }
.wp-block-image img { border-radius: var(--radius); }
.has-text-align-center { text-align: center; }
