/* =====================================================================
   Inner pages: services, about, contact, work, insights, legal, 404
   Builds on studio.css: same ramp, accent, node marker and 4px grid.
   ===================================================================== */


/* Heading column beside content */
.st-svc-split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.st-svc-split .st-head { margin-bottom: 0; position: sticky; top: 112px; }
.st-svc-split .st-h2 { max-width: 14ch; }

/* What's included: 2 x 2 list on hairlines */
.st-incl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 48px 40px; }
.st-incl li { padding-top: 20px; border-top: 1px solid var(--st-line); }
.st-incl h3 { font-family: var(--st-sans); font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
.st-incl p { margin-top: 12px; font-size: 15px; color: var(--st-ink-2); max-width: 36ch; }

/* How a project runs: four columns */
.st-svc-process { padding-top: 0; }
.st-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: none; }
.st-steps li { padding-top: 20px; border-top: 1px solid var(--st-line); }
.st-steps .num { display: inline-flex; align-items: center; gap: 12px; font-family: var(--st-mono); font-size: 13px; color: var(--st-ink-3); font-variant-numeric: tabular-nums; }
.st-steps h3 { margin-top: 24px; font-family: var(--st-sans); font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; }
.st-steps p { margin-top: 8px; font-size: 15px; color: var(--st-ink-2); }

/* Questions */
.st-svc-faq { padding-top: 0; }
.st-faq { border-top: 1px solid var(--st-line); }
.st-faq details { border-bottom: 1px solid var(--st-line); }
.st-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 24px 0;
	font-family: var(--st-sans);
	font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
	font-weight: 500;
	cursor: pointer;
	list-style: none;
	transition: color var(--st-fast) var(--st-ease);
}
.st-faq summary::-webkit-details-marker { display: none; }
.st-faq summary:hover { color: var(--st-brand); }
.st-faq summary svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--st-ink-3); stroke-width: 1.5; stroke-linecap: round; transition: transform 200ms var(--st-ease); }
.st-faq details[open] summary svg { transform: rotate(45deg); }
.st-faq details p { max-width: 60ch; padding: 0 0 24px; color: var(--st-ink-2); }

/* Other services: compact rows */
.st-svc-more { padding-top: 0; padding-bottom: clamp(120px, 18vh, 168px); }
.st-rows--compact a { grid-template-columns: 64px minmax(0, 1fr) 0 24px; padding: 20px 16px; }
.st-rows--compact h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

