/* pilservices.com: design tokens follow most-media-kit's kit-B (2026-09), with the PIL logo's
   green kept for one role: the four verbs and check marks on light surfaces. No external
   resources and no data: URIs, because the site ships under Content-Security-Policy
   default-src 'self'. */

@font-face { font-family: 'Archivo'; src: url(../fonts/archivo-var.woff2) format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url(../fonts/archivo-italic.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url(../fonts/sourceserif4-var.woff2) format('woff2'); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url(../fonts/sourceserif4-italic.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
	--red: #EF3D33;
	--red-deep: #C42D1E;
	--coral: #F9825F;
	--amber: #FFB25C;
	--navy: #123540;
	--navy-mid: #1B4B5A;
	--teal: #3E9AA3;
	--teal-pale: #BFE0E1;
	--cream: #FDF7F3;
	--ink: #16302F;
	--body: #2F4448;
	--muted: #6E8286;
	--rule: #DCD3CC;
	--green: #39B54A;
	--green-deep: #1E7B35;
	--white: #fff;
	--on-dark: #EAF3F3;
	--sans: 'Archivo', 'Segoe UI', Arial, sans-serif;
	--serif: 'Source Serif 4', Georgia, serif;
	--radius: 14px;
	--max: 1120px;
	--gutter: 20px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--body); font: 400 1.0625rem/1.6 var(--serif); }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--sans); color: var(--ink); margin: 0 0 .5em; line-height: 1.1; letter-spacing: -.01em; }
