/* =====================================================================
   THE MARKETING AGENCY — the generated pages: the blog, and the pages carried over from the live site
   On top of site.css and kit.css. Reading comes first: paper for long text, a measure of about seventy
   characters, a table of contents that keeps your place, and the house serif for every heading.
   ===================================================================== */

/* ---------- shared: the headline and lede every generated page opens with ---------- */
.pg-h1 { font: 300 clamp(46px, 6vw, 112px)/.95 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -.04em; text-wrap: balance; }
.pg-h1 em { color: var(--accent); }
.pg-lede { max-width: 52ch; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }

/* ---------- the reading text ---------- */
.prose { min-width: 0; max-width: 70ch; font-size: clamp(17px, 1.15vw, 19px); line-height: 1.72; color: var(--fg); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2.3em; font: 300 clamp(30px, 2.5vw, 42px)/1.1 var(--serif); letter-spacing: -.022em; text-wrap: balance; scroll-margin-top: 120px; }
.prose h3 { margin-top: 1.9em; font-size: 1.16em; font-weight: 600; line-height: 1.3; letter-spacing: -.012em; scroll-margin-top: 120px; }
.prose h4 { margin-top: 1.6em; font-size: 1em; font-weight: 600; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent); text-underline-offset: 3px; transition: color .25s, text-decoration-color .25s; }
.prose a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.prose strong { font-weight: 600; }
.prose ul { list-style: disc; padding-left: 1.25em; }
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--accent); }
.prose ol li::marker { font: 500 .85em var(--mono); }
.prose blockquote { padding: .2em 0 .2em 1.2em; border-left: 2px solid var(--accent); font: italic 300 1.22em/1.45 var(--serif); color: var(--fg); }
.prose img { display: block; max-width: 100%; height: auto; border-radius: 14px; }
.prose figure figcaption { margin-top: 10px; font-size: 13.5px; color: var(--faint); }
.prose hr { margin: 2.6em 0; border: 0; border-top: 1px solid var(--line); }
.prose code { font: .88em var(--mono); padding: .12em .38em; border-radius: 6px; background: var(--card-2); }
.prose pre { overflow-x: auto; padding: 18px; border-radius: 14px; background: var(--card-2); }
.prose pre code { padding: 0; background: none; }
.prose__table { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose th { font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--card); }
.prose caption { padding: 12px 16px; text-align: left; font-size: 13px; color: var(--faint); }

/* =====================================================================
   THE BLOG: the list
   ===================================================================== */
.bl-hero { padding-top: clamp(120px, 16vh, 176px); padding-bottom: clamp(40px, 5vw, 64px); }
.bl-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 24px clamp(32px, 5vw, 96px); align-items: end; margin-top: clamp(36px, 5vw, 64px); }
.bl-hero .eyebrow { margin-bottom: clamp(20px, 2.6vw, 30px); }
.bl-hero__side { display: grid; gap: 26px; }
.bl-find { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); transition: border-color .3s, background-color .3s; }
.bl-find:focus-within { border-color: var(--accent); background: var(--card); }
.bl-find input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--fg); font: inherit; font-size: 16px; }
.bl-find input:focus { outline: none; }
.bl-find input::-webkit-search-cancel-button { filter: grayscale(1); }
.bl-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(30px, 4vw, 48px); }
.bl-topics .chip i { margin-left: 4px; font: 400 11px/1 var(--mono); font-style: normal; opacity: .55; }
.bl-topics .chip.is-on { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* the latest post, given the room */
.bl-feat { padding-bottom: clamp(56px, 7vw, 110px); }
.bl-feat__card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(14px, 1.4vw, 20px); border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color .4s, background-color .4s; }
.bl-feat__card:hover { border-color: var(--line-2); background: var(--card); }
.bl-feat__img { display: block; overflow: hidden; aspect-ratio: 1200 / 630; border-radius: 18px; background: var(--card-2); }
.bl-feat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bl-feat__card:hover .bl-feat__img img { transform: scale(1.03); }
.bl-feat__copy { display: grid; gap: 16px; padding: clamp(4px, 1vw, 16px) clamp(4px, 1.6vw, 28px) clamp(4px, 1vw, 16px) 0; }
.bl-feat__k { display: inline-flex; align-items: center; gap: 10px; font: 400 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bl-feat__t { font: 300 clamp(30px, 3vw, 50px)/1.06 var(--serif); letter-spacing: -.028em; text-wrap: balance; }
.bl-feat__d { font-size: 16px; line-height: 1.6; color: var(--muted); }
.bl-feat__m { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; font-size: 13.5px; color: var(--faint); }
.bl-feat__go { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); transition: gap .4s var(--ease); }
.bl-feat__card:hover .bl-feat__go { gap: 12px; color: var(--accent); }