@media (max-width: 900px) {
	.st-svc-split { grid-template-columns: 1fr; gap: 40px; }
	.st-svc-split .st-head { position: static; }
	.st-incl { grid-template-columns: 1fr; gap: 32px; }
	.st-steps { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
	.st-rows--compact a { grid-template-columns: 40px 1fr 20px; padding: 16px 12px; }
	.st-rows--compact a > span:not(.n) { display: none; }
}
@media (max-width: 520px) {
	.st-steps { grid-template-columns: 1fr; }
}

/* =====================================================================
   Site-wide pieces: skip link, current nav item, footer, page header
   ===================================================================== */
.st-skip { position: absolute; left: 16px; top: -64px; z-index: 200; padding: 8px 16px; border-radius: 8px; background: var(--st-ink); color: var(--st-paper) !important; font-size: 14px; transition: top var(--st-fast) var(--st-ease); }
.st-skip:focus { top: 16px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.st-links a[aria-current] { opacity: 1; box-shadow: 0 1.5px 0 currentColor; }
.st-link--light { color: var(--st-on-dark); }
.st-link--light:hover { color: var(--st-brand-light); }
.st-meta { font-family: var(--st-mono); font-size: 13px; color: var(--st-ink-3); font-variant-numeric: tabular-nums; }
.st-eyebrow a { color: var(--st-ink); border-bottom: 1px solid var(--st-line); transition: color var(--st-fast) var(--st-ease), border-color var(--st-fast) var(--st-ease); }
.st-eyebrow a:hover { color: var(--st-brand); border-color: currentColor; }
.st-eyebrow .sep { margin: 0 -4px; color: var(--st-ink-3); }
.st-eyebrow .cur { font-family: var(--st-mono); font-size: 13px; color: var(--st-ink-3); }
.st-sec--tight { padding-top: 24px; }
.st-sec--flush { padding-top: 0; padding-bottom: 0; }
.st-empty { padding: 48px 0; font-size: 1.125rem; color: var(--st-ink-2); }
.st-empty a, .st-prose a, .st-form a, .st-form-done a:not(.st-link) { color: var(--st-brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* Page header (inner pages without the 3D mark) */
.st-phero { position: relative; z-index: 2; padding: 160px var(--st-pad) 80px; }
.st-phero--short { padding-bottom: 48px; }
.st-phero .st-h1 { font-size: clamp(2.5rem, 4.6vw, 4rem); max-width: 18ch; }
.st-phero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.st-phero__text .st-lead { max-width: 40rem; }
.st-phero__text .st-actions { margin-top: 8px; }
.st-phero--media .st-phero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.st-phero__media { border-radius: 20px; overflow: hidden; background: var(--st-paper-2); }
.st-phero__media img { display: block; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.st-h1--article { font-size: clamp(2.25rem, 4vw, 3.5rem) !important; max-width: 22ch !important; }

.st-img { display: block; width: 100%; height: auto; }
.st-img--empty { display: grid; place-items: center; width: 100%; height: 100%; aspect-ratio: 16 / 10; background: var(--st-paper-2); }
.st-wide-img { margin: 0; border-radius: 20px; overflow: hidden; background: var(--st-paper-2); }
.st-wide-img img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }

/* Footer */
.st-footer { display: block; padding: 0 var(--st-pad); font-size: 15px; }
.st-footer__grid { max-width: 1320px; margin: 0 auto; padding: 80px 0 64px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px 32px; }
.st-footer__brand p { margin-top: 16px; max-width: 32ch; color: var(--st-on-dark-2); }
.st-footer__mail { display: inline-block; margin-top: 16px; color: var(--st-on-dark); border-bottom: 1px solid var(--st-line-dark); transition: border-color var(--st-fast) var(--st-ease); }
.st-footer__mail:hover { border-color: currentColor; }
.st-footer__col p { font-family: var(--st-mono); font-size: 13px; color: rgba(241, 239, 233, 0.5); }
.st-footer__col ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.st-footer__col a { color: var(--st-on-dark-2); transition: color var(--st-fast) var(--st-ease); }
.st-footer__col a:hover { color: var(--st-on-dark); }
.st-footer__bottom { max-width: 1320px; margin: 0 auto; display: flex; justify-content: space-between; gap: 16px; padding: 24px 0; border-top: 1px solid var(--st-line-dark); font-size: 14px; color: rgba(241, 239, 233, 0.5); }
.st-footer__top:hover { color: var(--st-on-dark); }

/* Contact call to action: two actions */
.st-contact .st-actions { gap: 16px 32px; }

/* =====================================================================
   Service pages: photo stage with interface preview
   ===================================================================== */
.st-stage { position: relative; z-index: 2; padding: 0 var(--st-pad) clamp(80px, 13vh, 128px); }
.st-stage__frame { position: relative; margin: 0; border-radius: 20px; overflow: hidden; background: var(--st-paper-2); }
.st-stage__frame > img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.st-stage__ui { position: absolute; right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px); width: min(440px, 46%); }
.st-stage__cap { margin-top: 12px; font-family: var(--st-mono); font-size: 13px; color: var(--st-ink-3); }

.ui { padding: 20px; border-radius: 16px; background: var(--st-card); color: var(--st-ink); font-size: 13px; line-height: 1.4; box-shadow: 0 24px 48px -24px rgba(13, 11, 26, 0.45), 0 0 0 1px rgba(13, 11, 26, 0.06); font-variant-numeric: tabular-nums; }
.ui__bar { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; font-weight: 600; font-size: 14px; }
.ui__bar em { font-style: normal; font-weight: 400; font-family: var(--st-mono); font-size: 12px; color: var(--st-ink-3); }
.ui .dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--st-ink-3); opacity: 0.5; }
.ui .dot--ok { background: #16a34a; opacity: 1; }
.ui .dot--wait { background: #c98a16; opacity: 1; }
.ui .dot--brand { background: var(--st-brand); opacity: 1; }
.ui__btn { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 12px; border-radius: 8px; background: var(--st-brand); color: #fff; font-weight: 600; font-size: 12px; }
.ui__btn--dark { background: var(--st-ink); }
.ui__btn--block { display: flex; width: 100%; height: 40px; margin-top: 16px; font-size: 13px; }

.ui table { width: 100%; border-collapse: collapse; }
.ui th { padding: 0 8px 8px 0; text-align: left; font-weight: 500; font-family: var(--st-mono); font-size: 11px; color: var(--st-ink-3); border-bottom: 1px solid var(--st-line); }
.ui td { padding: 8px 8px 8px 0; border-bottom: 1px solid var(--st-line); white-space: nowrap; }
.ui tr:last-child td { border-bottom: 0; }
.ui .r { text-align: right; }
.ui tr.is-sel td { background: rgba(94, 86, 168, 0.07); }
.ui tr.is-sel td:first-child { box-shadow: inset 2px 0 0 var(--st-brand); padding-left: 8px; }

.ui__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ui__stats small { display: block; color: var(--st-ink-3); font-size: 11px; }
.ui__stats b { display: block; margin-top: 4px; font-family: var(--st-sans); font-size: 18px; font-weight: 500; }
.ui__chart { display: block; width: 100%; height: 96px; margin-top: 16px; }
.ui__chart path { fill: none; vector-effect: non-scaling-stroke; }
.ui__chart .g { stroke: var(--st-line); stroke-width: 1; }
.ui__chart .a { stroke: rgba(13, 11, 26, 0.28); stroke-width: 1.5; stroke-dasharray: 3 3; }
.ui__chart .b { stroke: var(--st-brand); stroke-width: 2; }
.ui__legend { display: flex; gap: 16px; margin-top: 8px; font-size: 11px; color: var(--st-ink-3); }

.ui__cms { display: grid; grid-template-columns: 112px 1fr; gap: 12px; }
.ui__cms ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; align-content: start; }
.ui__cms li { padding: 6px 8px; border-radius: 6px; color: var(--st-ink-2); }
.ui__cms li.is-sel { background: var(--st-paper-2); color: var(--st-ink); box-shadow: inset 2px 0 0 var(--st-brand); }
.ui__canvas { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 10px; border: 1px dashed rgba(94, 86, 168, 0.5); }
.ui__canvas .ln { display: block; height: 8px; border-radius: 4px; background: var(--st-paper-2); }
.ui__canvas .ln--l { width: 90%; height: 12px; background: rgba(13, 11, 26, 0.16); }
.ui__canvas .ln--m { width: 70%; }
.ui__canvas .ln--s { width: 50%; }
.ui__canvas .ui__btn { align-self: flex-start; margin-top: 4px; }
.ui__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--st-line); color: var(--st-ink-3); font-size: 12px; }

.ui--phone { width: min(280px, 100%); margin-left: auto; padding: 32px 20px 20px; border-radius: 32px; position: relative; }
.ui__notch { position: absolute; top: 12px; left: 50%; width: 64px; height: 6px; margin-left: -32px; border-radius: 3px; background: rgba(13, 11, 26, 0.14); }
.ui__kicker { font-family: var(--st-mono); font-size: 11px; color: var(--st-ink-3); }
.ui__title { margin-top: 4px !important; font-family: var(--st-sans); font-size: 18px; font-weight: 500; }
.ui__track, .ui__steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.ui__track li, .ui__steps li { display: grid; grid-template-columns: 16px 1fr auto; align-items: center; gap: 10px; color: var(--st-ink-3); }
.ui__track li small, .ui__steps li small { font-family: var(--st-mono); font-size: 11px; color: var(--st-ink-3); }
.ui__track svg, .ui__steps svg { width: 16px; height: 16px; fill: none; stroke: #16a34a; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ui__track li > i, .ui__steps li > i { width: 10px; height: 10px; margin: 0 3px; border-radius: 50%; border: 1.5px solid currentColor; opacity: 0.6; }
.ui__track li.done, .ui__steps li.done { color: var(--st-ink-2); }
.ui__track li.now, .ui__steps li.now { color: var(--st-ink); font-weight: 600; }
.ui__track li.now > i, .ui__steps li.now > i { border-color: var(--st-brand); background: var(--st-brand); opacity: 1; box-shadow: 0 0 0 3px rgba(94, 86, 168, 0.18); }
.ui--ci { font-family: var(--st-mono); font-size: 12px; }
.ui--ci .ui__bar { font-family: var(--st-mono); font-size: 13px; }
.ui--ci .ui__bar em { color: var(--st-brand); }

.ui__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ui__lines li { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; }
.ui__lines small { display: block; color: var(--st-ink-3); font-size: 11px; }
.ui__lines b { font-weight: 500; }
.ui .sw { width: 40px; height: 40px; border-radius: 8px; }
.ui .sw--a { background: #cfc6b4; }
.ui .sw--b { background: #e6dfd0; }
.ui__sum { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--st-line); }
.ui__sum dt { color: var(--st-ink-2); }
.ui__sum dd { margin: 0; text-align: right; }
.ui__sum .t { margin-top: 4px; font-weight: 600; color: var(--st-ink); }

/* =====================================================================
   About
   ===================================================================== */
.st-numbers--flat { margin-top: 0; }
.st-numbers--flat::before { border-radius: 0; }
.st-stats--row { grid-template-columns: repeat(4, 1fr); }
.st-about-work__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.st-about-work__img { position: sticky; top: 112px; margin: 0; border-radius: 20px; overflow: hidden; background: var(--st-paper-2); }
.st-about-work__img img { aspect-ratio: 4 / 5; object-fit: cover; }
.st-steps--list { grid-template-columns: 1fr; gap: 0; }
.st-steps--list li { display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding: 24px 0; }
.st-steps--list h3 { margin-top: 0; }
.st-about-team { padding-top: 0; }
.st-about-team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.st-about-team__grid .st-head { margin-bottom: 24px; }
.st-about-team__grid .st-h2 { max-width: 18ch; }
.st-about-team__text { max-width: 44ch; color: var(--st-ink-2); font-size: 1.0625rem; }
.st-about-team__img { margin: 0; border-radius: 20px; overflow: hidden; background: var(--st-paper-2); }
.st-about-team__img img { aspect-ratio: 3 / 2; object-fit: cover; }

/* =====================================================================
   Contact page and form
   ===================================================================== */
.st-contact-page__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.st-contact-page__intro { display: flex; flex-direction: column; gap: 24px; }
.st-contact-page .st-h1 { font-size: clamp(2.5rem, 4.6vw, 4rem); max-width: 12ch; }
.st-contact-page__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin: 16px 0 0; }
.st-contact-page__facts div { padding-top: 16px; border-top: 1px solid var(--st-line); }
.st-contact-page__facts dt { font-family: var(--st-mono); font-size: 13px; color: var(--st-ink-3); }
.st-contact-page__facts dd { margin: 4px 0 0; font-weight: 500; }
.st-contact-page__facts a { color: var(--st-brand); }
.st-contact-page__next { margin-top: 16px; }
.st-contact-page__next ol { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.st-contact-page__next li { display: grid; grid-template-columns: 24px 1fr; color: var(--st-ink-2); }
.st-contact-page__next li span { display: inline-flex; padding-top: 8px; }

.st-form-card { padding: clamp(24px, 3.2vw, 40px); border-radius: 20px; background: var(--st-card); border: 1px solid var(--st-line); box-shadow: 0 24px 48px -32px rgba(13, 11, 26, 0.25); }
.st-form { display: grid; gap: 20px; }
.st-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.st-field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.st-field label, .st-field legend { font-size: 14px; font-weight: 600; color: var(--st-ink); padding: 0; }
.st-field small { font-weight: 400; color: var(--st-ink-3); }
.st-field input, .st-field textarea {
	width: 100%;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid rgba(13, 11, 26, 0.16);
	background: #fff;
	color: var(--st-ink);
	font: inherit;
	font-size: 16px;
	transition: border-color var(--st-fast) var(--st-ease), box-shadow var(--st-fast) var(--st-ease);
}
.st-field input { height: 48px; }
.st-field textarea { resize: vertical; min-height: 144px; }
.st-field input:hover, .st-field textarea:hover { border-color: rgba(13, 11, 26, 0.32); }
.st-field input:focus, .st-field textarea:focus { outline: none; border-color: var(--st-brand); box-shadow: 0 0 0 3px rgba(94, 86, 168, 0.18); }
.st-field.is-error input, .st-field.is-error textarea { border-color: #dc2626; }
.st-field__err { font-size: 13px; color: #b91c1c; }
.st-chips > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.st-chips label { position: relative; font-weight: 500; cursor: pointer; }
.st-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.st-chips span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid rgba(13, 11, 26, 0.16); background: #fff; font-size: 14px; transition: background-color var(--st-fast) var(--st-ease), border-color var(--st-fast) var(--st-ease), color var(--st-fast) var(--st-ease); }
.st-chips label:hover span { border-color: rgba(13, 11, 26, 0.32); }
.st-chips input:checked + span { background: var(--st-ink); border-color: var(--st-ink); color: var(--st-paper); }
.st-chips input:focus-visible + span { outline: 2px solid var(--st-brand); outline-offset: 2px; }
.st-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.st-form__alert { padding: 12px 16px; border-radius: 10px; background: #fdecec; color: #991b1b; font-size: 14px; }
.st-form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 8px; }
.st-form__foot p { max-width: 32ch; font-size: 13px; color: var(--st-ink-3); }
.st-form .st-btn { border: 0; cursor: pointer; }
.st-form-done { display: grid; gap: 16px; justify-items: start; padding: 24px 0; }
.st-form-done h2 { font-family: var(--st-sans); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -0.02em; }
.st-form-done p { color: var(--st-ink-2); max-width: 40ch; }
.st-contact-photo { padding-top: 0; }

/* =====================================================================
   Work
   ===================================================================== */
.st-work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 28px; }
.st-pcard2 a { display: block; }
.st-pcard2__img { margin: 0; border-radius: 14px; overflow: hidden; background: var(--st-paper-2); box-shadow: 0 0 0 1px var(--st-line); }
.st-pcard2__img img { aspect-ratio: 16 / 10; object-fit: cover; transition: transform 400ms var(--st-ease); }
.st-pcard2 a:hover .st-pcard2__img img { transform: scale(1.02); }
.st-pcard2__body { margin-top: 16px; }
.st-pcard2 h3 { margin-top: 6px; font-family: var(--st-sans); font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; transition: color var(--st-fast) var(--st-ease); }
.st-pcard2 a:hover h3 { color: var(--st-brand); }
.st-pcard2__ex { margin-top: 10px; color: var(--st-ink-2); max-width: 48ch; font-size: 15px; }
.st-pcard2__res { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 14px; font-weight: 500; color: var(--st-ink-2); }
.st-pcard2--lead { grid-column: 1 / -1; }
.st-pcard2--lead a { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 3.5vw, 48px); align-items: center; }
.st-pcard2--lead .st-pcard2__body { margin-top: 0; }
.st-pcard2--lead h3 { font-size: clamp(1.5rem, 2.5vw, 2.125rem); }
.st-pcard2--lead .st-pcard2__img img { aspect-ratio: 16 / 10; }

.st-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 48px 0 0; }
.st-facts div { padding-top: 16px; border-top: 1px solid var(--st-line); }
.st-facts dt { font-family: var(--st-mono); font-size: 13px; color: var(--st-ink-3); }
.st-facts dd { margin: 4px 0 0; font-weight: 500; }

/* =====================================================================
   Article / prose (posts, case studies, legal pages)
   ===================================================================== */
.st-article { max-width: 760px; margin: 0 auto; }
.st-single__img { max-width: 1320px; padding: 0 var(--st-pad); box-sizing: content-box; margin: 0 auto 24px; }
.st-prose { font-size: 18px; line-height: 1.75; color: var(--st-ink); }
.st-prose > * + * { margin-top: 24px; }
.st-prose h2 { margin-top: 56px; font-family: var(--st-sans); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.st-prose h3 { margin-top: 40px; font-family: var(--st-sans); font-size: 1.25rem; font-weight: 500; line-height: 1.35; }
.st-prose h2 + *, .st-prose h3 + * { margin-top: 12px; }
.st-prose p, .st-prose li { color: #2c2a35; }
.st-prose ul, .st-prose ol { padding-left: 24px; }
.st-prose li + li { margin-top: 8px; }
.st-prose li::marker { color: var(--st-brand); }
.st-prose strong { font-weight: 600; color: var(--st-ink); }
.st-prose blockquote { margin-left: 0; margin-right: 0; padding-left: 24px; border-left: 2px solid var(--st-brand); font-family: var(--st-sans); font-size: 1.25rem; line-height: 1.5; }
.st-prose code { font-family: var(--st-mono); font-size: 0.875em; padding: 2px 6px; border-radius: 4px; background: var(--st-paper-2); }
.st-prose pre { padding: 20px 24px; border-radius: 12px; background: var(--st-ink); color: var(--st-paper); overflow-x: auto; }
.st-prose pre code { padding: 0; background: none; }
.st-prose figure, .st-prose .wp-block-image { margin-left: 0; margin-right: 0; }
.st-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.st-prose figcaption { margin-top: 8px; font-size: 14px; color: var(--st-ink-3); }
.st-prose hr { border: 0; border-top: 1px solid var(--st-line); margin: 48px 0; }
.st-prose .st-callout { padding: 16px 20px; border-radius: 12px; background: var(--st-paper-2); font-size: 16px; }
.st-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--st-line); }
.st-tags a { padding: 4px 12px; border-radius: 6px; border: 1px solid var(--st-line); font-size: 13px; color: var(--st-ink-2); }

/* =====================================================================
   Insights listing
   ===================================================================== */
.st-blog-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-bottom: 32px; margin-bottom: 48px; border-bottom: 1px solid var(--st-line); }
.st-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.st-topics a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--st-line); font-size: 14px; font-weight: 500; color: var(--st-ink-2); transition: background-color var(--st-fast) var(--st-ease), color var(--st-fast) var(--st-ease); }
.st-topics a:hover { background: var(--st-paper-2); color: var(--st-ink); }
.st-topics a[aria-current] { background: var(--st-ink); border-color: var(--st-ink); color: var(--st-paper); }
.st-search { position: relative; width: min(280px, 100%); }
.st-search svg { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; fill: none; stroke: var(--st-ink-3); stroke-width: 1.5; stroke-linecap: round; }
.st-search input { width: 100%; height: 40px; padding: 0 12px 0 36px; border-radius: 10px; border: 1px solid rgba(13, 11, 26, 0.16); background: #fff; font: inherit; font-size: 15px; color: var(--st-ink); }
.st-search input:focus { outline: none; border-color: var(--st-brand); box-shadow: 0 0 0 3px rgba(94, 86, 168, 0.18); }

.st-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; }
.st-post-card a { display: block; }
.st-post-card figure { margin: 0; border-radius: 16px; overflow: hidden; background: var(--st-paper-2); }
.st-post-card img { aspect-ratio: 3 / 2; object-fit: cover; transition: transform 400ms var(--st-ease); }
.st-post-card a:hover img { transform: scale(1.02); }
.st-post-card figure + div { margin-top: 20px; }
.st-post-card h3 { margin-top: 8px; font-family: var(--st-sans); font-size: 1.375rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; transition: color var(--st-fast) var(--st-ease); }
.st-post-card a:hover h3 { color: var(--st-brand); }
.st-post-card__ex { margin-top: 12px; font-size: 15px; color: var(--st-ink-2); }
.st-post-card--lead { grid-column: 1 / -1; }
.st-post-card--lead a { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
.st-post-card--lead figure + div { margin-top: 0; }
.st-post-card--lead h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.st-post-card--lead .st-post-card__ex { font-size: 17px; }

.st-pager { display: flex; justify-content: center; gap: 8px; margin-top: 64px; }
.st-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--st-line); font-size: 14px; font-variant-numeric: tabular-nums; }
.st-pager .current { background: var(--st-ink); color: var(--st-paper); border-color: var(--st-ink); }
.st-pager a.page-numbers:hover { background: var(--st-paper-2); }