h1 { font-weight: 700; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: .98; letter-spacing: -.03em; }
h2 { font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.05; }
h3 { font-weight: 700; font-size: 1.15rem; line-height: 1.25; }
p, ul, ol { margin: 0 0 1em; }
strong { font-weight: 600; color: var(--ink); }
a { color: var(--navy-mid); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: .15em; text-decoration-thickness: 1.5px; }
a:hover, a:focus-visible { text-decoration-color: var(--red); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.dot { color: var(--red); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type helpers */
.eyebrow { font: 600 .78rem/1.3 var(--sans); text-transform: uppercase; letter-spacing: .17em; color: var(--muted); margin: 0 0 .9em; }
.on-dark .eyebrow { color: var(--amber); }
.lede { font-size: 1.25rem; line-height: 1.5; color: var(--body); max-width: 40em; }
.on-dark .lede, .on-dark p { color: var(--teal-pale); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark strong { color: var(--white); }
.caption, .caveat { font: 400 .86rem/1.45 var(--sans); color: var(--muted); }
.verbs span { color: var(--green-deep); font-weight: 600; }
.on-dark .verbs span { color: var(--white); }

/* Header */
.site-header { padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.brand img { height: 58px; width: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.site-nav a { font: 600 .95rem/1 var(--sans); color: var(--navy-mid); text-decoration: none; padding: 10px 12px; border-radius: 999px; }
.site-nav a:hover, .site-nav a:focus-visible { background: #fff; color: var(--navy); }
.site-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; padding-bottom: 8px; }
.site-nav a.nav-cta { background: var(--navy-mid); color: #fff; }
.site-nav a.nav-cta:hover, .site-nav a.nav-cta:focus-visible { background: var(--navy); color: #fff; }

/* Panels */
.panel { border-radius: var(--radius); }
.panel-dark { position: relative; overflow: hidden; color: var(--on-dark); background: linear-gradient(160deg, #17414E 0%, #123540 55%, #0E2B34 100%); }
.panel-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 92% 8%, rgba(62,154,163,.38), transparent 42%), radial-gradient(circle at 4% 100%, rgba(239,61,51,.30), transparent 38%); pointer-events: none; }
.panel-dark > * { position: relative; }
.hero { margin: 8px 0 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding: clamp(44px, 7vw, 88px) clamp(24px, 5vw, 64px) clamp(84px, 10vw, 120px); }
.hero .lede { max-width: 34em; font-size: clamp(1.1rem, 1.9vw, 1.35rem); }
.hero h1 { max-width: 12em; }
.hero-art { position: absolute; right: -40px; top: -30px; width: clamp(240px, 36vw, 440px); opacity: .55; pointer-events: none; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 7vw, 84px); }
.page-head { margin: 8px 0 0; padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px); }
.page-head h1 { max-width: 14em; }
.page-head .lede { margin-bottom: 1.4em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.6em; }

.page-head .mark { width: 64px; height: 64px; margin-bottom: 18px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-block; font: 600 .98rem/1 var(--sans); padding: 14px 22px; border-radius: 999px; text-decoration: none; border: 1.5px solid transparent; }
.btn-primary { background: #fff; color: var(--navy); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--teal-pale); color: var(--navy); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-navy { background: var(--navy-mid); color: #fff; }
.btn-navy:hover, .btn-navy:focus-visible { background: var(--navy); color: #fff; }

/* Sections and cards */
.section { padding: clamp(40px, 6vw, 72px) 0 0; }
.section-head { max-width: 44em; margin-bottom: 1.8em; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.card { background: #fff; border-radius: var(--radius); padding: 28px; }
.card h3 { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.card-accent { border-top: 4px solid var(--green); }
.card-navy { background: var(--navy-mid); color: var(--on-dark); }
.card-navy h3, .card-navy strong { color: #fff; }
.card-navy p { color: var(--teal-pale); }
.chip { display: inline-block; background: var(--navy-mid); color: #fff; font: 600 .86rem/1 var(--sans); padding: 8px 14px; border-radius: 999px; margin: 0 6px 8px 0; }

/* Lists */
ul.check, ul.arrows { list-style: none; padding: 0; margin: 0 0 1em; }
ul.check li, ul.arrows li { position: relative; padding-left: 1.7em; margin-bottom: .55em; line-height: 1.45; }
ul.check li::before { content: "\2713"; position: absolute; left: 0; top: -.05em; color: var(--green); font: 700 1.1em/1.4 var(--sans); }
ul.arrows li::before { content: "\203A"; position: absolute; left: .35em; top: -.12em; color: var(--red); font: 700 1.3em/1.4 var(--sans); }
.card ul.check li, .card ul.arrows li { font-size: .98rem; }

/* The five-step loop */
.loop { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.loop::before { content: ""; position: absolute; left: 10%; right: 10%; top: 22px; border-top: 2px dashed rgba(110,130,134,.5); }
.loop li { position: relative; text-align: center; padding: 0 6px; }
.loop .badge { margin: 0 auto 12px; }
.badge { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font: 700 .95rem/1 var(--sans); box-shadow: 0 0 0 3.5px #fff, 0 0 0 5px var(--rule); }
.b1 { background: var(--red); } .b2 { background: #EE5A40; } .b3 { background: var(--coral); } .b4 { background: #47A0A6; } .b5 { background: var(--navy-mid); }
.loop .label { font: 600 .9rem/1.3 var(--sans); color: var(--ink); display: block; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.steps li .badge { margin-top: 2px; }
.steps h3 { margin: .35em 0 .25em; }
.steps p { margin: 0; }

/* Contact */
.contact-card { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; border-left: 6px solid var(--green); }
.contact-card .who { font: 600 1.05rem/1.3 var(--sans); color: var(--ink); margin: 0 0 .2em; }
.contact-card .role { font: 400 .9rem/1.3 var(--sans); color: var(--muted); margin: 0 0 .7em; }
.contact-card .lines { margin: 0; font-size: 1.05rem; }
.contact-card .lines a { font-weight: 600; }
.contact-card .lines span { display: block; }

/* Testimonial */
.testimony { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: start; }
.testimony img { border-radius: 24px 0 8px 0; }
.testimony blockquote { margin: 0; font-size: 1.05rem; }
.testimony blockquote p:first-child::before { content: "\201C"; color: var(--rule); font: 700 3rem/0 var(--sans); vertical-align: -.35em; margin-right: .1em; }
.testimony cite { display: block; font: 600 .95rem/1.3 var(--sans); font-style: normal; color: var(--ink); margin-top: .8em; }

/* Bios */
.bio h3 { margin-bottom: .1em; }
.bio .role { font: 600 .82rem/1.3 var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 .9em; }

/* Footer */
.site-footer { margin: clamp(48px, 7vw, 88px) var(--gutter) var(--gutter); }
.site-footer .inner { max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto; background: var(--navy); color: var(--on-dark); border-radius: var(--radius); padding: 32px clamp(24px, 4vw, 48px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.site-footer nav ul { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-footer a { color: #fff; font: 600 .92rem/1.3 var(--sans); text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { text-decoration: underline; text-decoration-color: var(--red); }
.site-footer .legal { font: 400 .82rem/1.5 var(--sans); color: var(--teal-pale); margin: 0; }
.site-footer .tagline { font: 400 .92rem/1.4 var(--sans); color: var(--teal-pale); margin: 0 0 6px; }
.site-footer .tagline strong { color: #fff; }
.site-footer .copyright { text-align: right; }

/* Responsive */
@media (max-width: 860px) {
	.loop { grid-template-columns: 1fr; gap: 14px; }
	.loop::before { display: none; }
	.loop li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; text-align: left; }
	.loop .badge { margin: 0; }
	.site-footer .inner { grid-template-columns: 1fr; }
	.site-footer .copyright { text-align: left; }
}
@media (max-width: 640px) {
	body { font-size: 1rem; }
	.site-header .wrap { justify-content: center; }
	.brand img { height: 48px; }
	.site-nav a { padding: 9px 10px; font-size: .9rem; }
	.hero-art { opacity: .3; }
	.contact-card { grid-template-columns: 1fr; }
	.testimony { grid-template-columns: 1fr; }
	.testimony img { width: 120px; }
	.card { padding: 22px; }
}
@media (prefers-reduced-motion: no-preference) {
	a, .btn { transition: background-color .15s ease, color .15s ease, text-decoration-color .15s ease; }
}