/* every article: one line each, so five hundred stay easy to scan */
.bl-list { position: relative; padding-block: clamp(64px, 8vw, 120px) var(--sec); }
.bl-list__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.bl-list__h { font: 300 clamp(26px, 2.2vw, 36px)/1.1 var(--serif); letter-spacing: -.02em; }
.bl-list__n { font: 400 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.bl-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 170px 26px; align-items: baseline; gap: 18px 28px; padding: 20px 4px; border-bottom: 1px solid var(--line); transition: background-color .3s, padding .5s var(--ease); }
.bl-row:hover, .bl-row:focus-visible { background: var(--card); padding-inline: 14px 10px; }
.bl-row__c { font: 400 10.5px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.bl-row__t { font: 300 clamp(20px, 1.6vw, 26px)/1.22 var(--serif); letter-spacing: -.012em; text-wrap: pretty; transition: color .3s; }
.bl-row:hover .bl-row__t { color: var(--accent); }
.bl-row__m { font-size: 13px; color: var(--faint); text-align: right; white-space: nowrap; }
.bl-row__go { align-self: center; color: var(--faint); transition: color .3s, transform .5s var(--ease); }
.bl-row:hover .bl-row__go { color: var(--accent); transform: translateX(4px); }
.bl-none { padding: 48px 0; font: 300 24px/1.4 var(--serif); color: var(--muted); }
.bl-none a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.bl-more { display: block; margin: 36px auto 0; }
.bl-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 40px; }
.bl-pager__n { display: flex; flex-wrap: wrap; gap: 4px; }
.bl-pager__n a, .bl-pager__n span { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; border-radius: 999px; font: 400 13px/1 var(--mono); color: var(--muted); transition: background-color .3s, color .3s; }
.bl-pager__n a:hover { background: var(--card-2); color: var(--fg); }
.bl-pager__n [aria-current] { background: var(--fg); color: var(--bg); }
.bl-pager__step { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); transition: color .3s; }
.bl-pager__step:hover { color: var(--fg); }
.bl-list.is-filtering .bl-pager { display: none; }
/* point at an article and its cover comes up beside the pointer */
.bl-peek { position: absolute; left: 0; top: 0; z-index: 5; width: 280px; aspect-ratio: 1200 / 630; overflow: hidden; border-radius: 14px; background: var(--card-2); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .55); pointer-events: none; opacity: 0; scale: .92; transition: opacity .25s, scale .45s var(--ease); }
.bl-peek.is-on { opacity: 1; scale: 1; }
.bl-peek img { width: 100%; height: 100%; object-fit: cover; }

/* =====================================================================
   THE BLOG: one post
   ===================================================================== */
.po-hero { padding-top: clamp(118px, 15vh, 168px); }
.po-hero__in { max-width: calc(var(--maxw) - 0px); }
.po-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: clamp(34px, 4.6vw, 60px); font-size: 13.5px; color: var(--faint); }
.po-meta > span + span::before { content: "·"; margin-right: 20px; }
.po-topic { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font: 400 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg); transition: border-color .3s, color .3s; }
.po-topic:hover { border-color: var(--accent); color: var(--accent); }
.po-h1 { max-width: 20ch; margin-top: 22px; font: 300 clamp(40px, 5vw, 86px)/1 var(--serif); font-variation-settings: "opsz" 72; letter-spacing: -.035em; text-wrap: balance; }
.po-dek { max-width: 60ch; margin-top: clamp(20px, 2.2vw, 30px); font-size: clamp(18px, 1.4vw, 21px); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.po-by { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 30px; font-size: 13.5px; color: var(--faint); }
.po-by a { display: inline-flex; align-items: center; gap: 12px; color: var(--fg); }
.po-by a b { display: block; font-weight: 500; }
.po-by a small { display: block; font-size: 12.5px; color: var(--faint); }
.po-by__i { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--fg); color: var(--bg); font: 500 13px/1 var(--mono); letter-spacing: .04em; }
.po-by__i--lg { width: 64px; height: 64px; font-size: 18px; flex: none; }
.po-img { margin-top: clamp(40px, 5vw, 72px); }
.po-img img { display: block; width: 100%; max-height: 72vh; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: var(--r-lg); background: var(--card-2); }