/* =====================================================================
   404
   ===================================================================== */
.st-404 { min-height: 80vh; }
.st-404__links { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.st-404__links a { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-radius: 12px; border: 1px solid var(--st-line); font-family: var(--st-sans); font-size: 1.125rem; font-weight: 500; transition: background-color var(--st-fast) var(--st-ease); }
.st-404__links a:hover { background: var(--st-paper-2); }
.st-404__links .arr { width: 20px; height: 20px; fill: none; stroke: var(--st-ink-3); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* =====================================================================
   Small screens
   ===================================================================== */
@media (max-width: 1100px) {
	.st-post-grid { grid-template-columns: 1fr 1fr; }
	.st-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.st-phero { padding-top: 112px; padding-bottom: 56px; }
	.st-phero--media .st-phero__grid, .st-contact-page__grid, .st-about-work__grid, .st-about-team__grid { grid-template-columns: 1fr; }
	.st-about-work__img { position: static; }
	.st-about-work__img img { aspect-ratio: 4 / 3; }
	.st-stats--row { grid-template-columns: 1fr 1fr; }
	.st-stage__frame > img, .st-wide-img img { aspect-ratio: 4 / 3; }
	.st-stage__ui { position: relative; right: auto; bottom: auto; width: auto; margin: -64px 16px 16px; }
	.st-stage__ui .ui--phone { margin: 0 auto; }
	.st-work-grid, .st-pcard2--lead a, .st-post-card--lead a { grid-template-columns: 1fr; }
	.st-facts { grid-template-columns: 1fr 1fr; }
	.st-404__links { grid-template-columns: 1fr 1fr; }
	.st-prose { font-size: 17px; }
}
@media (max-width: 600px) {
	.st-post-grid, .st-form__row, .st-contact-page__facts, .st-footer__grid { grid-template-columns: 1fr; }
	.st-footer__bottom { flex-direction: column; }
	.ui__cms { grid-template-columns: 1fr; }
	.ui__cms ul { grid-template-columns: repeat(4, auto); }
	.ui td:nth-child(2), .ui th:nth-child(2) { display: none; }
}

/* The old footer rule made every footer nav a flex row */
.st-footer nav.st-footer__col { display: block; }