.po-body { padding-block: clamp(56px, 7vw, 110px) clamp(48px, 6vw, 90px); }
.po-body__grid { display: grid; grid-template-columns: minmax(200px, 270px) minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.po-body__grid.no-toc { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.po-toc { position: sticky; top: 104px; display: grid; gap: 18px; max-height: calc(100vh - 130px); overflow: auto; scrollbar-width: thin; }
.po-toc__box summary { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); font: 400 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); cursor: pointer; list-style: none; }
.po-toc__box summary::-webkit-details-marker { display: none; }
.po-toc__box summary i { display: none; }
.po-toc ol { display: grid; margin-top: 8px; counter-reset: toc; }
.po-toc li { counter-increment: toc; }
.po-toc a { position: relative; display: block; padding: 8px 0 8px 30px; font-size: 14px; line-height: 1.4; color: var(--muted); transition: color .3s; }
.po-toc a::before { content: counter(toc, decimal-leading-zero); position: absolute; left: 0; top: 10px; font: 400 10.5px/1 var(--mono); color: var(--faint); }
.po-toc a:hover { color: var(--fg); }
.po-toc a.is-on { color: var(--fg); }
.po-toc a.is-on::before { color: var(--accent); }
.po-toc a.is-on::after { content: ""; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 2px; border-radius: 2px; background: var(--accent); }
.po-copy { justify-self: start; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: var(--muted); transition: border-color .3s, color .3s; }
.po-copy:hover { border-color: var(--fg); color: var(--fg); }

/* the call to action, set into the reading like a pull quote */
.po-cta { display: grid; justify-items: start; gap: 14px; margin-block: 2.6em; padding: clamp(24px, 2.6vw, 36px); border-radius: 22px; background: #151513; color: #ece7de; }
.po-cta__k { font: 400 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(236, 231, 222, .55); }
.po-cta__t { font: 300 clamp(26px, 2.2vw, 34px)/1.12 var(--serif); letter-spacing: -.02em; }
.po-cta__t em { color: #ec6a3e; }
.po-cta .btn { margin-top: 6px; }
.prose .po-cta a { text-decoration: none; }

.po-end { padding-bottom: clamp(64px, 8vw, 120px); }
.po-end__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px clamp(32px, 5vw, 96px); padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line-2); }
.po-author { display: flex; gap: 20px; align-items: flex-start; }
.po-author__k { font: 400 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.po-author__n { margin-top: 8px; font: 300 26px/1.1 var(--serif); }
.po-author__b { margin-top: 10px; max-width: 52ch; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.po-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.po-steps a { display: grid; gap: 8px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; transition: border-color .3s, background-color .3s; }
.po-steps a:hover { border-color: var(--line-2); background: var(--card); }
.po-steps small { font: 400 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.po-steps span { font: 300 18px/1.3 var(--serif); }

.po-more { padding-block: clamp(80px, 10vw, 150px); }
.po-more__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: clamp(32px, 4vw, 56px); }
.po-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.po-card { display: grid; align-content: start; gap: 12px; padding: 12px 12px 22px; border: 1px solid var(--line); border-radius: 22px; transition: border-color .4s, background-color .4s, transform .6s var(--ease); }
.po-card:hover { border-color: var(--line-2); background: var(--card); transform: translateY(-4px); }
.po-card__img { display: block; overflow: hidden; aspect-ratio: 1200 / 630; border-radius: 14px; background: var(--card-2); }
.po-card__img img { width: 100%; height: 100%; object-fit: cover; }
.po-card__c { padding-inline: 8px; font: 400 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.po-card__t { padding-inline: 8px; font: 300 22px/1.2 var(--serif); letter-spacing: -.012em; }

/* ---------- smaller screens ---------- */
@media (max-width: 1000px) {
  .bl-hero__grid, .bl-feat__card { grid-template-columns: 1fr; }
  .bl-feat__copy { padding: 4px 6px 8px; }
  .bl-row { grid-template-columns: minmax(0, 1fr) 22px; gap: 6px 14px; }
  .bl-row__c { grid-column: 1; grid-row: 1; }
  .bl-row__t { grid-column: 1; grid-row: 2; }
  .bl-row__m { grid-column: 1; grid-row: 3; text-align: left; }
  .bl-row__go { grid-column: 2; grid-row: 1 / span 3; }
  .po-body__grid { grid-template-columns: 1fr; }
  .po-toc { position: relative; top: 0; max-height: none; overflow: visible; }
  .po-toc__box summary i { display: block; width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; rotate: 45deg; translate: 0 -3px; transition: rotate .4s var(--ease); }
  .po-toc__box[open] summary i { rotate: 225deg; translate: 0 3px; }
  .po-end__grid { grid-template-columns: 1fr; }
  .po-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .po-steps { grid-template-columns: 1fr; }
  .po-cards { grid-template-columns: 1fr; }
  .po-author { flex-direction: column; }
  .bl-peek { display: none; }
}
html[data-motion="reduced"] .bl-feat__img img, html[data-motion="reduced"] .bl-row { transition: none; }

/* =====================================================================
   THE PAGES CARRIED OVER FROM THE LIVE SITE
   Locations, industries, solutions, platforms and the company pages: the live page's own words,
   read into parts and set in this design.
   ===================================================================== */
.lp-hero { position: relative; overflow: hidden; isolation: isolate; padding-top: clamp(118px, 15vh, 168px); padding-bottom: clamp(56px, 7vw, 100px); }
.lp-hero__glow { position: absolute; z-index: -1; right: -18vw; top: -26vw; width: 76vw; height: 76vw; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 24%, transparent), color-mix(in srgb, var(--accent) 6%, transparent) 55%, transparent 72%); pointer-events: none; }
.lp-hero__eb { margin-top: clamp(34px, 5vw, 64px); margin-bottom: clamp(20px, 2.4vw, 30px); }
.lp-hero .pg-h1 { max-width: 17ch; }
.lp-hero__bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px clamp(32px, 5vw, 80px); margin-top: clamp(28px, 3.4vw, 48px); }
.lp-lede p + p { margin-top: .8em; }
.lp-lede a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.lp-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 14px 28px; }
.lp-ctas .btn { height: 56px; padding: 0 28px; font-size: 15.5px; }
.lp-facts { display: flex; flex-wrap: wrap; margin-top: clamp(44px, 5vw, 72px); border-top: 1px solid var(--line); }
.lp-facts li { padding: 16px 26px 0 0; margin-right: 26px; border-right: 1px solid var(--line); }
.lp-facts li:last-child { border-right: 0; margin-right: 0; }
.lp-facts span { display: block; font: 400 10.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.lp-facts b { display: block; margin-top: 8px; font-size: 15px; font-weight: 500; white-space: nowrap; }

/* a section: its number and heading on the left, the words on the right */
.lp-sec { padding-block: clamp(72px, 9vw, 140px) 0; }
.lp-sec:last-of-type { padding-bottom: clamp(72px, 9vw, 140px); }
.lp-sec + .lp-sec { padding-top: clamp(56px, 7vw, 110px); }
.lp-sec__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px clamp(32px, 6vw, 120px); align-items: start; }
.lp-sec__head { position: sticky; top: 110px; }
.lp-n { font: 400 11px/1 var(--mono); letter-spacing: .12em; color: var(--accent); }
.lp-h2 { margin-top: 16px; font: 300 clamp(32px, 3.4vw, 58px)/1.04 var(--serif); letter-spacing: -.03em; text-wrap: balance; }
.lp-sec__body.prose { max-width: 62ch; }
.lp-sec__body.prose:empty { display: none; }
/* short sub-sections become cards */
.lp-cards { display: grid; gap: 14px; margin-top: clamp(36px, 4vw, 56px); }
.lp-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-card { display: grid; align-content: start; gap: 14px; padding: clamp(22px, 2.2vw, 32px); border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color .4s, background-color .4s, transform .6s var(--ease); }
.lp-card:hover { border-color: var(--line-2); background: var(--card); transform: translateY(-3px); }
.lp-card__n { font: 400 11px/1 var(--mono); letter-spacing: .12em; color: var(--faint); }
.lp-card h3 { font: 300 clamp(22px, 1.8vw, 28px)/1.15 var(--serif); letter-spacing: -.015em; }
.lp-card p { font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.lp-card ul { display: grid; gap: 6px; font-size: 15px; color: var(--muted); }
/* questions */
.lp-sec--faq { padding-bottom: clamp(72px, 9vw, 140px); }
.lp-sec--faq .lp-sec__body { max-width: none; }
.lp-a { padding: 0 34px 28px 54px; max-width: 66ch; font-size: 16.5px; line-height: 1.65; color: var(--muted); }
.lp-a > * + * { margin-top: .8em; }
/* reviews, the values, the family of pages */
.lp-quotes { padding-block: clamp(80px, 10vw, 150px); }
.lp-quotes__head { margin-bottom: clamp(40px, 5vw, 72px); }
.lp-quotes__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px) clamp(28px, 5vw, 80px); }
.lp-quote { display: grid; gap: 14px; align-content: start; }
.lp-quote blockquote { font: 300 italic clamp(24px, 2.3vw, 38px)/1.12 var(--serif); letter-spacing: -.02em; text-wrap: pretty; }
.lp-quote figcaption { font-size: 13px; color: var(--faint); }
.lp-values { padding-block: clamp(64px, 8vw, 120px); }
.lp-values__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line-2); }
.lp-values__grid b { font: 300 26px/1.1 var(--serif); letter-spacing: -.015em; }
.lp-values__grid p { margin-top: 12px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.lp-kids { padding-block: clamp(72px, 9vw, 140px); }
.lp-kids__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.lp-find input { width: min(320px, 80vw); height: 48px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--fg); font: inherit; font-size: 15px; }
.lp-find input:focus { outline: none; border-color: var(--accent); }
.lp-kids__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.lp-kid { position: relative; display: grid; gap: 8px; align-content: start; padding: 22px 54px 24px 0; border-bottom: 1px solid var(--line); transition: background-color .3s, padding .5s var(--ease); }
.lp-kid:nth-child(3n + 2), .lp-kid:nth-child(3n + 3) { padding-left: 24px; border-left: 1px solid var(--line); }
.lp-kid b { font: 300 24px/1.15 var(--serif); letter-spacing: -.015em; transition: color .3s; }
.lp-kid span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.lp-kid i { position: absolute; right: 16px; top: 26px; color: var(--faint); transition: color .3s, transform .5s var(--ease); }
.lp-kid:hover b, .lp-kid:hover i { color: var(--accent); }
.lp-kid:hover i { transform: translateX(4px); }
.lp-kid[hidden] { display: none; }
.lp-sibs { padding-block: clamp(64px, 8vw, 120px); }
.lp-sibs__list { columns: 4 180px; column-gap: 32px; margin: 26px 0 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.lp-sibs__list li { break-inside: avoid; padding: 7px 0; }
.lp-sibs__list a { font-size: 15px; color: var(--muted); transition: color .3s; }
.lp-sibs__list a:hover { color: var(--accent); }
/* pricing */
.lp-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lp-price { display: grid; align-content: start; gap: 14px; padding: clamp(24px, 2.4vw, 34px); border: 1px solid var(--line); border-radius: var(--r-lg); }
.lp-price__t { font: 300 clamp(24px, 2vw, 32px)/1.1 var(--serif); letter-spacing: -.02em; }
.lp-price__t a:hover { color: var(--accent); }
.lp-price__bands li { display: grid; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); }
.lp-price__bands span { font: 400 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.lp-price__bands b { font: 300 clamp(26px, 2.2vw, 34px)/1.05 var(--serif); letter-spacing: -.025em; color: var(--accent); }
.lp-price__say { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.lp-price__k { font: 400 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.lp-price__drivers { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.lp-price__drivers li::before { content: "— "; color: var(--faint); }
.lp-price .linkish { justify-self: start; margin-top: 6px; }
/* case studies, the author */
.lp-cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lp-case { display: flex; flex-direction: column; gap: 12px; min-height: 300px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color .4s, background-color .4s, transform .6s var(--ease); }
.lp-case:hover { border-color: var(--line-2); background: var(--card); transform: translateY(-4px); }
.lp-case__tag { font: 400 10.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.lp-case__client { font: 500 15px/1 var(--sans); }
.lp-case__t { font: 300 22px/1.18 var(--serif); letter-spacing: -.012em; }
.lp-case__fig { margin-top: auto; font: 300 44px/1 var(--serif); letter-spacing: -.04em; color: var(--accent); }
.lp-case__go { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.lp-author { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color .3s, background-color .3s; }
.lp-author:hover { border-color: var(--line-2); background: var(--card); }
.lp-author b { display: block; font: 300 30px/1.1 var(--serif); }
.lp-author small { display: block; margin-top: 6px; font-size: 13px; color: var(--faint); }
.lp-author > span > span { display: block; margin-top: 10px; max-width: 60ch; color: var(--muted); }

@media (max-width: 1000px) {
  .lp-hero__bottom, .lp-sec__grid { grid-template-columns: minmax(0, 1fr); }
  .lp-ctas { justify-content: flex-start; }
  /* a long button ("Talk to a Portland digital marketing expert") wraps instead of widening the hero past the screen */
  .lp-ctas .btn { max-width: 100%; height: auto; min-height: 52px; padding: 13px 24px; white-space: normal; text-align: center; line-height: 1.25; }
  .lp-sec__head { position: relative; top: 0; }
  .lp-cards--3, .lp-cards--4, .lp-prices, .lp-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-values__grid { grid-template-columns: 1fr 1fr; }
  .lp-kids__grid { grid-template-columns: 1fr 1fr; }
  .lp-kid:nth-child(3n + 2), .lp-kid:nth-child(3n + 3) { padding-left: 0; border-left: 0; }
  .lp-kid:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
  .lp-quotes__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .lp-cards--2, .lp-cards--3, .lp-cards--4, .lp-prices, .lp-cases, .lp-values__grid, .lp-kids__grid { grid-template-columns: 1fr; }
  .lp-kid:nth-child(2n) { padding-left: 0; border-left: 0; }
  .lp-facts li { padding-right: 16px; margin-right: 16px; }
  .lp-facts li:nth-child(2) { border-right: 0; margin-right: 0; }
  .lp-facts li:nth-child(n + 3) { display: none; }
  .lp-a { padding: 0 0 24px 44px; }
  .lp-author { grid-template-columns: 1fr; }
}

/* ---------- the blog's calculators, carried over working and set in the site's design ---------- */
.calc { margin: 0 0 2.4em; padding: clamp(22px, 2.6vw, 36px); border: 1px solid var(--line-2); border-radius: 24px; background: color-mix(in srgb, var(--fg) 3%, transparent); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
.calc::before { content: "Calculator"; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font: 400 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.calc > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
/* a calculator that came with its own card sits flat inside this one */
.calc > div:only-child, .calc > div:first-child:last-child { padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.calc * { font-family: inherit; }
.calc h2, .calc h3, .calc h4 { margin: 0 0 12px; font: 300 clamp(24px, 2vw, 30px)/1.15 var(--serif); letter-spacing: -.015em; }
.calc p { margin: 8px 0; font-size: 15px; color: var(--muted); }
.calc label { display: block; margin: 14px 0 6px; font-size: 13px; letter-spacing: .01em; color: var(--muted); }
.calc input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), .calc select, .calc textarea { width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: color-mix(in srgb, var(--bg) 70%, transparent); color: var(--fg); font-size: 16px; transition: border-color .25s; }
.calc textarea { padding: 12px 14px; }
.calc input:focus, .calc select:focus, .calc textarea:focus { outline: none; border-color: var(--accent); }
.calc button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin: 18px 8px 0 0; padding: 0 24px; border: 0; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .25s, transform .4s var(--ease); }
.calc button:hover { background: var(--accent); }
.calc button:active { transform: scale(.98); }
.calc [id*="result" i], .calc [class*="result" i], .calc [id*="output" i] { margin-top: 18px; font-size: 16px; line-height: 1.7; color: var(--fg); }
.calc [id*="result" i]:not(:empty), .calc [id*="output" i]:not(:empty) { padding-top: 16px; border-top: 1px solid var(--line); }
.calc strong, .calc b { font-weight: 600; }
.calc hr { margin: 12px 0; border: 0; border-top: 1px solid var(--line); }
.calc table { width: 100%; min-width: 0; margin-top: 12px; }
.calc ul, .calc ol { padding-left: 1.2em; }
/* a calculator carried over from WordPress keeps its own rows, but they wrap on a phone instead of running off it */
.calc div[style*="flex"] { flex-wrap: wrap; }
.calc button, .calc input, .calc select, .calc textarea { max-width: 100%; }
.calc button { white-space: normal; }
